purecloudplatformclientv2 95.0.0 → 96.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsProposedAgent.md +14 -0
  4. data/docs/AnalyticsSession.md +2 -0
  5. data/docs/ArrayNode.md +4 -4
  6. data/docs/AuditApi.md +60 -0
  7. data/docs/BuAgentSchedulesQueryResponse.md +1 -0
  8. data/docs/CoachingApi.md +80 -2
  9. data/docs/CoachingAppointmentAggregateRequest.md +16 -0
  10. data/docs/CoachingAppointmentAggregateResponse.md +13 -0
  11. data/docs/CoachingAppointmentResponse.md +1 -0
  12. data/docs/ConversationMetrics.md +15 -0
  13. data/docs/ExternalOrganizationTrustorLink.md +1 -2
  14. data/docs/GenericSAML.md +1 -1
  15. data/docs/JsonNode.md +4 -4
  16. data/docs/OAuthClient.md +1 -0
  17. data/docs/OAuthClientListing.md +1 -0
  18. data/docs/OAuthClientRequest.md +1 -0
  19. data/docs/OrgOAuthClient.md +1 -0
  20. data/docs/Permissions.md +0 -2
  21. data/docs/QueryRequestClause.md +14 -0
  22. data/docs/QueryRequestFilter.md +14 -0
  23. data/docs/QueryRequestPredicate.md +14 -0
  24. data/docs/QueryResponseData.md +14 -0
  25. data/docs/QueryResponseGroupedData.md +14 -0
  26. data/docs/QueryResponseMetric.md +14 -0
  27. data/docs/QueryResponseStats.md +13 -0
  28. data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
  29. data/docs/ReportingExportJobResponse.md +1 -0
  30. data/docs/RoutingApi.md +1 -1
  31. data/docs/SearchApi.md +2 -1
  32. data/docs/SpeechTextAnalyticsApi.md +66 -0
  33. data/docs/StatEventFlowOutcomeTopicDatum.md +14 -0
  34. data/docs/StatEventFlowOutcomeTopicMetric.md +15 -0
  35. data/docs/StatEventFlowOutcomeTopicStatsNotification.md +14 -0
  36. data/docs/StatEventFlowTopicDatum.md +14 -0
  37. data/docs/StatEventFlowTopicMetric.md +15 -0
  38. data/docs/StatEventFlowTopicStatsNotification.md +14 -0
  39. data/docs/StatEventWrapUpCodeTopicDatum.md +14 -0
  40. data/docs/StatEventWrapUpCodeTopicMetric.md +15 -0
  41. data/docs/StatEventWrapUpCodeTopicStatsNotification.md +14 -0
  42. data/docs/UserScheduleAdherence.md +1 -0
  43. data/docs/UserSearchRequest.md +1 -0
  44. data/docs/UsersApi.md +2 -1
  45. data/docs/WemCoachingAppointmentTopicCoachingAppointmentNotification.md +1 -0
  46. data/docs/WfmBusinessUnitReference.md +1 -1
  47. data/docs/WfmScheduleReference.md +3 -3
  48. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUriReference.md +14 -0
  49. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate.md +1 -0
  50. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference.md +13 -0
  51. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUriReference.md +14 -0
  52. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserReference.md +13 -0
  53. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserScheduleAdherenceUpdate.md +28 -0
  54. data/docs/WfmUserScheduleAdherenceUpdatedTopicUriReference.md +14 -0
  55. data/docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md +1 -0
  56. data/lib/purecloudplatformclientv2.rb +26 -0
  57. data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
  58. data/lib/purecloudplatformclientv2/api/coaching_api.rb +127 -0
  59. data/lib/purecloudplatformclientv2/api/routing_api.rb +2 -2
  60. data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +65 -0
  61. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  62. data/lib/purecloudplatformclientv2/models/acw_settings.rb +2 -2
  63. data/lib/purecloudplatformclientv2/models/analytics_proposed_agent.rb +228 -0
  64. data/lib/purecloudplatformclientv2/models/analytics_session.rb +58 -4
  65. data/lib/purecloudplatformclientv2/models/array_node.rb +54 -54
  66. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
  67. data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +2 -2
  68. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
  69. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
  70. data/lib/purecloudplatformclientv2/models/audit_query_service.rb +2 -2
  71. data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +2 -2
  72. data/lib/purecloudplatformclientv2/models/bu_agent_schedules_query_response.rb +30 -4
  73. data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_request.rb +294 -0
  74. data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_response.rb +204 -0
  75. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +27 -1
  76. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  77. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +2 -2
  78. data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +2 -2
  79. data/lib/purecloudplatformclientv2/models/conversation_metrics.rb +254 -0
  80. data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +2 -2
  81. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  82. data/lib/purecloudplatformclientv2/models/external_organization_trustor_link.rb +8 -34
  83. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  84. data/lib/purecloudplatformclientv2/models/generic_saml.rb +12 -12
  85. data/lib/purecloudplatformclientv2/models/ip_address_range.rb +2 -2
  86. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_predicate.rb +2 -2
  87. data/lib/purecloudplatformclientv2/models/json_node.rb +54 -54
  88. data/lib/purecloudplatformclientv2/models/message.rb +2 -2
  89. data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
  90. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
  91. data/lib/purecloudplatformclientv2/models/messaging_integration.rb +2 -2
  92. data/lib/purecloudplatformclientv2/models/messaging_sticker.rb +2 -2
  93. data/lib/purecloudplatformclientv2/models/o_auth_client.rb +27 -1
  94. data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +27 -1
  95. data/lib/purecloudplatformclientv2/models/o_auth_client_request.rb +30 -4
  96. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +27 -1
  97. data/lib/purecloudplatformclientv2/models/participant.rb +2 -2
  98. data/lib/purecloudplatformclientv2/models/participant_basic.rb +2 -2
  99. data/lib/purecloudplatformclientv2/models/permissions.rb +1 -52
  100. data/lib/purecloudplatformclientv2/models/query_request_clause.rb +254 -0
  101. data/lib/purecloudplatformclientv2/models/query_request_filter.rb +254 -0
  102. data/lib/purecloudplatformclientv2/models/query_request_predicate.rb +252 -0
  103. data/lib/purecloudplatformclientv2/models/query_response_data.rb +230 -0
  104. data/lib/purecloudplatformclientv2/models/query_response_grouped_data.rb +232 -0
  105. data/lib/purecloudplatformclientv2/models/query_response_metric.rb +242 -0
  106. data/lib/purecloudplatformclientv2/models/query_response_stats.rb +202 -0
  107. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +2 -2
  108. data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +2 -2
  109. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +2 -2
  110. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +2 -2
  111. data/lib/purecloudplatformclientv2/models/recipient.rb +2 -2
  112. data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +26 -1
  113. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +32 -1
  114. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  115. data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +2 -2
  116. data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +2 -2
  117. data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_datum.rb +228 -0
  118. data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_metric.rb +253 -0
  119. data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_stats_notification.rb +230 -0
  120. data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_datum.rb +228 -0
  121. data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_metric.rb +253 -0
  122. data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_stats_notification.rb +230 -0
  123. data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_datum.rb +228 -0
  124. data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_metric.rb +253 -0
  125. data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_stats_notification.rb +230 -0
  126. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +27 -1
  127. data/lib/purecloudplatformclientv2/models/user_search_request.rb +30 -4
  128. data/lib/purecloudplatformclientv2/models/wem_coaching_appointment_topic_coaching_appointment_notification.rb +29 -4
  129. data/lib/purecloudplatformclientv2/models/wfm_business_unit_reference.rb +6 -1
  130. data/lib/purecloudplatformclientv2/models/wfm_schedule_reference.rb +16 -1
  131. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_uri_reference.rb +226 -0
  132. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.rb +26 -1
  133. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_queue_reference.rb +201 -0
  134. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_uri_reference.rb +226 -0
  135. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_reference.rb +201 -0
  136. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_schedule_adherence_update.rb +606 -0
  137. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_uri_reference.rb +226 -0
  138. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb +26 -1
  139. data/lib/purecloudplatformclientv2/version.rb +1 -1
  140. metadata +55 -3
