purecloudplatformclientv2 15.0.0 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/Action.md +21 -0
- data/docs/ActionConfig.md +14 -0
- data/docs/ActionContract.md +14 -0
- data/docs/ActionContractInput.md +14 -0
- data/docs/ActionEntityListing.md +22 -0
- data/docs/ActionInput.md +15 -0
- data/docs/ActionOutput.md +18 -0
- data/docs/ActiveAlertCount.md +13 -0
- data/docs/AggregationQuery.md +1 -1
- data/docs/AlertingApi.md +54 -0
- data/docs/ArchitectApi.md +31 -25
- data/docs/CallConversationNotificationCallMediaParticipant.md +1 -0
- data/docs/CallConversationNotificationParticipants.md +1 -0
- data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +1 -0
- data/docs/CallbackConversationNotificationParticipants.md +1 -0
- data/docs/Category.md +13 -0
- data/docs/CategoryEntityListing.md +17 -0
- data/docs/ChatConversationNotificationChatMediaParticipant.md +1 -0
- data/docs/ChatConversationNotificationParticipants.md +1 -0
- data/docs/CobrowseConversationNotificationCobrowseMediaParticipant.md +1 -0
- data/docs/CobrowseConversationNotificationParticipants.md +1 -0
- data/docs/ConversationNotificationCall.md +1 -0
- data/docs/ConversationNotificationCalls.md +1 -0
- data/docs/ConversationNotificationEmail.md +1 -0
- data/docs/ConversationNotificationEmails.md +1 -0
- data/docs/ConversationNotificationParticipant.md +1 -0
- data/docs/ConversationNotificationParticipants.md +1 -0
- data/docs/ConversationsApi.md +3 -3
- data/docs/Document.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DraftValidationResult.md +14 -0
- data/docs/EmailConversationNotificationEmailMediaParticipant.md +2 -0
- data/docs/EmailConversationNotificationParticipants.md +2 -0
- data/docs/FaxDocument.md +1 -1
- data/docs/IntegrationsApi.md +1355 -0
- data/docs/JsonNode.md +4 -4
- data/docs/ManagementUnit.md +1 -1
- data/docs/ManagementUnitListing.md +22 -0
- data/docs/OutboundApi.md +59 -0
- data/docs/PostActionInput.md +18 -0
- data/docs/PostInputContract.md +13 -0
- data/docs/PostOutputContract.md +13 -0
- data/docs/PublishDraftInput.md +13 -0
- data/docs/RecordingApi.md +123 -0
- data/docs/RequestConfig.md +17 -0
- data/docs/ResponseConfig.md +15 -0
- data/docs/ScreenShareConversationNotificationParticipants.md +1 -0
- data/docs/ScreenShareConversationNotificationScreenShareMediaParticipant.md +1 -0
- data/docs/SocialConversationNotificationParticipants.md +1 -0
- data/docs/SocialConversationNotificationSocialMediaParticipant.md +1 -0
- data/docs/TestExecutionOperationResult.md +17 -0
- data/docs/TestExecutionResult.md +16 -0
- data/docs/UpdateActionInput.md +16 -0
- data/docs/UpdateDraftInput.md +18 -0
- data/docs/VideoConversationNotificationParticipants.md +1 -0
- data/docs/VideoConversationNotificationVideoMediaParticipant.md +1 -0
- data/docs/WorkforceManagementApi.md +2 -4
- data/lib/purecloudplatformclientv2.rb +23 -1
- data/lib/purecloudplatformclientv2/api/alerting_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +52 -20
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +1723 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +140 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -12
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action.rb +409 -0
- data/lib/purecloudplatformclientv2/models/action_config.rb +229 -0
- data/lib/purecloudplatformclientv2/models/action_contract.rb +229 -0
- data/lib/purecloudplatformclientv2/models/action_contract_input.rb +239 -0
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/action_input.rb +255 -0
- data/lib/purecloudplatformclientv2/models/action_output.rb +333 -0
- data/lib/purecloudplatformclientv2/models/active_alert_count.rb +202 -0
- data/lib/purecloudplatformclientv2/models/aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_call_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/category.rb +203 -0
- data/lib/purecloudplatformclientv2/models/category_entity_listing.rb +303 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_chat_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/condition.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_notification_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_calls.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +40 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +40 -1
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/document.rb +12 -12
- 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/draft_validation_result.rb +231 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb +54 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_participants.rb +54 -4
- data/lib/purecloudplatformclientv2/models/fax_document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow.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/json_node.rb +72 -72
- data/lib/purecloudplatformclientv2/models/management_unit.rb +7 -7
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/post_action_input.rb +358 -0
- data/lib/purecloudplatformclientv2/models/post_input_contract.rb +208 -0
- data/lib/purecloudplatformclientv2/models/post_output_contract.rb +208 -0
- data/lib/purecloudplatformclientv2/models/publish_draft_input.rb +208 -0
- data/lib/purecloudplatformclientv2/models/request_config.rb +309 -0
- data/lib/purecloudplatformclientv2/models/response_config.rb +257 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_screen_share_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_social_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/test_execution_operation_result.rb +306 -0
- data/lib/purecloudplatformclientv2/models/test_execution_result.rb +282 -0
- data/lib/purecloudplatformclientv2/models/{publish_flow_notification_notification.rb → update_action_input.rb} +35 -26
- data/lib/purecloudplatformclientv2/models/update_draft_input.rb +338 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_video_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +91 -47
- data/docs/PublishFlowNotificationNotification.md +0 -16
@@ -0,0 +1,257 @@
|
|
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
|
+
# Defines response components of the Action Request.
|
21
|
+
class ResponseConfig
|
22
|
+
# Map 'attribute name' and 'JSON path' pairs used to extract data from REST response.
|
23
|
+
attr_accessor :translation_map
|
24
|
+
|
25
|
+
# Velocity template to build response to return from Action.
|
26
|
+
attr_accessor :success_template
|
27
|
+
|
28
|
+
# URI to retrieve success template.
|
29
|
+
attr_accessor :success_template_uri
|
30
|
+
|
31
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
+
def self.attribute_map
|
33
|
+
{
|
34
|
+
|
35
|
+
:'translation_map' => :'translationMap',
|
36
|
+
|
37
|
+
:'success_template' => :'successTemplate',
|
38
|
+
|
39
|
+
:'success_template_uri' => :'successTemplateUri'
|
40
|
+
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
def self.swagger_types
|
46
|
+
{
|
47
|
+
|
48
|
+
:'translation_map' => :'Hash<String, String>',
|
49
|
+
|
50
|
+
:'success_template' => :'String',
|
51
|
+
|
52
|
+
:'success_template_uri' => :'String'
|
53
|
+
|
54
|
+
}
|
55
|
+
end
|
56
|
+
|
57
|
+
# Initializes the object
|
58
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
59
|
+
def initialize(attributes = {})
|
60
|
+
return unless attributes.is_a?(Hash)
|
61
|
+
|
62
|
+
# convert string to symbol for hash key
|
63
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
64
|
+
|
65
|
+
|
66
|
+
if attributes.has_key?(:'translationMap')
|
67
|
+
|
68
|
+
if (value = attributes[:'translationMap']).is_a?(Array)
|
69
|
+
self.translation_map = value
|
70
|
+
end
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
|
77
|
+
if attributes.has_key?(:'successTemplate')
|
78
|
+
|
79
|
+
|
80
|
+
self.success_template = attributes[:'successTemplate']
|
81
|
+
|
82
|
+
|
83
|
+
end
|
84
|
+
|
85
|
+
|
86
|
+
if attributes.has_key?(:'successTemplateUri')
|
87
|
+
|
88
|
+
|
89
|
+
self.success_template_uri = attributes[:'successTemplateUri']
|
90
|
+
|
91
|
+
|
92
|
+
end
|
93
|
+
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
98
|
+
# @return Array for valid properies with the reasons
|
99
|
+
def list_invalid_properties
|
100
|
+
invalid_properties = Array.new
|
101
|
+
|
102
|
+
|
103
|
+
return invalid_properties
|
104
|
+
end
|
105
|
+
|
106
|
+
# Check to see if the all the properties in the model are valid
|
107
|
+
# @return true if the model is valid
|
108
|
+
def valid?
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
# Checks equality by comparing each attribute.
|
141
|
+
# @param [Object] Object to be compared
|
142
|
+
def ==(o)
|
143
|
+
return true if self.equal?(o)
|
144
|
+
self.class == o.class &&
|
145
|
+
translation_map == o.translation_map &&
|
146
|
+
success_template == o.success_template &&
|
147
|
+
success_template_uri == o.success_template_uri
|
148
|
+
end
|
149
|
+
|
150
|
+
# @see the `==` method
|
151
|
+
# @param [Object] Object to be compared
|
152
|
+
def eql?(o)
|
153
|
+
self == o
|
154
|
+
end
|
155
|
+
|
156
|
+
# Calculates hash code according to all attributes.
|
157
|
+
# @return [Fixnum] Hash code
|
158
|
+
def hash
|
159
|
+
[translation_map, success_template, success_template_uri].hash
|
160
|
+
end
|
161
|
+
|
162
|
+
# build the object from hash
|
163
|
+
def build_from_hash(attributes)
|
164
|
+
return nil unless attributes.is_a?(Hash)
|
165
|
+
self.class.swagger_types.each_pair do |key, type|
|
166
|
+
if type =~ /^Array<(.*)>/i
|
167
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
168
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
169
|
+
else
|
170
|
+
#TODO show warning in debug mode
|
171
|
+
end
|
172
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
173
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
174
|
+
else
|
175
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
self
|
180
|
+
end
|
181
|
+
|
182
|
+
def _deserialize(type, value)
|
183
|
+
case type.to_sym
|
184
|
+
when :DateTime
|
185
|
+
DateTime.parse(value)
|
186
|
+
when :Date
|
187
|
+
Date.parse(value)
|
188
|
+
when :String
|
189
|
+
value.to_s
|
190
|
+
when :Integer
|
191
|
+
value.to_i
|
192
|
+
when :Float
|
193
|
+
value.to_f
|
194
|
+
when :BOOLEAN
|
195
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
196
|
+
true
|
197
|
+
else
|
198
|
+
false
|
199
|
+
end
|
200
|
+
when :Object
|
201
|
+
# generic object (usually a Hash), return directly
|
202
|
+
value
|
203
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
204
|
+
inner_type = Regexp.last_match[:inner_type]
|
205
|
+
value.map { |v| _deserialize(inner_type, v) }
|
206
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
207
|
+
k_type = Regexp.last_match[:k_type]
|
208
|
+
v_type = Regexp.last_match[:v_type]
|
209
|
+
{}.tap do |hash|
|
210
|
+
value.each do |k, v|
|
211
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
212
|
+
end
|
213
|
+
end
|
214
|
+
else # model
|
215
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
216
|
+
_model.build_from_hash(value)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
def to_s
|
221
|
+
to_hash.to_s
|
222
|
+
end
|
223
|
+
|
224
|
+
# to_body is an alias to to_body (backward compatibility))
|
225
|
+
def to_body
|
226
|
+
to_hash
|
227
|
+
end
|
228
|
+
|
229
|
+
# return the object in the form of hash
|
230
|
+
def to_hash
|
231
|
+
hash = {}
|
232
|
+
self.class.attribute_map.each_pair do |attr, param|
|
233
|
+
value = self.send(attr)
|
234
|
+
next if value.nil?
|
235
|
+
hash[param] = _to_hash(value)
|
236
|
+
end
|
237
|
+
hash
|
238
|
+
end
|
239
|
+
|
240
|
+
# Method to output non-array value in the form of hash
|
241
|
+
# For object, use to_hash. Otherwise, just return the value
|
242
|
+
def _to_hash(value)
|
243
|
+
if value.is_a?(Array)
|
244
|
+
value.compact.map{ |v| _to_hash(v) }
|
245
|
+
elsif value.is_a?(Hash)
|
246
|
+
{}.tap do |hash|
|
247
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
248
|
+
end
|
249
|
+
elsif value.respond_to? :to_hash
|
250
|
+
value.to_hash
|
251
|
+
else
|
252
|
+
value
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
end
|
257
|
+
end
|
data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb
CHANGED
@@ -70,6 +70,8 @@ module PureCloud
|
|
70
70
|
|
71
71
|
attr_accessor :peer
|
72
72
|
|
73
|
+
attr_accessor :screen_recording_state
|
74
|
+
|
73
75
|
attr_accessor :context
|
74
76
|
|
75
77
|
attr_accessor :peer_count
|
@@ -132,6 +134,8 @@ module PureCloud
|
|
132
134
|
|
133
135
|
:'peer' => :'peer',
|
134
136
|
|
137
|
+
:'screen_recording_state' => :'screenRecordingState',
|
138
|
+
|
135
139
|
:'context' => :'context',
|
136
140
|
|
137
141
|
:'peer_count' => :'peerCount',
|
@@ -197,6 +201,8 @@ module PureCloud
|
|
197
201
|
|
198
202
|
:'peer' => :'String',
|
199
203
|
|
204
|
+
:'screen_recording_state' => :'String',
|
205
|
+
|
200
206
|
:'context' => :'String',
|
201
207
|
|
202
208
|
:'peer_count' => :'Integer',
|
@@ -451,6 +457,15 @@ module PureCloud
|
|
451
457
|
end
|
452
458
|
|
453
459
|
|
460
|
+
if attributes.has_key?(:'screenRecordingState')
|
461
|
+
|
462
|
+
|
463
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
464
|
+
|
465
|
+
|
466
|
+
end
|
467
|
+
|
468
|
+
|
454
469
|
if attributes.has_key?(:'context')
|
455
470
|
|
456
471
|
|
@@ -619,6 +634,10 @@ module PureCloud
|
|
619
634
|
|
620
635
|
|
621
636
|
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
622
641
|
|
623
642
|
|
624
643
|
|
@@ -793,6 +812,11 @@ module PureCloud
|
|
793
812
|
|
794
813
|
|
795
814
|
|
815
|
+
|
816
|
+
|
817
|
+
|
818
|
+
|
819
|
+
|
796
820
|
|
797
821
|
|
798
822
|
|
@@ -830,6 +854,7 @@ module PureCloud
|
|
830
854
|
external_organization == o.external_organization &&
|
831
855
|
wrapup == o.wrapup &&
|
832
856
|
peer == o.peer &&
|
857
|
+
screen_recording_state == o.screen_recording_state &&
|
833
858
|
context == o.context &&
|
834
859
|
peer_count == o.peer_count &&
|
835
860
|
sharing == o.sharing
|
@@ -844,7 +869,7 @@ module PureCloud
|
|
844
869
|
# Calculates hash code according to all attributes.
|
845
870
|
# @return [Fixnum] Hash code
|
846
871
|
def hash
|
847
|
-
[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, context, peer_count, sharing].hash
|
872
|
+
[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, context, peer_count, sharing].hash
|
848
873
|
end
|
849
874
|
|
850
875
|
# build the object from hash
|
@@ -70,6 +70,8 @@ module PureCloud
|
|
70
70
|
|
71
71
|
attr_accessor :peer
|
72
72
|
|
73
|
+
attr_accessor :screen_recording_state
|
74
|
+
|
73
75
|
attr_accessor :context
|
74
76
|
|
75
77
|
attr_accessor :peer_count
|
@@ -132,6 +134,8 @@ module PureCloud
|
|
132
134
|
|
133
135
|
:'peer' => :'peer',
|
134
136
|
|
137
|
+
:'screen_recording_state' => :'screenRecordingState',
|
138
|
+
|
135
139
|
:'context' => :'context',
|
136
140
|
|
137
141
|
:'peer_count' => :'peerCount',
|
@@ -197,6 +201,8 @@ module PureCloud
|
|
197
201
|
|
198
202
|
:'peer' => :'String',
|
199
203
|
|
204
|
+
:'screen_recording_state' => :'String',
|
205
|
+
|
200
206
|
:'context' => :'String',
|
201
207
|
|
202
208
|
:'peer_count' => :'Integer',
|
@@ -451,6 +457,15 @@ module PureCloud
|
|
451
457
|
end
|
452
458
|
|
453
459
|
|
460
|
+
if attributes.has_key?(:'screenRecordingState')
|
461
|
+
|
462
|
+
|
463
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
464
|
+
|
465
|
+
|
466
|
+
end
|
467
|
+
|
468
|
+
|
454
469
|
if attributes.has_key?(:'context')
|
455
470
|
|
456
471
|
|
@@ -619,6 +634,10 @@ module PureCloud
|
|
619
634
|
|
620
635
|
|
621
636
|
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
622
641
|
|
623
642
|
|
624
643
|
|
@@ -793,6 +812,11 @@ module PureCloud
|
|
793
812
|
|
794
813
|
|
795
814
|
|
815
|
+
|
816
|
+
|
817
|
+
|
818
|
+
|
819
|
+
|
796
820
|
|
797
821
|
|
798
822
|
|
@@ -830,6 +854,7 @@ module PureCloud
|
|
830
854
|
external_organization == o.external_organization &&
|
831
855
|
wrapup == o.wrapup &&
|
832
856
|
peer == o.peer &&
|
857
|
+
screen_recording_state == o.screen_recording_state &&
|
833
858
|
context == o.context &&
|
834
859
|
peer_count == o.peer_count &&
|
835
860
|
sharing == o.sharing
|
@@ -844,7 +869,7 @@ module PureCloud
|
|
844
869
|
# Calculates hash code according to all attributes.
|
845
870
|
# @return [Fixnum] Hash code
|
846
871
|
def hash
|
847
|
-
[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, context, peer_count, sharing].hash
|
872
|
+
[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, context, peer_count, sharing].hash
|
848
873
|
end
|
849
874
|
|
850
875
|
# build the object from hash
|
@@ -70,6 +70,8 @@ module PureCloud
|
|
70
70
|
|
71
71
|
attr_accessor :peer
|
72
72
|
|
73
|
+
attr_accessor :screen_recording_state
|
74
|
+
|
73
75
|
attr_accessor :social_media_id
|
74
76
|
|
75
77
|
attr_accessor :social_media_hub
|
@@ -134,6 +136,8 @@ module PureCloud
|
|
134
136
|
|
135
137
|
:'peer' => :'peer',
|
136
138
|
|
139
|
+
:'screen_recording_state' => :'screenRecordingState',
|
140
|
+
|
137
141
|
:'social_media_id' => :'socialMediaId',
|
138
142
|
|
139
143
|
:'social_media_hub' => :'socialMediaHub',
|
@@ -201,6 +205,8 @@ module PureCloud
|
|
201
205
|
|
202
206
|
:'peer' => :'String',
|
203
207
|
|
208
|
+
:'screen_recording_state' => :'String',
|
209
|
+
|
204
210
|
:'social_media_id' => :'String',
|
205
211
|
|
206
212
|
:'social_media_hub' => :'String',
|
@@ -457,6 +463,15 @@ module PureCloud
|
|
457
463
|
end
|
458
464
|
|
459
465
|
|
466
|
+
if attributes.has_key?(:'screenRecordingState')
|
467
|
+
|
468
|
+
|
469
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
470
|
+
|
471
|
+
|
472
|
+
end
|
473
|
+
|
474
|
+
|
460
475
|
if attributes.has_key?(:'socialMediaId')
|
461
476
|
|
462
477
|
|
@@ -638,6 +653,10 @@ module PureCloud
|
|
638
653
|
|
639
654
|
|
640
655
|
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
|
641
660
|
|
642
661
|
|
643
662
|
|
@@ -817,6 +836,11 @@ module PureCloud
|
|
817
836
|
|
818
837
|
|
819
838
|
|
839
|
+
|
840
|
+
|
841
|
+
|
842
|
+
|
843
|
+
|
820
844
|
|
821
845
|
|
822
846
|
|
@@ -854,6 +878,7 @@ module PureCloud
|
|
854
878
|
external_organization == o.external_organization &&
|
855
879
|
wrapup == o.wrapup &&
|
856
880
|
peer == o.peer &&
|
881
|
+
screen_recording_state == o.screen_recording_state &&
|
857
882
|
social_media_id == o.social_media_id &&
|
858
883
|
social_media_hub == o.social_media_hub &&
|
859
884
|
social_user_name == o.social_user_name &&
|
@@ -869,7 +894,7 @@ module PureCloud
|
|
869
894
|
# Calculates hash code according to all attributes.
|
870
895
|
# @return [Fixnum] Hash code
|
871
896
|
def hash
|
872
|
-
[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, social_media_id, social_media_hub, social_user_name, preview_text].hash
|
897
|
+
[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, social_media_id, social_media_hub, social_user_name, preview_text].hash
|
873
898
|
end
|
874
899
|
|
875
900
|
# build the object from hash
|