Class: OpenAI::Models::Admin::Organization::Projects::ServiceAccountCreateResponse::APIKey

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

Overview

See Also:

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(id:, created_at:, name:, value:, object: :"organization.project.service_account.api_key") ⇒ Object

Parameters:

  • id (String)
  • created_at (Integer)
  • name (String)
  • value (String)
  • object (Symbol, :"organization.project.service_account.api_key") (defaults to: :"organization.project.service_account.api_key")

    The object type, which is always ‘organization.project.service_account.api_key`



# File 'lib/openai/models/admin/organization/projects/service_account_create_response.rb', line 84

Instance Attribute Details

#created_atInteger

Returns:

  • (Integer)


66
# File 'lib/openai/models/admin/organization/projects/service_account_create_response.rb', line 66

required :created_at, Integer

#idString

Returns:

  • (String)


61
# File 'lib/openai/models/admin/organization/projects/service_account_create_response.rb', line 61

required :id, String

#nameString

Returns:

  • (String)


71
# File 'lib/openai/models/admin/organization/projects/service_account_create_response.rb', line 71

required :name, String

#objectSymbol, :"organization.project.service_account.api_key"

The object type, which is always ‘organization.project.service_account.api_key`

Returns:

  • (Symbol, :"organization.project.service_account.api_key")


77
# File 'lib/openai/models/admin/organization/projects/service_account_create_response.rb', line 77

required :object, const: :"organization.project.service_account.api_key"

#valueString

Returns:

  • (String)


82
# File 'lib/openai/models/admin/organization/projects/service_account_create_response.rb', line 82

required :value, String