Class Certificate
-
- All Implemented Interfaces:
public final class CertificateRepresents an individual
certificateuploaded to the organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCertificate.BuilderA builder for Certificate.
public final classCertificate.CertificateDetailspublic final classCertificate.ObjectThe object type.
If creating, updating, or getting a specific certificate, the object type is
certificate.If listing, activating, or deactivating certificates for the organization, the object type is
organization.certificate.If listing, activating, or deactivating certificates for a project, the object type is
organization.project.certificate.
-
Method Summary
Modifier and Type Method Description final Stringid()The identifier, which can be referenced in API endpoints final Certificate.CertificateDetailscertificateDetails()final LongcreatedAt()The Unix timestamp (in seconds) of when the certificate was uploaded. final Optional<String>name()The name of the certificate. final Certificate.Objectobject_()The object type. final Optional<Boolean>active()Whether the certificate is currently active at the specified scope. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Certificate.CertificateDetails>_certificateDetails()Returns the raw JSON value of certificateDetails. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Certificate.Object>_object_()Returns the raw JSON value of object_. final JsonField<Boolean>_active()Returns the raw JSON value of active. final Map<String, JsonValue>_additionalProperties()final Certificate.BuildertoBuilder()final Certificatevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Certificate.Builderbuilder()Returns a mutable builder for constructing an instance of Certificate. -
-
Method Detail
-
certificateDetails
final Certificate.CertificateDetails certificateDetails()
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) of when the certificate was uploaded.
-
object_
final Certificate.Object object_()
The object type.
If creating, updating, or getting a specific certificate, the object type is
certificate.If listing, activating, or deactivating certificates for the organization, the object type is
organization.certificate.If listing, activating, or deactivating certificates for a project, the object type is
organization.project.certificate.
-
active
final Optional<Boolean> active()
Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.
-
_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.
-
_certificateDetails
final JsonField<Certificate.CertificateDetails> _certificateDetails()
Returns the raw JSON value of certificateDetails.
Unlike certificateDetails, 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<Certificate.Object> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_active
final JsonField<Boolean> _active()
Returns the raw JSON value of active.
Unlike active, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Certificate.Builder toBuilder()
-
validate
final Certificate 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 Certificate.Builder builder()
Returns a mutable builder for constructing an instance of Certificate.
The following fields are required:
.id() .certificateDetails() .createdAt() .name() .object_()
-
-
-
-