Classes

Rate this page:

OnCallProviderResponse

Constructors

new OnCallProviderResponse(): OnCallProviderResponse

1
2
const onCallProviderResponse = new OnCallProviderResponse()

Properties

Property NameTypeDescription
errorString
resultOnCallProviderData

Methods

AddScheduleInfo

addScheduleInfo(scheduleInfo: OnCallScheduleInfo): OnCallProviderResponse

1
2
const resp = onCallProviderResponse.addScheduleInfo(
  {
    "cardHeaderText": "string",
    "levels": [
      {
        "currentOnCall": {
          "name": "string",
          "url": "string"
        },
        "levelName": "string",
        "nextOnCall": {
          "name": "string",
          "url": "string"
        },
        "priority": 44
      }
    ],
    "logo": "string",
    "scheduleLink": "string",
    "scheduleName": "string"
  }
)

Build

build(): OnCallProviderResult

1
2
const resp = onCallProviderResponse.build()

GetValidTimeRangesForOnCall

getValidTimeRangesForOnCall(onCallUser: OnCallUser):

1
2
const resp = onCallProviderResponse.getValidTimeRangesForOnCall(
  {
    "name": "string",
    "url": "string"
  }
)

Validate

validate(): Void

1
2
const resp = onCallProviderResponse.validate()

ValidateOnCallScheduleInfo

validateOnCallScheduleInfo(): Void

1
2
const resp = onCallProviderResponse.validateOnCallScheduleInfo()

Rate this page: