/* 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 TrackPlayListDTO */ export interface TrackPlayListDTO { /** * * @type {number} * @memberof TrackPlayListDTO */ trackId?: number; /** * * @type {number} * @memberof TrackPlayListDTO */ playListId?: number | null; /** * * @type {number} * @memberof TrackPlayListDTO */ index?: number | null; /** * * @type {boolean} * @memberof TrackPlayListDTO */ active?: boolean; } /** * Check if a given object implements the TrackPlayListDTO interface. */ export function instanceOfTrackPlayListDTO(value: object): value is TrackPlayListDTO { return true; } export function TrackPlayListDTOFromJSON(json: any): TrackPlayListDTO { return TrackPlayListDTOFromJSONTyped(json, false); } export function TrackPlayListDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrackPlayListDTO { if (json == null) { return json; } return { 'trackId': json['TrackId'] == null ? undefined : json['TrackId'], 'playListId': json['PlayListId'] == null ? undefined : json['PlayListId'], 'index': json['Index'] == null ? undefined : json['Index'], 'active': json['Active'] == null ? undefined : json['Active'], }; } export function TrackPlayListDTOToJSON(json: any): TrackPlayListDTO { return TrackPlayListDTOToJSONTyped(json, false); } export function TrackPlayListDTOToJSONTyped(value?: TrackPlayListDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'TrackId': value['trackId'], 'PlayListId': value['playListId'], 'Index': value['index'], 'Active': value['active'], }; }