lib/purecloud/models/attempt_limits_notification.rb in purecloud-0.67.1 vs lib/purecloud/models/attempt_limits_notification.rb in purecloud-0.68.1

- old
+ new

@@ -26,22 +26,24 @@ attr_accessor :date_modified attr_accessor :version - attr_accessor :additional_properties - attr_accessor :max_attempts_per_contact attr_accessor :max_attempts_per_number attr_accessor :time_zone_id attr_accessor :reset_period attr_accessor :recall_entries + attr_accessor :breadth_first_recalls + + attr_accessor :additional_properties + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'id' => :'id', @@ -52,22 +54,24 @@ :'date_modified' => :'dateModified', :'version' => :'version', - :'additional_properties' => :'additionalProperties', - :'max_attempts_per_contact' => :'maxAttemptsPerContact', :'max_attempts_per_number' => :'maxAttemptsPerNumber', :'time_zone_id' => :'timeZoneId', :'reset_period' => :'resetPeriod', - :'recall_entries' => :'recallEntries' + :'recall_entries' => :'recallEntries', + :'breadth_first_recalls' => :'breadthFirstRecalls', + + :'additional_properties' => :'additionalProperties' + } end # Attribute type mapping. def self.swagger_types @@ -75,16 +79,17 @@ :'id' => :'String', :'name' => :'String', :'date_created' => :'DateTime', :'date_modified' => :'DateTime', :'version' => :'Integer', - :'additional_properties' => :'Object', :'max_attempts_per_contact' => :'Integer', :'max_attempts_per_number' => :'Integer', :'time_zone_id' => :'String', :'reset_period' => :'String', - :'recall_entries' => :'Hash<String, AttemptLimitsNotificationRecallEntries>' + :'recall_entries' => :'Hash<String, AttemptLimitsNotificationRecallEntries>', + :'breadth_first_recalls' => :'BOOLEAN', + :'additional_properties' => :'Object' } end def initialize(attributes = {}) @@ -112,14 +117,10 @@ if attributes[:'version'] self.version = attributes[:'version'] end - if attributes[:'additionalProperties'] - self.additional_properties = attributes[:'additionalProperties'] - end - if attributes[:'maxAttemptsPerContact'] self.max_attempts_per_contact = attributes[:'maxAttemptsPerContact'] end if attributes[:'maxAttemptsPerNumber'] @@ -138,10 +139,18 @@ if (value = attributes[:'recallEntries']).is_a?(Array) self.recall_entries = value end end + if attributes[:'breadthFirstRecalls'] + self.breadth_first_recalls = attributes[:'breadthFirstRecalls'] + end + + if attributes[:'additionalProperties'] + self.additional_properties = attributes[:'additionalProperties'] + end + end # Custom attribute writer method checking allowed values (enum). def reset_period=(reset_period) allowed_values = ["NEVER", "TODAY"] @@ -158,25 +167,26 @@ id == o.id && name == o.name && date_created == o.date_created && date_modified == o.date_modified && version == o.version && - additional_properties == o.additional_properties && max_attempts_per_contact == o.max_attempts_per_contact && max_attempts_per_number == o.max_attempts_per_number && time_zone_id == o.time_zone_id && reset_period == o.reset_period && - recall_entries == o.recall_entries + recall_entries == o.recall_entries && + breadth_first_recalls == o.breadth_first_recalls && + additional_properties == o.additional_properties end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [id, name, date_created, date_modified, version, additional_properties, max_attempts_per_contact, max_attempts_per_number, time_zone_id, reset_period, recall_entries].hash + [id, name, date_created, date_modified, version, max_attempts_per_contact, max_attempts_per_number, time_zone_id, reset_period, recall_entries, breadth_first_recalls, additional_properties].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)