@@ -0,0 +1,230 @@
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: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class StatEventWrapUpCodeTopicStatsNotification
21
+ attr_accessor :group
22
+
23
+ attr_accessor :data
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+
29
+ :'group' => :'group',
30
+
31
+ :'data' => :'data'
32
+
33
+ }
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.swagger_types
38
+ {
39
+
40
+ :'group' => :'Hash<String, String>',
41
+
42
+ :'data' => :'Array<StatEventWrapUpCodeTopicDatum>'
43
+
44
+ }
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
54
+
55
+
56
+ if attributes.has_key?(:'group')
57
+
58
+ if (value = attributes[:'group']).is_a?(Array)
59
+ self.group = value
60
+ end
61
+
62
+
63
+
64
+ end
65
+
66
+
67
+ if attributes.has_key?(:'data')
68
+
69
+ if (value = attributes[:'data']).is_a?(Array)
70
+ self.data = value
71
+ end
72
+
73
+
74
+
75
+ end
76
+
77
+
78
+ end
79
+
80
+ # Show invalid properties with the reasons. Usually used together with valid?
81
+ # @return Array for valid properies with the reasons
82
+ def list_invalid_properties
83
+ invalid_properties = Array.new
84
+
85
+
86
+ return invalid_properties
87
+ end
88
+
89
+ # Check to see if the all the properties in the model are valid
90
+ # @return true if the model is valid
91
+ def valid?
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ end
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+ # Checks equality by comparing each attribute.
115
+ # @param [Object] Object to be compared
116
+ def ==(o)
117
+ return true if self.equal?(o)
118
+ self.class == o.class &&
119
+ group == o.group &&
120
+ data == o.data
121
+ end
122
+
123
+ # @see the `==` method
124
+ # @param [Object] Object to be compared
125
+ def eql?(o)
126
+ self == o
127
+ end
128
+
129
+ # Calculates hash code according to all attributes.
130
+ # @return [Fixnum] Hash code
131
+ def hash
132
+ [group, data].hash
133
+ end
134
+
135
+ # build the object from hash
136
+ def build_from_hash(attributes)
137
+ return nil unless attributes.is_a?(Hash)
138
+ self.class.swagger_types.each_pair do |key, type|
139
+ if type =~ /^Array<(.*)>/i
140
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
141
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
142
+ else
143
+ #TODO show warning in debug mode
144
+ end
145
+ elsif !attributes[self.class.attribute_map[key]].nil?
146
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
147
+ else
148
+ # data not found in attributes(hash), not an issue as the data can be optional
149
+ end
150
+ end
151
+
152
+ self
153
+ end
154
+
155
+ def _deserialize(type, value)
156
+ case type.to_sym
157
+ when :DateTime
158
+ DateTime.parse(value)
159
+ when :Date
160
+ Date.parse(value)
161
+ when :String
162
+ value.to_s
163
+ when :Integer
164
+ value.to_i
165
+ when :Float
166
+ value.to_f
167
+ when :BOOLEAN
168
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
169
+ true
170
+ else
171
+ false
172
+ end
173
+ when :Object
174
+ # generic object (usually a Hash), return directly
175
+ value
176
+ when /\AArray<(?<inner_type>.+)>\z/
177
+ inner_type = Regexp.last_match[:inner_type]
178
+ value.map { |v| _deserialize(inner_type, v) }
179
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
180
+ k_type = Regexp.last_match[:k_type]
181
+ v_type = Regexp.last_match[:v_type]
182
+ {}.tap do |hash|
183
+ value.each do |k, v|
184
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
185
+ end
186
+ end
187
+ else # model
188
+ _model = Object.const_get("PureCloud").const_get(type).new
189
+ _model.build_from_hash(value)
190
+ end
191
+ end
192
+
193
+ def to_s
194
+ to_hash.to_s
195
+ end
196
+
197
+ # to_body is an alias to to_body (backward compatibility))
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # return the object in the form of hash
203
+ def to_hash
204
+ hash = {}
205
+ self.class.attribute_map.each_pair do |attr, param|
206
+ value = self.send(attr)
207
+ next if value.nil?
208
+ hash[param] = _to_hash(value)
209
+ end
210
+ hash
211
+ end
212
+
213
+ # Method to output non-array value in the form of hash
214
+ # For object, use to_hash. Otherwise, just return the value
215
+ def _to_hash(value)
216
+ if value.is_a?(Array)
217
+ value.compact.map{ |v| _to_hash(v) }
218
+ elsif value.is_a?(Hash)
219
+ {}.tap do |hash|
220
+ value.each { |k, v| hash[k] = _to_hash(v) }
221
+ end
222
+ elsif value.respond_to? :to_hash
223
+ value.to_hash
224
+ else
225
+ value
226
+ end
227
+ end
228
+
229
+ end
230
+ end
@@ -29,6 +29,9 @@ module PureCloud
29
29
  # The management unit to which this user belongs
