Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated::Certificate

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

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(certificates: nil) ⇒ Certificate

The details for events with this type.

Parameters:

  • (defaults to: nil)


1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1359

class Certificate < OpenAI::Internal::Type::BaseModel
  # @!attribute id
  #   The certificate ID.
  #
  #   @return [String, nil]
  optional :id, String

  # @!attribute name
  #   The name of the certificate.
  #
  #   @return [String, nil]
  optional :name, String

  # @!method initialize(id: nil, name: nil)
  #   @param id [String]
  #     The certificate ID.
  #
  #   @param name [String]
  #     The name of the certificate.
end

Instance Attribute Details

#idString?

The certificate ID.

Parameters:

Returns:



1364
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1364

optional :id, String

#nameString?

The name of the certificate.

Parameters:

Returns:



1370
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1370

optional :name, String

Instance Method Details

#to_hash{ ?id: String, ?name: String }

Returns:



1237
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 1237

def to_hash: -> { ?id: String, ?name: String }