/* 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 FeedPlaylistPlayTrack */ export interface FeedPlaylistPlayTrack { /** * * @type {number} * @memberof FeedPlaylistPlayTrack */ trackId?: number; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ name?: string | null; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ audioFile?: string | null; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ fileHash?: string | null; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ duration?: string; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ title?: string | null; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ artist?: string | null; /** * * @type {string} * @memberof FeedPlaylistPlayTrack */ imageFile?: string | null; } /** * Check if a given object implements the FeedPlaylistPlayTrack interface. */ export function instanceOfFeedPlaylistPlayTrack(value: object): value is FeedPlaylistPlayTrack { return true; } export function FeedPlaylistPlayTrackFromJSON(json: any): FeedPlaylistPlayTrack { return FeedPlaylistPlayTrackFromJSONTyped(json, false); } export function FeedPlaylistPlayTrackFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeedPlaylistPlayTrack { if (json == null) { return json; } return { 'trackId': json['TrackId'] == null ? undefined : json['TrackId'], 'name': json['Name'] == null ? undefined : json['Name'], 'audioFile': json['AudioFile'] == null ? undefined : json['AudioFile'], 'fileHash': json['FileHash'] == null ? undefined : json['FileHash'], 'duration': json['Duration'] == null ? undefined : json['Duration'], 'title': json['Title'] == null ? undefined : json['Title'], 'artist': json['Artist'] == null ? undefined : json['Artist'], 'imageFile': json['ImageFile'] == null ? undefined : json['ImageFile'], }; } export function FeedPlaylistPlayTrackToJSON(json: any): FeedPlaylistPlayTrack { return FeedPlaylistPlayTrackToJSONTyped(json, false); } export function FeedPlaylistPlayTrackToJSONTyped(value?: FeedPlaylistPlayTrack | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'TrackId': value['trackId'], 'Name': value['name'], 'AudioFile': value['audioFile'], 'FileHash': value['fileHash'], 'Duration': value['duration'], 'Title': value['title'], 'Artist': value['artist'], 'ImageFile': value['imageFile'], }; }