purecloudplatformclientv2 22.0.0 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActivityCode.md +8 -5
- data/docs/ActivityCodeContainer.md +1 -0
- data/docs/AdherenceSettings.md +1 -1
- data/docs/ArchitectApi.md +14 -14
- data/docs/AuthorizationApi.md +3 -1
- data/docs/BatchDownloadJobResult.md +20 -0
- data/docs/BatchDownloadJobStatusResult.md +20 -0
- data/docs/BatchDownloadJobSubmission.md +13 -0
- data/docs/BatchDownloadJobSubmissionResult.md +15 -0
- data/docs/BatchDownloadRequest.md +14 -0
- data/docs/Call.md +2 -0
- data/docs/CallBasic.md +2 -0
- data/docs/CallForwardingNotification.md +17 -0
- data/docs/CallForwardingNotificationCall.md +13 -0
- data/docs/CallForwardingNotificationCalls.md +13 -0
- data/docs/CallForwardingNotificationTarget.md +14 -0
- data/docs/CallForwardingNotificationTargets.md +14 -0
- data/docs/CallForwardingNotificationUser.md +13 -0
- data/docs/CallRoute.md +0 -1
- data/docs/{SignedData.md → ContactColumnTimeZone.md} +2 -3
- data/docs/CreateActivityCodeRequest.md +18 -0
- data/docs/CreateQueueRequest.md +12 -11
- data/docs/ExternalContact.md +1 -0
- data/docs/IgnoredActivityCategories.md +13 -0
- data/docs/ManagementUnit.md +4 -3
- data/docs/ManagementUnitSettings.md +1 -3
- data/docs/MessageDetails.md +1 -0
- data/docs/MessageMedia.md +14 -0
- data/docs/MoveAgentResponse.md +14 -0
- data/docs/MoveAgentsRequest.md +14 -0
- data/docs/MoveAgentsResponse.md +15 -0
- data/docs/NTPSettings.md +13 -0
- data/docs/OrganizationAuthorizationApi.md +2 -2
- data/docs/OutOfOfficeNotification.md +1 -0
- data/docs/OutboundApi.md +63 -0
- data/docs/Queue.md +12 -11
- data/docs/Recording.md +1 -0
- data/docs/RecordingApi.md +120 -0
- data/docs/RecordingMessagingMessage.md +18 -0
- data/docs/RoutingApi.md +2 -2
- data/docs/SchedulingSettings.md +1 -0
- data/docs/ShrinkageOverride.md +14 -0
- data/docs/ShrinkageOverrides.md +14 -0
- data/docs/Site.md +1 -0
- data/docs/TrustCreate.md +2 -1
- data/docs/TrustGroup.md +26 -0
- data/docs/{TrustUserCreate.md → TrustMemberCreate.md} +4 -4
- data/docs/TrustRequest.md +2 -1
- data/docs/TrustRequestCreate.md +2 -1
- data/docs/UserQueue.md +12 -11
- data/docs/WfmVersionedEntityMetadata.md +15 -0
- data/docs/WorkforceManagementApi.md +128 -3
- data/docs/{Entity.md → WrapUpCodeReference.md} +2 -2
- data/lib/purecloudplatformclientv2.rb +26 -4
- data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +75 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +138 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/activity_code.rb +95 -12
- data/lib/purecloudplatformclientv2/models/activity_code_container.rb +35 -4
- data/lib/purecloudplatformclientv2/models/adherence_settings.rb +2 -4
- data/lib/purecloudplatformclientv2/models/batch_download_job_result.rb +383 -0
- data/lib/purecloudplatformclientv2/models/batch_download_job_status_result.rb +385 -0
- data/lib/purecloudplatformclientv2/models/batch_download_job_submission.rb +209 -0
- data/lib/purecloudplatformclientv2/models/batch_download_job_submission_result.rb +253 -0
- data/lib/purecloudplatformclientv2/models/batch_download_request.rb +228 -0
- data/lib/purecloudplatformclientv2/models/call.rb +56 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +56 -4
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification.rb +303 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_call.rb +203 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_calls.rb +203 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_target.rb +226 -0
- data/lib/purecloudplatformclientv2/models/call_forwarding_notification_targets.rb +226 -0
- data/lib/purecloudplatformclientv2/models/{signed_data.rb → call_forwarding_notification_user.rb} +8 -8
- data/lib/purecloudplatformclientv2/models/call_route.rb +4 -30
- data/lib/purecloudplatformclientv2/models/contact_column_time_zone.rb +176 -0
- data/lib/purecloudplatformclientv2/models/create_activity_code_request.rb +358 -0
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +38 -12
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/external_contact.rb +26 -1
- data/lib/purecloudplatformclientv2/models/ignored_activity_categories.rb +204 -0
- data/lib/purecloudplatformclientv2/models/management_unit.rb +36 -5
- data/lib/purecloudplatformclientv2/models/management_unit_settings.rb +9 -61
- data/lib/purecloudplatformclientv2/models/message_details.rb +32 -4
- data/lib/purecloudplatformclientv2/models/message_media.rb +228 -0
- data/lib/purecloudplatformclientv2/models/move_agent_response.rb +243 -0
- data/lib/purecloudplatformclientv2/models/move_agents_request.rb +236 -0
- data/lib/purecloudplatformclientv2/models/move_agents_response.rb +257 -0
- data/lib/purecloudplatformclientv2/models/ntp_settings.rb +204 -0
- data/lib/purecloudplatformclientv2/models/out_of_office_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/prediction_results.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue.rb +38 -12
- data/lib/purecloudplatformclientv2/models/recording.rb +29 -1
- data/lib/purecloudplatformclientv2/models/recording_messaging_message.rb +327 -0
- data/lib/purecloudplatformclientv2/models/scheduling_settings.rb +30 -4
- data/lib/purecloudplatformclientv2/models/shrinkage_override.rb +233 -0
- data/lib/purecloudplatformclientv2/models/shrinkage_overrides.rb +230 -0
- data/lib/purecloudplatformclientv2/models/site.rb +27 -1
- data/lib/purecloudplatformclientv2/models/trust_create.rb +32 -9
- data/lib/purecloudplatformclientv2/models/trust_group.rb +603 -0
- data/lib/purecloudplatformclientv2/models/{trust_user_create.rb → trust_member_create.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/trust_request.rb +28 -5
- data/lib/purecloudplatformclientv2/models/trust_request_create.rb +32 -9
- data/lib/purecloudplatformclientv2/models/user_queue.rb +38 -12
- data/lib/purecloudplatformclientv2/models/wfm_versioned_entity_metadata.rb +260 -0
- data/lib/purecloudplatformclientv2/models/{entity.rb → wrap_up_code_reference.rb} +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +54 -10
- data/docs/SignedDataApi.md +0 -73
- data/lib/purecloudplatformclientv2/api/signed_data_api.rb +0 -90
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud Platform API
|
|
3
|
+
|
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v2
|
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
License: ININ
|
|
11
|
+
http://www.inin.com
|
|
12
|
+
|
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
17
|
+
require 'date'
|
|
18
|
+
|
|
19
|
+
module PureCloud
|
|
20
|
+
# Activity Code
|
|
21
|
+
class CreateActivityCodeRequest
|
|
22
|
+
# The name of the activity code
|
|
23
|
+
attr_accessor :name
|
|
24
|
+
|
|
25
|
+
# The activity code's category
|
|
26
|
+
attr_accessor :category
|
|
27
|
+
|
|
28
|
+
# The default length of the activity in minutes
|
|
29
|
+
attr_accessor :length_in_minutes
|
|
30
|
+
|
|
31
|
+
# Whether an agent is paid while performing this activity
|
|
32
|
+
attr_accessor :counts_as_paid_time
|
|
33
|
+
|
|
34
|
+
# Indicates whether or not the activity should be counted as work time
|
|
35
|
+
attr_accessor :counts_as_work_time
|
|
36
|
+
|
|
37
|
+
# Whether an agent can select this activity code when creating or editing a time off request
|
|
38
|
+
attr_accessor :agent_time_off_selectable
|
|
39
|
+
|
|
40
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
|
+
def self.attribute_map
|
|
42
|
+
{
|
|
43
|
+
|
|
44
|
+
:'name' => :'name',
|
|
45
|
+
|
|
46
|
+
:'category' => :'category',
|
|
47
|
+
|
|
48
|
+
:'length_in_minutes' => :'lengthInMinutes',
|
|
49
|
+
|
|
50
|
+
:'counts_as_paid_time' => :'countsAsPaidTime',
|
|
51
|
+
|
|
52
|
+
:'counts_as_work_time' => :'countsAsWorkTime',
|
|
53
|
+
|
|
54
|
+
:'agent_time_off_selectable' => :'agentTimeOffSelectable'
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Attribute type mapping.
|
|
60
|
+
def self.swagger_types
|
|
61
|
+
{
|
|
62
|
+
|
|
63
|
+
:'name' => :'String',
|
|
64
|
+
|
|
65
|
+
:'category' => :'String',
|
|
66
|
+
|
|
67
|
+
:'length_in_minutes' => :'Integer',
|
|
68
|
+
|
|
69
|
+
:'counts_as_paid_time' => :'BOOLEAN',
|
|
70
|
+
|
|
71
|
+
:'counts_as_work_time' => :'BOOLEAN',
|
|
72
|
+
|
|
73
|
+
:'agent_time_off_selectable' => :'BOOLEAN'
|
|
74
|
+
|
|
75
|
+
}
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Initializes the object
|
|
79
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
80
|
+
def initialize(attributes = {})
|
|
81
|
+
return unless attributes.is_a?(Hash)
|
|
82
|
+
|
|
83
|
+
# convert string to symbol for hash key
|
|
84
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
if attributes.has_key?(:'name')
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
self.name = attributes[:'name']
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
if attributes.has_key?(:'category')
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
self.category = attributes[:'category']
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
if attributes.has_key?(:'lengthInMinutes')
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
self.length_in_minutes = attributes[:'lengthInMinutes']
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
if attributes.has_key?(:'countsAsPaidTime')
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
self.counts_as_paid_time = attributes[:'countsAsPaidTime']
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
if attributes.has_key?(:'countsAsWorkTime')
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
self.counts_as_work_time = attributes[:'countsAsWorkTime']
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
if attributes.has_key?(:'agentTimeOffSelectable')
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
self.agent_time_off_selectable = attributes[:'agentTimeOffSelectable']
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
144
|
+
# @return Array for valid properies with the reasons
|
|
145
|
+
def list_invalid_properties
|
|
146
|
+
invalid_properties = Array.new
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
return invalid_properties
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Check to see if the all the properties in the model are valid
|
|
153
|
+
# @return true if the model is valid
|
|
154
|
+
def valid?
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
if @name.nil?
|
|
158
|
+
return false
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
if @category.nil?
|
|
167
|
+
return false
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
if @length_in_minutes.nil?
|
|
176
|
+
return false
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
if @counts_as_paid_time.nil?
|
|
185
|
+
return false
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
if @counts_as_work_time.nil?
|
|
194
|
+
return false
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
# Checks equality by comparing each attribute.
|
|
239
|
+
# @param [Object] Object to be compared
|
|
240
|
+
def ==(o)
|
|
241
|
+
return true if self.equal?(o)
|
|
242
|
+
self.class == o.class &&
|
|
243
|
+
name == o.name &&
|
|
244
|
+
category == o.category &&
|
|
245
|
+
length_in_minutes == o.length_in_minutes &&
|
|
246
|
+
counts_as_paid_time == o.counts_as_paid_time &&
|
|
247
|
+
counts_as_work_time == o.counts_as_work_time &&
|
|
248
|
+
agent_time_off_selectable == o.agent_time_off_selectable
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# @see the `==` method
|
|
252
|
+
# @param [Object] Object to be compared
|
|
253
|
+
def eql?(o)
|
|
254
|
+
self == o
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# Calculates hash code according to all attributes.
|
|
258
|
+
# @return [Fixnum] Hash code
|
|
259
|
+
def hash
|
|
260
|
+
[name, category, length_in_minutes, counts_as_paid_time, counts_as_work_time, agent_time_off_selectable].hash
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# build the object from hash
|
|
264
|
+
def build_from_hash(attributes)
|
|
265
|
+
return nil unless attributes.is_a?(Hash)
|
|
266
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
267
|
+
if type =~ /^Array<(.*)>/i
|
|
268
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
269
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
270
|
+
else
|
|
271
|
+
#TODO show warning in debug mode
|
|
272
|
+
end
|
|
273
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
274
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
275
|
+
else
|
|
276
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
self
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
def _deserialize(type, value)
|
|
284
|
+
case type.to_sym
|
|
285
|
+
when :DateTime
|
|
286
|
+
DateTime.parse(value)
|
|
287
|
+
when :Date
|
|
288
|
+
Date.parse(value)
|
|
289
|
+
when :String
|
|
290
|
+
value.to_s
|
|
291
|
+
when :Integer
|
|
292
|
+
value.to_i
|
|
293
|
+
when :Float
|
|
294
|
+
value.to_f
|
|
295
|
+
when :BOOLEAN
|
|
296
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
297
|
+
true
|
|
298
|
+
else
|
|
299
|
+
false
|
|
300
|
+
end
|
|
301
|
+
when :Object
|
|
302
|
+
# generic object (usually a Hash), return directly
|
|
303
|
+
value
|
|
304
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
305
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
306
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
307
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
308
|
+
k_type = Regexp.last_match[:k_type]
|
|
309
|
+
v_type = Regexp.last_match[:v_type]
|
|
310
|
+
{}.tap do |hash|
|
|
311
|
+
value.each do |k, v|
|
|
312
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
else # model
|
|
316
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
|
317
|
+
_model.build_from_hash(value)
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
def to_s
|
|
322
|
+
to_hash.to_s
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
# to_body is an alias to to_body (backward compatibility))
|
|
326
|
+
def to_body
|
|
327
|
+
to_hash
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
# return the object in the form of hash
|
|
331
|
+
def to_hash
|
|
332
|
+
hash = {}
|
|
333
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
334
|
+
value = self.send(attr)
|
|
335
|
+
next if value.nil?
|
|
336
|
+
hash[param] = _to_hash(value)
|
|
337
|
+
end
|
|
338
|
+
hash
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
# Method to output non-array value in the form of hash
|
|
342
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
343
|
+
def _to_hash(value)
|
|
344
|
+
if value.is_a?(Array)
|
|
345
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
346
|
+
elsif value.is_a?(Hash)
|
|
347
|
+
{}.tap do |hash|
|
|
348
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
349
|
+
end
|
|
350
|
+
elsif value.respond_to? :to_hash
|
|
351
|
+
value.to_hash
|
|
352
|
+
else
|
|
353
|
+
value
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
end
|
|
358
|
+
end
|
|
@@ -23,31 +23,34 @@ module PureCloud
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :name
|
|
25
25
|
|
|
26
|
-
# The
|
|
26
|
+
# The queue description.
|
|
27
27
|
attr_accessor :description
|
|
28
28
|
|
|
29
|
-
# The current version of the
|
|
29
|
+
# The current version of the queue.
|
|
30
30
|
attr_accessor :version
|
|
31
31
|
|
|
32
|
-
# The
|
|
32
|
+
# The division to which this queue belongs.
|
|
33
|
+
attr_accessor :division
|
|
34
|
+
|
|
35
|
+
# The date the queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
33
36
|
attr_accessor :date_created
|
|
34
37
|
|
|
35
|
-
# The date of the last modification to the
|
|
38
|
+
# The date of the last modification to the queue. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
36
39
|
attr_accessor :date_modified
|
|
37
40
|
|
|
38
|
-
# The ID of the user that last modified the
|
|
41
|
+
# The ID of the user that last modified the queue.
|
|
39
42
|
attr_accessor :modified_by
|
|
40
43
|
|
|
41
|
-
# The ID of the user that created the
|
|
44
|
+
# The ID of the user that created the queue.
|
|
42
45
|
attr_accessor :created_by
|
|
43
46
|
|
|
44
|
-
# Indicates if the
|
|
47
|
+
# Indicates if the queue is active, inactive, or deleted.
|
|
45
48
|
attr_accessor :state
|
|
46
49
|
|
|
47
|
-
# The application that last modified the
|
|
50
|
+
# The application that last modified the queue.
|
|
48
51
|
attr_accessor :modified_by_app
|
|
49
52
|
|
|
50
|
-
# The application that created the
|
|
53
|
+
# The application that created the queue.
|
|
51
54
|
attr_accessor :created_by_app
|
|
52
55
|
|
|
53
56
|
# The media settings for the queue. Valid Key Values: CALL, CALLBACK, CHAT, EMAIL, SOCIAL_EXPRESSION
|
|
@@ -65,10 +68,10 @@ module PureCloud
|
|
|
65
68
|
# The in-queue flow to use for conversations waiting in queue.
|
|
66
69
|
attr_accessor :queue_flow
|
|
67
70
|
|
|
68
|
-
#
|
|
71
|
+
# ID of the whisper configured for this queue, if any.
|
|
69
72
|
attr_accessor :whisper
|
|
70
73
|
|
|
71
|
-
# Specifies whether the configured whisper
|
|
74
|
+
# Specifies whether the configured whisper should play for all ACD calls, or only for those which are auto-answered.
|
|
72
75
|
attr_accessor :auto_answer_only
|
|
73
76
|
|
|
74
77
|
# The name to use for caller identification for outbound calls from this queue.
|
|
@@ -102,6 +105,8 @@ module PureCloud
|
|
|
102
105
|
|
|
103
106
|
:'version' => :'version',
|
|
104
107
|
|
|
108
|
+
:'division' => :'division',
|
|
109
|
+
|
|
105
110
|
:'date_created' => :'dateCreated',
|
|
106
111
|
|
|
107
112
|
:'date_modified' => :'dateModified',
|
|
@@ -159,6 +164,8 @@ module PureCloud
|
|
|
159
164
|
|
|
160
165
|
:'version' => :'Integer',
|
|
161
166
|
|
|
167
|
+
:'division' => :'UriReference',
|
|
168
|
+
|
|
162
169
|
:'date_created' => :'DateTime',
|
|
163
170
|
|
|
164
171
|
:'date_modified' => :'DateTime',
|
|
@@ -249,6 +256,15 @@ module PureCloud
|
|
|
249
256
|
end
|
|
250
257
|
|
|
251
258
|
|
|
259
|
+
if attributes.has_key?(:'division')
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
self.division = attributes[:'division']
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
|
|
252
268
|
if attributes.has_key?(:'dateCreated')
|
|
253
269
|
|
|
254
270
|
|
|
@@ -486,6 +502,10 @@ module PureCloud
|
|
|
486
502
|
|
|
487
503
|
|
|
488
504
|
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
489
509
|
|
|
490
510
|
|
|
491
511
|
|
|
@@ -620,6 +640,11 @@ module PureCloud
|
|
|
620
640
|
|
|
621
641
|
|
|
622
642
|
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
623
648
|
|
|
624
649
|
|
|
625
650
|
|
|
@@ -737,6 +762,7 @@ module PureCloud
|
|
|
737
762
|
name == o.name &&
|
|
738
763
|
description == o.description &&
|
|
739
764
|
version == o.version &&
|
|
765
|
+
division == o.division &&
|
|
740
766
|
date_created == o.date_created &&
|
|
741
767
|
date_modified == o.date_modified &&
|
|
742
768
|
modified_by == o.modified_by &&
|
|
@@ -769,7 +795,7 @@ module PureCloud
|
|
|
769
795
|
# Calculates hash code according to all attributes.
|
|
770
796
|
# @return [Fixnum] Hash code
|
|
771
797
|
def hash
|
|
772
|
-
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_email_address, source_queue_id, member_count, self_uri].hash
|
|
798
|
+
[id, name, description, version, division, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_email_address, source_queue_id, member_count, self_uri].hash
|
|
773
799
|
end
|
|
774
800
|
|
|
775
801
|
# build the object from hash
|