lib/purecloud/models/queue_utilization_diagnostic.rb in purecloud-0.42.1 vs lib/purecloud/models/queue_utilization_diagnostic.rb in purecloud-0.43.1

- old
+ new

@@ -37,10 +37,13 @@ attr_accessor :users_on_queue_with_station # The number of users currently engaged in a campaign call attr_accessor :users_on_a_campaign_call + # The number of users whose station is homed to an edge different from the campaign + attr_accessor :users_on_different_edge_group + # The number of users currently engaged in a communication that is not part of the campaign attr_accessor :users_on_a_non_campaign_call # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -58,10 +61,12 @@ :'users_on_queue_with_station' => :'usersOnQueueWithStation', :'users_on_a_campaign_call' => :'usersOnACampaignCall', + :'users_on_different_edge_group' => :'usersOnDifferentEdgeGroup', + :'users_on_a_non_campaign_call' => :'usersOnANonCampaignCall' } end @@ -73,10 +78,11 @@ :'active_users_in_queue' => :'Integer', :'users_on_queue' => :'Integer', :'users_not_utilized' => :'Integer', :'users_on_queue_with_station' => :'Integer', :'users_on_a_campaign_call' => :'Integer', + :'users_on_different_edge_group' => :'Integer', :'users_on_a_non_campaign_call' => :'Integer' } end @@ -113,10 +119,14 @@ if attributes[:'usersOnACampaignCall'] self.users_on_a_campaign_call = attributes[:'usersOnACampaignCall'] end + if attributes[:'usersOnDifferentEdgeGroup'] + self.users_on_different_edge_group = attributes[:'usersOnDifferentEdgeGroup'] + end + if attributes[:'usersOnANonCampaignCall'] self.users_on_a_non_campaign_call = attributes[:'usersOnANonCampaignCall'] end end @@ -130,20 +140,21 @@ active_users_in_queue == o.active_users_in_queue && users_on_queue == o.users_on_queue && users_not_utilized == o.users_not_utilized && users_on_queue_with_station == o.users_on_queue_with_station && users_on_a_campaign_call == o.users_on_a_campaign_call && + users_on_different_edge_group == o.users_on_different_edge_group && users_on_a_non_campaign_call == o.users_on_a_non_campaign_call end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [queue, users_in_queue, active_users_in_queue, users_on_queue, users_not_utilized, users_on_queue_with_station, users_on_a_campaign_call, users_on_a_non_campaign_call].hash + [queue, users_in_queue, active_users_in_queue, users_on_queue, users_not_utilized, users_on_queue_with_station, users_on_a_campaign_call, users_on_different_edge_group, users_on_a_non_campaign_call].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)