lib/purecloud/models/group_search_request.rb in purecloud-0.68.1 vs lib/purecloud/models/group_search_request.rb in purecloud-0.69.1
- old
+ new
@@ -28,16 +28,10 @@
attr_accessor :page_size
# The page of resources you want to retrieve
attr_accessor :page_number
- # A List of strings containing the resource field paths that you want to return
- attr_accessor :return_fields
-
- # Provides more details about a specified resource
- attr_accessor :expand
-
attr_accessor :query
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -48,14 +42,10 @@
:'page_size' => :'pageSize',
:'page_number' => :'pageNumber',
- :'return_fields' => :'returnFields',
-
- :'expand' => :'expand',
-
:'query' => :'query'
}
end
@@ -64,12 +54,10 @@
{
:'sort_order' => :'String',
:'sort_by' => :'String',
:'page_size' => :'Integer',
:'page_number' => :'Integer',
- :'return_fields' => :'Array<String>',
- :'expand' => :'Array<String>',
:'query' => :'Array<GroupSearchCriteria>'
}
end
@@ -94,22 +82,10 @@
if attributes[:'pageNumber']
self.page_number = attributes[:'pageNumber']
end
- if attributes[:'returnFields']
- if (value = attributes[:'returnFields']).is_a?(Array)
- self.return_fields = value
- end
- end
-
- if attributes[:'expand']
- if (value = attributes[:'expand']).is_a?(Array)
- self.expand = value
- end
- end
-
if attributes[:'query']
if (value = attributes[:'query']).is_a?(Array)
self.query = value
end
end
@@ -131,22 +107,20 @@
self.class == o.class &&
sort_order == o.sort_order &&
sort_by == o.sort_by &&
page_size == o.page_size &&
page_number == o.page_number &&
- return_fields == o.return_fields &&
- expand == o.expand &&
query == o.query
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [sort_order, sort_by, page_size, page_number, return_fields, expand, query].hash
+ [sort_order, sort_by, page_size, page_number, query].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)