purecloudplatformclientv2 85.0.1 → 86.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.
Files changed (244) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsEvaluation.md +1 -1
  4. data/docs/Call.md +1 -0
  5. data/docs/CallBasic.md +1 -0
  6. data/docs/Callback.md +1 -0
  7. data/docs/CallbackBasic.md +1 -0
  8. data/docs/Cobrowsesession.md +1 -0
  9. data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
  10. data/docs/ContextIntent.md +13 -0
  11. data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  12. data/docs/ConversationChat.md +1 -0
  13. data/docs/ConversationEventTopicCallback.md +1 -0
  14. data/docs/Coretype.md +23 -0
  15. data/docs/CoretypeListing.md +15 -0
  16. data/docs/DataExtensionsApi.md +198 -0
  17. data/docs/DataSchemaListing.md +15 -0
  18. data/docs/DetectedDialogAct.md +14 -0
  19. data/docs/DetectedIntent.md +15 -0
  20. data/docs/DetectedNamedEntity.md +16 -0
  21. data/docs/DetectedNamedEntityValue.md +14 -0
  22. data/docs/DialogflowAgent.md +3 -2
  23. data/docs/Edge.md +1 -1
  24. data/docs/Email.md +1 -0
  25. data/docs/EntityListing.md +1 -5
  26. data/docs/ExternalContactsApi.md +1001 -144
  27. data/docs/FlowDivisionView.md +2 -0
  28. data/docs/IntentDefinition.md +15 -0
  29. data/docs/IntentFeedback.md +16 -0
  30. data/docs/ItemValidationLimits.md +14 -0
  31. data/docs/Items.md +14 -0
  32. data/docs/LanguageUnderstandingApi.md +1160 -0
  33. data/docs/MaxLength.md +14 -0
  34. data/docs/Message.md +1 -0
  35. data/docs/MinLength.md +14 -0
  36. data/docs/NamedEntityAnnotation.md +13 -0
  37. data/docs/NamedEntityTypeBinding.md +14 -0
  38. data/docs/NamedEntityTypeDefinition.md +15 -0
  39. data/docs/NamedEntityTypeItem.md +14 -0
  40. data/docs/NamedEntityTypeMechanism.md +15 -0
  41. data/docs/NluConfusionMatrixColumn.md +14 -0
  42. data/docs/NluConfusionMatrixRow.md +14 -0
  43. data/docs/NluDetectionContext.md +14 -0
  44. data/docs/NluDetectionInput.md +13 -0
  45. data/docs/NluDetectionOutput.md +14 -0
  46. data/docs/NluDetectionRequest.md +14 -0
  47. data/docs/NluDetectionResponse.md +15 -0
  48. data/docs/NluDomain.md +19 -0
  49. data/docs/NluDomainListing.md +22 -0
  50. data/docs/NluDomainVersion.md +24 -0
  51. data/docs/NluDomainVersionListing.md +22 -0
  52. data/docs/NluDomainVersionQualityReport.md +15 -0
  53. data/docs/NluDomainVersionTrainingResponse.md +14 -0
  54. data/docs/NluFeedbackListing.md +22 -0
  55. data/docs/NluFeedbackRequest.md +15 -0
  56. data/docs/NluFeedbackResponse.md +18 -0
  57. data/docs/NluQualityReportSummary.md +13 -0
  58. data/docs/NluQualityReportSummaryMetric.md +14 -0
  59. data/docs/NluUtterance.md +13 -0
  60. data/docs/NluUtteranceSegment.md +14 -0
  61. data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  62. data/docs/QueueConversationEventTopicCallback.md +1 -0
  63. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
  64. data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
  65. data/docs/ReportingExportJobRequest.md +1 -0
  66. data/docs/ReportingExportJobResponse.md +2 -0
  67. data/docs/RoutingApi.md +65 -0
  68. data/docs/SCIMApi.md +12 -12
  69. data/docs/Schema.md +17 -0
  70. data/docs/SchemaQuantityLimits.md +26 -0
  71. data/docs/ScimV2EnterpriseUser.md +1 -0
  72. data/docs/Screenshare.md +1 -0
  73. data/docs/SocialExpression.md +1 -0
  74. data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
  75. data/docs/TimeOffRequestListing.md +13 -0
  76. data/docs/UploadUrlRequest.md +15 -0
  77. data/docs/UploadUrlResponse.md +14 -0
  78. data/docs/UploadsApi.md +78 -0
  79. data/docs/ValidationLimits.md +18 -0
  80. data/docs/Video.md +1 -0
  81. data/docs/WorkforceManagementApi.md +297 -448
  82. data/lib/purecloudplatformclientv2.rb +50 -57
  83. data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
  84. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
  85. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
  86. data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
  87. data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
  88. data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
  89. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
  90. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  91. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  92. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
  93. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  94. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  95. data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
  96. data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
  97. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  98. data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → context_entity.rb} +14 -9
  99. data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_intent.rb} +14 -10
  100. data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
  101. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
  102. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
  103. data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → coretype.rb} +97 -102
  104. data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb} +34 -11
  105. data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
  106. data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
  107. data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
  108. data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
  109. data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
  110. data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
  111. data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
  112. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  113. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  114. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
  115. data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → intent_definition.rb} +30 -19
  116. data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → intent_feedback.rb} +71 -18
  117. data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → item_validation_limits.rb} +18 -45
  118. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → items.rb} +33 -10
  119. data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
  120. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  121. data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
  122. data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → named_entity_annotation.rb} +14 -10
  123. data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
  124. data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
  125. data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
  126. data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
  127. data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
  128. data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
  129. data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
  130. data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → nlu_detection_input.rb} +14 -10
  131. data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
  132. data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
  133. data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
  134. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
  135. data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb} +156 -53
  136. data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → nlu_domain_version.rb} +132 -87
  137. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
  138. data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
  139. data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → nlu_domain_version_training_response.rb} +33 -16
  140. data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → nlu_feedback_listing.rb} +158 -46
  141. data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
  142. data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
  143. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
  144. data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
  145. data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
  146. data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
  147. data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
  148. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
  149. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
  150. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
  151. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
  152. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
  153. data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
  154. data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
  155. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
  156. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  157. data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
  158. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  159. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
  160. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
  161. data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → upload_url_request.rb} +23 -26
  162. data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
  163. data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → validation_limits.rb} +76 -38
  164. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  165. data/lib/purecloudplatformclientv2/version.rb +1 -1
  166. metadata +102 -116
  167. data/docs/AsyncWeekScheduleResponse.md +0 -16
  168. data/docs/CopyShortTermForecastRequest.md +0 -14
  169. data/docs/CopyWeekScheduleRequest.md +0 -14
  170. data/docs/CreateQueueMediaAssociationRequest.md +0 -15
  171. data/docs/CreateServiceGoalGroupRequest.md +0 -15
  172. data/docs/ForecastGenerationResult.md +0 -13
  173. data/docs/ForecastGenerationRouteGroupResult.md +0 -14
  174. data/docs/ForecastResultResponse.md +0 -14
  175. data/docs/ForecastTimeSeriesResult.md +0 -14
  176. data/docs/GenerateShortTermForecastRequest.md +0 -13
  177. data/docs/GenerateShortTermForecastResponse.md +0 -16
  178. data/docs/GenerateWeekScheduleRequest.md +0 -14
  179. data/docs/GenerateWeekScheduleResponse.md +0 -15
  180. data/docs/ImportShortTermForecastRequest.md +0 -16
  181. data/docs/ImportWeekScheduleRequest.md +0 -17
  182. data/docs/IntradayDataGroup.md +0 -19
  183. data/docs/IntradayForecastData.md +0 -15
  184. data/docs/IntradayHistoricalAgentData.md +0 -14
  185. data/docs/IntradayHistoricalQueueData.md +0 -20
  186. data/docs/IntradayMetric.md +0 -14
  187. data/docs/IntradayPerformancePredictionAgentData.md +0 -13
  188. data/docs/IntradayPerformancePredictionQueueData.md +0 -15
  189. data/docs/IntradayQueryDataCommand.md +0 -17
  190. data/docs/IntradayQueue.md +0 -15
  191. data/docs/IntradayResponse.md +0 -20
  192. data/docs/IntradayScheduleData.md +0 -14
  193. data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
  194. data/docs/ListWrapperWfmForecastModification.md +0 -13
  195. data/docs/QueueMediaAssociation.md +0 -16
  196. data/docs/RescheduleRequest.md +0 -20
  197. data/docs/RescheduleResult.md +0 -13
  198. data/docs/ReschedulingOptionsResponse.md +0 -22
  199. data/docs/RouteGroup.md +0 -18
  200. data/docs/RouteGroupAttributes.md +0 -16
  201. data/docs/RouteGroupList.md +0 -14
  202. data/docs/SchedulingRunListResponse.md +0 -13
  203. data/docs/SchedulingRunResponse.md +0 -28
  204. data/docs/ServiceGoalGroup.md +0 -18
  205. data/docs/ServiceGoalGroupGoals.md +0 -15
  206. data/docs/ServiceGoalGroupList.md +0 -14
  207. data/docs/ShortTermForecast.md +0 -22
  208. data/docs/ShortTermForecastListItemResponse.md +0 -18
  209. data/docs/ShortTermForecastListResponse.md +0 -13
  210. data/docs/ShortTermForecastResponse.md +0 -15
  211. data/docs/TimeOffRequestEntityList.md +0 -13
  212. data/docs/TimeOffRequestLookupList.md +0 -13
  213. data/docs/UnscheduledAgentWarning.md +0 -14
  214. data/docs/UpdateWeekScheduleRequest.md +0 -21
  215. data/docs/UserSchedulesPartialUploadRequest.md +0 -13
  216. data/docs/WfmAbandonRate.md +0 -14
  217. data/docs/WfmAverageSpeedOfAnswer.md +0 -14
  218. data/docs/WfmForecastModification.md +0 -20
  219. data/docs/WfmForecastModificationAttributes.md +0 -16
  220. data/docs/WfmIntradayQueueListing.md +0 -14
  221. data/docs/WfmServiceLevel.md +0 -15
  222. data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
  223. data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
  224. data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
  225. data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +0 -294
  226. data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
  227. data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
  228. data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
  229. data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
  230. data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +0 -384
  231. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +0 -202
  232. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
  233. data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
  234. data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
  235. data/lib/purecloudplatformclientv2/models/queue_media_association.rb +0 -283
  236. data/lib/purecloudplatformclientv2/models/reschedule_request.rb +0 -418
  237. data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
  238. data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
  239. data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +0 -307
  240. data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
  241. data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +0 -203
  242. data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
  243. data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +0 -438
  244. data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
