Class: OpenAI::Models::Admin::Organization::OrganizationDataRetention
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::OrganizationDataRetention
- Defined in:
- lib/openai/models/admin/organization/organization_data_retention.rb,
sig/openai/models/admin/organization/organization_data_retention.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#object ⇒ :"organization.data_retention"
The object type, which is always
organization.data_retention. -
#type ⇒ OpenAI::Models::Admin::Organization::OrganizationDataRetention::type_
The configured organization data retention type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(type:, object: :"organization.data_retention") ⇒ OrganizationDataRetention
constructor
A new instance of OrganizationDataRetention.
- #to_hash ⇒ { ?object: :"organization.data_retention", type: OpenAI::Models::Admin::Organization::OrganizationDataRetention::type_ }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(type:, object: :"organization.data_retention") ⇒ OrganizationDataRetention
Returns a new instance of OrganizationDataRetention.
|
|
# File 'lib/openai/models/admin/organization/organization_data_retention.rb', line 21
|
Instance Attribute Details
#object ⇒ :"organization.data_retention"
The object type, which is always organization.data_retention.
13 |
# File 'lib/openai/models/admin/organization/organization_data_retention.rb', line 13 required :object, const: :"organization.data_retention" |
#type ⇒ OpenAI::Models::Admin::Organization::OrganizationDataRetention::type_
The configured organization data retention type.
19 |
# File 'lib/openai/models/admin/organization/organization_data_retention.rb', line 19 required :type, enum: -> { OpenAI::Admin::Organization::OrganizationDataRetention::Type } |
Instance Method Details
#to_hash ⇒ { ?object: :"organization.data_retention", type: OpenAI::Models::Admin::Organization::OrganizationDataRetention::type_ }
29 30 31 32 |
# File 'sig/openai/models/admin/organization/organization_data_retention.rbs', line 29
def to_hash: -> {
?object: :"organization.data_retention",
type: OpenAI::Models::Admin::Organization::OrganizationDataRetention::type_
}
|