purecloudplatformclientv2 20.0.0 → 21.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/AdherenceSettings.md +18 -0
- data/docs/AgentManagementUnitReference.md +14 -0
- data/docs/AnalyticsSession.md +1 -0
- data/docs/AnalyticsView.md +1 -1
- data/docs/ArchitectApi.md +19 -15
- data/docs/CallForwarding.md +4 -2
- data/docs/CallMediaParticipant.md +1 -0
- data/docs/CallRoute.md +14 -0
- data/docs/CallTarget.md +14 -0
- data/docs/Contact.md +1 -1
- data/docs/ConversationNotificationMessage.md +3 -0
- data/docs/ConversationNotificationMessageDetails.md +2 -0
- data/docs/ConversationNotificationMessages.md +2 -0
- data/docs/ConversationNotificationMessages1.md +3 -0
- data/docs/ConversationsApi.md +196 -0
- data/docs/CreateEmailRequest.md +2 -0
- data/docs/CreateQueueRequest.md +2 -0
- data/docs/CreateSecureSession.md +16 -0
- data/docs/ExternalContact.md +1 -0
- data/docs/ImportScriptStatusResponse.md +15 -0
- data/docs/InboundRoute.md +1 -0
- data/docs/JsonNode.md +1 -1
- data/docs/ManagementUnit.md +5 -3
- data/docs/ManagementUnitReference.md +14 -0
- data/docs/ManagementUnitSettings.md +19 -0
- data/docs/Message.md +3 -0
- data/docs/MessageConversationNotificationMessageDetails.md +2 -0
- data/docs/MessageConversationNotificationMessageMediaParticipant.md +3 -0
- data/docs/MessageConversationNotificationMessages.md +2 -0
- data/docs/MessageConversationNotificationParticipants.md +3 -0
- data/docs/MessageDetails.md +2 -0
- data/docs/QualityApi.md +3 -1
- data/docs/Queue.md +2 -0
- data/docs/SchedulingSettings.md +14 -0
- data/docs/ScriptsApi.md +64 -0
- data/docs/SecureSession.md +19 -0
- data/docs/SecureSessionEntityListing.md +13 -0
- data/docs/ShortTermForecastingSettings.md +13 -0
- data/docs/SignedData.md +13 -0
- data/docs/SignedDataApi.md +73 -0
- data/docs/TimeOffRequestSettings.md +15 -0
- data/docs/UpdateUser.md +2 -2
- data/docs/UserConversationSummaryNotification.md +1 -0
- data/docs/UserQueue.md +2 -0
- data/docs/UserReference.md +14 -0
- data/docs/WorkforceManagementApi.md +61 -0
- data/lib/purecloudplatformclientv2.rb +16 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +24 -6
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +243 -0
- data/lib/purecloudplatformclientv2/api/quality_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/scripts_api.rb +74 -0
- data/lib/purecloudplatformclientv2/api/signed_data_api.rb +90 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +63 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/adherence_settings.rb +335 -0
- data/lib/purecloudplatformclientv2/models/agent_management_unit_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +41 -1
- data/lib/purecloudplatformclientv2/models/analytics_view.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_forwarding.rb +71 -1
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_route.rb +230 -0
- data/lib/purecloudplatformclientv2/models/call_target.rb +242 -0
- data/lib/purecloudplatformclientv2/models/contact.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_message.rb +90 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +68 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +68 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_messages_1.rb +90 -1
- data/lib/purecloudplatformclientv2/models/create_email_request.rb +56 -4
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +53 -1
- data/lib/purecloudplatformclientv2/models/create_secure_session.rb +290 -0
- 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/import_script_status_response.rb +251 -0
- data/lib/purecloudplatformclientv2/models/inbound_route.rb +27 -1
- data/lib/purecloudplatformclientv2/models/interaction_stat_alert_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stat_rule_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_groupings.rb +2 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +17 -17
- data/lib/purecloudplatformclientv2/models/management_unit.rb +59 -7
- data/lib/purecloudplatformclientv2/models/management_unit_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/management_unit_settings.rb +364 -0
- data/lib/purecloudplatformclientv2/models/message.rb +93 -1
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +68 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media_participant.rb +93 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +68 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_participants.rb +93 -4
- data/lib/purecloudplatformclientv2/models/message_details.rb +67 -1
- data/lib/purecloudplatformclientv2/models/participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue.rb +53 -1
- data/lib/purecloudplatformclientv2/models/scheduling_settings.rb +229 -0
- data/lib/purecloudplatformclientv2/models/secure_session.rb +382 -0
- data/lib/purecloudplatformclientv2/models/secure_session_entity_listing.rb +203 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecasting_settings.rb +203 -0
- data/lib/purecloudplatformclientv2/models/signed_data.rb +201 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_settings.rb +255 -0
- data/lib/purecloudplatformclientv2/models/update_user.rb +2 -1
- data/lib/purecloudplatformclientv2/models/user_conversation_summary_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/user_queue.rb +53 -1
- data/lib/purecloudplatformclientv2/models/user_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +34 -2
data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb
CHANGED
|
@@ -22,13 +22,21 @@ module PureCloud
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :message_time
|
|
24
24
|
|
|
25
|
+
attr_accessor :message_segment_count
|
|
26
|
+
|
|
27
|
+
attr_accessor :message_status
|
|
28
|
+
|
|
25
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
30
|
def self.attribute_map
|
|
27
31
|
{
|
|
28
32
|
|
|
29
33
|
:'message' => :'message',
|
|
30
34
|
|
|
31
|
-
:'message_time' => :'messageTime'
|
|
35
|
+
:'message_time' => :'messageTime',
|
|
36
|
+
|
|
37
|
+
:'message_segment_count' => :'messageSegmentCount',
|
|
38
|
+
|
|
39
|
+
:'message_status' => :'messageStatus'
|
|
32
40
|
|
|
33
41
|
}
|
|
34
42
|
end
|
|
@@ -39,7 +47,11 @@ module PureCloud
|
|
|
39
47
|
|
|
40
48
|
:'message' => :'MessageConversationNotificationUriReference',
|
|
41
49
|
|
|
42
|
-
:'message_time' => :'DateTime'
|
|
50
|
+
:'message_time' => :'DateTime',
|
|
51
|
+
|
|
52
|
+
:'message_segment_count' => :'Integer',
|
|
53
|
+
|
|
54
|
+
:'message_status' => :'String'
|
|
43
55
|
|
|
44
56
|
}
|
|
45
57
|
end
|
|
@@ -71,6 +83,24 @@ module PureCloud
|
|
|
71
83
|
end
|
|
72
84
|
|
|
73
85
|
|
|
86
|
+
if attributes.has_key?(:'messageSegmentCount')
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
self.message_segment_count = attributes[:'messageSegmentCount']
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'messageStatus')
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
self.message_status = attributes[:'messageStatus']
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
|
|
74
104
|
end
|
|
75
105
|
|
|
76
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -94,6 +124,19 @@ module PureCloud
|
|
|
94
124
|
|
|
95
125
|
|
|
96
126
|
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
allowed_values = ["QUEUED", "SENT", "FAILED", "RECEIVED"]
|
|
134
|
+
if @message_status && !allowed_values.include?(@message_status)
|
|
135
|
+
return false
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
97
140
|
end
|
|
98
141
|
|
|
99
142
|
|
|
@@ -107,13 +150,34 @@ module PureCloud
|
|
|
107
150
|
|
|
108
151
|
|
|
109
152
|
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
160
|
+
# @param [Object] message_status Object to be assigned
|
|
161
|
+
def message_status=(message_status)
|
|
162
|
+
allowed_values = ["QUEUED", "SENT", "FAILED", "RECEIVED"]
|
|
163
|
+
if message_status && !allowed_values.include?(message_status)
|
|
164
|
+
fail ArgumentError, "invalid value for 'message_status', must be one of #{allowed_values}."
|
|
165
|
+
end
|
|
166
|
+
@message_status = message_status
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
110
172
|
# Checks equality by comparing each attribute.
|
|
111
173
|
# @param [Object] Object to be compared
|
|
112
174
|
def ==(o)
|
|
113
175
|
return true if self.equal?(o)
|
|
114
176
|
self.class == o.class &&
|
|
115
177
|
message == o.message &&
|
|
116
|
-
message_time == o.message_time
|
|
178
|
+
message_time == o.message_time &&
|
|
179
|
+
message_segment_count == o.message_segment_count &&
|
|
180
|
+
message_status == o.message_status
|
|
117
181
|
end
|
|
118
182
|
|
|
119
183
|
# @see the `==` method
|
|
@@ -125,7 +189,7 @@ module PureCloud
|
|
|
125
189
|
# Calculates hash code according to all attributes.
|
|
126
190
|
# @return [Fixnum] Hash code
|
|
127
191
|
def hash
|
|
128
|
-
[message, message_time].hash
|
|
192
|
+
[message, message_time, message_segment_count, message_status].hash
|
|
129
193
|
end
|
|
130
194
|
|
|
131
195
|
# build the object from hash
|
|
@@ -74,6 +74,12 @@ module PureCloud
|
|
|
74
74
|
|
|
75
75
|
attr_accessor :messages
|
|
76
76
|
|
|
77
|
+
attr_accessor :type
|
|
78
|
+
|
|
79
|
+
attr_accessor :recipient_country
|
|
80
|
+
|
|
81
|
+
attr_accessor :recipient_type
|
|
82
|
+
|
|
77
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
78
84
|
def self.attribute_map
|
|
79
85
|
{
|
|
@@ -132,7 +138,13 @@ module PureCloud
|
|
|
132
138
|
|
|
133
139
|
:'screen_recording_state' => :'screenRecordingState',
|
|
134
140
|
|
|
135
|
-
:'messages' => :'messages'
|
|
141
|
+
:'messages' => :'messages',
|
|
142
|
+
|
|
143
|
+
:'type' => :'type',
|
|
144
|
+
|
|
145
|
+
:'recipient_country' => :'recipientCountry',
|
|
146
|
+
|
|
147
|
+
:'recipient_type' => :'recipientType'
|
|
136
148
|
|
|
137
149
|
}
|
|
138
150
|
end
|
|
@@ -195,7 +207,13 @@ module PureCloud
|
|
|
195
207
|
|
|
196
208
|
:'screen_recording_state' => :'String',
|
|
197
209
|
|
|
198
|
-
:'messages' => :'Array<MessageConversationNotificationMessages>'
|
|
210
|
+
:'messages' => :'Array<MessageConversationNotificationMessages>',
|
|
211
|
+
|
|
212
|
+
:'type' => :'String',
|
|
213
|
+
|
|
214
|
+
:'recipient_country' => :'String',
|
|
215
|
+
|
|
216
|
+
:'recipient_type' => :'String'
|
|
199
217
|
|
|
200
218
|
}
|
|
201
219
|
end
|
|
@@ -465,6 +483,33 @@ module PureCloud
|
|
|
465
483
|
end
|
|
466
484
|
|
|
467
485
|
|
|
486
|
+
if attributes.has_key?(:'type')
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
self.type = attributes[:'type']
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
if attributes.has_key?(:'recipientCountry')
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
self.recipient_country = attributes[:'recipientCountry']
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
if attributes.has_key?(:'recipientType')
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
self.recipient_type = attributes[:'recipientType']
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
|
|
468
513
|
end
|
|
469
514
|
|
|
470
515
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -596,6 +641,23 @@ module PureCloud
|
|
|
596
641
|
|
|
597
642
|
|
|
598
643
|
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
allowed_values = ["SMS"]
|
|
658
|
+
if @type && !allowed_values.include?(@type)
|
|
659
|
+
return false
|
|
660
|
+
end
|
|
599
661
|
|
|
600
662
|
|
|
601
663
|
|
|
@@ -764,6 +826,30 @@ module PureCloud
|
|
|
764
826
|
|
|
765
827
|
|
|
766
828
|
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
844
|
+
# @param [Object] type Object to be assigned
|
|
845
|
+
def type=(type)
|
|
846
|
+
allowed_values = ["SMS"]
|
|
847
|
+
if type && !allowed_values.include?(type)
|
|
848
|
+
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
|
849
|
+
end
|
|
850
|
+
@type = type
|
|
851
|
+
end
|
|
852
|
+
|
|
767
853
|
|
|
768
854
|
|
|
769
855
|
|
|
@@ -809,7 +895,10 @@ module PureCloud
|
|
|
809
895
|
wrapup == o.wrapup &&
|
|
810
896
|
peer == o.peer &&
|
|
811
897
|
screen_recording_state == o.screen_recording_state &&
|
|
812
|
-
messages == o.messages
|
|
898
|
+
messages == o.messages &&
|
|
899
|
+
type == o.type &&
|
|
900
|
+
recipient_country == o.recipient_country &&
|
|
901
|
+
recipient_type == o.recipient_type
|
|
813
902
|
end
|
|
814
903
|
|
|
815
904
|
# @see the `==` method
|
|
@@ -821,7 +910,7 @@ module PureCloud
|
|
|
821
910
|
# Calculates hash code according to all attributes.
|
|
822
911
|
# @return [Fixnum] Hash code
|
|
823
912
|
def hash
|
|
824
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, screen_recording_state, messages].hash
|
|
913
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, screen_recording_state, messages, type, recipient_country, recipient_type].hash
|
|
825
914
|
end
|
|
826
915
|
|
|
827
916
|
# build the object from hash
|
|
@@ -22,13 +22,21 @@ module PureCloud
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :message_time
|
|
24
24
|
|
|
25
|
+
attr_accessor :message_segment_count
|
|
26
|
+
|
|
27
|
+
attr_accessor :message_status
|
|
28
|
+
|
|
25
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
30
|
def self.attribute_map
|
|
27
31
|
{
|
|
28
32
|
|
|
29
33
|
:'message' => :'message',
|
|
30
34
|
|
|
31
|
-
:'message_time' => :'messageTime'
|
|
35
|
+
:'message_time' => :'messageTime',
|
|
36
|
+
|
|
37
|
+
:'message_segment_count' => :'messageSegmentCount',
|
|
38
|
+
|
|
39
|
+
:'message_status' => :'messageStatus'
|
|
32
40
|
|
|
33
41
|
}
|
|
34
42
|
end
|
|
@@ -39,7 +47,11 @@ module PureCloud
|
|
|
39
47
|
|
|
40
48
|
:'message' => :'MessageConversationNotificationUriReference',
|
|
41
49
|
|
|
42
|
-
:'message_time' => :'DateTime'
|
|
50
|
+
:'message_time' => :'DateTime',
|
|
51
|
+
|
|
52
|
+
:'message_segment_count' => :'Integer',
|
|
53
|
+
|
|
54
|
+
:'message_status' => :'String'
|
|
43
55
|
|
|
44
56
|
}
|
|
45
57
|
end
|
|
@@ -71,6 +83,24 @@ module PureCloud
|
|
|
71
83
|
end
|
|
72
84
|
|
|
73
85
|
|
|
86
|
+
if attributes.has_key?(:'messageSegmentCount')
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
self.message_segment_count = attributes[:'messageSegmentCount']
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'messageStatus')
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
self.message_status = attributes[:'messageStatus']
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
|
|
74
104
|
end
|
|
75
105
|
|
|
76
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -94,6 +124,19 @@ module PureCloud
|
|
|
94
124
|
|
|
95
125
|
|
|
96
126
|
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
allowed_values = ["QUEUED", "SENT", "FAILED", "RECEIVED"]
|
|
134
|
+
if @message_status && !allowed_values.include?(@message_status)
|
|
135
|
+
return false
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
97
140
|
end
|
|
98
141
|
|
|
99
142
|
|
|
@@ -107,13 +150,34 @@ module PureCloud
|
|
|
107
150
|
|
|
108
151
|
|
|
109
152
|
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
160
|
+
# @param [Object] message_status Object to be assigned
|
|
161
|
+
def message_status=(message_status)
|
|
162
|
+
allowed_values = ["QUEUED", "SENT", "FAILED", "RECEIVED"]
|
|
163
|
+
if message_status && !allowed_values.include?(message_status)
|
|
164
|
+
fail ArgumentError, "invalid value for 'message_status', must be one of #{allowed_values}."
|
|
165
|
+
end
|
|
166
|
+
@message_status = message_status
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
110
172
|
# Checks equality by comparing each attribute.
|
|
111
173
|
# @param [Object] Object to be compared
|
|
112
174
|
def ==(o)
|
|
113
175
|
return true if self.equal?(o)
|
|
114
176
|
self.class == o.class &&
|
|
115
177
|
message == o.message &&
|
|
116
|
-
message_time == o.message_time
|
|
178
|
+
message_time == o.message_time &&
|
|
179
|
+
message_segment_count == o.message_segment_count &&
|
|
180
|
+
message_status == o.message_status
|
|
117
181
|
end
|
|
118
182
|
|
|
119
183
|
# @see the `==` method
|
|
@@ -125,7 +189,7 @@ module PureCloud
|
|
|
125
189
|
# Calculates hash code according to all attributes.
|
|
126
190
|
# @return [Fixnum] Hash code
|
|
127
191
|
def hash
|
|
128
|
-
[message, message_time].hash
|
|
192
|
+
[message, message_time, message_segment_count, message_status].hash
|
|
129
193
|
end
|
|
130
194
|
|
|
131
195
|
# build the object from hash
|
|
@@ -74,6 +74,12 @@ module PureCloud
|
|
|
74
74
|
|
|
75
75
|
attr_accessor :messages
|
|
76
76
|
|
|
77
|
+
attr_accessor :type
|
|
78
|
+
|
|
79
|
+
attr_accessor :recipient_country
|
|
80
|
+
|
|
81
|
+
attr_accessor :recipient_type
|
|
82
|
+
|
|
77
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
78
84
|
def self.attribute_map
|
|
79
85
|
{
|
|
@@ -132,7 +138,13 @@ module PureCloud
|
|
|
132
138
|
|
|
133
139
|
:'screen_recording_state' => :'screenRecordingState',
|
|
134
140
|
|
|
135
|
-
:'messages' => :'messages'
|
|
141
|
+
:'messages' => :'messages',
|
|
142
|
+
|
|
143
|
+
:'type' => :'type',
|
|
144
|
+
|
|
145
|
+
:'recipient_country' => :'recipientCountry',
|
|
146
|
+
|
|
147
|
+
:'recipient_type' => :'recipientType'
|
|
136
148
|
|
|
137
149
|
}
|
|
138
150
|
end
|
|
@@ -195,7 +207,13 @@ module PureCloud
|
|
|
195
207
|
|
|
196
208
|
:'screen_recording_state' => :'String',
|
|
197
209
|
|
|
198
|
-
:'messages' => :'Array<MessageConversationNotificationMessages>'
|
|
210
|
+
:'messages' => :'Array<MessageConversationNotificationMessages>',
|
|
211
|
+
|
|
212
|
+
:'type' => :'String',
|
|
213
|
+
|
|
214
|
+
:'recipient_country' => :'String',
|
|
215
|
+
|
|
216
|
+
:'recipient_type' => :'String'
|
|
199
217
|
|
|
200
218
|
}
|
|
201
219
|
end
|
|
@@ -465,6 +483,33 @@ module PureCloud
|
|
|
465
483
|
end
|
|
466
484
|
|
|
467
485
|
|
|
486
|
+
if attributes.has_key?(:'type')
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
self.type = attributes[:'type']
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
if attributes.has_key?(:'recipientCountry')
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
self.recipient_country = attributes[:'recipientCountry']
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
if attributes.has_key?(:'recipientType')
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
self.recipient_type = attributes[:'recipientType']
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
|
|
468
513
|
end
|
|
469
514
|
|
|
470
515
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -596,6 +641,23 @@ module PureCloud
|
|
|
596
641
|
|
|
597
642
|
|
|
598
643
|
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
allowed_values = ["SMS"]
|
|
658
|
+
if @type && !allowed_values.include?(@type)
|
|
659
|
+
return false
|
|
660
|
+
end
|
|
599
661
|
|
|
600
662
|
|
|
601
663
|
|
|
@@ -764,6 +826,30 @@ module PureCloud
|
|
|
764
826
|
|
|
765
827
|
|
|
766
828
|
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
844
|
+
# @param [Object] type Object to be assigned
|
|
845
|
+
def type=(type)
|
|
846
|
+
allowed_values = ["SMS"]
|
|
847
|
+
if type && !allowed_values.include?(type)
|
|
848
|
+
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
|
849
|
+
end
|
|
850
|
+
@type = type
|
|
851
|
+
end
|
|
852
|
+
|
|
767
853
|
|
|
768
854
|
|
|
769
855
|
|
|
@@ -809,7 +895,10 @@ module PureCloud
|
|
|
809
895
|
wrapup == o.wrapup &&
|
|
810
896
|
peer == o.peer &&
|
|
811
897
|
screen_recording_state == o.screen_recording_state &&
|
|
812
|
-
messages == o.messages
|
|
898
|
+
messages == o.messages &&
|
|
899
|
+
type == o.type &&
|
|
900
|
+
recipient_country == o.recipient_country &&
|
|
901
|
+
recipient_type == o.recipient_type
|
|
813
902
|
end
|
|
814
903
|
|
|
815
904
|
# @see the `==` method
|
|
@@ -821,7 +910,7 @@ module PureCloud
|
|
|
821
910
|
# Calculates hash code according to all attributes.
|
|
822
911
|
# @return [Fixnum] Hash code
|
|
823
912
|
def hash
|
|
824
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, screen_recording_state, messages].hash
|
|
913
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, screen_recording_state, messages, type, recipient_country, recipient_type].hash
|
|
825
914
|
end
|
|
826
915
|
|
|
827
916
|
# build the object from hash
|