Class: Twilio::REST::FlexApi::V1::InsightsSegmentsInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::FlexApi::V1::InsightsSegmentsInstance
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb
Instance Method Summary collapse
-
#account_id ⇒ String
The unique id for the account.
-
#agent_id ⇒ String
The unique id for the agent.
-
#agent_link ⇒ String
The link to the agent conversation.
-
#agent_name ⇒ String
The name of the agent.
-
#agent_phone ⇒ String
The phone number of the agent.
-
#agent_team_name ⇒ String
The team name to which agent belongs.
-
#agent_team_name_in_hierarchy ⇒ String
He team name to which agent belongs.
-
#assessment_percentage ⇒ Hash
The percentage scored on the Assessments.
-
#assessment_type ⇒ Hash
The type of the assessment.
-
#customer_link ⇒ String
The link to the customer conversation.
-
#customer_name ⇒ String
The name of the customer.
-
#customer_phone ⇒ String
The phone number of the customer.
-
#date ⇒ String
The date of the conversation.
- #external_contact ⇒ String
-
#external_id ⇒ String
The unique id for the conversation.
-
#external_segment_link ⇒ String
The hyperlink to recording of the task event.
-
#external_segment_link_id ⇒ String
The uuid for the external_segment_link.
-
#initialize(version, payload) ⇒ InsightsSegmentsInstance
constructor
Initialize the InsightsSegmentsInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#media ⇒ Hash
The media identifiers of the conversation.
- #queue ⇒ String
-
#segment_id ⇒ String
To unique id of the segment.
-
#segment_recording_offset ⇒ String
The offset value for the recording.
-
#to_s ⇒ Object
Provide a user friendly representation.
- #url ⇒ String
Constructor Details
#initialize(version, payload) ⇒ InsightsSegmentsInstance
Initialize the InsightsSegmentsInstance
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 182 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'segment_id' => payload['segment_id'], 'external_id' => payload['external_id'], 'queue' => payload['queue'], 'external_contact' => payload['external_contact'], 'external_segment_link_id' => payload['external_segment_link_id'], 'date' => payload['date'], 'account_id' => payload['account_id'], 'external_segment_link' => payload['external_segment_link'], 'agent_id' => payload['agent_id'], 'agent_phone' => payload['agent_phone'], 'agent_name' => payload['agent_name'], 'agent_team_name' => payload['agent_team_name'], 'agent_team_name_in_hierarchy' => payload['agent_team_name_in_hierarchy'], 'agent_link' => payload['agent_link'], 'customer_phone' => payload['customer_phone'], 'customer_name' => payload['customer_name'], 'customer_link' => payload['customer_link'], 'segment_recording_offset' => payload['segment_recording_offset'], 'media' => payload['media'], 'assessment_type' => payload['assessment_type'], 'assessment_percentage' => payload['assessment_percentage'], 'url' => payload['url'], } end |
Instance Method Details
#account_id ⇒ String
Returns The unique id for the account.
251 252 253 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 251 def account_id @properties['account_id'] end |
#agent_id ⇒ String
Returns The unique id for the agent.
263 264 265 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 263 def agent_id @properties['agent_id'] end |
#agent_link ⇒ String
Returns The link to the agent conversation.
293 294 295 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 293 def agent_link @properties['agent_link'] end |
#agent_name ⇒ String
Returns The name of the agent.
275 276 277 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 275 def agent_name @properties['agent_name'] end |
#agent_phone ⇒ String
Returns The phone number of the agent.
269 270 271 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 269 def agent_phone @properties['agent_phone'] end |
#agent_team_name ⇒ String
Returns The team name to which agent belongs.
281 282 283 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 281 def agent_team_name @properties['agent_team_name'] end |
#agent_team_name_in_hierarchy ⇒ String
Returns he team name to which agent belongs.
287 288 289 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 287 def agent_team_name_in_hierarchy @properties['agent_team_name_in_hierarchy'] end |
#assessment_percentage ⇒ Hash
Returns The percentage scored on the Assessments.
335 336 337 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 335 def assessment_percentage @properties['assessment_percentage'] end |
#assessment_type ⇒ Hash
Returns The type of the assessment.
329 330 331 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 329 def assessment_type @properties['assessment_type'] end |
#customer_link ⇒ String
Returns The link to the customer conversation.
311 312 313 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 311 def customer_link @properties['customer_link'] end |
#customer_name ⇒ String
Returns The name of the customer.
305 306 307 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 305 def customer_name @properties['customer_name'] end |
#customer_phone ⇒ String
Returns The phone number of the customer.
299 300 301 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 299 def customer_phone @properties['customer_phone'] end |
#date ⇒ String
Returns The date of the conversation.
245 246 247 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 245 def date @properties['date'] end |
#external_contact ⇒ String
233 234 235 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 233 def external_contact @properties['external_contact'] end |
#external_id ⇒ String
Returns The unique id for the conversation.
221 222 223 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 221 def external_id @properties['external_id'] end |
#external_segment_link ⇒ String
Returns The hyperlink to recording of the task event.
257 258 259 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 257 def external_segment_link @properties['external_segment_link'] end |
#external_segment_link_id ⇒ String
Returns The uuid for the external_segment_link.
239 240 241 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 239 def external_segment_link_id @properties['external_segment_link_id'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
353 354 355 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 353 def inspect "<Twilio.FlexApi.V1.InsightsSegmentsInstance>" end |
#media ⇒ Hash
Returns The media identifiers of the conversation.
323 324 325 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 323 def media @properties['media'] end |
#queue ⇒ String
227 228 229 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 227 def queue @properties['queue'] end |
#segment_id ⇒ String
Returns To unique id of the segment.
215 216 217 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 215 def segment_id @properties['segment_id'] end |
#segment_recording_offset ⇒ String
Returns The offset value for the recording.
317 318 319 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 317 def segment_recording_offset @properties['segment_recording_offset'] end |
#to_s ⇒ Object
Provide a user friendly representation
347 348 349 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 347 def to_s "<Twilio.FlexApi.V1.InsightsSegmentsInstance>" end |
#url ⇒ String
341 342 343 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb', line 341 def url @properties['url'] end |