@@ -35,6 +35,12 @@ module PureCloud
35
35
  # json schema describing the outputs for the flow
36
36
  attr_accessor :output_schema
37
37
 
38
+ # published version information if there is a published version
39
+ attr_accessor :published_version
40
+
41
+ # debug version information if there is a debug version
42
+ attr_accessor :debug_version
43
+
38
44
  # The URI for this object
39
45
  attr_accessor :self_uri
40
46
 
@@ -54,6 +60,10 @@ module PureCloud
54
60
 
55
61
  :'output_schema' => :'outputSchema',
56
62
 
63
+ :'published_version' => :'publishedVersion',
64
+
65
+ :'debug_version' => :'debugVersion',
66
+
57
67
  :'self_uri' => :'selfUri'
58
68
 
59
69
  }
@@ -75,6 +85,10 @@ module PureCloud
75
85
 
76
86
  :'output_schema' => :'JsonSchemaDocument',
77
87
 
88
+ :'published_version' => :'FlowVersion',
89
+
90
+ :'debug_version' => :'FlowVersion',
91
+
78
92
  :'self_uri' => :'String'
79
93
 
80
94
  }
@@ -143,6 +157,24 @@ module PureCloud
143
157
  end
144
158
 
145
159
 
160
+ if attributes.has_key?(:'publishedVersion')
161
+
162
+
163
+ self.published_version = attributes[:'publishedVersion']
164
+
165
+
166
+ end
167
+
168
+
169
+ if attributes.has_key?(:'debugVersion')
170
+
171
+
172
+ self.debug_version = attributes[:'debugVersion']
173
+
174
+
175
+ end
176
+
177
+
146
178
  if attributes.has_key?(:'selfUri')
