purecloudplatformclientv2 44.0.0 → 45.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/ADFS.md +1 -1
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/AnalyticsSurvey.md +2 -1
- data/docs/ArchitectApi.md +52 -127
- data/docs/ContactListDivisionView.md +20 -0
- data/docs/ContactListDivisionViewListing.md +22 -0
- data/docs/ContactListNotification.md +1 -0
- data/docs/ConversationQuery.md +1 -1
- data/docs/CreateOutboundMessagingConversationRequest.md +1 -1
- data/docs/CreateWorkPlan.md +2 -0
- data/docs/CustomerInteractionCenter.md +1 -1
- data/docs/DataExportNotificationNotification.md +1 -0
- data/docs/DncListNotification.md +1 -0
- data/docs/DncListNotificationUriReference.md +14 -0
- data/docs/GSuite.md +1 -1
- data/docs/HelpLink.md +15 -0
- data/docs/IdentityNow.md +1 -1
- data/docs/IntegrationType.md +8 -0
- data/docs/IntradayDataUpdateNotification.md +2 -2
- data/docs/Okta.md +1 -1
- data/docs/OneLogin.md +1 -1
- data/docs/OutboundApi.md +152 -0
- data/docs/PingIdentity.md +1 -1
- data/docs/QualityApi.md +66 -0
- data/docs/ReportingExportJobResponse.md +1 -0
- data/docs/RoutingApi.md +74 -0
- data/docs/Salesforce.md +1 -1
- data/docs/UserScheduleAdherenceUpdateNotification.md +2 -2
- data/docs/WfmAgentScheduleUpdateNotificationNotification.md +18 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationActivities.md +18 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationFullDayTimeOffMarkers.md +19 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationShifts.md +15 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationUpdates.md +14 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationUserReference.md +13 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmAgentScheduleUpdate.md +14 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmFullDayTimeOffMarker.md +19 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmScheduleActivity.md +18 -0
- data/docs/WfmAgentScheduleUpdateNotificationNotificationWfmScheduleShift.md +15 -0
- data/docs/WfmScheduleNotificationNotification.md +1 -0
- data/docs/WorkPlan.md +2 -0
- data/docs/WorkPlanListItemResponse.md +16 -5
- data/docs/WorkforceManagementApi.md +2 -2
- data/lib/purecloudplatformclientv2.rb +14 -3
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +230 -0
- data/lib/purecloudplatformclientv2/api/quality_api.rb +66 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +100 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -7
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
- data/lib/purecloudplatformclientv2/models/analytics_survey.rb +34 -8
- data/lib/purecloudplatformclientv2/models/contact_list_division_view.rb +397 -0
- data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/contact_list_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan.rb +53 -1
- data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
- data/lib/purecloudplatformclientv2/models/data_export_notification_notification.rb +31 -6
- data/lib/purecloudplatformclientv2/models/dnc_list_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/dnc_list_notification_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/document_audit.rb +2 -2
- data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{intraday_data_update_notification_date_time.rb → help_link.rb} +24 -45
- data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
- data/lib/purecloudplatformclientv2/models/integration_type.rb +211 -1
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_details.rb +2 -2
- data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
- data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +34 -3
- data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification.rb +332 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_activities.rb +326 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_full_day_time_off_markers.rb +351 -0
- data/lib/purecloudplatformclientv2/models/{intraday_data_update_notification_start_date.rb → wfm_agent_schedule_update_notification_notification_shifts.rb} +22 -45
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_updates.rb +242 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_wfm_agent_schedule_update.rb +242 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_wfm_full_day_time_off_marker.rb +351 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent_schedule_update_notification_notification_wfm_schedule_activity.rb +326 -0
- data/lib/purecloudplatformclientv2/models/{user_schedule_adherence_update_notification_date_time.rb → wfm_agent_schedule_update_notification_notification_wfm_schedule_shift.rb} +22 -45
- data/lib/purecloudplatformclientv2/models/wfm_schedule_notification_notification.rb +28 -3
- data/lib/purecloudplatformclientv2/models/work_plan.rb +53 -1
- data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +313 -18
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +30 -8
- data/docs/IntradayDataUpdateNotificationDateTime.md +0 -16
- data/docs/IntradayDataUpdateNotificationStartDate.md +0 -16
- data/docs/UserScheduleAdherenceUpdateNotificationDateTime.md +0 -16
|
@@ -24,6 +24,8 @@ module PureCloud
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :download_url
|
|
26
26
|
|
|
27
|
+
attr_accessor :percent_complete
|
|
28
|
+
|
|
27
29
|
attr_accessor :event_type
|
|
28
30
|
|
|
29
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,6 +38,8 @@ module PureCloud
|
|
|
36
38
|
|
|
37
39
|
:'download_url' => :'downloadUrl',
|
|
38
40
|
|
|
41
|
+
:'percent_complete' => :'percentComplete',
|
|
42
|
+
|
|
39
43
|
:'event_type' => :'eventType'
|
|
40
44
|
|
|
41
45
|
}
|
|
@@ -51,6 +55,8 @@ module PureCloud
|
|
|
51
55
|
|
|
52
56
|
:'download_url' => :'String',
|
|
53
57
|
|
|
58
|
+
:'percent_complete' => :'Integer',
|
|
59
|
+
|
|
54
60
|
:'event_type' => :'String'
|
|
55
61
|
|
|
56
62
|
}
|
|
@@ -92,6 +98,15 @@ module PureCloud
|
|
|
92
98
|
end
|
|
93
99
|
|
|
94
100
|
|
|
101
|
+
if attributes.has_key?(:'percentComplete')
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
self.percent_complete = attributes[:'percentComplete']
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
|
|
95
110
|
if attributes.has_key?(:'eventType')
|
|
96
111
|
|
|
97
112
|
|
|
@@ -135,7 +150,11 @@ module PureCloud
|
|
|
135
150
|
|
|
136
151
|
|
|
137
152
|
|
|
138
|
-
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
allowed_values = ["Update", "Import", "Copy", "Generate", "Reschedule"]
|
|
139
158
|
if @event_type && !allowed_values.include?(@event_type)
|
|
140
159
|
return false
|
|
141
160
|
end
|
|
@@ -170,10 +189,15 @@ module PureCloud
|
|
|
170
189
|
|
|
171
190
|
|
|
172
191
|
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
173
197
|
# Custom attribute writer method checking allowed values (enum).
|
|
174
198
|
# @param [Object] event_type Object to be assigned
|
|
175
199
|
def event_type=(event_type)
|
|
176
|
-
allowed_values = ["Update", "Import", "Copy", "Generate"]
|
|
200
|
+
allowed_values = ["Update", "Import", "Copy", "Generate", "Reschedule"]
|
|
177
201
|
if event_type && !allowed_values.include?(event_type)
|
|
178
202
|
fail ArgumentError, "invalid value for 'event_type', must be one of #{allowed_values}."
|
|
179
203
|
end
|
|
@@ -191,6 +215,7 @@ module PureCloud
|
|
|
191
215
|
status == o.status &&
|
|
192
216
|
operation_id == o.operation_id &&
|
|
193
217
|
download_url == o.download_url &&
|
|
218
|
+
percent_complete == o.percent_complete &&
|
|
194
219
|
event_type == o.event_type
|
|
195
220
|
end
|
|
196
221
|
|
|
@@ -203,7 +228,7 @@ module PureCloud
|
|
|
203
228
|
# Calculates hash code according to all attributes.
|
|
204
229
|
# @return [Fixnum] Hash code
|
|
205
230
|
def hash
|
|
206
|
-
[status, operation_id, download_url, event_type].hash
|
|
231
|
+
[status, operation_id, download_url, percent_complete, event_type].hash
|
|
207
232
|
end
|
|
208
233
|
|
|
209
234
|
# build the object from hash
|
|
@@ -42,6 +42,12 @@ module PureCloud
|
|
|
42
42
|
# Maximum weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == true
|
|
43
43
|
attr_accessor :weekly_maximum_paid_minutes
|
|
44
44
|
|
|
45
|
+
# Whether paid time granularity is constrained for this workplan
|
|
46
|
+
attr_accessor :constrain_paid_time_granularity
|
|
47
|
+
|
|
48
|
+
# Granularity in minutes allowed for shift paid time in this work plan. Used if constrainPaidTimeGranularity == true
|
|
49
|
+
attr_accessor :paid_time_granularity_minutes
|
|
50
|
+
|
|
45
51
|
# Whether the minimum time between shifts constraint is enabled for this work plan
|
|
46
52
|
attr_accessor :constrain_minimum_time_between_shifts
|
|
47
53
|
|
|
@@ -89,6 +95,10 @@ module PureCloud
|
|
|
89
95
|
|
|
90
96
|
:'weekly_maximum_paid_minutes' => :'weeklyMaximumPaidMinutes',
|
|
91
97
|
|
|
98
|
+
:'constrain_paid_time_granularity' => :'constrainPaidTimeGranularity',
|
|
99
|
+
|
|
100
|
+
:'paid_time_granularity_minutes' => :'paidTimeGranularityMinutes',
|
|
101
|
+
|
|
92
102
|
:'constrain_minimum_time_between_shifts' => :'constrainMinimumTimeBetweenShifts',
|
|
93
103
|
|
|
94
104
|
:'minimum_time_between_shifts_minutes' => :'minimumTimeBetweenShiftsMinutes',
|
|
@@ -130,6 +140,10 @@ module PureCloud
|
|
|
130
140
|
|
|
131
141
|
:'weekly_maximum_paid_minutes' => :'Integer',
|
|
132
142
|
|
|
143
|
+
:'constrain_paid_time_granularity' => :'BOOLEAN',
|
|
144
|
+
|
|
145
|
+
:'paid_time_granularity_minutes' => :'Integer',
|
|
146
|
+
|
|
133
147
|
:'constrain_minimum_time_between_shifts' => :'BOOLEAN',
|
|
134
148
|
|
|
135
149
|
:'minimum_time_between_shifts_minutes' => :'Integer',
|
|
@@ -232,6 +246,24 @@ module PureCloud
|
|
|
232
246
|
end
|
|
233
247
|
|
|
234
248
|
|
|
249
|
+
if attributes.has_key?(:'constrainPaidTimeGranularity')
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
self.constrain_paid_time_granularity = attributes[:'constrainPaidTimeGranularity']
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
if attributes.has_key?(:'paidTimeGranularityMinutes')
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
self.paid_time_granularity_minutes = attributes[:'paidTimeGranularityMinutes']
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
|
|
235
267
|
if attributes.has_key?(:'constrainMinimumTimeBetweenShifts')
|
|
236
268
|
|
|
237
269
|
|
|
@@ -384,6 +416,14 @@ module PureCloud
|
|
|
384
416
|
|
|
385
417
|
|
|
386
418
|
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
387
427
|
|
|
388
428
|
|
|
389
429
|
|
|
@@ -482,6 +522,16 @@ module PureCloud
|
|
|
482
522
|
|
|
483
523
|
|
|
484
524
|
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
485
535
|
|
|
486
536
|
|
|
487
537
|
|
|
@@ -506,6 +556,8 @@ module PureCloud
|
|
|
506
556
|
weekly_exact_paid_minutes == o.weekly_exact_paid_minutes &&
|
|
507
557
|
weekly_minimum_paid_minutes == o.weekly_minimum_paid_minutes &&
|
|
508
558
|
weekly_maximum_paid_minutes == o.weekly_maximum_paid_minutes &&
|
|
559
|
+
constrain_paid_time_granularity == o.constrain_paid_time_granularity &&
|
|
560
|
+
paid_time_granularity_minutes == o.paid_time_granularity_minutes &&
|
|
509
561
|
constrain_minimum_time_between_shifts == o.constrain_minimum_time_between_shifts &&
|
|
510
562
|
minimum_time_between_shifts_minutes == o.minimum_time_between_shifts_minutes &&
|
|
511
563
|
maximum_days == o.maximum_days &&
|
|
@@ -526,7 +578,7 @@ module PureCloud
|
|
|
526
578
|
# Calculates hash code according to all attributes.
|
|
527
579
|
# @return [Fixnum] Hash code
|
|
528
580
|
def hash
|
|
529
|
-
[id, name, enabled, constrain_weekly_paid_time, flexible_weekly_paid_time, weekly_exact_paid_minutes, weekly_minimum_paid_minutes, weekly_maximum_paid_minutes, constrain_minimum_time_between_shifts, minimum_time_between_shifts_minutes, maximum_days, optional_days, shift_start_variances, shifts, agents, metadata, self_uri].hash
|
|
581
|
+
[id, name, enabled, constrain_weekly_paid_time, flexible_weekly_paid_time, weekly_exact_paid_minutes, weekly_minimum_paid_minutes, weekly_maximum_paid_minutes, constrain_paid_time_granularity, paid_time_granularity_minutes, constrain_minimum_time_between_shifts, minimum_time_between_shifts_minutes, maximum_days, optional_days, shift_start_variances, shifts, agents, metadata, self_uri].hash
|
|
530
582
|
end
|
|
531
583
|
|
|
532
584
|
# build the object from hash
|
|
@@ -24,24 +24,57 @@ module PureCloud
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
27
|
+
# Whether the work plan is enabled for scheduling
|
|
28
|
+
attr_accessor :enabled
|
|
29
|
+
|
|
30
|
+
# Whether the weekly paid time constraint is enabled for this work plan
|
|
31
|
+
attr_accessor :constrain_weekly_paid_time
|
|
29
32
|
|
|
30
|
-
#
|
|
33
|
+
# Whether the weekly paid time constraint is flexible for this work plan
|
|
34
|
+
attr_accessor :flexible_weekly_paid_time
|
|
35
|
+
|
|
36
|
+
# Exact weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == false
|
|
37
|
+
attr_accessor :weekly_exact_paid_minutes
|
|
38
|
+
|
|
39
|
+
# Minimum weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == true
|
|
31
40
|
attr_accessor :weekly_minimum_paid_minutes
|
|
32
41
|
|
|
33
|
-
# Maximum weekly paid time in minutes
|
|
42
|
+
# Maximum weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == true
|
|
34
43
|
attr_accessor :weekly_maximum_paid_minutes
|
|
35
44
|
|
|
36
|
-
#
|
|
45
|
+
# Whether paid time granularity is constrained for this workplan
|
|
46
|
+
attr_accessor :constrain_paid_time_granularity
|
|
47
|
+
|
|
48
|
+
# Granularity in minutes allowed for shift paid time in this work plan. Used if constrainPaidTimeGranularity == true
|
|
49
|
+
attr_accessor :paid_time_granularity_minutes
|
|
50
|
+
|
|
51
|
+
# Whether the minimum time between shifts constraint is enabled for this work plan
|
|
52
|
+
attr_accessor :constrain_minimum_time_between_shifts
|
|
53
|
+
|
|
54
|
+
# Minimum time between shifts in minutes defined in this work plan. Used if constrainMinimumTimeBetweenShifts == true
|
|
55
|
+
attr_accessor :minimum_time_between_shifts_minutes
|
|
56
|
+
|
|
57
|
+
# Maximum number days in a week allowed to be scheduled for this work plan
|
|
37
58
|
attr_accessor :maximum_days
|
|
38
59
|
|
|
39
|
-
#
|
|
40
|
-
attr_accessor :
|
|
60
|
+
# Optional days to schedule for this work plan. Populate with expand=details
|
|
61
|
+
attr_accessor :optional_days
|
|
62
|
+
|
|
63
|
+
# Variance in minutes among start times of shifts in this work plan. Populate with expand=details
|
|
64
|
+
attr_accessor :shift_start_variances
|
|
65
|
+
|
|
66
|
+
# Shifts in this work plan. Populate with expand=details (defaults to empty list)
|
|
67
|
+
attr_accessor :shifts
|
|
68
|
+
|
|
69
|
+
# Agents in this work plan. Populate with expand=details (defaults to empty list)
|
|
70
|
+
attr_accessor :agents
|
|
41
71
|
|
|
42
72
|
# Version metadata for this work plan
|
|
43
73
|
attr_accessor :metadata
|
|
44
74
|
|
|
75
|
+
# Number of agents in this work plan. Populate with expand=agentCount
|
|
76
|
+
attr_accessor :agent_count
|
|
77
|
+
|
|
45
78
|
# The URI for this object
|
|
46
79
|
attr_accessor :self_uri
|
|
47
80
|
|
|
@@ -53,18 +86,40 @@ module PureCloud
|
|
|
53
86
|
|
|
54
87
|
:'name' => :'name',
|
|
55
88
|
|
|
56
|
-
:'
|
|
89
|
+
:'enabled' => :'enabled',
|
|
90
|
+
|
|
91
|
+
:'constrain_weekly_paid_time' => :'constrainWeeklyPaidTime',
|
|
92
|
+
|
|
93
|
+
:'flexible_weekly_paid_time' => :'flexibleWeeklyPaidTime',
|
|
94
|
+
|
|
95
|
+
:'weekly_exact_paid_minutes' => :'weeklyExactPaidMinutes',
|
|
57
96
|
|
|
58
97
|
:'weekly_minimum_paid_minutes' => :'weeklyMinimumPaidMinutes',
|
|
59
98
|
|
|
60
99
|
:'weekly_maximum_paid_minutes' => :'weeklyMaximumPaidMinutes',
|
|
61
100
|
|
|
101
|
+
:'constrain_paid_time_granularity' => :'constrainPaidTimeGranularity',
|
|
102
|
+
|
|
103
|
+
:'paid_time_granularity_minutes' => :'paidTimeGranularityMinutes',
|
|
104
|
+
|
|
105
|
+
:'constrain_minimum_time_between_shifts' => :'constrainMinimumTimeBetweenShifts',
|
|
106
|
+
|
|
107
|
+
:'minimum_time_between_shifts_minutes' => :'minimumTimeBetweenShiftsMinutes',
|
|
108
|
+
|
|
62
109
|
:'maximum_days' => :'maximumDays',
|
|
63
110
|
|
|
64
|
-
:'
|
|
111
|
+
:'optional_days' => :'optionalDays',
|
|
112
|
+
|
|
113
|
+
:'shift_start_variances' => :'shiftStartVariances',
|
|
114
|
+
|
|
115
|
+
:'shifts' => :'shifts',
|
|
116
|
+
|
|
117
|
+
:'agents' => :'agents',
|
|
65
118
|
|
|
66
119
|
:'metadata' => :'metadata',
|
|
67
120
|
|
|
121
|
+
:'agent_count' => :'agentCount',
|
|
122
|
+
|
|
68
123
|
:'self_uri' => :'selfUri'
|
|
69
124
|
|
|
70
125
|
}
|
|
@@ -78,18 +133,40 @@ module PureCloud
|
|
|
78
133
|
|
|
79
134
|
:'name' => :'String',
|
|
80
135
|
|
|
81
|
-
:'
|
|
136
|
+
:'enabled' => :'BOOLEAN',
|
|
137
|
+
|
|
138
|
+
:'constrain_weekly_paid_time' => :'BOOLEAN',
|
|
139
|
+
|
|
140
|
+
:'flexible_weekly_paid_time' => :'BOOLEAN',
|
|
141
|
+
|
|
142
|
+
:'weekly_exact_paid_minutes' => :'Integer',
|
|
82
143
|
|
|
83
144
|
:'weekly_minimum_paid_minutes' => :'Integer',
|
|
84
145
|
|
|
85
146
|
:'weekly_maximum_paid_minutes' => :'Integer',
|
|
86
147
|
|
|
148
|
+
:'constrain_paid_time_granularity' => :'BOOLEAN',
|
|
149
|
+
|
|
150
|
+
:'paid_time_granularity_minutes' => :'Integer',
|
|
151
|
+
|
|
152
|
+
:'constrain_minimum_time_between_shifts' => :'BOOLEAN',
|
|
153
|
+
|
|
154
|
+
:'minimum_time_between_shifts_minutes' => :'Integer',
|
|
155
|
+
|
|
87
156
|
:'maximum_days' => :'Integer',
|
|
88
157
|
|
|
89
|
-
:'
|
|
158
|
+
:'optional_days' => :'SetWrapperDayOfWeek',
|
|
159
|
+
|
|
160
|
+
:'shift_start_variances' => :'ListWrapperShiftStartVariance',
|
|
161
|
+
|
|
162
|
+
:'shifts' => :'Array<WorkPlanShift>',
|
|
163
|
+
|
|
164
|
+
:'agents' => :'Array<DeletableUserReference>',
|
|
90
165
|
|
|
91
166
|
:'metadata' => :'WfmVersionedEntityMetadata',
|
|
92
167
|
|
|
168
|
+
:'agent_count' => :'Integer',
|
|
169
|
+
|
|
93
170
|
:'self_uri' => :'String'
|
|
94
171
|
|
|
95
172
|
}
|
|
@@ -122,10 +199,37 @@ module PureCloud
|
|
|
122
199
|
end
|
|
123
200
|
|
|
124
201
|
|
|
125
|
-
if attributes.has_key?(:'
|
|
202
|
+
if attributes.has_key?(:'enabled')
|
|
126
203
|
|
|
127
204
|
|
|
128
|
-
self.
|
|
205
|
+
self.enabled = attributes[:'enabled']
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
if attributes.has_key?(:'constrainWeeklyPaidTime')
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
self.constrain_weekly_paid_time = attributes[:'constrainWeeklyPaidTime']
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
if attributes.has_key?(:'flexibleWeeklyPaidTime')
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
self.flexible_weekly_paid_time = attributes[:'flexibleWeeklyPaidTime']
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
if attributes.has_key?(:'weeklyExactPaidMinutes')
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
self.weekly_exact_paid_minutes = attributes[:'weeklyExactPaidMinutes']
|
|
129
233
|
|
|
130
234
|
|
|
131
235
|
end
|
|
@@ -149,6 +253,42 @@ module PureCloud
|
|
|
149
253
|
end
|
|
150
254
|
|
|
151
255
|
|
|
256
|
+
if attributes.has_key?(:'constrainPaidTimeGranularity')
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
self.constrain_paid_time_granularity = attributes[:'constrainPaidTimeGranularity']
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
if attributes.has_key?(:'paidTimeGranularityMinutes')
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
self.paid_time_granularity_minutes = attributes[:'paidTimeGranularityMinutes']
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
if attributes.has_key?(:'constrainMinimumTimeBetweenShifts')
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
self.constrain_minimum_time_between_shifts = attributes[:'constrainMinimumTimeBetweenShifts']
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
if attributes.has_key?(:'minimumTimeBetweenShiftsMinutes')
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
self.minimum_time_between_shifts_minutes = attributes[:'minimumTimeBetweenShiftsMinutes']
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
|
|
152
292
|
if attributes.has_key?(:'maximumDays')
|
|
153
293
|
|
|
154
294
|
|
|
@@ -158,10 +298,41 @@ module PureCloud
|
|
|
158
298
|
end
|
|
159
299
|
|
|
160
300
|
|
|
161
|
-
if attributes.has_key?(:'
|
|
301
|
+
if attributes.has_key?(:'optionalDays')
|
|
162
302
|
|
|
163
303
|
|
|
164
|
-
self.
|
|
304
|
+
self.optional_days = attributes[:'optionalDays']
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
if attributes.has_key?(:'shiftStartVariances')
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
self.shift_start_variances = attributes[:'shiftStartVariances']
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
if attributes.has_key?(:'shifts')
|
|
320
|
+
|
|
321
|
+
if (value = attributes[:'shifts']).is_a?(Array)
|
|
322
|
+
self.shifts = value
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
if attributes.has_key?(:'agents')
|
|
331
|
+
|
|
332
|
+
if (value = attributes[:'agents']).is_a?(Array)
|
|
333
|
+
self.agents = value
|
|
334
|
+
end
|
|
335
|
+
|
|
165
336
|
|
|
166
337
|
|
|
167
338
|
end
|
|
@@ -176,6 +347,15 @@ module PureCloud
|
|
|
176
347
|
end
|
|
177
348
|
|
|
178
349
|
|
|
350
|
+
if attributes.has_key?(:'agentCount')
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
self.agent_count = attributes[:'agentCount']
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
|
|
179
359
|
if attributes.has_key?(:'selfUri')
|
|
180
360
|
|
|
181
361
|
|
|
@@ -236,6 +416,55 @@ module PureCloud
|
|
|
236
416
|
|
|
237
417
|
|
|
238
418
|
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
if @metadata.nil?
|
|
453
|
+
return false
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
239
468
|
end
|
|
240
469
|
|
|
241
470
|
|
|
@@ -263,6 +492,61 @@ module PureCloud
|
|
|
263
492
|
|
|
264
493
|
|
|
265
494
|
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
266
550
|
|
|
267
551
|
|
|
268
552
|
|
|
@@ -291,12 +575,23 @@ module PureCloud
|
|
|
291
575
|
self.class == o.class &&
|
|
292
576
|
id == o.id &&
|
|
293
577
|
name == o.name &&
|
|
294
|
-
|
|
578
|
+
enabled == o.enabled &&
|
|
579
|
+
constrain_weekly_paid_time == o.constrain_weekly_paid_time &&
|
|
580
|
+
flexible_weekly_paid_time == o.flexible_weekly_paid_time &&
|
|
581
|
+
weekly_exact_paid_minutes == o.weekly_exact_paid_minutes &&
|
|
295
582
|
weekly_minimum_paid_minutes == o.weekly_minimum_paid_minutes &&
|
|
296
583
|
weekly_maximum_paid_minutes == o.weekly_maximum_paid_minutes &&
|
|
584
|
+
constrain_paid_time_granularity == o.constrain_paid_time_granularity &&
|
|
585
|
+
paid_time_granularity_minutes == o.paid_time_granularity_minutes &&
|
|
586
|
+
constrain_minimum_time_between_shifts == o.constrain_minimum_time_between_shifts &&
|
|
587
|
+
minimum_time_between_shifts_minutes == o.minimum_time_between_shifts_minutes &&
|
|
297
588
|
maximum_days == o.maximum_days &&
|
|
298
|
-
|
|
589
|
+
optional_days == o.optional_days &&
|
|
590
|
+
shift_start_variances == o.shift_start_variances &&
|
|
591
|
+
shifts == o.shifts &&
|
|
592
|
+
agents == o.agents &&
|
|
299
593
|
metadata == o.metadata &&
|
|
594
|
+
agent_count == o.agent_count &&
|
|
300
595
|
self_uri == o.self_uri
|
|
301
596
|
end
|
|
302
597
|
|
|
@@ -309,7 +604,7 @@ module PureCloud
|
|
|
309
604
|
# Calculates hash code according to all attributes.
|
|
310
605
|
# @return [Fixnum] Hash code
|
|
311
606
|
def hash
|
|
312
|
-
[id, name,
|
|
607
|
+
[id, name, enabled, constrain_weekly_paid_time, flexible_weekly_paid_time, weekly_exact_paid_minutes, weekly_minimum_paid_minutes, weekly_maximum_paid_minutes, constrain_paid_time_granularity, paid_time_granularity_minutes, constrain_minimum_time_between_shifts, minimum_time_between_shifts_minutes, maximum_days, optional_days, shift_start_variances, shifts, agents, metadata, agent_count, self_uri].hash
|
|
313
608
|
end
|
|
314
609
|
|
|
315
610
|
# build the object from hash
|