Method: OpenApiOpenAIClient::RunStreamEventOneOf2#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



154
155
156
# File 'lib/openapi_openai/models/run_stream_event_one_of2.rb', line 154

def hash
  [event, data].hash
end