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