public static final class DocumentsShareDocumentRequestEntries.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String |
applicationId() |
Get The ID of an Onshape Application to share with.
|
DocumentsShareDocumentRequestEntries.Builder |
applicationId(String value) |
Set The ID of an Onshape Application to share with.
|
DocumentsShareDocumentRequestEntries |
build() |
|
String |
companyId() |
Get The ID of an Onshape Company to share with
|
DocumentsShareDocumentRequestEntries.Builder |
companyId(String value) |
Set The ID of an Onshape Company to share with
|
String |
email() |
Get The email of a user to share with.
|
DocumentsShareDocumentRequestEntries.Builder |
email(String value) |
Set The email of a user to share with.
|
String |
entryType() |
Get The type of entity that whe are sharing with.
|
DocumentsShareDocumentRequestEntries.Builder |
entryType(String value) |
Set The type of entity that whe are sharing with.
|
String |
teamId() |
Get The ID of an Onshape Team to share with
|
DocumentsShareDocumentRequestEntries.Builder |
teamId(String value) |
Set The ID of an Onshape Team to share with
|
String |
userId() |
Get The ID of an Onshape User to share with
|
DocumentsShareDocumentRequestEntries.Builder |
userId(String value) |
Set The ID of an Onshape User to share with
|
public final String companyId()
public final DocumentsShareDocumentRequestEntries.Builder companyId(String value)
value - The ID of an Onshape Company to share withpublic final String email()
public final DocumentsShareDocumentRequestEntries.Builder email(String value)
value - The email of a user to share with. If the email is not associated with an existing Onshape user, an invite email will be sent to the email address if update=false, otherwise the response will be a NOT FOUND error.public final String teamId()
public final DocumentsShareDocumentRequestEntries.Builder teamId(String value)
value - The ID of an Onshape Team to share withpublic final String userId()
public final DocumentsShareDocumentRequestEntries.Builder userId(String value)
value - The ID of an Onshape User to share withpublic final String applicationId()
public final DocumentsShareDocumentRequestEntries.Builder applicationId(String value)
value - The ID of an Onshape Application to share with. Note that application sharing only allows READ to be specified as a permission.public final String entryType()
public final DocumentsShareDocumentRequestEntries.Builder entryType(String value)
value - The type of entity that whe are sharing with. Valid values are 0=User (specify userId or email), 1=Company, 2=Team, 4=Application. Must correspond to the id field populated.public final DocumentsShareDocumentRequestEntries build()
Copyright © 2021. All rights reserved.