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



209
210
211
# File 'lib/openapi_client/models/timesheet_response.rb', line 209

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