/* 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 GenrePlaylistDTO */ export interface GenrePlaylistDTO { /** * * @type {number} * @memberof GenrePlaylistDTO */ genreId?: number; /** * * @type {number} * @memberof GenrePlaylistDTO */ playListId?: number; } /** * Check if a given object implements the GenrePlaylistDTO interface. */ export function instanceOfGenrePlaylistDTO(value: object): value is GenrePlaylistDTO { return true; } export function GenrePlaylistDTOFromJSON(json: any): GenrePlaylistDTO { return GenrePlaylistDTOFromJSONTyped(json, false); } export function GenrePlaylistDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenrePlaylistDTO { if (json == null) { return json; } return { 'genreId': json['GenreId'] == null ? undefined : json['GenreId'], 'playListId': json['PlayListId'] == null ? undefined : json['PlayListId'], }; } export function GenrePlaylistDTOToJSON(json: any): GenrePlaylistDTO { return GenrePlaylistDTOToJSONTyped(json, false); } export function GenrePlaylistDTOToJSONTyped(value?: GenrePlaylistDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'GenreId': value['genreId'], 'PlayListId': value['playListId'], }; }