purecloud 0.59.1 → 0.60.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AggregationQuery.html.md +1 -1
- data/doc_out/AlertingApi.html.md +1106 -92
- data/doc_out/Annotation.html.md +14 -4
- data/doc_out/AttemptLimitsEntityListing.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/CobrowseConversationEntityListing.html.md +2 -2
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ContactSort.html.md +1 -1
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/Edge.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/HeartBeatAlert.html.md +1 -1
- data/doc_out/HeartBeatAlertContainer.html.md +2 -2
- data/doc_out/HeartBeatRule.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +2 -2
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlert.html.md +1 -1
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRule.html.md +1 -1
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LocalEncryptionConfigurationListing.html.md +2 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/OAuthClient.html.md +2 -2
- data/doc_out/OAuthClientEntityListing.html.md +3 -3
- data/doc_out/OAuthClientListing.html.md +20 -0
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecording.html.md +1 -0
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OrphanUpdateRequest.html.md +15 -0
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/QualityApi.html.md +5 -1
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/QueueMemberEntityListing.html.md +2 -2
- data/doc_out/RecordingApi.html.md +132 -4
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RoutingStatusAlert.html.md +23 -0
- data/doc_out/RoutingStatusAlertContainer.html.md +22 -0
- data/doc_out/RoutingStatusRule.html.md +22 -0
- data/doc_out/RoutingStatusRuleContainer.html.md +22 -0
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScreenRecordingSessionListing.html.md +2 -2
- data/doc_out/ScriptEntityListing.html.md +2 -2
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/StreetAddress.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +21 -17
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkBaseEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserPresenceAlert.html.md +25 -0
- data/doc_out/UserPresenceAlertContainer.html.md +22 -0
- data/doc_out/UserPresenceRule.html.md +23 -0
- data/doc_out/{UsersEntityListing.html.md → UserPresenceRuleContainer.html.md} +5 -5
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +2 -2
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +10 -1
- data/lib/purecloud/api/alerting_api.rb +1070 -49
- data/lib/purecloud/api/quality_api.rb +6 -0
- data/lib/purecloud/api/recording_api.rb +140 -2
- data/lib/purecloud/api/telephony_providers_edge_api.rb +13 -10
- data/lib/purecloud/api/users_api.rb +3 -3
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/aggregation_query.rb +1 -1
- data/lib/purecloud/models/annotation.rb +115 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +17 -17
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_sort.rb +1 -0
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/edge.rb +2 -1
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_search_criteria.rb +1 -1
- data/lib/purecloud/models/heart_beat_alert.rb +1 -1
- data/lib/purecloud/models/heart_beat_alert_container.rb +17 -17
- data/lib/purecloud/models/heart_beat_rule.rb +1 -1
- data/lib/purecloud/models/heart_beat_rule_container.rb +17 -17
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert.rb +1 -1
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule.rb +1 -1
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/local_encryption_configuration_listing.rb +17 -17
- data/lib/purecloud/models/location_search_criteria.rb +1 -1
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +18 -18
- data/lib/purecloud/models/o_auth_client_listing.rb +246 -0
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording.rb +21 -1
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/orphan_update_request.rb +188 -0
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/queue_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/routing_status_alert.rb +289 -0
- data/lib/purecloud/models/routing_status_alert_container.rb +257 -0
- data/lib/purecloud/models/routing_status_rule.rb +282 -0
- data/lib/purecloud/models/routing_status_rule_container.rb +257 -0
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/screen_recording_session_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/street_address.rb +2 -0
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_presence_alert.rb +310 -0
- data/lib/purecloud/models/user_presence_alert_container.rb +257 -0
- data/lib/purecloud/models/user_presence_rule.rb +293 -0
- data/lib/purecloud/models/{users_entity_listing.rb → user_presence_rule_container.rb} +19 -19
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_schedule_adherence.rb +3 -3
- data/lib/purecloud/models/user_search_criteria.rb +1 -1
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +22 -4
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
+
:'first_uri' => :'firstUri',
|
54
|
+
|
53
55
|
:'self_uri' => :'selfUri',
|
54
56
|
|
55
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
56
58
|
|
57
59
|
:'next_uri' => :'nextUri',
|
58
60
|
|
59
61
|
:'last_uri' => :'lastUri',
|
60
62
|
|
61
|
-
:'previous_uri' => :'previousUri',
|
62
|
-
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
|
+
:'previous_uri' => :'String',
|
77
78
|
:'next_uri' => :'String',
|
78
79
|
:'last_uri' => :'String',
|
79
|
-
:'previous_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,12 +107,16 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
+
if attributes[:'firstUri']
|
111
|
+
self.first_uri = attributes[:'firstUri']
|
112
|
+
end
|
113
|
+
|
110
114
|
if attributes[:'selfUri']
|
111
115
|
self.self_uri = attributes[:'selfUri']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes[:'
|
115
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
116
120
|
end
|
117
121
|
|
118
122
|
if attributes[:'nextUri']
|
@@ -123,10 +127,6 @@ module PureCloud
|
|
123
127
|
self.last_uri = attributes[:'lastUri']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes[:'previousUri']
|
127
|
-
self.previous_uri = attributes[:'previousUri']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
|
+
previous_uri == o.previous_uri &&
|
146
147
|
next_uri == o.next_uri &&
|
147
148
|
last_uri == o.last_uri &&
|
148
|
-
previous_uri == o.previous_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -184,7 +184,7 @@ module PureCloud
|
|
184
184
|
|
185
185
|
# Custom attribute writer method checking allowed values (enum).
|
186
186
|
def scheduled_activity_category=(scheduled_activity_category)
|
187
|
-
allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"
|
187
|
+
allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
|
188
188
|
if scheduled_activity_category && !allowed_values.include?(scheduled_activity_category)
|
189
189
|
fail "invalid value for 'scheduled_activity_category', must be one of #{allowed_values}"
|
190
190
|
end
|
@@ -193,7 +193,7 @@ module PureCloud
|
|
193
193
|
|
194
194
|
# Custom attribute writer method checking allowed values (enum).
|
195
195
|
def system_presence=(system_presence)
|
196
|
-
allowed_values = ["Available", "Away", "Busy", "Offline", "Idle", "OnQueue", "Meal", "Training", "Meeting", "Break"
|
196
|
+
allowed_values = ["Available", "Away", "Busy", "Offline", "Idle", "OnQueue", "Meal", "Training", "Meeting", "Break"]
|
197
197
|
if system_presence && !allowed_values.include?(system_presence)
|
198
198
|
fail "invalid value for 'system_presence', must be one of #{allowed_values}"
|
199
199
|
end
|
@@ -211,7 +211,7 @@ module PureCloud
|
|
211
211
|
|
212
212
|
# Custom attribute writer method checking allowed values (enum).
|
213
213
|
def actual_activity_category=(actual_activity_category)
|
214
|
-
allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"
|
214
|
+
allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
|
215
215
|
if actual_activity_category && !allowed_values.include?(actual_activity_category)
|
216
216
|
fail "invalid value for 'actual_activity_category', must be one of #{allowed_values}"
|
217
217
|
end
|
@@ -138,7 +138,7 @@ module PureCloud
|
|
138
138
|
|
139
139
|
# Custom attribute writer method checking allowed values (enum).
|
140
140
|
def type=(type)
|
141
|
-
allowed_values = ["EXACT", "STARTS_WITH", "CONTAINS", "REGEX", "TERM", "TERMS", "REQUIRED_FIELDS"]
|
141
|
+
allowed_values = ["EXACT", "STARTS_WITH", "CONTAINS", "REGEX", "TERM", "TERMS", "REQUIRED_FIELDS", "MATCH_ALL"]
|
142
142
|
if type && !allowed_values.include?(type)
|
143
143
|
fail "invalid value for 'type', must be one of #{allowed_values}"
|
144
144
|
end
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
+
:'first_uri' => :'firstUri',
|
54
|
+
|
53
55
|
:'self_uri' => :'selfUri',
|
54
56
|
|
55
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
56
58
|
|
57
59
|
:'next_uri' => :'nextUri',
|
58
60
|
|
59
61
|
:'last_uri' => :'lastUri',
|
60
62
|
|
61
|
-
:'previous_uri' => :'previousUri',
|
62
|
-
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
|
+
:'previous_uri' => :'String',
|
77
78
|
:'next_uri' => :'String',
|
78
79
|
:'last_uri' => :'String',
|
79
|
-
:'previous_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,12 +107,16 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
+
if attributes[:'firstUri']
|
111
|
+
self.first_uri = attributes[:'firstUri']
|
112
|
+
end
|
113
|
+
|
110
114
|
if attributes[:'selfUri']
|
111
115
|
self.self_uri = attributes[:'selfUri']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes[:'
|
115
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
116
120
|
end
|
117
121
|
|
118
122
|
if attributes[:'nextUri']
|
@@ -123,10 +127,6 @@ module PureCloud
|
|
123
127
|
self.last_uri = attributes[:'lastUri']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes[:'previousUri']
|
127
|
-
self.previous_uri = attributes[:'previousUri']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
|
+
previous_uri == o.previous_uri &&
|
146
147
|
next_uri == o.next_uri &&
|
147
148
|
last_uri == o.last_uri &&
|
148
|
-
previous_uri == o.previous_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
+
:'first_uri' => :'firstUri',
|
54
|
+
|
53
55
|
:'self_uri' => :'selfUri',
|
54
56
|
|
55
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
56
58
|
|
57
59
|
:'next_uri' => :'nextUri',
|
58
60
|
|
59
61
|
:'last_uri' => :'lastUri',
|
60
62
|
|
61
|
-
:'previous_uri' => :'previousUri',
|
62
|
-
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
|
+
:'previous_uri' => :'String',
|
77
78
|
:'next_uri' => :'String',
|
78
79
|
:'last_uri' => :'String',
|
79
|
-
:'previous_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,12 +107,16 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
+
if attributes[:'firstUri']
|
111
|
+
self.first_uri = attributes[:'firstUri']
|
112
|
+
end
|
113
|
+
|
110
114
|
if attributes[:'selfUri']
|
111
115
|
self.self_uri = attributes[:'selfUri']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes[:'
|
115
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
116
120
|
end
|
117
121
|
|
118
122
|
if attributes[:'nextUri']
|
@@ -123,10 +127,6 @@ module PureCloud
|
|
123
127
|
self.last_uri = attributes[:'lastUri']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes[:'previousUri']
|
127
|
-
self.previous_uri = attributes[:'previousUri']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
|
+
previous_uri == o.previous_uri &&
|
146
147
|
next_uri == o.next_uri &&
|
147
148
|
last_uri == o.last_uri &&
|
148
|
-
previous_uri == o.previous_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_uri
|
38
|
-
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
+
:'first_uri' => :'firstUri',
|
54
|
+
|
53
55
|
:'self_uri' => :'selfUri',
|
54
56
|
|
55
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
56
58
|
|
57
59
|
:'next_uri' => :'nextUri',
|
58
60
|
|
59
61
|
:'last_uri' => :'lastUri',
|
60
62
|
|
61
|
-
:'previous_uri' => :'previousUri',
|
62
|
-
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
|
+
:'previous_uri' => :'String',
|
77
78
|
:'next_uri' => :'String',
|
78
79
|
:'last_uri' => :'String',
|
79
|
-
:'previous_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,12 +107,16 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
+
if attributes[:'firstUri']
|
111
|
+
self.first_uri = attributes[:'firstUri']
|
112
|
+
end
|
113
|
+
|
110
114
|
if attributes[:'selfUri']
|
111
115
|
self.self_uri = attributes[:'selfUri']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes[:'
|
115
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
116
120
|
end
|
117
121
|
|
118
122
|
if attributes[:'nextUri']
|
@@ -123,10 +127,6 @@ module PureCloud
|
|
123
127
|
self.last_uri = attributes[:'lastUri']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes[:'previousUri']
|
127
|
-
self.previous_uri = attributes[:'previousUri']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
|
+
previous_uri == o.previous_uri &&
|
146
147
|
next_uri == o.next_uri &&
|
147
148
|
last_uri == o.last_uri &&
|
148
|
-
previous_uri == o.previous_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|