public static final class CommentsCreateRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String |
assemblyFeature() |
Get id of an assembly feature, with the owner occurrence path id prepended.
|
CommentsCreateRequest.Builder |
assemblyFeature(String value) |
Set id of an assembly feature, with the owner occurrence path id prepended.
|
String |
assignee() |
Get the user this comment is assigned to.
|
CommentsCreateRequest.Builder |
assignee(String value) |
Set the user this comment is assigned to.
|
CommentsCreateResponse |
call() |
Calls create method, Post a new comment to a document
|
String |
documentId() |
Get id of the document to comment on.
|
CommentsCreateRequest.Builder |
documentId(String value) |
Set id of the document to comment on.
|
String |
elementFeature() |
Get id of an element feature.
|
CommentsCreateRequest.Builder |
elementFeature(String value) |
Set id of an element feature.
|
String |
elementId() |
Get id of the element.
|
CommentsCreateRequest.Builder |
elementId(String value) |
Set id of the element.
|
String |
elementOccurrence() |
Get id of an assembly occurrence.
|
CommentsCreateRequest.Builder |
elementOccurrence(String value) |
Set id of an assembly occurrence.
|
String |
elementQuery() |
Get query to get element parts like face.
|
CommentsCreateRequest.Builder |
elementQuery(String value) |
Set query to get element parts like face.
|
String |
message() |
Get Raw text for the comment.
|
CommentsCreateRequest.Builder |
message(String value) |
Set Raw text for the comment.
|
String |
parentId() |
Get id of the parent comment in case this is a reply.
|
CommentsCreateRequest.Builder |
parentId(String value) |
Set id of the parent comment in case this is a reply.
|
String |
versionId() |
Get id of the version to comment on.
|
CommentsCreateRequest.Builder |
versionId(String value) |
Set id of the version to comment on.
|
CommentsCreateRequestViewData |
viewData() |
Get camera view data associated with this comment.
|
CommentsCreateRequest.Builder |
viewData(CommentsCreateRequestViewData value) |
Set camera view data associated with this comment.
|
String |
workspaceId() |
Get id of the document workspace to comment on.
|
CommentsCreateRequest.Builder |
workspaceId(String value) |
Set id of the document workspace to comment on.
|
public final String documentId()
public final CommentsCreateRequest.Builder documentId(String value)
value - id of the document to comment on.public final String workspaceId()
public final CommentsCreateRequest.Builder workspaceId(String value)
value - id of the document workspace to comment on. Optional field.public final String versionId()
public final CommentsCreateRequest.Builder versionId(String value)
value - id of the version to comment on. Optional field.public final String parentId()
public final CommentsCreateRequest.Builder parentId(String value)
value - id of the parent comment in case this is a reply.public final String message()
public final CommentsCreateRequest.Builder message(String value)
value - Raw text for the comment.public final String elementId()
public final CommentsCreateRequest.Builder elementId(String value)
value - id of the element.public final String elementQuery()
public final CommentsCreateRequest.Builder elementQuery(String value)
value - query to get element parts like face.public final String elementFeature()
public final CommentsCreateRequest.Builder elementFeature(String value)
value - id of an element feature.public final String elementOccurrence()
public final CommentsCreateRequest.Builder elementOccurrence(String value)
value - id of an assembly occurrence.public final String assemblyFeature()
public final CommentsCreateRequest.Builder assemblyFeature(String value)
value - id of an assembly feature, with the owner occurrence path id prepended.public final CommentsCreateRequestViewData viewData()
public final CommentsCreateRequest.Builder viewData(CommentsCreateRequestViewData value)
value - camera view data associated with this comment.public final String assignee()
public final CommentsCreateRequest.Builder assignee(String value)
value - the user this comment is assigned to.public final CommentsCreateResponse call() throws OnshapeException
OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.