purecloudplatformclientv2 36.0.0 → 36.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/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/JsonNode.md +2 -2
- data/docs/OrgUser.md +1 -0
- data/docs/PatchUser.md +16 -0
- data/docs/TimeZone.md +2 -2
- data/docs/TrustUser.md +1 -0
- data/docs/UpdateUser.md +1 -0
- data/docs/User.md +1 -0
- data/docs/UserMe.md +1 -0
- data/docs/UsersApi.md +69 -0
- data/lib/purecloudplatformclientv2.rb +1 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- 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/json_node.rb +50 -50
- data/lib/purecloudplatformclientv2/models/org_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/patch_user.rb +279 -0
- data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
- data/lib/purecloudplatformclientv2/models/trust_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/update_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_me.rb +27 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +4 -2
@@ -18,25 +18,25 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class TimeZone
|
21
|
-
attr_accessor :
|
22
|
-
|
23
|
-
attr_accessor :raw_offset
|
21
|
+
attr_accessor :display_name
|
24
22
|
|
25
23
|
attr_accessor :id
|
26
24
|
|
27
|
-
attr_accessor :
|
25
|
+
attr_accessor :dstsavings
|
26
|
+
|
27
|
+
attr_accessor :raw_offset
|
28
28
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
32
|
|
33
|
-
:'
|
34
|
-
|
35
|
-
:'raw_offset' => :'rawOffset',
|
33
|
+
:'display_name' => :'displayName',
|
36
34
|
|
37
35
|
:'id' => :'id',
|
38
36
|
|
39
|
-
:'
|
37
|
+
:'dstsavings' => :'dstsavings',
|
38
|
+
|
39
|
+
:'raw_offset' => :'rawOffset'
|
40
40
|
|
41
41
|
}
|
42
42
|
end
|
@@ -45,13 +45,13 @@ module PureCloud
|
|
45
45
|
def self.swagger_types
|
46
46
|
{
|
47
47
|
|
48
|
-
:'
|
49
|
-
|
50
|
-
:'raw_offset' => :'Integer',
|
48
|
+
:'display_name' => :'String',
|
51
49
|
|
52
50
|
:'id' => :'String',
|
53
51
|
|
54
|
-
:'
|
52
|
+
:'dstsavings' => :'Integer',
|
53
|
+
|
54
|
+
:'raw_offset' => :'Integer'
|
55
55
|
|
56
56
|
}
|
57
57
|
end
|
@@ -65,37 +65,37 @@ module PureCloud
|
|
65
65
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
66
66
|
|
67
67
|
|
68
|
-
if attributes.has_key?(:'
|
68
|
+
if attributes.has_key?(:'displayName')
|
69
69
|
|
70
70
|
|
71
|
-
self.
|
71
|
+
self.display_name = attributes[:'displayName']
|
72
72
|
|
73
73
|
|
74
74
|
end
|
75
75
|
|
76
76
|
|
77
|
-
if attributes.has_key?(:'
|
77
|
+
if attributes.has_key?(:'id')
|
78
78
|
|
79
79
|
|
80
|
-
self.
|
80
|
+
self.id = attributes[:'id']
|
81
81
|
|
82
82
|
|
83
83
|
end
|
84
84
|
|
85
85
|
|
86
|
-
if attributes.has_key?(:'
|
86
|
+
if attributes.has_key?(:'dstsavings')
|
87
87
|
|
88
88
|
|
89
|
-
self.
|
89
|
+
self.dstsavings = attributes[:'dstsavings']
|
90
90
|
|
91
91
|
|
92
92
|
end
|
93
93
|
|
94
94
|
|
95
|
-
if attributes.has_key?(:'
|
95
|
+
if attributes.has_key?(:'rawOffset')
|
96
96
|
|
97
97
|
|
98
|
-
self.
|
98
|
+
self.raw_offset = attributes[:'rawOffset']
|
99
99
|
|
100
100
|
|
101
101
|
end
|
@@ -160,10 +160,10 @@ module PureCloud
|
|
160
160
|
def ==(o)
|
161
161
|
return true if self.equal?(o)
|
162
162
|
self.class == o.class &&
|
163
|
-
|
164
|
-
raw_offset == o.raw_offset &&
|
163
|
+
display_name == o.display_name &&
|
165
164
|
id == o.id &&
|
166
|
-
|
165
|
+
dstsavings == o.dstsavings &&
|
166
|
+
raw_offset == o.raw_offset
|
167
167
|
end
|
168
168
|
|
169
169
|
# @see the `==` method
|
@@ -175,7 +175,7 @@ module PureCloud
|
|
175
175
|
# Calculates hash code according to all attributes.
|
176
176
|
# @return [Fixnum] Hash code
|
177
177
|
def hash
|
178
|
-
[
|
178
|
+
[display_name, id, dstsavings, raw_offset].hash
|
179
179
|
end
|
180
180
|
|
181
181
|
# build the object from hash
|
@@ -79,6 +79,9 @@ module PureCloud
|
|
79
79
|
# The groups the user is a member of
|
80
80
|
attr_accessor :groups
|
81
81
|
|
82
|
+
# acd auto answer
|
83
|
+
attr_accessor :acd_auto_answer
|
84
|
+
|
82
85
|
attr_accessor :trust_user_details
|
83
86
|
|
84
87
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -131,6 +134,8 @@ module PureCloud
|
|
131
134
|
|
132
135
|
:'groups' => :'groups',
|
133
136
|
|
137
|
+
:'acd_auto_answer' => :'acdAutoAnswer',
|
138
|
+
|
134
139
|
:'trust_user_details' => :'trustUserDetails'
|
135
140
|
|
136
141
|
}
|
@@ -186,6 +191,8 @@ module PureCloud
|
|
186
191
|
|
187
192
|
:'groups' => :'Array<Group>',
|
188
193
|
|
194
|
+
:'acd_auto_answer' => :'BOOLEAN',
|
195
|
+
|
189
196
|
:'trust_user_details' => :'TrustUserDetails'
|
190
197
|
|
191
198
|
}
|
@@ -419,6 +426,15 @@ module PureCloud
|
|
419
426
|
end
|
420
427
|
|
421
428
|
|
429
|
+
if attributes.has_key?(:'acdAutoAnswer')
|
430
|
+
|
431
|
+
|
432
|
+
self.acd_auto_answer = attributes[:'acdAutoAnswer']
|
433
|
+
|
434
|
+
|
435
|
+
end
|
436
|
+
|
437
|
+
|
422
438
|
if attributes.has_key?(:'trustUserDetails')
|
423
439
|
|
424
440
|
|
@@ -544,6 +560,10 @@ module PureCloud
|
|
544
560
|
|
545
561
|
|
546
562
|
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
547
567
|
|
548
568
|
|
549
569
|
|
@@ -675,6 +695,11 @@ module PureCloud
|
|
675
695
|
|
676
696
|
|
677
697
|
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
678
703
|
|
679
704
|
|
680
705
|
|
@@ -709,6 +734,7 @@ module PureCloud
|
|
709
734
|
profile_skills == o.profile_skills &&
|
710
735
|
locations == o.locations &&
|
711
736
|
groups == o.groups &&
|
737
|
+
acd_auto_answer == o.acd_auto_answer &&
|
712
738
|
trust_user_details == o.trust_user_details
|
713
739
|
end
|
714
740
|
|
@@ -721,7 +747,7 @@ module PureCloud
|
|
721
747
|
# Calculates hash code according to all attributes.
|
722
748
|
# @return [Fixnum] Hash code
|
723
749
|
def hash
|
724
|
-
[id, name, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, trust_user_details].hash
|
750
|
+
[id, name, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, acd_auto_answer, trust_user_details].hash
|
725
751
|
end
|
726
752
|
|
727
753
|
# build the object from hash
|
@@ -58,6 +58,9 @@ module PureCloud
|
|
58
58
|
# The state of the user. This property can be used to restore a deleted user or transition between active and inactive. If specified, it is the only modifiable field.
|
59
59
|
attr_accessor :state
|
60
60
|
|
61
|
+
# The value that denotes if acdAutoAnswer is set on the user
|
62
|
+
attr_accessor :acd_auto_answer
|
63
|
+
|
61
64
|
# The URI for this object
|
62
65
|
attr_accessor :self_uri
|
63
66
|
|
@@ -97,6 +100,8 @@ module PureCloud
|
|
97
100
|
|
98
101
|
:'state' => :'state',
|
99
102
|
|
103
|
+
:'acd_auto_answer' => :'acdAutoAnswer',
|
104
|
+
|
100
105
|
:'self_uri' => :'selfUri'
|
101
106
|
|
102
107
|
}
|
@@ -138,6 +143,8 @@ module PureCloud
|
|
138
143
|
|
139
144
|
:'state' => :'String',
|
140
145
|
|
146
|
+
:'acd_auto_answer' => :'BOOLEAN',
|
147
|
+
|
141
148
|
:'self_uri' => :'String'
|
142
149
|
|
143
150
|
}
|
@@ -308,6 +315,15 @@ module PureCloud
|
|
308
315
|
end
|
309
316
|
|
310
317
|
|
318
|
+
if attributes.has_key?(:'acdAutoAnswer')
|
319
|
+
|
320
|
+
|
321
|
+
self.acd_auto_answer = attributes[:'acdAutoAnswer']
|
322
|
+
|
323
|
+
|
324
|
+
end
|
325
|
+
|
326
|
+
|
311
327
|
if attributes.has_key?(:'selfUri')
|
312
328
|
|
313
329
|
|
@@ -410,6 +426,10 @@ module PureCloud
|
|
410
426
|
|
411
427
|
|
412
428
|
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
413
433
|
end
|
414
434
|
|
415
435
|
|
@@ -507,6 +527,11 @@ module PureCloud
|
|
507
527
|
|
508
528
|
|
509
529
|
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
|
510
535
|
# Checks equality by comparing each attribute.
|
511
536
|
# @param [Object] Object to be compared
|
512
537
|
def ==(o)
|
@@ -528,6 +553,7 @@ module PureCloud
|
|
528
553
|
locations == o.locations &&
|
529
554
|
groups == o.groups &&
|
530
555
|
state == o.state &&
|
556
|
+
acd_auto_answer == o.acd_auto_answer &&
|
531
557
|
self_uri == o.self_uri
|
532
558
|
end
|
533
559
|
|
@@ -540,7 +566,7 @@ module PureCloud
|
|
540
566
|
# Calculates hash code according to all attributes.
|
541
567
|
# @return [Fixnum] Hash code
|
542
568
|
def hash
|
543
|
-
[id, name, chat, department, email, primary_contact_info, addresses, title, username, manager, images, version, profile_skills, locations, groups, state, self_uri].hash
|
569
|
+
[id, name, chat, department, email, primary_contact_info, addresses, title, username, manager, images, version, profile_skills, locations, groups, state, acd_auto_answer, self_uri].hash
|
544
570
|
end
|
545
571
|
|
546
572
|
# build the object from hash
|
@@ -79,6 +79,9 @@ module PureCloud
|
|
79
79
|
# The groups the user is a member of
|
80
80
|
attr_accessor :groups
|
81
81
|
|
82
|
+
# acd auto answer
|
83
|
+
attr_accessor :acd_auto_answer
|
84
|
+
|
82
85
|
# The URI for this object
|
83
86
|
attr_accessor :self_uri
|
84
87
|
|
@@ -132,6 +135,8 @@ module PureCloud
|
|
132
135
|
|
133
136
|
:'groups' => :'groups',
|
134
137
|
|
138
|
+
:'acd_auto_answer' => :'acdAutoAnswer',
|
139
|
+
|
135
140
|
:'self_uri' => :'selfUri'
|
136
141
|
|
137
142
|
}
|
@@ -187,6 +192,8 @@ module PureCloud
|
|
187
192
|
|
188
193
|
:'groups' => :'Array<Group>',
|
189
194
|
|
195
|
+
:'acd_auto_answer' => :'BOOLEAN',
|
196
|
+
|
190
197
|
:'self_uri' => :'String'
|
191
198
|
|
192
199
|
}
|
@@ -420,6 +427,15 @@ module PureCloud
|
|
420
427
|
end
|
421
428
|
|
422
429
|
|
430
|
+
if attributes.has_key?(:'acdAutoAnswer')
|
431
|
+
|
432
|
+
|
433
|
+
self.acd_auto_answer = attributes[:'acdAutoAnswer']
|
434
|
+
|
435
|
+
|
436
|
+
end
|
437
|
+
|
438
|
+
|
423
439
|
if attributes.has_key?(:'selfUri')
|
424
440
|
|
425
441
|
|
@@ -545,6 +561,10 @@ module PureCloud
|
|
545
561
|
|
546
562
|
|
547
563
|
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
548
568
|
|
549
569
|
|
550
570
|
|
@@ -676,6 +696,11 @@ module PureCloud
|
|
676
696
|
|
677
697
|
|
678
698
|
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
679
704
|
|
680
705
|
|
681
706
|
|
@@ -710,6 +735,7 @@ module PureCloud
|
|
710
735
|
profile_skills == o.profile_skills &&
|
711
736
|
locations == o.locations &&
|
712
737
|
groups == o.groups &&
|
738
|
+
acd_auto_answer == o.acd_auto_answer &&
|
713
739
|
self_uri == o.self_uri
|
714
740
|
end
|
715
741
|
|
@@ -722,7 +748,7 @@ module PureCloud
|
|
722
748
|
# Calculates hash code according to all attributes.
|
723
749
|
# @return [Fixnum] Hash code
|
724
750
|
def hash
|
725
|
-
[id, name, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, self_uri].hash
|
751
|
+
[id, name, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, acd_auto_answer, self_uri].hash
|
726
752
|
end
|
727
753
|
|
728
754
|
# build the object from hash
|
@@ -79,6 +79,9 @@ module PureCloud
|
|
79
79
|
# The groups the user is a member of
|
80
80
|
attr_accessor :groups
|
81
81
|
|
82
|
+
# acd auto answer
|
83
|
+
attr_accessor :acd_auto_answer
|
84
|
+
|
82
85
|
# The PureCloud system date time.
|
83
86
|
attr_accessor :date
|
84
87
|
|
@@ -174,6 +177,8 @@ module PureCloud
|
|
174
177
|
|
175
178
|
:'groups' => :'groups',
|
176
179
|
|
180
|
+
:'acd_auto_answer' => :'acdAutoAnswer',
|
181
|
+
|
177
182
|
:'date' => :'date',
|
178
183
|
|
179
184
|
:'geolocation_settings' => :'geolocationSettings',
|
@@ -257,6 +262,8 @@ module PureCloud
|
|
257
262
|
|
258
263
|
:'groups' => :'Array<Group>',
|
259
264
|
|
265
|
+
:'acd_auto_answer' => :'BOOLEAN',
|
266
|
+
|
260
267
|
:'date' => :'ServerDate',
|
261
268
|
|
262
269
|
:'geolocation_settings' => :'GeolocationSettings',
|
@@ -518,6 +525,15 @@ module PureCloud
|
|
518
525
|
end
|
519
526
|
|
520
527
|
|
528
|
+
if attributes.has_key?(:'acdAutoAnswer')
|
529
|
+
|
530
|
+
|
531
|
+
self.acd_auto_answer = attributes[:'acdAutoAnswer']
|
532
|
+
|
533
|
+
|
534
|
+
end
|
535
|
+
|
536
|
+
|
521
537
|
if attributes.has_key?(:'date')
|
522
538
|
|
523
539
|
|
@@ -841,6 +857,10 @@ module PureCloud
|
|
841
857
|
|
842
858
|
|
843
859
|
|
860
|
+
|
861
|
+
|
862
|
+
|
863
|
+
|
844
864
|
|
845
865
|
|
846
866
|
|
@@ -1042,6 +1062,11 @@ module PureCloud
|
|
1042
1062
|
|
1043
1063
|
|
1044
1064
|
|
1065
|
+
|
1066
|
+
|
1067
|
+
|
1068
|
+
|
1069
|
+
|
1045
1070
|
|
1046
1071
|
|
1047
1072
|
|
@@ -1076,6 +1101,7 @@ module PureCloud
|
|
1076
1101
|
profile_skills == o.profile_skills &&
|
1077
1102
|
locations == o.locations &&
|
1078
1103
|
groups == o.groups &&
|
1104
|
+
acd_auto_answer == o.acd_auto_answer &&
|
1079
1105
|
date == o.date &&
|
1080
1106
|
geolocation_settings == o.geolocation_settings &&
|
1081
1107
|
organization == o.organization &&
|
@@ -1102,7 +1128,7 @@ module PureCloud
|
|
1102
1128
|
# Calculates hash code according to all attributes.
|
1103
1129
|
# @return [Fixnum] Hash code
|
1104
1130
|
def hash
|
1105
|
-
[id, name, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, date, geolocation_settings, organization, presence_definitions, location_definitions, org_authorization, favorites, superiors, direct_reports, adjacents, routing_skills, field_configs, token, trustors, self_uri].hash
|
1131
|
+
[id, name, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, acd_auto_answer, date, geolocation_settings, organization, presence_definitions, location_definitions, org_authorization, favorites, superiors, direct_reports, adjacents, routing_skills, field_configs, token, trustors, self_uri].hash
|
1106
1132
|
end
|
1107
1133
|
|
1108
1134
|
# build the object from hash
|