new OnCallProviderResponse(): OnCallProviderResponse
1 2const onCallProviderResponse = new OnCallProviderResponse()
| Property Name | Type | Description |
|---|---|---|
| error | String | |
| result | OnCallProviderData |
addScheduleInfo(scheduleInfo: OnCallScheduleInfo): OnCallProviderResponse
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23const resp = onCallProviderResponse.addScheduleInfo( { "cardHeaderText": "string", "levels": [ { "currentOnCall": { "name": "string", "url": "string" }, "levelName": "string", "nextOnCall": { "name": "string", "url": "string" }, "priority": 30 } ], "logo": "string", "scheduleLink": "string", "scheduleName": "string" } )
build(): OnCallProviderResult
1 2const resp = onCallProviderResponse.build()
getValidTimeRangesForOnCall(onCallUser: OnCallUser):
1 2 3 4 5 6 7const resp = onCallProviderResponse.getValidTimeRangesForOnCall( { "name": "string", "url": "string" } )
validate(): Void
1 2const resp = onCallProviderResponse.validate()
validateOnCallScheduleInfo(): Void
1 2const resp = onCallProviderResponse.validateOnCallScheduleInfo()
Rate this page: