Method: PureCloud::GroupsSearchResponse#valid?

Defined in:
lib/purecloudplatformclientv2/models/groups_search_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



137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'lib/purecloudplatformclientv2/models/groups_search_response.rb', line 137

def valid?
  if @total.nil?
    return false
  end

  if @page_count.nil?
    return false
  end

  if @page_size.nil?
    return false
  end

  if @page_number.nil?
    return false
  end

  if @types.nil?
    return false
  end

  if @results.nil?
    return false
  end

end