purecloudplatformclientv2 95.0.0 → 96.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/AnalyticsProposedAgent.md +14 -0
- data/docs/AnalyticsSession.md +2 -0
- data/docs/ArrayNode.md +4 -4
- data/docs/AuditApi.md +60 -0
- data/docs/BuAgentSchedulesQueryResponse.md +1 -0
- data/docs/CoachingApi.md +80 -2
- data/docs/CoachingAppointmentAggregateRequest.md +16 -0
- data/docs/CoachingAppointmentAggregateResponse.md +13 -0
- data/docs/CoachingAppointmentResponse.md +1 -0
- data/docs/ConversationMetrics.md +15 -0
- data/docs/ExternalOrganizationTrustorLink.md +1 -2
- data/docs/GenericSAML.md +1 -1
- data/docs/JsonNode.md +4 -4
- data/docs/OAuthClient.md +1 -0
- data/docs/OAuthClientListing.md +1 -0
- data/docs/OAuthClientRequest.md +1 -0
- data/docs/OrgOAuthClient.md +1 -0
- data/docs/Permissions.md +0 -2
- data/docs/QueryRequestClause.md +14 -0
- data/docs/QueryRequestFilter.md +14 -0
- data/docs/QueryRequestPredicate.md +14 -0
- data/docs/QueryResponseData.md +14 -0
- data/docs/QueryResponseGroupedData.md +14 -0
- data/docs/QueryResponseMetric.md +14 -0
- data/docs/QueryResponseStats.md +13 -0
- data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
- data/docs/ReportingExportJobResponse.md +1 -0
- data/docs/RoutingApi.md +1 -1
- data/docs/SearchApi.md +2 -1
- data/docs/SpeechTextAnalyticsApi.md +66 -0
- data/docs/StatEventFlowOutcomeTopicDatum.md +14 -0
- data/docs/StatEventFlowOutcomeTopicMetric.md +15 -0
- data/docs/StatEventFlowOutcomeTopicStatsNotification.md +14 -0
- data/docs/StatEventFlowTopicDatum.md +14 -0
- data/docs/StatEventFlowTopicMetric.md +15 -0
- data/docs/StatEventFlowTopicStatsNotification.md +14 -0
- data/docs/StatEventWrapUpCodeTopicDatum.md +14 -0
- data/docs/StatEventWrapUpCodeTopicMetric.md +15 -0
- data/docs/StatEventWrapUpCodeTopicStatsNotification.md +14 -0
- data/docs/UserScheduleAdherence.md +1 -0
- data/docs/UserSearchRequest.md +1 -0
- data/docs/UsersApi.md +2 -1
- data/docs/WemCoachingAppointmentTopicCoachingAppointmentNotification.md +1 -0
- data/docs/WfmBusinessUnitReference.md +1 -1
- data/docs/WfmScheduleReference.md +3 -3
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUriReference.md +14 -0
- data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate.md +1 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference.md +13 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUriReference.md +14 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserReference.md +13 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserScheduleAdherenceUpdate.md +28 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTopicUriReference.md +14 -0
- data/docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md +1 -0
- data/lib/purecloudplatformclientv2.rb +26 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api/coaching_api.rb +127 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/acw_settings.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_proposed_agent.rb +228 -0
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +58 -4
- data/lib/purecloudplatformclientv2/models/array_node.rb +54 -54
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
- data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_service.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/bu_agent_schedules_query_response.rb +30 -4
- data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_request.rb +294 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_response.rb +204 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +27 -1
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_metrics.rb +254 -0
- data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/external_organization_trustor_link.rb +8 -34
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/generic_saml.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ip_address_range.rb +2 -2
- data/lib/purecloudplatformclientv2/models/journey_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +54 -54
- data/lib/purecloudplatformclientv2/models/message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/messaging_integration.rb +2 -2
- data/lib/purecloudplatformclientv2/models/messaging_sticker.rb +2 -2
- data/lib/purecloudplatformclientv2/models/o_auth_client.rb +27 -1
- data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +27 -1
- data/lib/purecloudplatformclientv2/models/o_auth_client_request.rb +30 -4
- data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +27 -1
- data/lib/purecloudplatformclientv2/models/participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/participant_basic.rb +2 -2
- data/lib/purecloudplatformclientv2/models/permissions.rb +1 -52
- data/lib/purecloudplatformclientv2/models/query_request_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/query_request_filter.rb +254 -0
- data/lib/purecloudplatformclientv2/models/query_request_predicate.rb +252 -0
- data/lib/purecloudplatformclientv2/models/query_response_data.rb +230 -0
- data/lib/purecloudplatformclientv2/models/query_response_grouped_data.rb +232 -0
- data/lib/purecloudplatformclientv2/models/query_response_metric.rb +242 -0
- data/lib/purecloudplatformclientv2/models/query_response_stats.rb +202 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/recipient.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +32 -1
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_datum.rb +228 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_metric.rb +253 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_stats_notification.rb +230 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_datum.rb +228 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_metric.rb +253 -0
- data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_stats_notification.rb +230 -0
- data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_datum.rb +228 -0
- data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_metric.rb +253 -0
- data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_stats_notification.rb +230 -0
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_search_request.rb +30 -4
- data/lib/purecloudplatformclientv2/models/wem_coaching_appointment_topic_coaching_appointment_notification.rb +29 -4
- data/lib/purecloudplatformclientv2/models/wfm_business_unit_reference.rb +6 -1
- data/lib/purecloudplatformclientv2/models/wfm_schedule_reference.rb +16 -1
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.rb +26 -1
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_queue_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_schedule_adherence_update.rb +606 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_uri_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb +26 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +55 -3
|
@@ -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'] = '96.0.0'
|
|
80
80
|
query_params = opts[:query_params] || {}
|
|
81
81
|
form_params = opts[:form_params] || {}
|
|
82
82
|
|
|
@@ -90,7 +90,7 @@ module PureCloud
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
allowed_values = ["MANDATORY", "OPTIONAL", "MANDATORY_TIMEOUT", "MANDATORY_FORCED_TIMEOUT"]
|
|
93
|
+
allowed_values = ["MANDATORY", "OPTIONAL", "MANDATORY_TIMEOUT", "MANDATORY_FORCED_TIMEOUT", "AGENT_REQUESTED"]
|
|
94
94
|
if @wrapup_prompt && !allowed_values.include?(@wrapup_prompt)
|
|
95
95
|
return false
|
|
96
96
|
end
|
|
@@ -108,7 +108,7 @@ module PureCloud
|
|
|
108
108
|
# Custom attribute writer method checking allowed values (enum).
|
|
109
109
|
# @param [Object] wrapup_prompt Object to be assigned
|
|
110
110
|
def wrapup_prompt=(wrapup_prompt)
|
|
111
|
-
allowed_values = ["MANDATORY", "OPTIONAL", "MANDATORY_TIMEOUT", "MANDATORY_FORCED_TIMEOUT"]
|
|
111
|
+
allowed_values = ["MANDATORY", "OPTIONAL", "MANDATORY_TIMEOUT", "MANDATORY_FORCED_TIMEOUT", "AGENT_REQUESTED"]
|
|
112
112
|
if wrapup_prompt && !allowed_values.include?(wrapup_prompt)
|
|
113
113
|
fail ArgumentError, "invalid value for 'wrapup_prompt', must be one of #{allowed_values}."
|
|
114
114
|
end
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
PureCloud Platform API
|
|
3
|
+
|
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v2
|
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
License: UNLICENSED
|
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
12
|
+
|
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
14
|
+
|
|
15
|
+
=end
|
|
16
|
+
|
|
17
|
+
require 'date'
|
|
18
|
+
|
|
19
|
+
module PureCloud
|
|
20
|
+
class AnalyticsProposedAgent
|
|
21
|
+
# Unique identifier of an agent that was proposed by predictive routing
|
|
22
|
+
attr_accessor :proposed_agent_id
|
|
23
|
+
|
|
24
|
+
# Proposed agent rank for this conversation from predictive routing (lower is better)
|
|
25
|
+
attr_accessor :agent_rank
|
|
26
|
+
|
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
|
+
def self.attribute_map
|
|
29
|
+
{
|
|
30
|
+
|
|
31
|
+
:'proposed_agent_id' => :'proposedAgentId',
|
|
32
|
+
|
|
33
|
+
:'agent_rank' => :'agentRank'
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Attribute type mapping.
|
|
39
|
+
def self.swagger_types
|
|
40
|
+
{
|
|
41
|
+
|
|
42
|
+
:'proposed_agent_id' => :'String',
|
|
43
|
+
|
|
44
|
+
:'agent_rank' => :'Integer'
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
return unless attributes.is_a?(Hash)
|
|
53
|
+
|
|
54
|
+
# convert string to symbol for hash key
|
|
55
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
if attributes.has_key?(:'proposedAgentId')
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
self.proposed_agent_id = attributes[:'proposedAgentId']
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
if attributes.has_key?(:'agentRank')
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
self.agent_rank = attributes[:'agentRank']
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
79
|
+
# @return Array for valid properies with the reasons
|
|
80
|
+
def list_invalid_properties
|
|
81
|
+
invalid_properties = Array.new
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
return invalid_properties
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Check to see if the all the properties in the model are valid
|
|
88
|
+
# @return true if the model is valid
|
|
89
|
+
def valid?
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# Checks equality by comparing each attribute.
|
|
113
|
+
# @param [Object] Object to be compared
|
|
114
|
+
def ==(o)
|
|
115
|
+
return true if self.equal?(o)
|
|
116
|
+
self.class == o.class &&
|
|
117
|
+
proposed_agent_id == o.proposed_agent_id &&
|
|
118
|
+
agent_rank == o.agent_rank
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# @see the `==` method
|
|
122
|
+
# @param [Object] Object to be compared
|
|
123
|
+
def eql?(o)
|
|
124
|
+
self == o
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Calculates hash code according to all attributes.
|
|
128
|
+
# @return [Fixnum] Hash code
|
|
129
|
+
def hash
|
|
130
|
+
[proposed_agent_id, agent_rank].hash
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# build the object from hash
|
|
134
|
+
def build_from_hash(attributes)
|
|
135
|
+
return nil unless attributes.is_a?(Hash)
|
|
136
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
137
|
+
if type =~ /^Array<(.*)>/i
|
|
138
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
139
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
140
|
+
else
|
|
141
|
+
#TODO show warning in debug mode
|
|
142
|
+
end
|
|
143
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
144
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
145
|
+
else
|
|
146
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
self
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
def _deserialize(type, value)
|
|
154
|
+
case type.to_sym
|
|
155
|
+
when :DateTime
|
|
156
|
+
DateTime.parse(value)
|
|
157
|
+
when :Date
|
|
158
|
+
Date.parse(value)
|
|
159
|
+
when :String
|
|
160
|
+
value.to_s
|
|
161
|
+
when :Integer
|
|
162
|
+
value.to_i
|
|
163
|
+
when :Float
|
|
164
|
+
value.to_f
|
|
165
|
+
when :BOOLEAN
|
|
166
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
|
167
|
+
true
|
|
168
|
+
else
|
|
169
|
+
false
|
|
170
|
+
end
|
|
171
|
+
when :Object
|
|
172
|
+
# generic object (usually a Hash), return directly
|
|
173
|
+
value
|
|
174
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
175
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
176
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
177
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
|
178
|
+
k_type = Regexp.last_match[:k_type]
|
|
179
|
+
v_type = Regexp.last_match[:v_type]
|
|
180
|
+
{}.tap do |hash|
|
|
181
|
+
value.each do |k, v|
|
|
182
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
else # model
|
|
186
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
|
187
|
+
_model.build_from_hash(value)
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
def to_s
|
|
192
|
+
to_hash.to_s
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# to_body is an alias to to_body (backward compatibility))
|
|
196
|
+
def to_body
|
|
197
|
+
to_hash
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# return the object in the form of hash
|
|
201
|
+
def to_hash
|
|
202
|
+
hash = {}
|
|
203
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
204
|
+
value = self.send(attr)
|
|
205
|
+
next if value.nil?
|
|
206
|
+
hash[param] = _to_hash(value)
|
|
207
|
+
end
|
|
208
|
+
hash
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Method to output non-array value in the form of hash
|
|
212
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
213
|
+
def _to_hash(value)
|
|
214
|
+
if value.is_a?(Array)
|
|
215
|
+
value.compact.map{ |v| _to_hash(v) }
|
|
216
|
+
elsif value.is_a?(Hash)
|
|
217
|
+
{}.tap do |hash|
|
|
218
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
219
|
+
end
|
|
220
|
+
elsif value.respond_to? :to_hash
|
|
221
|
+
value.to_hash
|
|
222
|
+
else
|
|
223
|
+
value
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
end
|
|
228
|
+
end
|
|
@@ -182,6 +182,12 @@ module PureCloud
|
|
|
182
182
|
# Selected agent GPR rank
|
|
183
183
|
attr_accessor :selected_agent_rank
|
|
184
184
|
|
|
185
|
+
# Unique identifier of the active virtual agent assistant
|
|
186
|
+
attr_accessor :agent_assistant_id
|
|
187
|
+
|
|
188
|
+
# Proposed agents
|
|
189
|
+
attr_accessor :proposed_agents
|
|
190
|
+
|
|
185
191
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
186
192
|
def self.attribute_map
|
|
187
193
|
{
|
|
@@ -298,7 +304,11 @@ module PureCloud
|
|
|
298
304
|
|
|
299
305
|
:'selected_agent_id' => :'selectedAgentId',
|
|
300
306
|
|
|
301
|
-
:'selected_agent_rank' => :'selectedAgentRank'
|
|
307
|
+
:'selected_agent_rank' => :'selectedAgentRank',
|
|
308
|
+
|
|
309
|
+
:'agent_assistant_id' => :'agentAssistantId',
|
|
310
|
+
|
|
311
|
+
:'proposed_agents' => :'proposedAgents'
|
|
302
312
|
|
|
303
313
|
}
|
|
304
314
|
end
|
|
@@ -419,7 +429,11 @@ module PureCloud
|
|
|
419
429
|
|
|
420
430
|
:'selected_agent_id' => :'String',
|
|
421
431
|
|
|
422
|
-
:'selected_agent_rank' => :'Integer'
|
|
432
|
+
:'selected_agent_rank' => :'Integer',
|
|
433
|
+
|
|
434
|
+
:'agent_assistant_id' => :'String',
|
|
435
|
+
|
|
436
|
+
:'proposed_agents' => :'Array<AnalyticsProposedAgent>'
|
|
423
437
|
|
|
424
438
|
}
|
|
425
439
|
end
|
|
@@ -956,6 +970,26 @@ module PureCloud
|
|
|
956
970
|
end
|
|
957
971
|
|
|
958
972
|
|
|
973
|
+
if attributes.has_key?(:'agentAssistantId')
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
self.agent_assistant_id = attributes[:'agentAssistantId']
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
end
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
if attributes.has_key?(:'proposedAgents')
|
|
983
|
+
|
|
984
|
+
if (value = attributes[:'proposedAgents']).is_a?(Array)
|
|
985
|
+
self.proposed_agents = value
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
end
|
|
991
|
+
|
|
992
|
+
|
|
959
993
|
end
|
|
960
994
|
|
|
961
995
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -1219,6 +1253,14 @@ module PureCloud
|
|
|
1219
1253
|
|
|
1220
1254
|
|
|
1221
1255
|
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1222
1264
|
end
|
|
1223
1265
|
|
|
1224
1266
|
|
|
@@ -1539,6 +1581,16 @@ module PureCloud
|
|
|
1539
1581
|
|
|
1540
1582
|
|
|
1541
1583
|
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1542
1594
|
|
|
1543
1595
|
|
|
1544
1596
|
|
|
@@ -1604,7 +1656,9 @@ module PureCloud
|
|
|
1604
1656
|
requested_routings == o.requested_routings &&
|
|
1605
1657
|
used_routing == o.used_routing &&
|
|
1606
1658
|
selected_agent_id == o.selected_agent_id &&
|
|
1607
|
-
selected_agent_rank == o.selected_agent_rank
|
|
1659
|
+
selected_agent_rank == o.selected_agent_rank &&
|
|
1660
|
+
agent_assistant_id == o.agent_assistant_id &&
|
|
1661
|
+
proposed_agents == o.proposed_agents
|
|
1608
1662
|
end
|
|
1609
1663
|
|
|
1610
1664
|
# @see the `==` method
|
|
@@ -1616,7 +1670,7 @@ module PureCloud
|
|
|
1616
1670
|
# Calculates hash code according to all attributes.
|
|
1617
1671
|
# @return [Fixnum] Hash code
|
|
1618
1672
|
def hash
|
|
1619
|
-
[media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, session_dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow, media_endpoint_stats, recording, journey_customer_id, journey_customer_id_type, journey_customer_session_id, journey_customer_session_id_type, journey_action_id, journey_action_map_id, journey_action_map_version, protocol_call_id, provider, remote, media_count, flow_out_type, requested_routings, used_routing, selected_agent_id, selected_agent_rank].hash
|
|
1673
|
+
[media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, session_dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow, media_endpoint_stats, recording, journey_customer_id, journey_customer_id_type, journey_customer_session_id, journey_customer_session_id_type, journey_action_id, journey_action_map_id, journey_action_map_version, protocol_call_id, provider, remote, media_count, flow_out_type, requested_routings, used_routing, selected_agent_id, selected_agent_rank, agent_assistant_id, proposed_agents].hash
|
|
1620
1674
|
end
|
|
1621
1675
|
|
|
1622
1676
|
# build the object from hash
|
|
@@ -28,16 +28,10 @@ module PureCloud
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :object
|
|
30
30
|
|
|
31
|
-
attr_accessor :
|
|
32
|
-
|
|
33
|
-
attr_accessor :container_node
|
|
34
|
-
|
|
35
|
-
attr_accessor :missing_node
|
|
31
|
+
attr_accessor :floating_point_number
|
|
36
32
|
|
|
37
33
|
attr_accessor :pojo
|
|
38
34
|
|
|
39
|
-
attr_accessor :floating_point_number
|
|
40
|
-
|
|
41
35
|
attr_accessor :integral_number
|
|
42
36
|
|
|
43
37
|
attr_accessor :short
|
|
@@ -56,6 +50,12 @@ module PureCloud
|
|
|
56
50
|
|
|
57
51
|
attr_accessor :binary
|
|
58
52
|
|
|
53
|
+
attr_accessor :value_node
|
|
54
|
+
|
|
55
|
+
attr_accessor :container_node
|
|
56
|
+
|
|
57
|
+
attr_accessor :missing_node
|
|
58
|
+
|
|
59
59
|
attr_accessor :array
|
|
60
60
|
|
|
61
61
|
attr_accessor :null
|
|
@@ -74,16 +74,10 @@ module PureCloud
|
|
|
74
74
|
|
|
75
75
|
:'object' => :'object',
|
|
76
76
|
|
|
77
|
-
:'
|
|
78
|
-
|
|
79
|
-
:'container_node' => :'containerNode',
|
|
80
|
-
|
|
81
|
-
:'missing_node' => :'missingNode',
|
|
77
|
+
:'floating_point_number' => :'floatingPointNumber',
|
|
82
78
|
|
|
83
79
|
:'pojo' => :'pojo',
|
|
84
80
|
|
|
85
|
-
:'floating_point_number' => :'floatingPointNumber',
|
|
86
|
-
|
|
87
81
|
:'integral_number' => :'integralNumber',
|
|
88
82
|
|
|
89
83
|
:'short' => :'short',
|
|
@@ -102,6 +96,12 @@ module PureCloud
|
|
|
102
96
|
|
|
103
97
|
:'binary' => :'binary',
|
|
104
98
|
|
|
99
|
+
:'value_node' => :'valueNode',
|
|
100
|
+
|
|
101
|
+
:'container_node' => :'containerNode',
|
|
102
|
+
|
|
103
|
+
:'missing_node' => :'missingNode',
|
|
104
|
+
|
|
105
105
|
:'array' => :'array',
|
|
106
106
|
|
|
107
107
|
:'null' => :'null'
|
|
@@ -123,16 +123,10 @@ module PureCloud
|
|
|
123
123
|
|
|
124
124
|
:'object' => :'BOOLEAN',
|
|
125
125
|
|
|
126
|
-
:'
|
|
127
|
-
|
|
128
|
-
:'container_node' => :'BOOLEAN',
|
|
129
|
-
|
|
130
|
-
:'missing_node' => :'BOOLEAN',
|
|
126
|
+
:'floating_point_number' => :'BOOLEAN',
|
|
131
127
|
|
|
132
128
|
:'pojo' => :'BOOLEAN',
|
|
133
129
|
|
|
134
|
-
:'floating_point_number' => :'BOOLEAN',
|
|
135
|
-
|
|
136
130
|
:'integral_number' => :'BOOLEAN',
|
|
137
131
|
|
|
138
132
|
:'short' => :'BOOLEAN',
|
|
@@ -151,6 +145,12 @@ module PureCloud
|
|
|
151
145
|
|
|
152
146
|
:'binary' => :'BOOLEAN',
|
|
153
147
|
|
|
148
|
+
:'value_node' => :'BOOLEAN',
|
|
149
|
+
|
|
150
|
+
:'container_node' => :'BOOLEAN',
|
|
151
|
+
|
|
152
|
+
:'missing_node' => :'BOOLEAN',
|
|
153
|
+
|
|
154
154
|
:'array' => :'BOOLEAN',
|
|
155
155
|
|
|
156
156
|
:'null' => :'BOOLEAN'
|
|
@@ -212,127 +212,127 @@ module PureCloud
|
|
|
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?(:'pojo')
|
|
225
225
|
|
|
226
226
|
|
|
227
|
-
self.
|
|
227
|
+
self.pojo = attributes[:'pojo']
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
end
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
if attributes.has_key?(:'
|
|
233
|
+
if attributes.has_key?(:'integralNumber')
|
|
234
234
|
|
|
235
235
|
|
|
236
|
-
self.
|
|
236
|
+
self.integral_number = attributes[:'integralNumber']
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
end
|
|
240
240
|
|
|
241
241
|
|
|
242
|
-
if attributes.has_key?(:'
|
|
242
|
+
if attributes.has_key?(:'short')
|
|
243
243
|
|
|
244
244
|
|
|
245
|
-
self.
|
|
245
|
+
self.short = attributes[:'short']
|
|
246
246
|
|
|
247
247
|
|
|
248
248
|
end
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
if attributes.has_key?(:'
|
|
251
|
+
if attributes.has_key?(:'int')
|
|
252
252
|
|
|
253
253
|
|
|
254
|
-
self.
|
|
254
|
+
self.int = attributes[:'int']
|
|
255
255
|
|
|
256
256
|
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
|
|
260
|
-
if attributes.has_key?(:'
|
|
260
|
+
if attributes.has_key?(:'long')
|
|
261
261
|
|
|
262
262
|
|
|
263
|
-
self.
|
|
263
|
+
self.long = attributes[:'long']
|
|
264
264
|
|
|
265
265
|
|
|
266
266
|
end
|
|
267
267
|
|
|
268
268
|
|
|
269
|
-
if attributes.has_key?(:'
|
|
269
|
+
if attributes.has_key?(:'double')
|
|
270
270
|
|
|
271
271
|
|
|
272
|
-
self.
|
|
272
|
+
self.double = attributes[:'double']
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
end
|
|
276
276
|
|
|
277
277
|
|
|
278
|
-
if attributes.has_key?(:'
|
|
278
|
+
if attributes.has_key?(:'bigDecimal')
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
self.
|
|
281
|
+
self.big_decimal = attributes[:'bigDecimal']
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
end
|
|
285
285
|
|
|
286
286
|
|
|
287
|
-
if attributes.has_key?(:'
|
|
287
|
+
if attributes.has_key?(:'bigInteger')
|
|
288
288
|
|
|
289
289
|
|
|
290
|
-
self.
|
|
290
|
+
self.big_integer = attributes[:'bigInteger']
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
end
|
|
294
294
|
|
|
295
295
|
|
|
296
|
-
if attributes.has_key?(:'
|
|
296
|
+
if attributes.has_key?(:'textual')
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
self.
|
|
299
|
+
self.textual = attributes[:'textual']
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
end
|
|
303
303
|
|
|
304
304
|
|
|
305
|
-
if attributes.has_key?(:'
|
|
305
|
+
if attributes.has_key?(:'binary')
|
|
306
306
|
|
|
307
307
|
|
|
308
|
-
self.
|
|
308
|
+
self.binary = attributes[:'binary']
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
end
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
if attributes.has_key?(:'
|
|
314
|
+
if attributes.has_key?(:'valueNode')
|
|
315
315
|
|
|
316
316
|
|
|
317
|
-
self.
|
|
317
|
+
self.value_node = attributes[:'valueNode']
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
|
|
323
|
-
if attributes.has_key?(:'
|
|
323
|
+
if attributes.has_key?(:'containerNode')
|
|
324
324
|
|
|
325
325
|
|
|
326
|
-
self.
|
|
326
|
+
self.container_node = attributes[:'containerNode']
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
end
|
|
330
330
|
|
|
331
331
|
|
|
332
|
-
if attributes.has_key?(:'
|
|
332
|
+
if attributes.has_key?(:'missingNode')
|
|
333
333
|
|
|
334
334
|
|
|
335
|
-
self.
|
|
335
|
+
self.missing_node = attributes[:'missingNode']
|
|
336
336
|
|
|
337
337
|
|
|
338
338
|
end
|
|
@@ -587,11 +587,8 @@ module PureCloud
|
|
|
587
587
|
number == o.number &&
|
|
588
588
|
boolean == o.boolean &&
|
|
589
589
|
object == o.object &&
|
|
590
|
-
value_node == o.value_node &&
|
|
591
|
-
container_node == o.container_node &&
|
|
592
|
-
missing_node == o.missing_node &&
|
|
593
|
-
pojo == o.pojo &&
|
|
594
590
|
floating_point_number == o.floating_point_number &&
|
|
591
|
+
pojo == o.pojo &&
|
|
595
592
|
integral_number == o.integral_number &&
|
|
596
593
|
short == o.short &&
|
|
597
594
|
int == o.int &&
|
|
@@ -601,6 +598,9 @@ module PureCloud
|
|
|
601
598
|
big_integer == o.big_integer &&
|
|
602
599
|
textual == o.textual &&
|
|
603
600
|
binary == o.binary &&
|
|
601
|
+
value_node == o.value_node &&
|
|
602
|
+
container_node == o.container_node &&
|
|
603
|
+
missing_node == o.missing_node &&
|
|
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, float, number, boolean, object,
|
|
617
|
+
[node_type, float, number, boolean, object, floating_point_number, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, container_node, missing_node, array, null].hash
|
|
618
618
|
end
|
|
619
619
|
|
|
620
620
|
# build the object from hash
|