/* 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 FeedClientLiteDTO */ export interface FeedClientLiteDTO { /** * * @type {number} * @memberof FeedClientLiteDTO */ feedId?: number; /** * * @type {string} * @memberof FeedClientLiteDTO */ name: string; } /** * Check if a given object implements the FeedClientLiteDTO interface. */ export function instanceOfFeedClientLiteDTO(value: object): value is FeedClientLiteDTO { if (!('name' in value) || value['name'] === undefined) return false; return true; } export function FeedClientLiteDTOFromJSON(json: any): FeedClientLiteDTO { return FeedClientLiteDTOFromJSONTyped(json, false); } export function FeedClientLiteDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeedClientLiteDTO { if (json == null) { return json; } return { 'feedId': json['FeedId'] == null ? undefined : json['FeedId'], 'name': json['Name'], }; } export function FeedClientLiteDTOToJSON(json: any): FeedClientLiteDTO { return FeedClientLiteDTOToJSONTyped(json, false); } export function FeedClientLiteDTOToJSONTyped(value?: FeedClientLiteDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'FeedId': value['feedId'], 'Name': value['name'], }; }