purecloudplatformclientv2 14.0.0 → 14.1.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/CertificateDetails.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/Edge.md +1 -0
- data/docs/JsonNode.md +2 -2
- data/docs/LicenseApi.md +120 -0
- data/docs/LicenseOrgToggle.md +14 -0
- data/docs/OAuthClient.md +4 -0
- data/docs/OAuthClientListing.md +4 -0
- data/docs/OrgOAuthClient.md +4 -0
- data/docs/OutOfOffice.md +1 -0
- data/docs/UsersApi.md +2 -2
- data/docs/VoicemailApi.md +77 -14
- data/docs/VoicemailMessage.md +1 -0
- data/docs/VoicemailRetentionPolicy.md +14 -0
- data/lib/purecloudplatformclientv2.rb +2 -0
- data/lib/purecloudplatformclientv2/api/license_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/voicemail_api.rb +87 -12
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/activity_code.rb +2 -2
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge.rb +27 -1
- data/lib/purecloudplatformclientv2/models/json_node.rb +50 -50
- data/lib/purecloudplatformclientv2/models/license_org_toggle.rb +226 -0
- data/lib/purecloudplatformclientv2/models/o_auth_client.rb +105 -1
- data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +105 -1
- data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +105 -1
- data/lib/purecloudplatformclientv2/models/out_of_office.rb +26 -1
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +4 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message.rb +27 -1
- data/lib/purecloudplatformclientv2/models/voicemail_retention_policy.rb +243 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +6 -2
@@ -36,10 +36,10 @@ module PureCloud
|
|
36
36
|
# Optional unless patch operation.
|
37
37
|
attr_accessor :role_needs_update
|
38
38
|
|
39
|
-
attr_accessor :base
|
40
|
-
|
41
39
|
attr_accessor :default
|
42
40
|
|
41
|
+
attr_accessor :base
|
42
|
+
|
43
43
|
# The URI for this object
|
44
44
|
attr_accessor :self_uri
|
45
45
|
|
@@ -63,10 +63,10 @@ module PureCloud
|
|
63
63
|
|
64
64
|
:'role_needs_update' => :'roleNeedsUpdate',
|
65
65
|
|
66
|
-
:'base' => :'base',
|
67
|
-
|
68
66
|
:'default' => :'default',
|
69
67
|
|
68
|
+
:'base' => :'base',
|
69
|
+
|
70
70
|
:'self_uri' => :'selfUri'
|
71
71
|
|
72
72
|
}
|
@@ -92,10 +92,10 @@ module PureCloud
|
|
92
92
|
|
93
93
|
:'role_needs_update' => :'BOOLEAN',
|
94
94
|
|
95
|
-
:'base' => :'BOOLEAN',
|
96
|
-
|
97
95
|
:'default' => :'BOOLEAN',
|
98
96
|
|
97
|
+
:'base' => :'BOOLEAN',
|
98
|
+
|
99
99
|
:'self_uri' => :'String'
|
100
100
|
|
101
101
|
}
|
@@ -186,19 +186,19 @@ module PureCloud
|
|
186
186
|
end
|
187
187
|
|
188
188
|
|
189
|
-
if attributes.has_key?(:'
|
189
|
+
if attributes.has_key?(:'default')
|
190
190
|
|
191
191
|
|
192
|
-
self.
|
192
|
+
self.default = attributes[:'default']
|
193
193
|
|
194
194
|
|
195
195
|
end
|
196
196
|
|
197
197
|
|
198
|
-
if attributes.has_key?(:'
|
198
|
+
if attributes.has_key?(:'base')
|
199
199
|
|
200
200
|
|
201
|
-
self.
|
201
|
+
self.base = attributes[:'base']
|
202
202
|
|
203
203
|
|
204
204
|
end
|
@@ -343,8 +343,8 @@ module PureCloud
|
|
343
343
|
permission_policies == o.permission_policies &&
|
344
344
|
user_count == o.user_count &&
|
345
345
|
role_needs_update == o.role_needs_update &&
|
346
|
-
base == o.base &&
|
347
346
|
default == o.default &&
|
347
|
+
base == o.base &&
|
348
348
|
self_uri == o.self_uri
|
349
349
|
end
|
350
350
|
|
@@ -357,7 +357,7 @@ module PureCloud
|
|
357
357
|
# Calculates hash code according to all attributes.
|
358
358
|
# @return [Fixnum] Hash code
|
359
359
|
def hash
|
360
|
-
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update,
|
360
|
+
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update, default, base, self_uri].hash
|
361
361
|
end
|
362
362
|
|
363
363
|
# build the object from hash
|
@@ -37,10 +37,10 @@ module PureCloud
|
|
37
37
|
# Optional unless patch operation.
|
38
38
|
attr_accessor :role_needs_update
|
39
39
|
|
40
|
-
attr_accessor :base
|
41
|
-
|
42
40
|
attr_accessor :default
|
43
41
|
|
42
|
+
attr_accessor :base
|
43
|
+
|
44
44
|
# The URI for this object
|
45
45
|
attr_accessor :self_uri
|
46
46
|
|
@@ -64,10 +64,10 @@ module PureCloud
|
|
64
64
|
|
65
65
|
:'role_needs_update' => :'roleNeedsUpdate',
|
66
66
|
|
67
|
-
:'base' => :'base',
|
68
|
-
|
69
67
|
:'default' => :'default',
|
70
68
|
|
69
|
+
:'base' => :'base',
|
70
|
+
|
71
71
|
:'self_uri' => :'selfUri'
|
72
72
|
|
73
73
|
}
|
@@ -93,10 +93,10 @@ module PureCloud
|
|
93
93
|
|
94
94
|
:'role_needs_update' => :'BOOLEAN',
|
95
95
|
|
96
|
-
:'base' => :'BOOLEAN',
|
97
|
-
|
98
96
|
:'default' => :'BOOLEAN',
|
99
97
|
|
98
|
+
:'base' => :'BOOLEAN',
|
99
|
+
|
100
100
|
:'self_uri' => :'String'
|
101
101
|
|
102
102
|
}
|
@@ -187,19 +187,19 @@ module PureCloud
|
|
187
187
|
end
|
188
188
|
|
189
189
|
|
190
|
-
if attributes.has_key?(:'
|
190
|
+
if attributes.has_key?(:'default')
|
191
191
|
|
192
192
|
|
193
|
-
self.
|
193
|
+
self.default = attributes[:'default']
|
194
194
|
|
195
195
|
|
196
196
|
end
|
197
197
|
|
198
198
|
|
199
|
-
if attributes.has_key?(:'
|
199
|
+
if attributes.has_key?(:'base')
|
200
200
|
|
201
201
|
|
202
|
-
self.
|
202
|
+
self.base = attributes[:'base']
|
203
203
|
|
204
204
|
|
205
205
|
end
|
@@ -349,8 +349,8 @@ module PureCloud
|
|
349
349
|
permission_policies == o.permission_policies &&
|
350
350
|
user_count == o.user_count &&
|
351
351
|
role_needs_update == o.role_needs_update &&
|
352
|
-
base == o.base &&
|
353
352
|
default == o.default &&
|
353
|
+
base == o.base &&
|
354
354
|
self_uri == o.self_uri
|
355
355
|
end
|
356
356
|
|
@@ -363,7 +363,7 @@ module PureCloud
|
|
363
363
|
# Calculates hash code according to all attributes.
|
364
364
|
# @return [Fixnum] Hash code
|
365
365
|
def hash
|
366
|
-
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update,
|
366
|
+
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update, default, base, self_uri].hash
|
367
367
|
end
|
368
368
|
|
369
369
|
# build the object from hash
|
@@ -37,10 +37,10 @@ module PureCloud
|
|
37
37
|
# Optional unless patch operation.
|
38
38
|
attr_accessor :role_needs_update
|
39
39
|
|
40
|
-
attr_accessor :base
|
41
|
-
|
42
40
|
attr_accessor :default
|
43
41
|
|
42
|
+
attr_accessor :base
|
43
|
+
|
44
44
|
# The URI for this object
|
45
45
|
attr_accessor :self_uri
|
46
46
|
|
@@ -64,10 +64,10 @@ module PureCloud
|
|
64
64
|
|
65
65
|
:'role_needs_update' => :'roleNeedsUpdate',
|
66
66
|
|
67
|
-
:'base' => :'base',
|
68
|
-
|
69
67
|
:'default' => :'default',
|
70
68
|
|
69
|
+
:'base' => :'base',
|
70
|
+
|
71
71
|
:'self_uri' => :'selfUri'
|
72
72
|
|
73
73
|
}
|
@@ -93,10 +93,10 @@ module PureCloud
|
|
93
93
|
|
94
94
|
:'role_needs_update' => :'BOOLEAN',
|
95
95
|
|
96
|
-
:'base' => :'BOOLEAN',
|
97
|
-
|
98
96
|
:'default' => :'BOOLEAN',
|
99
97
|
|
98
|
+
:'base' => :'BOOLEAN',
|
99
|
+
|
100
100
|
:'self_uri' => :'String'
|
101
101
|
|
102
102
|
}
|
@@ -187,19 +187,19 @@ module PureCloud
|
|
187
187
|
end
|
188
188
|
|
189
189
|
|
190
|
-
if attributes.has_key?(:'
|
190
|
+
if attributes.has_key?(:'default')
|
191
191
|
|
192
192
|
|
193
|
-
self.
|
193
|
+
self.default = attributes[:'default']
|
194
194
|
|
195
195
|
|
196
196
|
end
|
197
197
|
|
198
198
|
|
199
|
-
if attributes.has_key?(:'
|
199
|
+
if attributes.has_key?(:'base')
|
200
200
|
|
201
201
|
|
202
|
-
self.
|
202
|
+
self.base = attributes[:'base']
|
203
203
|
|
204
204
|
|
205
205
|
end
|
@@ -349,8 +349,8 @@ module PureCloud
|
|
349
349
|
permission_policies == o.permission_policies &&
|
350
350
|
user_count == o.user_count &&
|
351
351
|
role_needs_update == o.role_needs_update &&
|
352
|
-
base == o.base &&
|
353
352
|
default == o.default &&
|
353
|
+
base == o.base &&
|
354
354
|
self_uri == o.self_uri
|
355
355
|
end
|
356
356
|
|
@@ -363,7 +363,7 @@ module PureCloud
|
|
363
363
|
# Calculates hash code according to all attributes.
|
364
364
|
# @return [Fixnum] Hash code
|
365
365
|
def hash
|
366
|
-
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update,
|
366
|
+
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update, default, base, self_uri].hash
|
367
367
|
end
|
368
368
|
|
369
369
|
# build the object from hash
|
@@ -102,6 +102,9 @@ module PureCloud
|
|
102
102
|
# Edge HTTP proxy configuration for the WAN port. The field can be a hostname, FQDN, IPv4 or IPv6 address. If port is not included, port 80 is assumed.
|
103
103
|
attr_accessor :proxy
|
104
104
|
|
105
|
+
# True if the offline edge configuration endpoint has been called for this edge.
|
106
|
+
attr_accessor :offline_config_called
|
107
|
+
|
105
108
|
# The name provided by the operating system of the Edge.
|
106
109
|
attr_accessor :os_name
|
107
110
|
|
@@ -188,6 +191,8 @@ module PureCloud
|
|
188
191
|
|
189
192
|
:'proxy' => :'proxy',
|
190
193
|
|
194
|
+
:'offline_config_called' => :'offlineConfigCalled',
|
195
|
+
|
191
196
|
:'os_name' => :'osName',
|
192
197
|
|
193
198
|
:'self_uri' => :'selfUri'
|
@@ -275,6 +280,8 @@ module PureCloud
|
|
275
280
|
|
276
281
|
:'proxy' => :'String',
|
277
282
|
|
283
|
+
:'offline_config_called' => :'BOOLEAN',
|
284
|
+
|
278
285
|
:'os_name' => :'String',
|
279
286
|
|
280
287
|
:'self_uri' => :'String'
|
@@ -635,6 +642,15 @@ module PureCloud
|
|
635
642
|
end
|
636
643
|
|
637
644
|
|
645
|
+
if attributes.has_key?(:'offlineConfigCalled')
|
646
|
+
|
647
|
+
|
648
|
+
self.offline_config_called = attributes[:'offlineConfigCalled']
|
649
|
+
|
650
|
+
|
651
|
+
end
|
652
|
+
|
653
|
+
|
638
654
|
if attributes.has_key?(:'osName')
|
639
655
|
|
640
656
|
|
@@ -855,6 +871,10 @@ module PureCloud
|
|
855
871
|
|
856
872
|
|
857
873
|
|
874
|
+
|
875
|
+
|
876
|
+
|
877
|
+
|
858
878
|
|
859
879
|
|
860
880
|
|
@@ -1100,6 +1120,11 @@ module PureCloud
|
|
1100
1120
|
|
1101
1121
|
|
1102
1122
|
|
1123
|
+
|
1124
|
+
|
1125
|
+
|
1126
|
+
|
1127
|
+
|
1103
1128
|
|
1104
1129
|
|
1105
1130
|
|
@@ -1149,6 +1174,7 @@ module PureCloud
|
|
1149
1174
|
call_draining_state == o.call_draining_state &&
|
1150
1175
|
conversation_count == o.conversation_count &&
|
1151
1176
|
proxy == o.proxy &&
|
1177
|
+
offline_config_called == o.offline_config_called &&
|
1152
1178
|
os_name == o.os_name &&
|
1153
1179
|
self_uri == o.self_uri
|
1154
1180
|
end
|
@@ -1162,7 +1188,7 @@ module PureCloud
|
|
1162
1188
|
# Calculates hash code according to all attributes.
|
1163
1189
|
# @return [Fixnum] Hash code
|
1164
1190
|
def hash
|
1165
|
-
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, interfaces, make, model, api_version, software_version, software_version_timestamp, software_version_platform, software_version_configuration, full_software_version, pairing_id, fingerprint, fingerprint_hint, current_version, staged_version, patch, status_code, edge_group, site, software_status, online_status, serial_number, physical_edge, managed, edge_deployment_type, call_draining_state, conversation_count, proxy, os_name, self_uri].hash
|
1191
|
+
[id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, interfaces, make, model, api_version, software_version, software_version_timestamp, software_version_platform, software_version_configuration, full_software_version, pairing_id, fingerprint, fingerprint_hint, current_version, staged_version, patch, status_code, edge_group, site, software_status, online_status, serial_number, physical_edge, managed, edge_deployment_type, call_draining_state, conversation_count, proxy, offline_config_called, os_name, self_uri].hash
|
1166
1192
|
end
|
1167
1193
|
|
1168
1194
|
# build the object from hash
|
@@ -18,6 +18,10 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class JsonNode
|
21
|
+
attr_accessor :array
|
22
|
+
|
23
|
+
attr_accessor :null
|
24
|
+
|
21
25
|
attr_accessor :node_type
|
22
26
|
|
23
27
|
attr_accessor :float
|
@@ -56,14 +60,14 @@ module PureCloud
|
|
56
60
|
|
57
61
|
attr_accessor :binary
|
58
62
|
|
59
|
-
attr_accessor :array
|
60
|
-
|
61
|
-
attr_accessor :null
|
62
|
-
|
63
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
64
|
def self.attribute_map
|
65
65
|
{
|
66
66
|
|
67
|
+
:'array' => :'array',
|
68
|
+
|
69
|
+
:'null' => :'null',
|
70
|
+
|
67
71
|
:'node_type' => :'nodeType',
|
68
72
|
|
69
73
|
:'float' => :'float',
|
@@ -100,11 +104,7 @@ module PureCloud
|
|
100
104
|
|
101
105
|
:'textual' => :'textual',
|
102
106
|
|
103
|
-
:'binary' => :'binary'
|
104
|
-
|
105
|
-
:'array' => :'array',
|
106
|
-
|
107
|
-
:'null' => :'null'
|
107
|
+
:'binary' => :'binary'
|
108
108
|
|
109
109
|
}
|
110
110
|
end
|
@@ -113,6 +113,10 @@ module PureCloud
|
|
113
113
|
def self.swagger_types
|
114
114
|
{
|
115
115
|
|
116
|
+
:'array' => :'BOOLEAN',
|
117
|
+
|
118
|
+
:'null' => :'BOOLEAN',
|
119
|
+
|
116
120
|
:'node_type' => :'String',
|
117
121
|
|
118
122
|
:'float' => :'BOOLEAN',
|
@@ -149,11 +153,7 @@ module PureCloud
|
|
149
153
|
|
150
154
|
:'textual' => :'BOOLEAN',
|
151
155
|
|
152
|
-
:'binary' => :'BOOLEAN'
|
153
|
-
|
154
|
-
:'array' => :'BOOLEAN',
|
155
|
-
|
156
|
-
:'null' => :'BOOLEAN'
|
156
|
+
:'binary' => :'BOOLEAN'
|
157
157
|
|
158
158
|
}
|
159
159
|
end
|
@@ -167,6 +167,24 @@ module PureCloud
|
|
167
167
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
168
168
|
|
169
169
|
|
170
|
+
if attributes.has_key?(:'array')
|
171
|
+
|
172
|
+
|
173
|
+
self.array = attributes[:'array']
|
174
|
+
|
175
|
+
|
176
|
+
end
|
177
|
+
|
178
|
+
|
179
|
+
if attributes.has_key?(:'null')
|
180
|
+
|
181
|
+
|
182
|
+
self.null = attributes[:'null']
|
183
|
+
|
184
|
+
|
185
|
+
end
|
186
|
+
|
187
|
+
|
170
188
|
if attributes.has_key?(:'nodeType')
|
171
189
|
|
172
190
|
|
@@ -338,24 +356,6 @@ module PureCloud
|
|
338
356
|
end
|
339
357
|
|
340
358
|
|
341
|
-
if attributes.has_key?(:'array')
|
342
|
-
|
343
|
-
|
344
|
-
self.array = attributes[:'array']
|
345
|
-
|
346
|
-
|
347
|
-
end
|
348
|
-
|
349
|
-
|
350
|
-
if attributes.has_key?(:'null')
|
351
|
-
|
352
|
-
|
353
|
-
self.null = attributes[:'null']
|
354
|
-
|
355
|
-
|
356
|
-
end
|
357
|
-
|
358
|
-
|
359
359
|
end
|
360
360
|
|
361
361
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -373,10 +373,6 @@ module PureCloud
|
|
373
373
|
|
374
374
|
|
375
375
|
|
376
|
-
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
377
|
-
if @node_type && !allowed_values.include?(@node_type)
|
378
|
-
return false
|
379
|
-
end
|
380
376
|
|
381
377
|
|
382
378
|
|
@@ -385,6 +381,10 @@ module PureCloud
|
|
385
381
|
|
386
382
|
|
387
383
|
|
384
|
+
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
385
|
+
if @node_type && !allowed_values.include?(@node_type)
|
386
|
+
return false
|
387
|
+
end
|
388
388
|
|
389
389
|
|
390
390
|
|
@@ -464,16 +464,6 @@ module PureCloud
|
|
464
464
|
|
465
465
|
|
466
466
|
|
467
|
-
# Custom attribute writer method checking allowed values (enum).
|
468
|
-
# @param [Object] node_type Object to be assigned
|
469
|
-
def node_type=(node_type)
|
470
|
-
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
471
|
-
if node_type && !allowed_values.include?(node_type)
|
472
|
-
fail ArgumentError, "invalid value for 'node_type', must be one of #{allowed_values}."
|
473
|
-
end
|
474
|
-
@node_type = node_type
|
475
|
-
end
|
476
|
-
|
477
467
|
|
478
468
|
|
479
469
|
|
@@ -484,6 +474,16 @@ module PureCloud
|
|
484
474
|
|
485
475
|
|
486
476
|
|
477
|
+
# Custom attribute writer method checking allowed values (enum).
|
478
|
+
# @param [Object] node_type Object to be assigned
|
479
|
+
def node_type=(node_type)
|
480
|
+
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
481
|
+
if node_type && !allowed_values.include?(node_type)
|
482
|
+
fail ArgumentError, "invalid value for 'node_type', must be one of #{allowed_values}."
|
483
|
+
end
|
484
|
+
@node_type = node_type
|
485
|
+
end
|
486
|
+
|
487
487
|
|
488
488
|
|
489
489
|
|
@@ -582,6 +582,8 @@ module PureCloud
|
|
582
582
|
def ==(o)
|
583
583
|
return true if self.equal?(o)
|
584
584
|
self.class == o.class &&
|
585
|
+
array == o.array &&
|
586
|
+
null == o.null &&
|
585
587
|
node_type == o.node_type &&
|
586
588
|
float == o.float &&
|
587
589
|
object == o.object &&
|
@@ -600,9 +602,7 @@ module PureCloud
|
|
600
602
|
big_decimal == o.big_decimal &&
|
601
603
|
big_integer == o.big_integer &&
|
602
604
|
textual == o.textual &&
|
603
|
-
binary == o.binary
|
604
|
-
array == o.array &&
|
605
|
-
null == o.null
|
605
|
+
binary == o.binary
|
606
606
|
end
|
607
607
|
|
608
608
|
# @see the `==` method
|
@@ -614,7 +614,7 @@ module PureCloud
|
|
614
614
|
# Calculates hash code according to all attributes.
|
615
615
|
# @return [Fixnum] Hash code
|
616
616
|
def hash
|
617
|
-
[node_type, float, object, boolean, number, floating_point_number, value_node, container_node, missing_node, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary
|
617
|
+
[array, null, node_type, float, object, boolean, number, floating_point_number, value_node, container_node, missing_node, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary].hash
|
618
618
|
end
|
619
619
|
|
620
620
|
# build the object from hash
|