Class ProjectApiKey.Owner.User
-
- All Implemented Interfaces:
public final class ProjectApiKey.Owner.UserThe user that owns a project API key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectApiKey.Owner.User.BuilderA builder for User.
-
Method Summary
Modifier and Type Method Description final Stringid()The identifier, which can be referenced in API endpoints final LongcreatedAt()The Unix timestamp (in seconds) of when the user was created. final Stringemail()The email address of the user. final Stringname()The name of the user. final Stringrole()The user's project role. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_email()Returns the raw JSON value of email. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final ProjectApiKey.Owner.User.BuildertoBuilder()final ProjectApiKey.Owner.Uservalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectApiKey.Owner.User.Builderbuilder()Returns a mutable builder for constructing an instance of User. -
-
Method Detail
-
_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.
-
_email
final JsonField<String> _email()
Returns the raw JSON value of email.
Unlike email, 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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectApiKey.Owner.User.Builder toBuilder()
-
validate
final ProjectApiKey.Owner.User 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 ProjectApiKey.Owner.User.Builder builder()
Returns a mutable builder for constructing an instance of User.
The following fields are required:
.id() .createdAt() .email() .name() .role()
-
-
-
-