lib/purecloud/models/create_callback_command.rb in purecloud-0.38.1 vs lib/purecloud/models/create_callback_command.rb in purecloud-0.39.1
- old
+ new
@@ -24,10 +24,13 @@
attr_accessor :callback_user_name
attr_accessor :callback_numbers
+ # 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
# Attribute mapping from ruby-style variable name to JSON key.
@@ -40,10 +43,12 @@
:'callback_user_name' => :'callbackUserName',
:'callback_numbers' => :'callbackNumbers',
+ :'callback_scheduled_time' => :'callbackScheduledTime',
+
:'country_code' => :'countryCode',
:'skip_enabled' => :'skipEnabled'
}
@@ -54,10 +59,11 @@
{
:'script_id' => :'String',
:'queue_id' => :'String',
:'callback_user_name' => :'String',
:'callback_numbers' => :'Array<String>',
+ :'callback_scheduled_time' => :'DateTime',
:'country_code' => :'String',
:'skip_enabled' => :'BOOLEAN'
}
end
@@ -85,10 +91,14 @@
if (value = attributes[:'callbackNumbers']).is_a?(Array)
self.callback_numbers = value
end
end
+ if attributes[:'callbackScheduledTime']
+ self.callback_scheduled_time = attributes[:'callbackScheduledTime']
+ end
+
if attributes[:'countryCode']
self.country_code = attributes[:'countryCode']
end
if attributes[:'skipEnabled']
@@ -105,10 +115,11 @@
self.class == o.class &&
script_id == o.script_id &&
queue_id == o.queue_id &&
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
end
# @see the `==` method
@@ -116,10 +127,10 @@
self == o
end
# Calculate hash code according to all attributes.
def hash
- [script_id, queue_id, callback_user_name, callback_numbers, country_code, skip_enabled].hash
+ [script_id, queue_id, callback_user_name, callback_numbers, callback_scheduled_time, country_code, skip_enabled].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)