Class: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/openai/models/admin/organization/external_storage_configuration.rb,
sig/openai/models/admin/organization/external_storage_configuration.rbs
Overview
Defined Under Namespace
Modules: Provider, Status
Instance Attribute Summary collapse
#last_response
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(id:, created_at:, geography:, project_id:, provider:, status:, object: :"organization.external_storage") ⇒ ExternalStorageConfiguration
constructor
A new instance of ExternalStorageConfiguration.
-
#to_hash ⇒ { id: String, created_at: Integer, geography: String, ?object: :"organization.external_storage", project_id: String, provider: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration::provider, status: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration::status }
==, #==, #[], #_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
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, geography:, project_id:, provider:, status:, object: :"organization.external_storage") ⇒ ExternalStorageConfiguration
Returns a new instance of ExternalStorageConfiguration.
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 44
|
Instance Attribute Details
#created_at ⇒ Integer
17
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 17
required :created_at, Integer
|
#geography ⇒ String
22
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 22
required :geography, String
|
#id ⇒ String
12
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 12
required :id, String
|
#object ⇒ Symbol, :"organization.external_storage"
27
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 27
required :object, const: :"organization.external_storage"
|
#project_id ⇒ String
32
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 32
required :project_id, String
|
37
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 37
required :provider, union: -> { OpenAI::Admin::Organization::ExternalStorageConfiguration::Provider }
|
42
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 42
required :status, enum: -> { OpenAI::Admin::Organization::ExternalStorageConfiguration::Status }
|
Class Method Details
|
# File 'lib/openai/models/admin/organization/external_storage_configuration.rb', line 67
|
Instance Method Details
#to_hash ⇒ { id: String, created_at: Integer, geography: String, ?object: :"organization.external_storage", project_id: String, provider: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration::provider, status: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration::status }
41
42
43
44
45
46
47
48
49
|
# File 'sig/openai/models/admin/organization/external_storage_configuration.rbs', line 41
def to_hash: -> {
id: String,
created_at: Integer,
geography: String,
?object: :"organization.external_storage",
project_id: String,
provider: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration::provider,
status: OpenAI::Models::Admin::Organization::ExternalStorageConfiguration::status
}
|