UNPKG

@ringer-tel/ivy

Version:
75 lines (63 loc) 2.29 kB
/* tslint:disable */ /* eslint-disable */ /** * Ringer Business API * This API provides comprehensive endpoints for the Ringer Business system. It includes functionality for managing customer accounts, addresses, sites, phone numbers, payments, users, and other business resources. Operations typically require authentication and appropriate permissions. * * The version of the OpenAPI document: 1.0.6 * Contact: support@ringer.tel * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; import type { ScheduleCreateRequestData } from './ScheduleCreateRequestData'; import { ScheduleCreateRequestDataFromJSON, ScheduleCreateRequestDataFromJSONTyped, ScheduleCreateRequestDataToJSON, ScheduleCreateRequestDataToJSONTyped, } from './ScheduleCreateRequestData'; /** * * @export * @interface ScheduleCreateRequest */ export interface ScheduleCreateRequest { /** * * @type {ScheduleCreateRequestData} * @memberof ScheduleCreateRequest */ data: ScheduleCreateRequestData; } /** * Check if a given object implements the ScheduleCreateRequest interface. */ export function instanceOfScheduleCreateRequest(value: object): value is ScheduleCreateRequest { if (!('data' in value) || value['data'] === undefined) return false; return true; } export function ScheduleCreateRequestFromJSON(json: any): ScheduleCreateRequest { return ScheduleCreateRequestFromJSONTyped(json, false); } export function ScheduleCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleCreateRequest { if (json == null) { return json; } return { 'data': ScheduleCreateRequestDataFromJSON(json['data']), }; } export function ScheduleCreateRequestToJSON(json: any): ScheduleCreateRequest { return ScheduleCreateRequestToJSONTyped(json, false); } export function ScheduleCreateRequestToJSONTyped(value?: ScheduleCreateRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': ScheduleCreateRequestDataToJSON(value['data']), }; }