Class: OpenAI::Models::Admin::Organization::Projects::ProjectHostedToolPermissions::ImageGeneration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Projects::ProjectHostedToolPermissions::ImageGeneration
- Defined in:
- lib/openai/models/admin/organization/projects/project_hosted_tool_permissions.rb,
sig/openai/models/admin/organization/projects/project_hosted_tool_permissions.rbs
Overview
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Whether the hosted tool is enabled for the project.
Instance Method Summary collapse
-
#initialize ⇒ ImageGeneration
constructor
A new instance of ImageGeneration.
- #to_hash ⇒ { enabled: bool }
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 ⇒ ImageGeneration
Returns a new instance of ImageGeneration.
69 |
# File 'sig/openai/models/admin/organization/projects/project_hosted_tool_permissions.rbs', line 69
def initialize: (enabled: bool) -> void
|
Instance Attribute Details
Instance Method Details
#to_hash ⇒ { enabled: bool }
71 |
# File 'sig/openai/models/admin/organization/projects/project_hosted_tool_permissions.rbs', line 71
def to_hash: -> { enabled: bool }
|