/* tslint:disable */ /* eslint-disable */ /** * metrics-sdk-admin * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 5.4.9 * * * 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 FacilityProfileData */ export interface FacilityProfileData { /** * * @type {string} * @memberof FacilityProfileData */ name?: string; /** * * @type {string} * @memberof FacilityProfileData */ phone?: string; /** * * @type {string} * @memberof FacilityProfileData */ address?: string; /** * * @type {string} * @memberof FacilityProfileData */ city?: string; /** * * @type {string} * @memberof FacilityProfileData */ postcode?: string; /** * * @type {string} * @memberof FacilityProfileData */ state?: string; /** * * @type {string} * @memberof FacilityProfileData */ country?: string; /** * * @type {string} * @memberof FacilityProfileData */ website?: string; } /** * Check if a given object implements the FacilityProfileData interface. */ export function instanceOfFacilityProfileData(value: object): value is FacilityProfileData { return true; } export function FacilityProfileDataFromJSON(json: any): FacilityProfileData { return FacilityProfileDataFromJSONTyped(json, false); } export function FacilityProfileDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityProfileData { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'phone': json['phone'] == null ? undefined : json['phone'], 'address': json['address'] == null ? undefined : json['address'], 'city': json['city'] == null ? undefined : json['city'], 'postcode': json['postcode'] == null ? undefined : json['postcode'], 'state': json['state'] == null ? undefined : json['state'], 'country': json['country'] == null ? undefined : json['country'], 'website': json['website'] == null ? undefined : json['website'], }; } export function FacilityProfileDataToJSON(value?: FacilityProfileData | null): any { if (value == null) { return value; } return { 'name': value['name'], 'phone': value['phone'], 'address': value['address'], 'city': value['city'], 'postcode': value['postcode'], 'state': value['state'], 'country': value['country'], 'website': value['website'], }; }