Class: OpenAI::Models::Admin::Organization::CertificateActivateResponse::CertificateDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::CertificateActivateResponse::CertificateDetails
- Defined in:
- lib/openai/models/admin/organization/certificate_activate_response.rb,
sig/openai/models/admin/organization/certificate_activate_response.rbs
Overview
Instance Attribute Summary collapse
-
#expires_at ⇒ Integer?
The Unix timestamp (in seconds) of when the certificate expires.
-
#valid_at ⇒ Integer?
The Unix timestamp (in seconds) of when the certificate becomes valid.
Instance Method Summary collapse
-
#initialize(expires_at: nil, valid_at: nil) ⇒ CertificateDetails
constructor
A new instance of CertificateDetails.
- #to_hash ⇒ { expires_at: Integer, valid_at: Integer }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(expires_at: nil, valid_at: nil) ⇒ CertificateDetails
Returns a new instance of CertificateDetails.
|
|
# File 'lib/openai/models/admin/organization/certificate_activate_response.rb', line 74
|
Instance Attribute Details
#expires_at ⇒ Integer?
The Unix timestamp (in seconds) of when the certificate expires.
66 |
# File 'lib/openai/models/admin/organization/certificate_activate_response.rb', line 66 optional :expires_at, Integer |
#valid_at ⇒ Integer?
The Unix timestamp (in seconds) of when the certificate becomes valid.
72 |
# File 'lib/openai/models/admin/organization/certificate_activate_response.rb', line 72 optional :valid_at, Integer |
Instance Method Details
#to_hash ⇒ { expires_at: Integer, valid_at: Integer }
59 |
# File 'sig/openai/models/admin/organization/certificate_activate_response.rbs', line 59
def to_hash: -> { expires_at: Integer, valid_at: Integer }
|