/* 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 PlaylistGetCompany */ export interface PlaylistGetCompany { /** * * @type {number} * @memberof PlaylistGetCompany */ companyTypeId?: number; /** * * @type {string} * @memberof PlaylistGetCompany */ name?: string | null; } /** * Check if a given object implements the PlaylistGetCompany interface. */ export function instanceOfPlaylistGetCompany(value: object): value is PlaylistGetCompany { return true; } export function PlaylistGetCompanyFromJSON(json: any): PlaylistGetCompany { return PlaylistGetCompanyFromJSONTyped(json, false); } export function PlaylistGetCompanyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaylistGetCompany { if (json == null) { return json; } return { 'companyTypeId': json['CompanyTypeId'] == null ? undefined : json['CompanyTypeId'], 'name': json['Name'] == null ? undefined : json['Name'], }; } export function PlaylistGetCompanyToJSON(json: any): PlaylistGetCompany { return PlaylistGetCompanyToJSONTyped(json, false); } export function PlaylistGetCompanyToJSONTyped(value?: PlaylistGetCompany | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'CompanyTypeId': value['companyTypeId'], 'Name': value['name'], }; }