Method: OpenapiClient::Document#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



168
169
170
# File 'lib/openapi_client/models/document.rb', line 168

def hash
  [type, number].hash
end