Class: WorkRequest

Constructor

new WorkRequest(interactionCollection, options)

Constructor function for Work Request Model

Parameters:
Name Type Description
interactionCollection AvayaCustomerServices.Services.Work.InteractionCollection
options Object

WorkRequest Model options

Members

data :object

Generic object in which to store model data

Type:
  • object
Inherited From:

id :string

A unique identifier for this model instance

Type:
  • string
Inherited From:

interactions :Array.<AvayaCustomerServices.Services.Work.Interaction>

Array of interactions belonging to this Work Request

Type:

isNew :boolean

Flag to indicate if model instance is new

Type:
  • boolean
Inherited From:

Methods

getInteractions() → {Array.<AvayaCustomerServices.Services.Work.Interaction>}

Find all interactions attached to this WorkRequest Object

Returns:
©2019 Avaya Inc. All Rights Reserved.