Class ViewCreateParams.Body
-
- All Implemented Interfaces:
public final class ViewCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classViewCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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<ViewCreateParams.ViewType>viewType()Type of table that the view corresponds to. 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>_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<ViewCreateParams.ViewType>_viewType()Returns the raw JSON value of viewType. 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 ViewCreateParams.Bodyvalidate()final ViewCreateParams.Body.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ViewCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
objectType
final AclObjectType objectType()
The object type that the ACL applies to
-
viewType
final Optional<ViewCreateParams.ViewType> viewType()
Type of table that the view corresponds to.
-
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
-
_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<ViewCreateParams.ViewType> _viewType()
Returns the raw JSON value of viewType.
Unlike viewType, 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()
-
validate
final ViewCreateParams.Body validate()
-
toBuilder
final ViewCreateParams.Body.Builder toBuilder()
-
builder
final static ViewCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .objectId() .objectType() .viewType()
-
-
-
-