Class: OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention
- Defined in:
- lib/openai/models/admin/organization/projects/project_data_retention.rb,
sig/openai/models/admin/organization/projects/project_data_retention.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#object ⇒ :"project.data_retention"
The object type, which is always
project.data_retention. -
#type ⇒ OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention::type_
The configured project data retention type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(type:, object: :"project.data_retention") ⇒ ProjectDataRetention
constructor
A new instance of ProjectDataRetention.
- #to_hash ⇒ { ?object: :"project.data_retention", type: OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention::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: :"project.data_retention") ⇒ ProjectDataRetention
Returns a new instance of ProjectDataRetention.
|
|
# File 'lib/openai/models/admin/organization/projects/project_data_retention.rb', line 22
|
Instance Attribute Details
#object ⇒ :"project.data_retention"
The object type, which is always project.data_retention.
14 |
# File 'lib/openai/models/admin/organization/projects/project_data_retention.rb', line 14 required :object, const: :"project.data_retention" |
#type ⇒ OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention::type_
The configured project data retention type.
20 |
# File 'lib/openai/models/admin/organization/projects/project_data_retention.rb', line 20 required :type, enum: -> { OpenAI::Admin::Organization::Projects::ProjectDataRetention::Type } |
Instance Method Details
#to_hash ⇒ { ?object: :"project.data_retention", type: OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention::type_ }
30 31 32 33 |
# File 'sig/openai/models/admin/organization/projects/project_data_retention.rbs', line 30
def to_hash: -> {
?object: :"project.data_retention",
type: OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention::type_
}
|