/* 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 FeedPlaylistsResponse */ export interface FeedPlaylistsResponse { /** * * @type {number} * @memberof FeedPlaylistsResponse */ playListId?: number; /** * * @type {string} * @memberof FeedPlaylistsResponse */ name?: string | null; /** * * @type {number} * @memberof FeedPlaylistsResponse */ count?: number; /** * * @type {string} * @memberof FeedPlaylistsResponse */ duration?: string; /** * * @type {string} * @memberof FeedPlaylistsResponse */ timeOfDay?: string; /** * * @type {boolean} * @memberof FeedPlaylistsResponse */ shuffle?: boolean; /** * * @type {boolean} * @memberof FeedPlaylistsResponse */ active?: boolean; } /** * Check if a given object implements the FeedPlaylistsResponse interface. */ export function instanceOfFeedPlaylistsResponse(value: object): value is FeedPlaylistsResponse { return true; } export function FeedPlaylistsResponseFromJSON(json: any): FeedPlaylistsResponse { return FeedPlaylistsResponseFromJSONTyped(json, false); } export function FeedPlaylistsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeedPlaylistsResponse { if (json == null) { return json; } return { 'playListId': json['PlayListId'] == null ? undefined : json['PlayListId'], 'name': json['Name'] == null ? undefined : json['Name'], 'count': json['Count'] == null ? undefined : json['Count'], 'duration': json['Duration'] == null ? undefined : json['Duration'], 'timeOfDay': json['TimeOfDay'] == null ? undefined : json['TimeOfDay'], 'shuffle': json['Shuffle'] == null ? undefined : json['Shuffle'], 'active': json['Active'] == null ? undefined : json['Active'], }; } export function FeedPlaylistsResponseToJSON(json: any): FeedPlaylistsResponse { return FeedPlaylistsResponseToJSONTyped(json, false); } export function FeedPlaylistsResponseToJSONTyped(value?: FeedPlaylistsResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'PlayListId': value['playListId'], 'Name': value['name'], 'Count': value['count'], 'Duration': value['duration'], 'TimeOfDay': value['timeOfDay'], 'Shuffle': value['shuffle'], 'Active': value['active'], }; }