Method: OpenApiOpenAIClient::MessageContentTextObject#to_body

Defined in:
lib/openapi_openai/models/message_content_text_object.rb

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



233
234
235
# File 'lib/openapi_openai/models/message_content_text_object.rb', line 233

def to_body
  to_hash
end