lib/purecloud/models/conversation_query_response.rb in purecloud-0.27.0 vs lib/purecloud/models/conversation_query_response.rb in purecloud-0.28.0

- old
+ new

@@ -37,16 +37,16 @@ attr_accessor :facets attr_accessor :self_uri + attr_accessor :next_uri + attr_accessor :first_uri attr_accessor :previous_uri - attr_accessor :next_uri - attr_accessor :last_uri attr_accessor :page_count # Attribute mapping from ruby-style variable name to JSON key. @@ -83,16 +83,16 @@ :'facets' => :'facets', :'self_uri' => :'selfUri', + :'next_uri' => :'nextUri', + :'first_uri' => :'firstUri', :'previous_uri' => :'previousUri', - :'next_uri' => :'nextUri', - :'last_uri' => :'lastUri', :'page_count' => :'pageCount' } @@ -115,13 +115,13 @@ :'iterations' => :'Integer', :'anchor' => :'DateTime', :'sort' => :'String', :'facets' => :'Facets', :'self_uri' => :'String', + :'next_uri' => :'String', :'first_uri' => :'String', :'previous_uri' => :'String', - :'next_uri' => :'String', :'last_uri' => :'String', :'page_count' => :'Integer' } end @@ -201,22 +201,22 @@ if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end + if attributes[:'nextUri'] + self.next_uri = attributes[:'nextUri'] + end + if attributes[:'firstUri'] self.first_uri = attributes[:'firstUri'] end if attributes[:'previousUri'] self.previous_uri = attributes[:'previousUri'] end - if attributes[:'nextUri'] - self.next_uri = attributes[:'nextUri'] - end - if attributes[:'lastUri'] self.last_uri = attributes[:'lastUri'] end if attributes[:'pageCount'] @@ -252,13 +252,13 @@ iterations == o.iterations && anchor == o.anchor && sort == o.sort && facets == o.facets && self_uri == o.self_uri && + next_uri == o.next_uri && first_uri == o.first_uri && previous_uri == o.previous_uri && - next_uri == o.next_uri && last_uri == o.last_uri && page_count == o.page_count end # @see the `==` method @@ -266,10 +266,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [page_size, page_number, total, entities, has_more_prev, has_more_next, start_query_time, end_query_time, newest_result_time, oldest_result_time, time_ms, iterations, anchor, sort, facets, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash + [page_size, page_number, total, entities, has_more_prev, has_more_next, start_query_time, end_query_time, newest_result_time, oldest_result_time, time_ms, iterations, anchor, sort, facets, self_uri, next_uri, first_uri, previous_uri, last_uri, page_count].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)