Method: OpenApiOpenAIClient::CreateTranslationResponse#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



103
104
105
# File 'lib/openapi_openai/models/create_translation_response.rb', line 103

def hash
  [text].hash
end