30
30
  attr_accessor :management_unit
31
31
 
32
+ # The team to which this user belongs
33
+ attr_accessor :team
34
+
32
35
  # Activity for which the user is scheduled
33
36
  attr_accessor :scheduled_activity_category
34
37
 
@@ -83,6 +86,8 @@ module PureCloud
83
86
 
84
87
  :'management_unit' => :'managementUnit',
85
88
 
89
+ :'team' => :'team',
90
+
86
91
  :'scheduled_activity_category' => :'scheduledActivityCategory',
87
92
 
88
93
  :'system_presence' => :'systemPresence',
@@ -126,6 +131,8 @@ module PureCloud
126
131
 
127
132
  :'management_unit' => :'ManagementUnit',
128
133
 
134
+ :'team' => :'Team',
135
+
129
136
  :'scheduled_activity_category' => :'String',
130
137
 
131
138
  :'system_presence' => :'String',
@@ -202,6 +209,15 @@ module PureCloud
202
209
  end
203
210
 
204
211
 
212
+ if attributes.has_key?(:'team')
213
+
214
+
215
+ self.team = attributes[:'team']
216
+
217
+
218
+ end
219
+
220
+
205
221
  if attributes.has_key?(:'scheduledActivityCategory')
206
222
 
207
223
 
@@ -360,6 +376,10 @@ module PureCloud
360
376
 
