/* 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 UserGetPlaylist */ export interface UserGetPlaylist { /** * * @type {number} * @memberof UserGetPlaylist */ playListId?: number; /** * * @type {string} * @memberof UserGetPlaylist */ name?: string | null; } /** * Check if a given object implements the UserGetPlaylist interface. */ export function instanceOfUserGetPlaylist(value: object): value is UserGetPlaylist { return true; } export function UserGetPlaylistFromJSON(json: any): UserGetPlaylist { return UserGetPlaylistFromJSONTyped(json, false); } export function UserGetPlaylistFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserGetPlaylist { if (json == null) { return json; } return { 'playListId': json['PlayListId'] == null ? undefined : json['PlayListId'], 'name': json['Name'] == null ? undefined : json['Name'], }; } export function UserGetPlaylistToJSON(json: any): UserGetPlaylist { return UserGetPlaylistToJSONTyped(json, false); } export function UserGetPlaylistToJSONTyped(value?: UserGetPlaylist | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'PlayListId': value['playListId'], 'Name': value['name'], }; }