147
179
 
148
180
 
@@ -202,6 +234,14 @@ module PureCloud
202
234
 
203
235
 
204
236
 
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
205
245
 
206
246
 
207
247
 
@@ -241,6 +281,16 @@ module PureCloud
241
281
 
242
282
 
243
283
 
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
244
294
 
245
295
 
246
296
 
@@ -263,6 +313,8 @@ module PureCloud
263
313
  type == o.type &&
264
314
  input_schema == o.input_schema &&
265
315
  output_schema == o.output_schema &&
316
+ published_version == o.published_version &&
317
+ debug_version == o.debug_version &&
266
318
  self_uri == o.self_uri
267
319
  end
268
320
 
@@ -275,7 +327,7 @@ module PureCloud
275
327
  # Calculates hash code according to all attributes.
276
328
  # @return [Fixnum] Hash code
277
329
  def hash
278
- [id, name, division, type, input_schema, output_schema, self_uri].hash
330
+ [id, name, division, type, input_schema, output_schema, published_version, debug_version, self_uri].hash
279
331
  end
280
332
 
281
333
  # build the object from hash
@@ -17,16 +17,15 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # Service Goal Group
21
- class CreateServiceGoalGroupRequest
22
- # name
20
+ class IntentDefinition
21
+ # The name of the intent.
23
22
  attr_accessor :name