361
377
 
362
378
 
379
+
380
+
381
+
382
+
363
383
 
364
384
 
365
385
 
@@ -465,6 +485,11 @@ module PureCloud
465
485
 
466
486
 
467
487
 
488
+
489
+
490
+
491
+
492
+
468
493
 
469
494
 
470
495
 
@@ -603,6 +628,7 @@ module PureCloud
603
628
  name == o.name &&
604
629
  user == o.user &&
605
630
  management_unit == o.management_unit &&
631
+ team == o.team &&
606
632
  scheduled_activity_category == o.scheduled_activity_category &&
607
633
  system_presence == o.system_presence &&
608
634
  organization_secondary_presence_id == o.organization_secondary_presence_id &&
@@ -628,7 +654,7 @@ module PureCloud
628
654
  # Calculates hash code according to all attributes.
629
655
  # @return [Fixnum] Hash code
630
656
  def hash
631
- [id, name, user, management_unit, scheduled_activity_category, system_presence, organization_secondary_presence_id, routing_status, actual_activity_category, is_out_of_office, adherence_state, impact, time_of_adherence_change, presence_update_time, active_queues, active_queues_modified_time, removed_from_management_unit, self_uri].hash
657
+ [id, name, user, management_unit, team, scheduled_activity_category, system_presence, organization_secondary_presence_id, routing_status, actual_activity_category, is_out_of_office, adherence_state, impact, time_of_adherence_change, presence_update_time, active_queues, active_queues_modified_time, removed_from_management_unit, self_uri].hash
632
658
  end
633
659
 
634
660
  # build the object from hash
@@ -41,6 +41,9 @@ module PureCloud
41
41
  # Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \"expand\". When using this parameter the maximum number of users that can be returned is 10.
42
42
  attr_accessor :integration_presence_source
43
43
 
44
+ # Enforce view permission on request
45
+ attr_accessor :enforce_permissions
46
+
44
47
  # Attribute mapping from ruby-style variable name to JSON key.
45
48
  def self.attribute_map
46
49
  {
@@ -59,7 +62,9 @@ module PureCloud
59
62
 
60
63
  :'query' => :'query',
61
64
 
62
- :'integration_presence_source' => :'integrationPresenceSource'
65
+ :'integration_presence_source' => :'integrationPresenceSource',
66
+
67
+ :'enforce_permissions' => :'enforcePermissions'
63
68
 
64
69
  }
65
70
  end
@@ -82,7 +87,9 @@ module PureCloud
82
87
 
83
88
  :'query' => :'Array<UserSearchCriteria>',
84
89
 
85
- :'integration_presence_source' => :'String'
90
+ :'integration_presence_source' => :'String',
91
+
92
+ :'enforce_permissions' => :'BOOLEAN'
86
93
 
87
94
  }
88
95
  end
@@ -174,6 +181,15 @@ module PureCloud
174
181
  end
175
182
 
176
183
 
