UNPKG

@ringer-tel/ivy

Version:
101 lines (90 loc) 3.19 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.5 * 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'; /** * * @export * @interface ConferenceRoomCore */ export interface ConferenceRoomCore { /** * A user-friendly name for the conference room. * @type {string} * @memberof ConferenceRoomCore */ name: string; /** * Numeric PIN required for participants to join the conference. * @type {string} * @memberof ConferenceRoomCore */ pin: string | null; /** * Numeric PIN required for the moderator to join and control the conference. * @type {string} * @memberof ConferenceRoomCore */ moderatorPin: string | null; /** * Conference profile or type (e.g., default, enhanced audio). Specific values depend on system configuration. * @type {string} * @memberof ConferenceRoomCore */ profile?: string | null; /** * Identifier of the user primarily associated with this conference room, if any. * @type {number} * @memberof ConferenceRoomCore */ userId?: number | null; } /** * Check if a given object implements the ConferenceRoomCore interface. */ export function instanceOfConferenceRoomCore(value: object): value is ConferenceRoomCore { if (!('name' in value) || value['name'] === undefined) return false; if (!('pin' in value) || value['pin'] === undefined) return false; if (!('moderatorPin' in value) || value['moderatorPin'] === undefined) return false; return true; } export function ConferenceRoomCoreFromJSON(json: any): ConferenceRoomCore { return ConferenceRoomCoreFromJSONTyped(json, false); } export function ConferenceRoomCoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConferenceRoomCore { if (json == null) { return json; } return { 'name': json['name'], 'pin': json['pin'], 'moderatorPin': json['moderator_pin'], 'profile': json['profile'] == null ? undefined : json['profile'], 'userId': json['user_id'] == null ? undefined : json['user_id'], }; } export function ConferenceRoomCoreToJSON(json: any): ConferenceRoomCore { return ConferenceRoomCoreToJSONTyped(json, false); } export function ConferenceRoomCoreToJSONTyped(value?: ConferenceRoomCore | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], 'pin': value['pin'], 'moderator_pin': value['moderatorPin'], 'profile': value['profile'], 'user_id': value['userId'], }; }