new OnCallProviderResponse(): OnCallProviderResponse
1 2const onCallProviderResponse = new OnCallProviderResponse()
Property Name | Type | Description |
---|---|---|
error | String | |
result | OnCallProviderData |
addScheduleInfo(scheduleInfo: OnCallScheduleInfo): OnCallProviderResponse
1 2const resp = onCallProviderResponse.addScheduleInfo( { "cardHeaderText": "string", "levels": [ { "currentOnCall": { "name": "string", "url": "string" }, "levelName": "string", "nextOnCall": { "name": "string", "url": "string" }, "priority": 78 } ], "logo": "string", "scheduleLink": "string", "scheduleName": "string" } )
build(): OnCallProviderResult
1 2const resp = onCallProviderResponse.build()
getValidTimeRangesForOnCall(onCallUser: OnCallUser):
1 2const resp = onCallProviderResponse.getValidTimeRangesForOnCall( { "name": "string", "url": "string" } )
validate(): Void
1 2const resp = onCallProviderResponse.validate()
validateOnCallScheduleInfo(): Void
1 2const resp = onCallProviderResponse.validateOnCallScheduleInfo()
Rate this page: