Method: OpenapiClient::MovieAllOf#hash

Defined in:
lib/openapi_client/models/movie_all_of.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



148
149
150
# File 'lib/openapi_client/models/movie_all_of.rb', line 148

def hash
  [id, name, runtime_in_minutes, box_office_revenue_in_millions, academy_award_nominations, academy_award_wins, rotten_tomatoes_score].hash
end