184
+ if attributes.has_key?(:'enforcePermissions')
185
+
186
+
187
+ self.enforce_permissions = attributes[:'enforcePermissions']
188
+
189
+
190
+ end
191
+
192
+
177
193
  end
178
194
 
179
195
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -231,6 +247,10 @@ module PureCloud
231
247
 
232
248
 
233
249
 
250
+
251
+
252
+
253
+
234
254
  end
235
255
 
236
256
 
@@ -292,6 +312,11 @@ module PureCloud
292
312
 
293
313
 
294
314
 
315
+
316
+
317
+
318
+
319
+
295
320
  # Checks equality by comparing each attribute.
296
321
  # @param [Object] Object to be compared
297
322
  def ==(o)
@@ -304,7 +329,8 @@ module PureCloud
304
329
  sort == o.sort &&
305
330
  expand == o.expand &&
306
331
  query == o.query &&
307
- integration_presence_source == o.integration_presence_source
332
+ integration_presence_source == o.integration_presence_source &&
333
+ enforce_permissions == o.enforce_permissions
308
334
  end
309
335
 
310
336
  # @see the `==` method
@@ -316,7 +342,7 @@ module PureCloud
316
342
  # Calculates hash code according to all attributes.
317
343
  # @return [Fixnum] Hash code
318
344
  def hash
319
- [sort_order, sort_by, page_size, page_number, sort, expand, query, integration_presence_source].hash
345
+ [sort_order, sort_by, page_size, page_number, sort, expand, query, integration_presence_source, enforce_permissions].hash
320
346
  end
321
347
 
322
348
  # build the object from hash
@@ -46,6 +46,8 @@ module PureCloud
46
46
 
47
47
  attr_accessor :change_type
48
48
 
49
+ attr_accessor :date_completed
50
+
49
51
  # Attribute mapping from ruby-style variable name to JSON key.
50
52
  def self.attribute_map
51
53
  {
@@ -76,7 +78,9 @@ module PureCloud
76
78
 
77
79
  :'documents' => :'documents',
78
80
 
79
- :'change_type' => :'changeType'
81
+ :'change_type' => :'changeType',
82
+
83
+ :'date_completed' => :'dateCompleted'
80
84
 
81
85
  }
82
86
  end
@@ -111,7 +115,9 @@ module PureCloud
111
115
 
112
116
  :'documents' => :'Array<WemCoachingAppointmentTopicCoachingAppointmentDocument>',
113
117
 
114
- :'change_type' => :'String'
118
+ :'change_type' => :'String',
119
+
120
+ :'date_completed' => :'DateTime'
115
121
 
116
122
  }
117
123
  end
@@ -257,6 +263,15 @@ module PureCloud
257
263
  end
258
264
 
259
265
 
266
+ if attributes.has_key?(:'dateCompleted')
267
+
268
+
269
+ self.date_completed = attributes[:'dateCompleted']
270
+
271
+
272
+ end
273
+
274
+
260
275
  end
261
276
 
262
277
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -338,6 +353,10 @@ module PureCloud
338
353
 
339
354
 
340
355
 
356
+
357
+
358
+
359
+
341
360
  end
342
361
 
343
362
 
@@ -429,6 +448,11 @@ module PureCloud
429
448
 
430
449
 
431
450
 
451
+
452
+
453
+
454
+
455
+
432
456
  # Checks equality by comparing each attribute.
433
457
  # @param [Object] Object to be compared
434
458
  def ==(o)
@@ -447,7 +471,8 @@ module PureCloud
447
471
  date_modified == o.date_modified &&
448
472
  conversations == o.conversations &&
449
473
  documents == o.documents &&
450
- change_type == o.change_type
474
+ change_type == o.change_type &&
475
+ date_completed == o.date_completed
451
476
  end
452
477
 
453
478
  # @see the `==` method
@@ -459,7 +484,7 @@ module PureCloud
459
484
  # Calculates hash code according to all attributes.
460
485
  # @return [Fixnum] Hash code
461
486
  def hash
462
- [id, name, date_start, length_in_minutes, status, facilitator, attendees, created_by, date_created, modified_by, date_modified, conversations, documents, change_type].hash
487
+ [id, name, date_start, length_in_minutes, status, facilitator, attendees, created_by, date_created, modified_by, date_modified, conversations, documents, change_type, date_completed].hash
463
488
  end
464
489
 
465
490
  # build the object from hash