Class: OpenAI::Models::BetaTool::Beta::BetaTool::ImageGeneration::InputImageMask
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaTool::Beta::BetaTool::ImageGeneration::InputImageMask
- Defined in:
- sig/openai/models/beta/beta_tool.rbs
Instance Attribute Summary collapse
-
#file_id ⇒ String?
readonly
Returns the value of attribute file_id.
-
#image_url ⇒ String?
readonly
Returns the value of attribute image_url.
Instance Method Summary collapse
- #file_id ⇒ String readonly
- #image_url ⇒ String readonly
-
#initialize ⇒ InputImageMask
constructor
A new instance of InputImageMask.
- #to_hash ⇒ { file_id: String, image_url: String }
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 ⇒ InputImageMask
Returns a new instance of InputImageMask.
542 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 542
def initialize: (?file_id: String, ?image_url: String) -> void
|
Instance Attribute Details
#file_id ⇒ String? (readonly)
Returns the value of attribute file_id.
534 535 536 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 534 def file_id @file_id end |
#image_url ⇒ String? (readonly)
Returns the value of attribute image_url.
538 539 540 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 538 def image_url @image_url end |
Instance Method Details
#file_id= ⇒ String (readonly)
536 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 536
def file_id=: (String) -> String
|
#image_url= ⇒ String (readonly)
540 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 540
def image_url=: (String) -> String
|
#to_hash ⇒ { file_id: String, image_url: String }
544 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 544
def to_hash: -> { file_id: String, image_url: String }
|