lib/purecloudplatformclientv2/models/conversation_query.rb in purecloudplatformclientv2-62.0.0 vs lib/purecloudplatformclientv2/models/conversation_query.rb in purecloudplatformclientv2-63.0.0

- old
+ new

@@ -22,21 +22,21 @@ attr_accessor :interval # Filters that target conversation-level data attr_accessor :conversation_filters - # Filters that target quality management evaluation-level data + # Filters that target individual segments within a conversation + attr_accessor :segment_filters + + # Filters that target evaluations attr_accessor :evaluation_filters - # Filters that target quality management survey-level data - attr_accessor :survey_filters - - # Filters that target call quality of service data + # Filters that target mediaEndpointStats attr_accessor :media_endpoint_stat_filters - # Filters that target individual segments within a conversation - attr_accessor :segment_filters + # Filters that target surveys + attr_accessor :survey_filters # Sort the result set in ascending/descending order. Default is ascending attr_accessor :order # Specify which data element within the result set to use for sorting. The options to use as a basis for sorting the results: conversationStart, segmentStart, and segmentEnd. If not specified, the default is conversationStart @@ -54,17 +54,17 @@ :'interval' => :'interval', :'conversation_filters' => :'conversationFilters', + :'segment_filters' => :'segmentFilters', + :'evaluation_filters' => :'evaluationFilters', - :'survey_filters' => :'surveyFilters', - :'media_endpoint_stat_filters' => :'mediaEndpointStatFilters', - :'segment_filters' => :'segmentFilters', + :'survey_filters' => :'surveyFilters', :'order' => :'order', :'order_by' => :'orderBy', @@ -79,19 +79,19 @@ def self.swagger_types { :'interval' => :'String', - :'conversation_filters' => :'Array<AnalyticsQueryFilter>', + :'conversation_filters' => :'Array<ConversationDetailQueryFilter>', - :'evaluation_filters' => :'Array<AnalyticsQueryFilter>', + :'segment_filters' => :'Array<SegmentDetailQueryFilter>', - :'survey_filters' => :'Array<AnalyticsQueryFilter>', + :'evaluation_filters' => :'Array<EvaluationDetailQueryFilter>', - :'media_endpoint_stat_filters' => :'Array<AnalyticsQueryFilter>', + :'media_endpoint_stat_filters' => :'Array<MediaEndpointStatDetailQueryFilter>', - :'segment_filters' => :'Array<AnalyticsQueryFilter>', + :'survey_filters' => :'Array<SurveyDetailQueryFilter>', :'order' => :'String', :'order_by' => :'String', @@ -129,25 +129,25 @@ end - if attributes.has_key?(:'evaluationFilters') + if attributes.has_key?(:'segmentFilters') - if (value = attributes[:'evaluationFilters']).is_a?(Array) - self.evaluation_filters = value + if (value = attributes[:'segmentFilters']).is_a?(Array) + self.segment_filters = value end end - if attributes.has_key?(:'surveyFilters') + if attributes.has_key?(:'evaluationFilters') - if (value = attributes[:'surveyFilters']).is_a?(Array) - self.survey_filters = value + if (value = attributes[:'evaluationFilters']).is_a?(Array) + self.evaluation_filters = value end end @@ -162,14 +162,14 @@ end - if attributes.has_key?(:'segmentFilters') + if attributes.has_key?(:'surveyFilters') - if (value = attributes[:'segmentFilters']).is_a?(Array) - self.segment_filters = value + if (value = attributes[:'surveyFilters']).is_a?(Array) + self.survey_filters = value end end @@ -354,14 +354,14 @@ def ==(o) return true if self.equal?(o) self.class == o.class && interval == o.interval && conversation_filters == o.conversation_filters && + segment_filters == o.segment_filters && evaluation_filters == o.evaluation_filters && - survey_filters == o.survey_filters && media_endpoint_stat_filters == o.media_endpoint_stat_filters && - segment_filters == o.segment_filters && + survey_filters == o.survey_filters && order == o.order && order_by == o.order_by && aggregations == o.aggregations && paging == o.paging end @@ -373,10 +373,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [interval, conversation_filters, evaluation_filters, survey_filters, media_endpoint_stat_filters, segment_filters, order, order_by, aggregations, paging].hash + [interval, conversation_filters, segment_filters, evaluation_filters, media_endpoint_stat_filters, survey_filters, order, order_by, aggregations, paging].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)