public static final class FoldersShareFolderRequestEntries.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String |
applicationId() |
Get The ID of an Onshape Application to share with.
|
FoldersShareFolderRequestEntries.Builder |
applicationId(String value) |
Set The ID of an Onshape Application to share with.
|
FoldersShareFolderRequestEntries |
build() |
|
String |
companyId() |
Get The ID of an Onshape Company to share with
|
FoldersShareFolderRequestEntries.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.
|
FoldersShareFolderRequestEntries.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.
|
FoldersShareFolderRequestEntries.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
|
FoldersShareFolderRequestEntries.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
|
FoldersShareFolderRequestEntries.Builder |
userId(String value) |
Set The ID of an Onshape User to share with
|
public final String companyId()
public final FoldersShareFolderRequestEntries.Builder companyId(String value)
value - The ID of an Onshape Company to share withpublic final String email()
public final FoldersShareFolderRequestEntries.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 FoldersShareFolderRequestEntries.Builder teamId(String value)
value - The ID of an Onshape Team to share withpublic final String userId()
public final FoldersShareFolderRequestEntries.Builder userId(String value)
value - The ID of an Onshape User to share withpublic final String applicationId()
public final FoldersShareFolderRequestEntries.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 FoldersShareFolderRequestEntries.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 FoldersShareFolderRequestEntries build()
Copyright © 2021. All rights reserved.