Class BetaFederationRuleWorkspace
-
- All Implemented Interfaces:
public final class BetaFederationRuleWorkspace
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaFederationRuleWorkspace.BuilderA builder for BetaFederationRuleWorkspace.
-
Method Summary
Modifier and Type Method Description final OffsetDateTimecreatedAt()When this workspace was enabled for the rule. final Optional<String>createdByActorId()Tagged ID ( user_...orsvac_...) of the actor that enabled this workspace for the rule, if known.final StringfederationRuleId()Tagged ID of the federation rule. final StringworkspaceId()Tagged ID of the workspace this rule is enabled for. final Optional<String>workspaceName()Workspace display name. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("federation_rule_workspace")final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_createdByActorId()Returns the raw JSON value of createdByActorId. final JsonField<String>_federationRuleId()Returns the raw JSON value of federationRuleId. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final JsonField<String>_workspaceName()Returns the raw JSON value of workspaceName. final Map<String, JsonValue>_additionalProperties()final BetaFederationRuleWorkspace.BuildertoBuilder()final BetaFederationRuleWorkspacevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaFederationRuleWorkspace.Builderbuilder()Returns a mutable builder for constructing an instance of BetaFederationRuleWorkspace. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
When this workspace was enabled for the rule.
-
createdByActorId
final Optional<String> createdByActorId()
Tagged ID (
user_...orsvac_...) of the actor that enabled this workspace for the rule, if known.
-
federationRuleId
final String federationRuleId()
Tagged ID of the federation rule.
-
workspaceId
final String workspaceId()
Tagged ID of the workspace this rule is enabled for.
-
workspaceName
final Optional<String> workspaceName()
Workspace display name. Populated when listing; null in the enable response.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("federation_rule_workspace")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdByActorId
final JsonField<String> _createdByActorId()
Returns the raw JSON value of createdByActorId.
Unlike createdByActorId, this method doesn't throw if the JSON field has an unexpected type.
-
_federationRuleId
final JsonField<String> _federationRuleId()
Returns the raw JSON value of federationRuleId.
Unlike federationRuleId, 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.
-
_workspaceName
final JsonField<String> _workspaceName()
Returns the raw JSON value of workspaceName.
Unlike workspaceName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaFederationRuleWorkspace.Builder toBuilder()
-
validate
final BetaFederationRuleWorkspace 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 BetaFederationRuleWorkspace.Builder builder()
Returns a mutable builder for constructing an instance of BetaFederationRuleWorkspace.
The following fields are required:
.createdAt() .createdByActorId() .federationRuleId() .workspaceId() .workspaceName()
-
-
-
-