lib/purecloudplatformclientv2/models/campaign_diagnostics.rb in purecloudplatformclientv2-32.0.0 vs lib/purecloudplatformclientv2/models/campaign_diagnostics.rb in purecloudplatformclientv2-33.0.0
- old
+ new
@@ -28,22 +28,27 @@
attr_accessor :rule_set_diagnostics
# Current number of outstanding interactions on the campaign
attr_accessor :outstanding_interactions_count
+ # Current number of scheduled interactions on the campaign
+ attr_accessor :scheduled_interactions_count
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'callable_contacts' => :'callableContacts',
:'queue_utilization_diagnostic' => :'queueUtilizationDiagnostic',
:'rule_set_diagnostics' => :'ruleSetDiagnostics',
- :'outstanding_interactions_count' => :'outstandingInteractionsCount'
+ :'outstanding_interactions_count' => :'outstandingInteractionsCount',
+ :'scheduled_interactions_count' => :'scheduledInteractionsCount'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -53,12 +58,14 @@
:'queue_utilization_diagnostic' => :'QueueUtilizationDiagnostic',
:'rule_set_diagnostics' => :'Array<RuleSetDiagnostic>',
- :'outstanding_interactions_count' => :'Integer'
+ :'outstanding_interactions_count' => :'Integer',
+ :'scheduled_interactions_count' => :'Integer'
+
}
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -105,10 +112,19 @@
end
+ if attributes.has_key?(:'scheduledInteractionsCount')
+
+
+ self.scheduled_interactions_count = attributes[:'scheduledInteractionsCount']
+
+
+ end
+
+
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
def list_invalid_properties
@@ -136,10 +152,14 @@
+
+
+
+
end
@@ -159,19 +179,25 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
callable_contacts == o.callable_contacts &&
queue_utilization_diagnostic == o.queue_utilization_diagnostic &&
rule_set_diagnostics == o.rule_set_diagnostics &&
- outstanding_interactions_count == o.outstanding_interactions_count
+ outstanding_interactions_count == o.outstanding_interactions_count &&
+ scheduled_interactions_count == o.scheduled_interactions_count
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -179,10 +205,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [callable_contacts, queue_utilization_diagnostic, rule_set_diagnostics, outstanding_interactions_count].hash
+ [callable_contacts, queue_utilization_diagnostic, rule_set_diagnostics, outstanding_interactions_count, scheduled_interactions_count].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)