Class WorkspaceAddParams.Body
-
- All Implemented Interfaces:
public final class WorkspaceAddParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWorkspaceAddParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringworkspaceId()Tagged ID of the workspace to enable this rule for. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final Map<String, JsonValue>_additionalProperties()final WorkspaceAddParams.Body.BuildertoBuilder()final WorkspaceAddParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WorkspaceAddParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static WorkspaceAddParams.Bodyof(String workspaceId)Returns an immutable instance of Body with the required workspaceId set to the given value. -
-
Method Detail
-
workspaceId
final String workspaceId()
Tagged ID of the workspace to enable this rule for.
-
_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 WorkspaceAddParams.Body.Builder toBuilder()
-
validate
final WorkspaceAddParams.Body 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 WorkspaceAddParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.workspaceId()
-
of
final static WorkspaceAddParams.Body of(String workspaceId)
Returns an immutable instance of Body with the required workspaceId set to the given value.
-
-
-
-