/* tslint:disable */ /* eslint-disable */ /** * Mubicon v1 API * Api with Swagger, Swashbuckle, and Manual API versioning. * * The version of the OpenAPI document: 1 * Contact: support@mubicloud.com * * 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 UserGetPlace */ export interface UserGetPlace { /** * * @type {number} * @memberof UserGetPlace */ placeId?: number; /** * * @type {string} * @memberof UserGetPlace */ name?: string | null; /** * * @type {string} * @memberof UserGetPlace */ square?: string | null; /** * * @type {string} * @memberof UserGetPlace */ address?: string | null; /** * * @type {string} * @memberof UserGetPlace */ companyType?: string | null; } /** * Check if a given object implements the UserGetPlace interface. */ export function instanceOfUserGetPlace(value: object): value is UserGetPlace { return true; } export function UserGetPlaceFromJSON(json: any): UserGetPlace { return UserGetPlaceFromJSONTyped(json, false); } export function UserGetPlaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserGetPlace { if (json == null) { return json; } return { 'placeId': json['PlaceId'] == null ? undefined : json['PlaceId'], 'name': json['Name'] == null ? undefined : json['Name'], 'square': json['Square'] == null ? undefined : json['Square'], 'address': json['Address'] == null ? undefined : json['Address'], 'companyType': json['CompanyType'] == null ? undefined : json['CompanyType'], }; } export function UserGetPlaceToJSON(json: any): UserGetPlace { return UserGetPlaceToJSONTyped(json, false); } export function UserGetPlaceToJSONTyped(value?: UserGetPlace | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'PlaceId': value['placeId'], 'Name': value['name'], 'Square': value['square'], 'Address': value['address'], 'CompanyType': value['companyType'], }; }