Method: PureCloud::WfmHistoricalAdherenceResponse#valid?

Defined in:
lib/purecloudclient_v2a/models/wfm_historical_adherence_response.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/purecloudclient_v2a/models/wfm_historical_adherence_response.rb', line 106

def valid?
  
  
  
  
  
  
  
  
  
  
  
  allowed_values = ["Processing", "Complete", "Error"]
  if @query_state && !allowed_values.include?(@query_state)
    return false
  end
  
  
  
end