lib/purecloud/models/create_callback_command.rb in purecloud-0.44.1 vs lib/purecloud/models/create_callback_command.rb in purecloud-0.45.1
- old
+ new
@@ -31,12 +31,14 @@
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :callback_scheduled_time
attr_accessor :country_code
- attr_accessor :skip_enabled
+ attr_accessor :is_automated
+ attr_accessor :automated_callback_config_id
+
attr_accessor :additional_info
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -53,12 +55,14 @@
:'callback_scheduled_time' => :'callbackScheduledTime',
:'country_code' => :'countryCode',
- :'skip_enabled' => :'skipEnabled',
+ :'is_automated' => :'isAutomated',
+ :'automated_callback_config_id' => :'automatedCallbackConfigId',
+
:'additional_info' => :'additionalInfo'
}
end
@@ -70,11 +74,12 @@
:'routing_data' => :'RoutingData',
:'callback_user_name' => :'String',
:'callback_numbers' => :'Array<String>',
:'callback_scheduled_time' => :'DateTime',
:'country_code' => :'String',
- :'skip_enabled' => :'BOOLEAN',
+ :'is_automated' => :'BOOLEAN',
+ :'automated_callback_config_id' => :'String',
:'additional_info' => :'AdditionalInfo'
}
end
@@ -113,16 +118,20 @@
if attributes[:'countryCode']
self.country_code = attributes[:'countryCode']
end
- if attributes[:'skipEnabled']
- self.skip_enabled = attributes[:'skipEnabled']
+ if attributes[:'isAutomated']
+ self.is_automated = attributes[:'isAutomated']
else
- self.skip_enabled = false
+ self.is_automated = false
end
+ if attributes[:'automatedCallbackConfigId']
+ self.automated_callback_config_id = attributes[:'automatedCallbackConfigId']
+ end
+
if attributes[:'additionalInfo']
self.additional_info = attributes[:'additionalInfo']
end
end
@@ -136,21 +145,22 @@
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 &&
- skip_enabled == o.skip_enabled &&
+ is_automated == o.is_automated &&
+ automated_callback_config_id == o.automated_callback_config_id &&
additional_info == o.additional_info
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, skip_enabled, additional_info].hash
+ [script_id, queue_id, routing_data, callback_user_name, callback_numbers, callback_scheduled_time, country_code, is_automated, automated_callback_config_id, additional_info].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)