Class MemberRemoveResponse.Builder
-
- All Implemented Interfaces:
public final class MemberRemoveResponse.BuilderA builder for MemberRemoveResponse.
-
-
Method Summary
-
-
Method Detail
-
type
final MemberRemoveResponse.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("workspace_member_deleted")This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final MemberRemoveResponse.Builder userId(String userId)
ID of the User.
-
userId
final MemberRemoveResponse.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.
-
workspaceId
final MemberRemoveResponse.Builder workspaceId(String workspaceId)
ID of the Workspace.
-
workspaceId
final MemberRemoveResponse.Builder workspaceId(JsonField<String> workspaceId)
Sets Builder.workspaceId to an arbitrary JSON value.
You should usually call Builder.workspaceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MemberRemoveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MemberRemoveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MemberRemoveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MemberRemoveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MemberRemoveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MemberRemoveResponse build()
Returns an immutable instance of MemberRemoveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.userId() .workspaceId()
-
-
-
-