24
23
 
25
- # Goals defined for this service goal group
26
- attr_accessor :goals
24
+ # The bindings for the named entity types used in this intent.
25
+ attr_accessor :entity_type_bindings
27
26
 
28
- # List of queues and media types from that queue to associate with this service goal group
29
- attr_accessor :queue_media_associations
27
+ # The utterances that act as training phrases for the intent.
28
+ attr_accessor :utterances
30
29
 
31
30
  # Attribute mapping from ruby-style variable name to JSON key.
32
31
  def self.attribute_map
@@ -34,9 +33,9 @@ module PureCloud
34
33
 
35
34
  :'name' => :'name',
36
35
 
37
- :'goals' => :'goals',
36
+ :'entity_type_bindings' => :'entityTypeBindings',
38
37
 
39
- :'queue_media_associations' => :'queueMediaAssociations'
38
+ :'utterances' => :'utterances'
40
39
 
41
40
  }
42
41
  end
@@ -47,9 +46,9 @@ module PureCloud
47
46
 
48
47
  :'name' => :'String',
49
48
 
50
- :'goals' => :'ServiceGoalGroupGoals',
49
+ :'entity_type_bindings' => :'Array<NamedEntityTypeBinding>',
51
50
 
52
- :'queue_media_associations' => :'Array<CreateQueueMediaAssociationRequest>'
51
+ :'utterances' => :'Array<NluUtterance>'
53
52
 
54
53
  }
55
54
  end
@@ -72,19 +71,21 @@ module PureCloud
72
71
  end
73
72
 
74
73
 
75
- if attributes.has_key?(:'goals')
74
+ if attributes.has_key?(:'entityTypeBindings')
76
75
 
76
+ if (value = attributes[:'entityTypeBindings']).is_a?(Array)
77
+ self.entity_type_bindings = value
78
+ end
77
79
 
78
- self.goals = attributes[:'goals']
79
80
 
80
81
 
81
82
  end
82
83
 
83
84
 
84
- if attributes.has_key?(:'queueMediaAssociations')
85
+ if attributes.has_key?(:'utterances')
85
86
 
86
- if (value = attributes[:'queueMediaAssociations']).is_a?(Array)
87
- self.queue_media_associations = value
87
+ if (value = attributes[:'utterances']).is_a?(Array)
88
+ self.utterances = value
88
89
  end
89
90
 
90
91
 
@@ -117,10 +118,20 @@ module PureCloud
117
118
 
118
119
 
119
120
 
121
+ if @entity_type_bindings.nil?
122
+ return false
123
+ end
124
+
125
+
120
126
 
121
127
 
122
128
 
123
129
 
130
+ if @utterances.nil?
131
+ return false
132
+ end
133
+
134
+
124
135
 
125
136
 
126
137
 
@@ -148,8 +159,8 @@ module PureCloud
148
159
  return true if self.equal?(o)
149
160
  self.class == o.class &&
150
161
  name == o.name &&
151
- goals == o.goals &&
152
- queue_media_associations == o.queue_media_associations
162
+ entity_type_bindings == o.entity_type_bindings &&
163
+ utterances == o.utterances
153
164
  end
154
165
 
155
166
  # @see the `==` method
@@ -161,7 +172,7 @@ module PureCloud
161
172
  # Calculates hash code according to all attributes.
162
173
  # @return [Fixnum] Hash code
163
174
  def hash
164
- [name, goals, queue_media_associations].hash
175
+ [name, entity_type_bindings, utterances].hash
165
176
  end
166
177
 
167
178
  # build the object from hash
@@ -17,19 +17,30 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # A list of IntradayQueue objects
21
- class WfmIntradayQueueListing
20
+ class IntentFeedback
21
+ # The name of the detected intent.
22
+ attr_accessor :name
23
+
24
+ # The probability of the detected intent.
25
+ attr_accessor :probability
26
+
27
+ # The collection of named entities detected.
22
28
  attr_accessor :entities
23
29
 
