Class CertificateListResponse
-
- All Implemented Interfaces:
public final class CertificateListResponseRepresents an individual certificate configured at the organization level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCertificateListResponse.BuilderA builder for CertificateListResponse.
public final classCertificateListResponse.CertificateDetails
-
Method Summary
Modifier and Type Method Description final Stringid()The identifier, which can be referenced in API endpoints final Booleanactive()Whether the certificate is currently active at the organization level. final CertificateListResponse.CertificateDetailscertificateDetails()final LongcreatedAt()The Unix timestamp (in seconds) of when the certificate was uploaded. final Optional<String>name()The name of the certificate. final JsonValue_object_()The object type, which is always organization.certificate.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Boolean>_active()Returns the raw JSON value of active. final JsonField<CertificateListResponse.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 Map<String, JsonValue>_additionalProperties()final CertificateListResponse.BuildertoBuilder()final CertificateListResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CertificateListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of CertificateListResponse. -
-
Method Detail
-
active
final Boolean active()
Whether the certificate is currently active at the organization level.
-
certificateDetails
final CertificateListResponse.CertificateDetails certificateDetails()
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) of when the certificate was uploaded.
-
_object_
final JsonValue _object_()
The object type, which is always
organization.certificate.Expected to always return the following:
JsonValue.from("organization.certificate")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_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.
-
_certificateDetails
final JsonField<CertificateListResponse.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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CertificateListResponse.Builder toBuilder()
-
validate
final CertificateListResponse 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 CertificateListResponse.Builder builder()
Returns a mutable builder for constructing an instance of CertificateListResponse.
The following fields are required:
.id() .active() .certificateDetails() .createdAt() .name()
-
-
-
-