Method: OpenapiClient::TimesheetResponse#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



194
195
196
# File 'lib/openapi_client/models/timesheet_response.rb', line 194

def hash
  [id, remote_id, employee_id, start_time, end_time, hours_worked, remote_created_at, remote_modified_at].hash
end