Class MemberRemoveResponse
-
- All Implemented Interfaces:
public final class MemberRemoveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemberRemoveResponse.BuilderA builder for MemberRemoveResponse.
-
Method Summary
Modifier and Type Method Description final StringuserId()ID of the User. final StringworkspaceId()ID of the Workspace. final JsonValue_type()Deleted object type. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final Map<String, JsonValue>_additionalProperties()final MemberRemoveResponse.BuildertoBuilder()final MemberRemoveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MemberRemoveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of MemberRemoveResponse. -
-
Method Detail
-
workspaceId
final String workspaceId()
ID of the Workspace.
-
_type
final JsonValue _type()
Deleted object type.
For Workspace Members, this is always
"workspace_member_deleted".Expected to always return the following:
JsonValue.from("workspace_member_deleted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_workspaceId
final JsonField<String> _workspaceId()
Returns the raw JSON value of workspaceId.
Unlike workspaceId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MemberRemoveResponse.Builder toBuilder()
-
validate
final MemberRemoveResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static MemberRemoveResponse.Builder builder()
Returns a mutable builder for constructing an instance of MemberRemoveResponse.
The following fields are required:
.userId() .workspaceId()
-
-
-
-