24
- attr_accessor :no_data_reason
30
+ # The assessment on the detection for feedback text.
31
+ attr_accessor :assessment
25
32
 
26
33
  # Attribute mapping from ruby-style variable name to JSON key.
27
34
  def self.attribute_map
28
35
  {
29
36
 
37
+ :'name' => :'name',
38
+
39
+ :'probability' => :'probability',
40
+
30
41
  :'entities' => :'entities',
31
42
 
32
- :'no_data_reason' => :'noDataReason'
43
+ :'assessment' => :'assessment'
33
44
 
34
45
  }
35
46
  end
@@ -38,9 +49,13 @@ module PureCloud
38
49
  def self.swagger_types
39
50
  {
40
51
 
41
- :'entities' => :'Array<IntradayQueue>',
52
+ :'name' => :'String',
53
+
54
+ :'probability' => :'Float',
42
55
 
43
- :'no_data_reason' => :'String'
56
+ :'entities' => :'Array<DetectedNamedEntity>',
57
+
58
+ :'assessment' => :'String'
44
59
 
45
60
  }
46
61
  end
@@ -54,6 +69,24 @@ module PureCloud
54
69
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
55
70
 
56
71
 
72
+ if attributes.has_key?(:'name')
73
+
74
+
75
+ self.name = attributes[:'name']
76
+
77
+
78
+ end
79
+
80
+
81
+ if attributes.has_key?(:'probability')
82
+
83
+
84
+ self.probability = attributes[:'probability']
85
+
86
+
87
+ end
88
+
89
+
57
90
  if attributes.has_key?(:'entities')
58
91
 
59
92
  if (value = attributes[:'entities']).is_a?(Array)
@@ -65,10 +98,10 @@ module PureCloud
65
98
  end
66
99
 
67
100
 
68
- if attributes.has_key?(:'noDataReason')
101
+ if attributes.has_key?(:'assessment')
69
102
 
70
103
 
71
- self.no_data_reason = attributes[:'noDataReason']
104
+ self.assessment = attributes[:'assessment']
72
105
 
73
106
 
74
107
  end
@@ -95,8 +128,16 @@ module PureCloud
95
128
 
96
129
 
97
130
 
98
- allowed_values = ["NoWeekData", "NoPublishedSchedule", "NoSourceForecast"]
99
- if @no_data_reason && !allowed_values.include?(@no_data_reason)
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ allowed_values = ["Incorrect", "Correct", "Unknown"]
140
+ if @assessment && !allowed_values.include?(@assessment)
100
141
  return false
101
142
  end
102
143
 
@@ -111,14 +152,24 @@ module PureCloud
111
152
 
112
153
 
113
154
 
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
114
165
  # Custom attribute writer method checking allowed values (enum).
115
- # @param [Object] no_data_reason Object to be assigned
116
- def no_data_reason=(no_data_reason)
117
- allowed_values = ["NoWeekData", "NoPublishedSchedule", "NoSourceForecast"]
118
- if no_data_reason && !allowed_values.include?(no_data_reason)
119
- fail ArgumentError, "invalid value for 'no_data_reason', must be one of #{allowed_values}."
166
+ # @param [Object] assessment Object to be assigned
167
+ def assessment=(assessment)
168
+ allowed_values = ["Incorrect", "Correct", "Unknown"]
169
+ if assessment && !allowed_values.include?(assessment)
170
+ fail ArgumentError, "invalid value for 'assessment', must be one of #{allowed_values}."
120
171
  end
121
- @no_data_reason = no_data_reason
172
+ @assessment = assessment
122
173
  end
123
174
 
124
175
 
@@ -129,8 +180,10 @@ module PureCloud
129
180
  def ==(o)
130
181
  return true if self.equal?(o)
131
182
  self.class == o.class &&
183
+ name == o.name &&
184
+ probability == o.probability &&
132
185
  entities == o.entities &&
133
- no_data_reason == o.no_data_reason
186
+ assessment == o.assessment
134
187
  end
135
188
 
136
189
  # @see the `==` method
@@ -142,7 +195,7 @@ module PureCloud
142
195
  # Calculates hash code according to all attributes.
143
196
  # @return [Fixnum] Hash code
144
197
  def hash
145
- [entities, no_data_reason].hash
198
+ [name, probability, entities, assessment].hash
146
199
  end
147
200
 
148
201
  # build the object from hash
