Class OrganizationDataRetention
-
- All Implemented Interfaces:
public final class OrganizationDataRetentionRepresents the organization's data retention control setting.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationDataRetention.BuilderA builder for OrganizationDataRetention.
public final classOrganizationDataRetention.TypeThe configured organization data retention type.
-
Method Summary
Modifier and Type Method Description final JsonValue_object_()The object type, which is always organization.data_retention.final OrganizationDataRetention.Typetype()The configured organization data retention type. final JsonField<OrganizationDataRetention.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final OrganizationDataRetention.BuildertoBuilder()final OrganizationDataRetentionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrganizationDataRetention.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationDataRetention. -
-
Method Detail
-
_object_
final JsonValue _object_()
The object type, which is always
organization.data_retention.Expected to always return the following:
JsonValue.from("organization.data_retention")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
type
final OrganizationDataRetention.Type type()
The configured organization data retention type.
-
_type
final JsonField<OrganizationDataRetention.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OrganizationDataRetention.Builder toBuilder()
-
validate
final OrganizationDataRetention 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 OrganizationDataRetention.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationDataRetention.
The following fields are required:
.type()
-
-
-
-