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
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#object ⇒ Symbol, :"project.data_retention"
The object type, which is always ‘project.data_retention`.
-
#type ⇒ Symbol, OpenAI::Models::Admin::Organization::Projects::ProjectDataRetention::Type
The configured project data retention type.
Instance Method Summary collapse
-
#initialize(type:, object: :"project.data_retention") ⇒ Object
constructor
Represents a project’s data retention control setting.
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(type:, object: :"project.data_retention") ⇒ Object
Represents a project’s data retention control setting.
|
|
# File 'lib/openai/models/admin/organization/projects/project_data_retention.rb', line 22
|
Instance Attribute Details
#object ⇒ Symbol, :"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 ⇒ Symbol, 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 } |