Class CertificateDeactivateResponse
-
- All Implemented Interfaces:
public final class CertificateDeactivateResponseRepresents an individual certificate configured at the project level.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCertificateDeactivateResponse.BuilderA builder for CertificateDeactivateResponse.
public final classCertificateDeactivateResponse.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 project level. final CertificateDeactivateResponse.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.project.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<CertificateDeactivateResponse.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 CertificateDeactivateResponse.BuildertoBuilder()final CertificateDeactivateResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CertificateDeactivateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of CertificateDeactivateResponse. -
-
Method Detail
-
certificateDetails
final CertificateDeactivateResponse.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.project.certificate.Expected to always return the following:
JsonValue.from("organization.project.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<CertificateDeactivateResponse.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 CertificateDeactivateResponse.Builder toBuilder()
-
validate
final CertificateDeactivateResponse 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 CertificateDeactivateResponse.Builder builder()
Returns a mutable builder for constructing an instance of CertificateDeactivateResponse.
The following fields are required:
.id() .active() .certificateDetails() .createdAt() .name()
-
-
-
-