Class AdminApiKey.Owner
-
- All Implemented Interfaces:
public final class AdminApiKey.Owner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAdminApiKey.Owner.BuilderA builder for Owner.
-
Method Summary
Modifier and Type Method Description final Optional<String>id()The identifier, which can be referenced in API endpoints final Optional<Long>createdAt()The Unix timestamp (in seconds) of when the user was created final Optional<String>name()The name of the user final Optional<String>object_()The object type, which is always organization. final Optional<String>role()Always ownerfinal Optional<String>type()Always userfinal JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_object_()Returns the raw JSON value of object_. final JsonField<String>_role()Returns the raw JSON value of role. final JsonField<String>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final AdminApiKey.Owner.BuildertoBuilder()final AdminApiKey.Ownervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AdminApiKey.Owner.Builderbuilder()Returns a mutable builder for constructing an instance of Owner. -
-
Method Detail
-
createdAt
final Optional<Long> createdAt()
The Unix timestamp (in seconds) of when the user was created
-
_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.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, 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.
-
_object_
final JsonField<String> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<String> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _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 AdminApiKey.Owner.Builder toBuilder()
-
validate
final AdminApiKey.Owner 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 AdminApiKey.Owner.Builder builder()
Returns a mutable builder for constructing an instance of Owner.
-
-
-
-