Class View
-
- All Implemented Interfaces:
public final class View
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classView.BuilderA builder for View.
public final classView.ViewTypeType of table that the view corresponds to.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the view final Stringname()Name of the view final StringobjectId()The id of the object the view applies to final AclObjectTypeobjectType()The object type that the ACL applies to final Optional<View.ViewType>viewType()Type of table that the view corresponds to. final Optional<OffsetDateTime>created()Date of view creation final Optional<OffsetDateTime>deletedAt()Date of role deletion, or null if the role is still active final Optional<ViewOptions>options()Options for the view in the app final Optional<String>userId()Identifies the user who created the view final Optional<ViewData>viewData()The view definition final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_objectId()Returns the raw JSON value of objectId. final JsonField<AclObjectType>_objectType()Returns the raw JSON value of objectType. final JsonField<View.ViewType>_viewType()Returns the raw JSON value of viewType. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<OffsetDateTime>_deletedAt()Returns the raw JSON value of deletedAt. final JsonField<ViewOptions>_options()Returns the raw JSON value of options. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<ViewData>_viewData()Returns the raw JSON value of viewData. final Map<String, JsonValue>_additionalProperties()final View.BuildertoBuilder()final Viewvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static View.Builderbuilder()Returns a mutable builder for constructing an instance of View. -
-
Method Detail
-
objectType
final AclObjectType objectType()
The object type that the ACL applies to
-
viewType
final Optional<View.ViewType> viewType()
Type of table that the view corresponds to.
-
created
final Optional<OffsetDateTime> created()
Date of view creation
-
deletedAt
final Optional<OffsetDateTime> deletedAt()
Date of role deletion, or null if the role is still active
-
options
final Optional<ViewOptions> options()
Options for the view in the app
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_objectId
final JsonField<String> _objectId()
Returns the raw JSON value of objectId.
Unlike objectId, this method doesn't throw if the JSON field has an unexpected type.
-
_objectType
final JsonField<AclObjectType> _objectType()
Returns the raw JSON value of objectType.
Unlike objectType, this method doesn't throw if the JSON field has an unexpected type.
-
_viewType
final JsonField<View.ViewType> _viewType()
Returns the raw JSON value of viewType.
Unlike viewType, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_deletedAt
final JsonField<OffsetDateTime> _deletedAt()
Returns the raw JSON value of deletedAt.
Unlike deletedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_options
final JsonField<ViewOptions> _options()
Returns the raw JSON value of options.
Unlike options, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_viewData
final JsonField<ViewData> _viewData()
Returns the raw JSON value of viewData.
Unlike viewData, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final View.Builder toBuilder()
-
builder
final static View.Builder builder()
Returns a mutable builder for constructing an instance of View.
The following fields are required:
.id() .name() .objectId() .objectType() .viewType()
-
-
-
-