purecloudplatformclientv2 51.0.0 → 52.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/AnalyticsEvaluation.md +1 -1
- data/docs/ArchitectApi.md +2 -2
- data/docs/ArrayNode.md +5 -5
- data/docs/Campaign.md +1 -0
- data/docs/CertificateDetails.md +1 -1
- data/docs/ContactList.md +1 -0
- data/docs/DncList.md +1 -0
- data/docs/DncListCreate.md +1 -0
- data/docs/Document.md +1 -1
- data/docs/FaxDocument.md +1 -1
- data/docs/GroupsApi.md +2 -0
- data/docs/JourneyCustomer.md +1 -1
- data/docs/JourneyCustomerSession.md +1 -1
- data/docs/OutboundApi.md +66 -0
- data/docs/TelephonyProvidersEdgeApi.md +0 -339
- data/docs/UsersApi.md +2 -1
- data/lib/purecloudplatformclientv2.rb +0 -1
- data/lib/purecloudplatformclientv2/api/architect_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/groups_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +0 -360
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/array_node.rb +65 -65
- data/lib/purecloudplatformclientv2/models/campaign.rb +27 -1
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
- data/lib/purecloudplatformclientv2/models/contact_list.rb +27 -1
- data/lib/purecloudplatformclientv2/models/dnc_list.rb +27 -1
- data/lib/purecloudplatformclientv2/models/dnc_list_create.rb +27 -1
- data/lib/purecloudplatformclientv2/models/document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/journey_customer.rb +8 -8
- data/lib/purecloudplatformclientv2/models/journey_customer_session.rb +1 -1
- data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +2 -4
- data/docs/EndpointEntityListing.md +0 -22
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +0 -428
@@ -76,7 +76,7 @@ module PureCloud
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
77
77
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
79
|
-
header_params['purecloud-sdk'] = '
|
79
|
+
header_params['purecloud-sdk'] = '52.0.0'
|
80
80
|
query_params = opts[:query_params] || {}
|
81
81
|
form_params = opts[:form_params] || {}
|
82
82
|
|
@@ -103,7 +103,7 @@ module PureCloud
|
|
103
103
|
|
104
104
|
|
105
105
|
|
106
|
-
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
106
|
+
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "oFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
107
107
|
if @metric && !allowed_values.include?(@metric)
|
108
108
|
return false
|
109
109
|
end
|
@@ -125,7 +125,7 @@ module PureCloud
|
|
125
125
|
# Custom attribute writer method checking allowed values (enum).
|
126
126
|
# @param [Object] metric Object to be assigned
|
127
127
|
def metric=(metric)
|
128
|
-
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
128
|
+
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "oFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
129
129
|
if metric && !allowed_values.include?(metric)
|
130
130
|
fail ArgumentError, "invalid value for 'metric', must be one of #{allowed_values}."
|
131
131
|
end
|
@@ -45,10 +45,10 @@ module PureCloud
|
|
45
45
|
# The calibration id used for the purpose of training evaluators
|
46
46
|
attr_accessor :calibration_id
|
47
47
|
|
48
|
-
attr_accessor :o_total_score
|
49
|
-
|
50
48
|
attr_accessor :o_total_critical_score
|
51
49
|
|
50
|
+
attr_accessor :o_total_score
|
51
|
+
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
@@ -71,9 +71,9 @@ module PureCloud
|
|
71
71
|
|
72
72
|
:'calibration_id' => :'calibrationId',
|
73
73
|
|
74
|
-
:'
|
74
|
+
:'o_total_critical_score' => :'oTotalCriticalScore',
|
75
75
|
|
76
|
-
:'
|
76
|
+
:'o_total_score' => :'oTotalScore'
|
77
77
|
|
78
78
|
}
|
79
79
|
end
|
@@ -100,9 +100,9 @@ module PureCloud
|
|
100
100
|
|
101
101
|
:'calibration_id' => :'String',
|
102
102
|
|
103
|
-
:'
|
103
|
+
:'o_total_critical_score' => :'Integer',
|
104
104
|
|
105
|
-
:'
|
105
|
+
:'o_total_score' => :'Integer'
|
106
106
|
|
107
107
|
}
|
108
108
|
end
|
@@ -197,19 +197,19 @@ module PureCloud
|
|
197
197
|
end
|
198
198
|
|
199
199
|
|
200
|
-
if attributes.has_key?(:'
|
200
|
+
if attributes.has_key?(:'oTotalCriticalScore')
|
201
201
|
|
202
202
|
|
203
|
-
self.
|
203
|
+
self.o_total_critical_score = attributes[:'oTotalCriticalScore']
|
204
204
|
|
205
205
|
|
206
206
|
end
|
207
207
|
|
208
208
|
|
209
|
-
if attributes.has_key?(:'
|
209
|
+
if attributes.has_key?(:'oTotalScore')
|
210
210
|
|
211
211
|
|
212
|
-
self.
|
212
|
+
self.o_total_score = attributes[:'oTotalScore']
|
213
213
|
|
214
214
|
|
215
215
|
end
|
@@ -346,8 +346,8 @@ module PureCloud
|
|
346
346
|
context_id == o.context_id &&
|
347
347
|
form_name == o.form_name &&
|
348
348
|
calibration_id == o.calibration_id &&
|
349
|
-
|
350
|
-
|
349
|
+
o_total_critical_score == o.o_total_critical_score &&
|
350
|
+
o_total_score == o.o_total_score
|
351
351
|
end
|
352
352
|
|
353
353
|
# @see the `==` method
|
@@ -359,7 +359,7 @@ module PureCloud
|
|
359
359
|
# Calculates hash code according to all attributes.
|
360
360
|
# @return [Fixnum] Hash code
|
361
361
|
def hash
|
362
|
-
[evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id,
|
362
|
+
[evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, o_total_critical_score, o_total_score].hash
|
363
363
|
end
|
364
364
|
|
365
365
|
# build the object from hash
|
@@ -217,7 +217,7 @@ module PureCloud
|
|
217
217
|
|
218
218
|
|
219
219
|
|
220
|
-
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
220
|
+
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "oFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
221
221
|
if @metric && !allowed_values.include?(@metric)
|
222
222
|
return false
|
223
223
|
end
|
@@ -295,7 +295,7 @@ module PureCloud
|
|
295
295
|
# Custom attribute writer method checking allowed values (enum).
|
296
296
|
# @param [Object] metric Object to be assigned
|
297
297
|
def metric=(metric)
|
298
|
-
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
298
|
+
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "oFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
|
299
299
|
if metric && !allowed_values.include?(metric)
|
300
300
|
fail ArgumentError, "invalid value for 'metric', must be one of #{allowed_values}."
|
301
301
|
end
|
@@ -24,20 +24,12 @@ module PureCloud
|
|
24
24
|
|
25
25
|
attr_accessor :number
|
26
26
|
|
27
|
-
attr_accessor :float
|
28
|
-
|
29
27
|
attr_accessor :object
|
30
28
|
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
attr_accessor :container_node
|
34
|
-
|
35
|
-
attr_accessor :missing_node
|
29
|
+
attr_accessor :float
|
36
30
|
|
37
31
|
attr_accessor :floating_point_number
|
38
32
|
|
39
|
-
attr_accessor :pojo
|
40
|
-
|
41
33
|
attr_accessor :integral_number
|
42
34
|
|
43
35
|
attr_accessor :short
|
@@ -56,6 +48,14 @@ module PureCloud
|
|
56
48
|
|
57
49
|
attr_accessor :binary
|
58
50
|
|
51
|
+
attr_accessor :value_node
|
52
|
+
|
53
|
+
attr_accessor :container_node
|
54
|
+
|
55
|
+
attr_accessor :missing_node
|
56
|
+
|
57
|
+
attr_accessor :pojo
|
58
|
+
|
59
59
|
attr_accessor :array
|
60
60
|
|
61
61
|
attr_accessor :null
|
@@ -70,20 +70,12 @@ module PureCloud
|
|
70
70
|
|
71
71
|
:'number' => :'number',
|
72
72
|
|
73
|
-
:'float' => :'float',
|
74
|
-
|
75
73
|
:'object' => :'object',
|
76
74
|
|
77
|
-
:'
|
78
|
-
|
79
|
-
:'container_node' => :'containerNode',
|
80
|
-
|
81
|
-
:'missing_node' => :'missingNode',
|
75
|
+
:'float' => :'float',
|
82
76
|
|
83
77
|
:'floating_point_number' => :'floatingPointNumber',
|
84
78
|
|
85
|
-
:'pojo' => :'pojo',
|
86
|
-
|
87
79
|
:'integral_number' => :'integralNumber',
|
88
80
|
|
89
81
|
:'short' => :'short',
|
@@ -102,6 +94,14 @@ module PureCloud
|
|
102
94
|
|
103
95
|
:'binary' => :'binary',
|
104
96
|
|
97
|
+
:'value_node' => :'valueNode',
|
98
|
+
|
99
|
+
:'container_node' => :'containerNode',
|
100
|
+
|
101
|
+
:'missing_node' => :'missingNode',
|
102
|
+
|
103
|
+
:'pojo' => :'pojo',
|
104
|
+
|
105
105
|
:'array' => :'array',
|
106
106
|
|
107
107
|
:'null' => :'null'
|
@@ -119,20 +119,12 @@ module PureCloud
|
|
119
119
|
|
120
120
|
:'number' => :'BOOLEAN',
|
121
121
|
|
122
|
-
:'float' => :'BOOLEAN',
|
123
|
-
|
124
122
|
:'object' => :'BOOLEAN',
|
125
123
|
|
126
|
-
:'
|
127
|
-
|
128
|
-
:'container_node' => :'BOOLEAN',
|
129
|
-
|
130
|
-
:'missing_node' => :'BOOLEAN',
|
124
|
+
:'float' => :'BOOLEAN',
|
131
125
|
|
132
126
|
:'floating_point_number' => :'BOOLEAN',
|
133
127
|
|
134
|
-
:'pojo' => :'BOOLEAN',
|
135
|
-
|
136
128
|
:'integral_number' => :'BOOLEAN',
|
137
129
|
|
138
130
|
:'short' => :'BOOLEAN',
|
@@ -151,6 +143,14 @@ module PureCloud
|
|
151
143
|
|
152
144
|
:'binary' => :'BOOLEAN',
|
153
145
|
|
146
|
+
:'value_node' => :'BOOLEAN',
|
147
|
+
|
148
|
+
:'container_node' => :'BOOLEAN',
|
149
|
+
|
150
|
+
:'missing_node' => :'BOOLEAN',
|
151
|
+
|
152
|
+
:'pojo' => :'BOOLEAN',
|
153
|
+
|
154
154
|
:'array' => :'BOOLEAN',
|
155
155
|
|
156
156
|
:'null' => :'BOOLEAN'
|
@@ -194,145 +194,145 @@ module PureCloud
|
|
194
194
|
end
|
195
195
|
|
196
196
|
|
197
|
-
if attributes.has_key?(:'
|
197
|
+
if attributes.has_key?(:'object')
|
198
198
|
|
199
199
|
|
200
|
-
self.
|
200
|
+
self.object = attributes[:'object']
|
201
201
|
|
202
202
|
|
203
203
|
end
|
204
204
|
|
205
205
|
|
206
|
-
if attributes.has_key?(:'
|
206
|
+
if attributes.has_key?(:'float')
|
207
207
|
|
208
208
|
|
209
|
-
self.
|
209
|
+
self.float = attributes[:'float']
|
210
210
|
|
211
211
|
|
212
212
|
end
|
213
213
|
|
214
214
|
|
215
|
-
if attributes.has_key?(:'
|
215
|
+
if attributes.has_key?(:'floatingPointNumber')
|
216
216
|
|
217
217
|
|
218
|
-
self.
|
218
|
+
self.floating_point_number = attributes[:'floatingPointNumber']
|
219
219
|
|
220
220
|
|
221
221
|
end
|
222
222
|
|
223
223
|
|
224
|
-
if attributes.has_key?(:'
|
224
|
+
if attributes.has_key?(:'integralNumber')
|
225
225
|
|
226
226
|
|
227
|
-
self.
|
227
|
+
self.integral_number = attributes[:'integralNumber']
|
228
228
|
|
229
229
|
|
230
230
|
end
|
231
231
|
|
232
232
|
|
233
|
-
if attributes.has_key?(:'
|
233
|
+
if attributes.has_key?(:'short')
|
234
234
|
|
235
235
|
|
236
|
-
self.
|
236
|
+
self.short = attributes[:'short']
|
237
237
|
|
238
238
|
|
239
239
|
end
|
240
240
|
|
241
241
|
|
242
|
-
if attributes.has_key?(:'
|
242
|
+
if attributes.has_key?(:'int')
|
243
243
|
|
244
244
|
|
245
|
-
self.
|
245
|
+
self.int = attributes[:'int']
|
246
246
|
|
247
247
|
|
248
248
|
end
|
249
249
|
|
250
250
|
|
251
|
-
if attributes.has_key?(:'
|
251
|
+
if attributes.has_key?(:'long')
|
252
252
|
|
253
253
|
|
254
|
-
self.
|
254
|
+
self.long = attributes[:'long']
|
255
255
|
|
256
256
|
|
257
257
|
end
|
258
258
|
|
259
259
|
|
260
|
-
if attributes.has_key?(:'
|
260
|
+
if attributes.has_key?(:'double')
|
261
261
|
|
262
262
|
|
263
|
-
self.
|
263
|
+
self.double = attributes[:'double']
|
264
264
|
|
265
265
|
|
266
266
|
end
|
267
267
|
|
268
268
|
|
269
|
-
if attributes.has_key?(:'
|
269
|
+
if attributes.has_key?(:'bigDecimal')
|
270
270
|
|
271
271
|
|
272
|
-
self.
|
272
|
+
self.big_decimal = attributes[:'bigDecimal']
|
273
273
|
|
274
274
|
|
275
275
|
end
|
276
276
|
|
277
277
|
|
278
|
-
if attributes.has_key?(:'
|
278
|
+
if attributes.has_key?(:'bigInteger')
|
279
279
|
|
280
280
|
|
281
|
-
self.
|
281
|
+
self.big_integer = attributes[:'bigInteger']
|
282
282
|
|
283
283
|
|
284
284
|
end
|
285
285
|
|
286
286
|
|
287
|
-
if attributes.has_key?(:'
|
287
|
+
if attributes.has_key?(:'textual')
|
288
288
|
|
289
289
|
|
290
|
-
self.
|
290
|
+
self.textual = attributes[:'textual']
|
291
291
|
|
292
292
|
|
293
293
|
end
|
294
294
|
|
295
295
|
|
296
|
-
if attributes.has_key?(:'
|
296
|
+
if attributes.has_key?(:'binary')
|
297
297
|
|
298
298
|
|
299
|
-
self.
|
299
|
+
self.binary = attributes[:'binary']
|
300
300
|
|
301
301
|
|
302
302
|
end
|
303
303
|
|
304
304
|
|
305
|
-
if attributes.has_key?(:'
|
305
|
+
if attributes.has_key?(:'valueNode')
|
306
306
|
|
307
307
|
|
308
|
-
self.
|
308
|
+
self.value_node = attributes[:'valueNode']
|
309
309
|
|
310
310
|
|
311
311
|
end
|
312
312
|
|
313
313
|
|
314
|
-
if attributes.has_key?(:'
|
314
|
+
if attributes.has_key?(:'containerNode')
|
315
315
|
|
316
316
|
|
317
|
-
self.
|
317
|
+
self.container_node = attributes[:'containerNode']
|
318
318
|
|
319
319
|
|
320
320
|
end
|
321
321
|
|
322
322
|
|
323
|
-
if attributes.has_key?(:'
|
323
|
+
if attributes.has_key?(:'missingNode')
|
324
324
|
|
325
325
|
|
326
|
-
self.
|
326
|
+
self.missing_node = attributes[:'missingNode']
|
327
327
|
|
328
328
|
|
329
329
|
end
|
330
330
|
|
331
331
|
|
332
|
-
if attributes.has_key?(:'
|
332
|
+
if attributes.has_key?(:'pojo')
|
333
333
|
|
334
334
|
|
335
|
-
self.
|
335
|
+
self.pojo = attributes[:'pojo']
|
336
336
|
|
337
337
|
|
338
338
|
end
|
@@ -585,13 +585,9 @@ module PureCloud
|
|
585
585
|
node_type == o.node_type &&
|
586
586
|
boolean == o.boolean &&
|
587
587
|
number == o.number &&
|
588
|
-
float == o.float &&
|
589
588
|
object == o.object &&
|
590
|
-
|
591
|
-
container_node == o.container_node &&
|
592
|
-
missing_node == o.missing_node &&
|
589
|
+
float == o.float &&
|
593
590
|
floating_point_number == o.floating_point_number &&
|
594
|
-
pojo == o.pojo &&
|
595
591
|
integral_number == o.integral_number &&
|
596
592
|
short == o.short &&
|
597
593
|
int == o.int &&
|
@@ -601,6 +597,10 @@ module PureCloud
|
|
601
597
|
big_integer == o.big_integer &&
|
602
598
|
textual == o.textual &&
|
603
599
|
binary == o.binary &&
|
600
|
+
value_node == o.value_node &&
|
601
|
+
container_node == o.container_node &&
|
602
|
+
missing_node == o.missing_node &&
|
603
|
+
pojo == o.pojo &&
|
604
604
|
array == o.array &&
|
605
605
|
null == o.null
|
606
606
|
end
|
@@ -614,7 +614,7 @@ module PureCloud
|
|
614
614
|
# Calculates hash code according to all attributes.
|
615
615
|
# @return [Fixnum] Hash code
|
616
616
|
def hash
|
617
|
-
[node_type, boolean, number,
|
617
|
+
[node_type, boolean, number, object, float, floating_point_number, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, container_node, missing_node, pojo, array, null].hash
|
618
618
|
end
|
619
619
|
|
620
620
|
# build the object from hash
|
@@ -111,6 +111,9 @@ module PureCloud
|
|
111
111
|
# Filter to apply to the contact list before dialing. Currently a campaign can only have one filter applied.
|
112
112
|
attr_accessor :contact_list_filters
|
113
113
|
|
114
|
+
# The division this campaign belongs to.
|
115
|
+
attr_accessor :division
|
116
|
+
|
114
117
|
# The URI for this object
|
115
118
|
attr_accessor :self_uri
|
116
119
|
|
@@ -180,6 +183,8 @@ module PureCloud
|
|
180
183
|
|
181
184
|
:'contact_list_filters' => :'contactListFilters',
|
182
185
|
|
186
|
+
:'division' => :'division',
|
187
|
+
|
183
188
|
:'self_uri' => :'selfUri'
|
184
189
|
|
185
190
|
}
|
@@ -251,6 +256,8 @@ module PureCloud
|
|
251
256
|
|
252
257
|
:'contact_list_filters' => :'Array<UriReference>',
|
253
258
|
|
259
|
+
:'division' => :'UriReference',
|
260
|
+
|
254
261
|
:'self_uri' => :'String'
|
255
262
|
|
256
263
|
}
|
@@ -556,6 +563,15 @@ module PureCloud
|
|
556
563
|
end
|
557
564
|
|
558
565
|
|
566
|
+
if attributes.has_key?(:'division')
|
567
|
+
|
568
|
+
|
569
|
+
self.division = attributes[:'division']
|
570
|
+
|
571
|
+
|
572
|
+
end
|
573
|
+
|
574
|
+
|
559
575
|
if attributes.has_key?(:'selfUri')
|
560
576
|
|
561
577
|
|
@@ -743,6 +759,10 @@ module PureCloud
|
|
743
759
|
|
744
760
|
|
745
761
|
|
762
|
+
|
763
|
+
|
764
|
+
|
765
|
+
|
746
766
|
|
747
767
|
|
748
768
|
|
@@ -923,6 +943,11 @@ module PureCloud
|
|
923
943
|
|
924
944
|
|
925
945
|
|
946
|
+
|
947
|
+
|
948
|
+
|
949
|
+
|
950
|
+
|
926
951
|
|
927
952
|
|
928
953
|
|
@@ -965,6 +990,7 @@ module PureCloud
|
|
965
990
|
call_analysis_language == o.call_analysis_language &&
|
966
991
|
priority == o.priority &&
|
967
992
|
contact_list_filters == o.contact_list_filters &&
|
993
|
+
division == o.division &&
|
968
994
|
self_uri == o.self_uri
|
969
995
|
end
|
970
996
|
|
@@ -977,7 +1003,7 @@ module PureCloud
|
|
977
1003
|
# Calculates hash code according to all attributes.
|
978
1004
|
# @return [Fixnum] Hash code
|
979
1005
|
def hash
|
980
|
-
[id, name, date_created, date_modified, version, contact_list, queue, dialing_mode, script, edge_group, site, campaign_status, phone_columns, abandon_rate, dnc_lists, callable_time_set, call_analysis_response_set, errors, caller_name, caller_address, outbound_line_count, rule_sets, skip_preview_disabled, preview_time_out_seconds, always_running, contact_sort, contact_sorts, no_answer_timeout, call_analysis_language, priority, contact_list_filters, self_uri].hash
|
1006
|
+
[id, name, date_created, date_modified, version, contact_list, queue, dialing_mode, script, edge_group, site, campaign_status, phone_columns, abandon_rate, dnc_lists, callable_time_set, call_analysis_response_set, errors, caller_name, caller_address, outbound_line_count, rule_sets, skip_preview_disabled, preview_time_out_seconds, always_running, contact_sort, contact_sorts, no_answer_timeout, call_analysis_language, priority, contact_list_filters, division, self_uri].hash
|
981
1007
|
end
|
982
1008
|
|
983
1009
|
# build the object from hash
|