lib/purecloud/models/create_callback_command.rb in purecloud-0.57.1 vs lib/purecloud/models/create_callback_command.rb in purecloud-0.58.1

- old
+ new

@@ -37,16 +37,10 @@ attr_accessor :callback_scheduled_time # The country code to be associated with the callback numbers. attr_accessor :country_code - # Whether or not to automatically place a call for this callback. - attr_accessor :is_automated - - # The id of the configuration to handle the response (e.g. live voice, machine) from automatically placing a call for a callback. - attr_accessor :automated_callback_config_id - # A map of key-value pairs containing additional data that can be associated to the callback. These values will appear in the attributes property on the conversation participant. Example: { \"notes\": \"ready to close the deal!\", \"customerPreferredName\": \"Doc\" } attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -64,14 +58,10 @@ :'callback_scheduled_time' => :'callbackScheduledTime', :'country_code' => :'countryCode', - :'is_automated' => :'isAutomated', - - :'automated_callback_config_id' => :'automatedCallbackConfigId', - :'data' => :'data' } end @@ -83,12 +73,10 @@ :'routing_data' => :'RoutingData', :'callback_user_name' => :'String', :'callback_numbers' => :'Array<String>', :'callback_scheduled_time' => :'DateTime', :'country_code' => :'String', - :'is_automated' => :'BOOLEAN', - :'automated_callback_config_id' => :'String', :'data' => :'Hash<String, String>' } end @@ -127,20 +115,10 @@ if attributes[:'countryCode'] self.country_code = attributes[:'countryCode'] end - if attributes[:'isAutomated'] - self.is_automated = attributes[:'isAutomated'] - else - self.is_automated = false - end - - if attributes[:'automatedCallbackConfigId'] - self.automated_callback_config_id = attributes[:'automatedCallbackConfigId'] - end - if attributes[:'data'] if (value = attributes[:'data']).is_a?(Array) self.data = value end end @@ -156,22 +134,20 @@ routing_data == o.routing_data && callback_user_name == o.callback_user_name && callback_numbers == o.callback_numbers && callback_scheduled_time == o.callback_scheduled_time && country_code == o.country_code && - is_automated == o.is_automated && - automated_callback_config_id == o.automated_callback_config_id && data == o.data end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [script_id, queue_id, routing_data, callback_user_name, callback_numbers, callback_scheduled_time, country_code, is_automated, automated_callback_config_id, data].hash + [script_id, queue_id, routing_data, callback_user_name, callback_numbers, callback_scheduled_time, country_code, data].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)