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