Class: OpenAI::Models::ChatCompletionContentPart::Chat::ChatCompletionContentPart::File::File
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::ChatCompletionContentPart::Chat::ChatCompletionContentPart::File::File
- Defined in:
- sig/openai/models/chat/chat_completion_content_part.rbs
Instance Attribute Summary collapse
-
#file_data ⇒ String?
readonly
Returns the value of attribute file_data.
-
#file_id ⇒ String?
readonly
Returns the value of attribute file_id.
-
#filename ⇒ String?
readonly
Returns the value of attribute filename.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #file_data ⇒ String readonly
- #file_id ⇒ String readonly
- #filename ⇒ String readonly
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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_with_error, #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 ⇒ Object
60 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 60
def initialize: (
|
Instance Attribute Details
#file_data ⇒ String? (readonly)
Returns the value of attribute file_data.
48 49 50 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 48 def file_data @file_data end |
#file_id ⇒ String? (readonly)
Returns the value of attribute file_id.
52 53 54 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 52 def file_id @file_id end |
#filename ⇒ String? (readonly)
Returns the value of attribute filename.
56 57 58 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 56 def filename @filename end |
Instance Method Details
#file_data= ⇒ String (readonly)
50 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 50
def file_data=: (String) -> String
|
#file_id= ⇒ String (readonly)
54 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 54
def file_id=: (String) -> String
|
#filename= ⇒ String (readonly)
58 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 58
def filename=: (String) -> String
|
#to_hash ⇒ {
66 |
# File 'sig/openai/models/chat/chat_completion_content_part.rbs', line 66
def to_hash: -> {
|