Class: OpenAI::Models::Admin::Organization::CertificateListResponse::CertificateDetails

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/certificate_list_response.rb,
sig/openai/models/admin/organization/certificate_list_response.rbs

Overview

See Also:

  • OpenAI::Models::Admin::Organization::CertificateListResponse#certificate_details

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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.

Parameters:

  • (defaults to: nil)

    The Unix timestamp (in seconds) of when the certificate expires.

  • (defaults to: nil)

    The Unix timestamp (in seconds) of when the certificate becomes valid.

  • (defaults to: nil)
  • (defaults to: nil)


# File 'lib/openai/models/admin/organization/certificate_list_response.rb', line 81

Instance Attribute Details

#expires_atInteger?

The Unix timestamp (in seconds) of when the certificate expires.

Returns:



73
# File 'lib/openai/models/admin/organization/certificate_list_response.rb', line 73

optional :expires_at, Integer

#valid_atInteger?

The Unix timestamp (in seconds) of when the certificate becomes valid.

Returns:



79
# File 'lib/openai/models/admin/organization/certificate_list_response.rb', line 79

optional :valid_at, Integer

Instance Method Details

#to_hash{ ?expires_at: Integer, ?valid_at: Integer }

Returns:



83
# File 'sig/openai/models/admin/organization/certificate_list_response.rbs', line 83

def to_hash: -> { ?expires_at: Integer, ?valid_at: Integer }