Method: OpenApiOpenAIClient::TruncationObject#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



157
158
159
# File 'lib/openapi_openai/models/truncation_object.rb', line 157

def hash
  [type, last_messages].hash
end