Class Project
-
- All Implemented Interfaces:
public final class ProjectRepresents an individual project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProject.BuilderA builder for Project.
-
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 project was created. final JsonValue_object_()The object type, which is always organization.projectExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("organization.project")final Optional<Long>archivedAt()The Unix timestamp (in seconds) of when the project was archived or null.final Optional<String>externalKeyId()The external key associated with the project. final Optional<String>name()The name of the project. final Optional<String>status()activeorarchivedfinal JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<Long>_archivedAt()Returns the raw JSON value of archivedAt. final JsonField<String>_externalKeyId()Returns the raw JSON value of externalKeyId. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final Project.BuildertoBuilder()final Projectvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Project.Builderbuilder()Returns a mutable builder for constructing an instance of Project. -
-
Method Detail
-
_object_
final JsonValue _object_()
The object type, which is always
organization.projectExpected to always return the following:
JsonValue.from("organization.project")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
archivedAt
final Optional<Long> archivedAt()
The Unix timestamp (in seconds) of when the project was archived or
null.
-
externalKeyId
final Optional<String> externalKeyId()
The external key associated with the project.
-
_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.
-
_archivedAt
final JsonField<Long> _archivedAt()
Returns the raw JSON value of archivedAt.
Unlike archivedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_externalKeyId
final JsonField<String> _externalKeyId()
Returns the raw JSON value of externalKeyId.
Unlike externalKeyId, 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.
-
_status
final JsonField<String> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Project.Builder toBuilder()
-
validate
final Project 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 Project.Builder builder()
Returns a mutable builder for constructing an instance of Project.
The following fields are required:
.id() .createdAt()
-
-
-
-