Class MemberAddParams.Body.Builder
-
- All Implemented Interfaces:
public final class MemberAddParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
userId
final MemberAddParams.Body.Builder userId(String userId)
ID of the User.
-
userId
final MemberAddParams.Body.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceRole
final MemberAddParams.Body.Builder workspaceRole(NoBillingWorkspaceRole workspaceRole)
Role of the new Workspace Member. Cannot be
workspace_billing.
-
workspaceRole
final MemberAddParams.Body.Builder workspaceRole(JsonField<NoBillingWorkspaceRole> workspaceRole)
Sets Builder.workspaceRole to an arbitrary JSON value.
You should usually call Builder.workspaceRole with a well-typed NoBillingWorkspaceRole value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MemberAddParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MemberAddParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MemberAddParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MemberAddParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MemberAddParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MemberAddParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.userId() .workspaceRole()
-
-
-
-