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

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openai/models/admin/organization/projects/certificate_list_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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) ⇒ Object

Parameters:

  • expires_at (Integer) (defaults to: nil)

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

  • valid_at (Integer) (defaults to: nil)

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



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

Instance Attribute Details

#expires_atInteger?

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

Returns:

  • (Integer, nil)


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

optional :expires_at, Integer

#valid_atInteger?

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

Returns:

  • (Integer, nil)


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

optional :valid_at, Integer