public static final class DocumentsGetVersionsRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
DocumentsGetVersionsResponse |
call(OnshapeDocument document) |
Calls getVersions method, Get the versions in a document
|
DocumentsGetVersionsResponse |
call(String did) |
Calls getVersions method, Get the versions in a document
|
Number |
limit() |
Get Number of results to return per page.
|
DocumentsGetVersionsRequest.Builder |
limit(Number value) |
Set Number of results to return per page.
|
Number |
offset() |
Get Where to begin search results
|
DocumentsGetVersionsRequest.Builder |
offset(Number value) |
Set Where to begin search results
|
public final Number offset()
public final DocumentsGetVersionsRequest.Builder offset(Number value)
value - Where to begin search resultspublic final Number limit()
public final DocumentsGetVersionsRequest.Builder limit(Number value)
value - Number of results to return per page. When specified, it cannot exceed 20. Default is unlimitedpublic final DocumentsGetVersionsResponse call(String did) throws OnshapeException
did - Document IDOnshapeException - On HTTP or serialization errorpublic final DocumentsGetVersionsResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.