@@ -17,26 +17,20 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # Goals defined for the service goal group
21
- class ServiceGoalGroupGoals
22
- # Service level targets for this service goal group
23
- attr_accessor :service_level
20
+ class ItemValidationLimits
21
+ # A structure denoting the system-imposed minimum string length (for text-based core types) or numeric values (for number-based) core types. For example, the validationLimits for a text-based core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schemaauthor on a text field. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field.
22
+ attr_accessor :min_length
24
23
 
25
- # Average speed of answer targets for this service goal group
26
- attr_accessor :average_speed_of_answer
27
-
28
- # Abandon rate targets for this service goal group
29
- attr_accessor :abandon_rate
24
+ # A structure denoting the system-imposed minimum and maximum string length (for text-based core types) or numeric values (for number-based) core types. For example, the validationLimits for a text-based core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schemaauthor on a text field. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field.
25
+ attr_accessor :max_length
30
26
 
31
27
  # Attribute mapping from ruby-style variable name to JSON key.
32
28
  def self.attribute_map
33
29
  {
34
30
 
35
- :'service_level' => :'serviceLevel',
36
-
37
- :'average_speed_of_answer' => :'averageSpeedOfAnswer',
31
+ :'min_length' => :'minLength',
38
32
 
39
- :'abandon_rate' => :'abandonRate'
33
+ :'max_length' => :'maxLength'
40
34
 
41
35
  }
42
36
  end
@@ -45,11 +39,9 @@ module PureCloud
45
39
  def self.swagger_types
46
40
  {
47
41
 
48
- :'service_level' => :'WfmServiceLevel',
49
-
50
- :'average_speed_of_answer' => :'WfmAverageSpeedOfAnswer',
42
+ :'min_length' => :'MinLength',
51
43
 
52
- :'abandon_rate' => :'WfmAbandonRate'
44
+ :'max_length' => :'MaxLength'
53
45
 
54
46
  }
55
47
  end
@@ -63,28 +55,19 @@ module PureCloud
63
55
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
64
56
 
65
57
 
66
- if attributes.has_key?(:'serviceLevel')
67
-
68
-
69
- self.service_level = attributes[:'serviceLevel']
70
-
71
-
72
- end
73
-
74
-
75
- if attributes.has_key?(:'averageSpeedOfAnswer')
58
+ if attributes.has_key?(:'minLength')
76
59
 
77
60
 
78
- self.average_speed_of_answer = attributes[:'averageSpeedOfAnswer']
61
+ self.min_length = attributes[:'minLength']
79
62
 
80
63
 
81
64
  end
82
65
 
83
66
 
84
- if attributes.has_key?(:'abandonRate')
67
+ if attributes.has_key?(:'maxLength')
85
68
 
86
69
 
87
- self.abandon_rate = attributes[:'abandonRate']
70
+ self.max_length = attributes[:'maxLength']
88
71
 
89
72
 
90
73
  end
@@ -106,7 +89,7 @@ module PureCloud
106
89
  def valid?
107
90
 
108
91
 
109
- if @service_level.nil?
92
+ if @min_length.nil?
110
93
  return false
111
94
  end
112
95
 
@@ -115,7 +98,7 @@ module PureCloud
115
98
 
116
99
 
117
100
 
118
- if @average_speed_of_answer.nil?
101
+ if @max_length.nil?
119
102
  return false
120
103
  end
121
104
 
@@ -123,10 +106,6 @@ module PureCloud
123
106
 
124
107
 
125
108
 
126
-
127
-
128
-
129
-
130
109
  end
131
110
 
132
111
 
@@ -140,19 +119,13 @@ module PureCloud
140
119
 
141
120
 
142
121
 
143
-
144
-
145
-
146
-
147
-
148
122
  # Checks equality by comparing each attribute.
149
123
  # @param [Object] Object to be compared
150
124
  def ==(o)
151
125
  return true if self.equal?(o)
152
126
  self.class == o.class &&
153
- service_level == o.service_level &&
154
- average_speed_of_answer == o.average_speed_of_answer &&
155
- abandon_rate == o.abandon_rate
127
+ min_length == o.min_length &&
128
+ max_length == o.max_length
156
129
  end
157
130
 
158
131
  # @see the `==` method
@@ -164,7 +137,7 @@ module PureCloud
164
137
  # Calculates hash code according to all attributes.
165
138
  # @return [Fixnum] Hash code
166
139
  def hash
167
- [service_level, average_speed_of_answer, abandon_rate].hash
140
+ [min_length, max_length].hash
168
141
  end
169
142
 
170
143
  # build the object from hash