/* tslint:disable */ /* eslint-disable */ /** * BMLT * BMLT Admin API Documentation * * The version of the OpenAPI document: 1.0.0 * * * 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 MeetingBase */ export interface MeetingBase { /** * * @type {number} * @memberof MeetingBase */ serviceBodyId?: number; /** * * @type {Array} * @memberof MeetingBase */ formatIds?: Array; /** * * @type {number} * @memberof MeetingBase */ venueType?: number; /** * * @type {boolean} * @memberof MeetingBase */ temporarilyVirtual?: boolean; /** * * @type {number} * @memberof MeetingBase */ day?: number; /** * * @type {string} * @memberof MeetingBase */ startTime?: string; /** * * @type {string} * @memberof MeetingBase */ duration?: string; /** * * @type {string} * @memberof MeetingBase */ timeZone?: string; /** * * @type {number} * @memberof MeetingBase */ latitude?: number; /** * * @type {number} * @memberof MeetingBase */ longitude?: number; /** * * @type {boolean} * @memberof MeetingBase */ published?: boolean; /** * * @type {string} * @memberof MeetingBase */ email?: string; /** * * @type {string} * @memberof MeetingBase */ worldId?: string; /** * * @type {string} * @memberof MeetingBase */ name?: string; /** * * @type {string} * @memberof MeetingBase */ locationText?: string; /** * * @type {string} * @memberof MeetingBase */ locationInfo?: string; /** * * @type {string} * @memberof MeetingBase */ locationStreet?: string; /** * * @type {string} * @memberof MeetingBase */ locationNeighborhood?: string; /** * * @type {string} * @memberof MeetingBase */ locationCitySubsection?: string; /** * * @type {string} * @memberof MeetingBase */ locationMunicipality?: string; /** * * @type {string} * @memberof MeetingBase */ locationSubProvince?: string; /** * * @type {string} * @memberof MeetingBase */ locationProvince?: string; /** * * @type {string} * @memberof MeetingBase */ locationPostalCode1?: string; /** * * @type {string} * @memberof MeetingBase */ locationNation?: string; /** * * @type {string} * @memberof MeetingBase */ phoneMeetingNumber?: string; /** * * @type {string} * @memberof MeetingBase */ virtualMeetingLink?: string; /** * * @type {string} * @memberof MeetingBase */ virtualMeetingAdditionalInfo?: string; /** * * @type {string} * @memberof MeetingBase */ contactName1?: string; /** * * @type {string} * @memberof MeetingBase */ contactName2?: string; /** * * @type {string} * @memberof MeetingBase */ contactPhone1?: string; /** * * @type {string} * @memberof MeetingBase */ contactPhone2?: string; /** * * @type {string} * @memberof MeetingBase */ contactEmail1?: string; /** * * @type {string} * @memberof MeetingBase */ contactEmail2?: string; /** * * @type {string} * @memberof MeetingBase */ busLines?: string; /** * * @type {string} * @memberof MeetingBase */ trainLines?: string; /** * * @type {string} * @memberof MeetingBase */ comments?: string; /** * * @type {{ [key: string]: string; }} * @memberof MeetingBase */ customFields?: { [key: string]: string; }; } /** * Check if a given object implements the MeetingBase interface. */ export function instanceOfMeetingBase(value: object): value is MeetingBase { return true; } export function MeetingBaseFromJSON(json: any): MeetingBase { return MeetingBaseFromJSONTyped(json, false); } export function MeetingBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeetingBase { if (json == null) { return json; } return { 'serviceBodyId': json['serviceBodyId'] == null ? undefined : json['serviceBodyId'], 'formatIds': json['formatIds'] == null ? undefined : json['formatIds'], 'venueType': json['venueType'] == null ? undefined : json['venueType'], 'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'], 'day': json['day'] == null ? undefined : json['day'], 'startTime': json['startTime'] == null ? undefined : json['startTime'], 'duration': json['duration'] == null ? undefined : json['duration'], 'timeZone': json['timeZone'] == null ? undefined : json['timeZone'], 'latitude': json['latitude'] == null ? undefined : json['latitude'], 'longitude': json['longitude'] == null ? undefined : json['longitude'], 'published': json['published'] == null ? undefined : json['published'], 'email': json['email'] == null ? undefined : json['email'], 'worldId': json['worldId'] == null ? undefined : json['worldId'], 'name': json['name'] == null ? undefined : json['name'], 'locationText': json['location_text'] == null ? undefined : json['location_text'], 'locationInfo': json['location_info'] == null ? undefined : json['location_info'], 'locationStreet': json['location_street'] == null ? undefined : json['location_street'], 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'], 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'], 'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'], 'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'], 'locationProvince': json['location_province'] == null ? undefined : json['location_province'], 'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'], 'locationNation': json['location_nation'] == null ? undefined : json['location_nation'], 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'], 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'], 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'], 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'], 'contactName2': json['contact_name_2'] == null ? undefined : json['contact_name_2'], 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'], 'contactPhone2': json['contact_phone_2'] == null ? undefined : json['contact_phone_2'], 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'], 'contactEmail2': json['contact_email_2'] == null ? undefined : json['contact_email_2'], 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'], 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'], 'comments': json['comments'] == null ? undefined : json['comments'], 'customFields': json['customFields'] == null ? undefined : json['customFields'], }; } export function MeetingBaseToJSON(json: any): MeetingBase { return MeetingBaseToJSONTyped(json, false); } export function MeetingBaseToJSONTyped(value?: MeetingBase | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'serviceBodyId': value['serviceBodyId'], 'formatIds': value['formatIds'], 'venueType': value['venueType'], 'temporarilyVirtual': value['temporarilyVirtual'], 'day': value['day'], 'startTime': value['startTime'], 'duration': value['duration'], 'timeZone': value['timeZone'], 'latitude': value['latitude'], 'longitude': value['longitude'], 'published': value['published'], 'email': value['email'], 'worldId': value['worldId'], 'name': value['name'], 'location_text': value['locationText'], 'location_info': value['locationInfo'], 'location_street': value['locationStreet'], 'location_neighborhood': value['locationNeighborhood'], 'location_city_subsection': value['locationCitySubsection'], 'location_municipality': value['locationMunicipality'], 'location_sub_province': value['locationSubProvince'], 'location_province': value['locationProvince'], 'location_postal_code_1': value['locationPostalCode1'], 'location_nation': value['locationNation'], 'phone_meeting_number': value['phoneMeetingNumber'], 'virtual_meeting_link': value['virtualMeetingLink'], 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'], 'contact_name_1': value['contactName1'], 'contact_name_2': value['contactName2'], 'contact_phone_1': value['contactPhone1'], 'contact_phone_2': value['contactPhone2'], 'contact_email_1': value['contactEmail1'], 'contact_email_2': value['contactEmail2'], 'bus_lines': value['busLines'], 'train_lines': value['trainLines'], 'comments': value['comments'], 'customFields': value['customFields'], }; }