Method: OpenapiClient::TimesheetResponse#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • true if the model is valid



153
154
155
156
157
158
159
# File 'lib/openapi_client/models/timesheet_response.rb', line 153

def valid?
  return false if @id.nil?
  return false if @remote_id.nil?
  return false if @employee_id.nil?
  return false if @hours_worked.nil?
  true
end