/* tslint:disable */ /* eslint-disable */ // @ts-nocheck /** * Audius API * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * * @export * @interface ProfilePicture */ export interface ProfilePicture { /** * * @type {string} * @memberof ProfilePicture */ _150x150?: string; /** * * @type {string} * @memberof ProfilePicture */ _480x480?: string; /** * * @type {string} * @memberof ProfilePicture */ _1000x1000?: string; /** * * @type {Array} * @memberof ProfilePicture */ mirrors?: Array; } /** * Check if a given object implements the ProfilePicture interface. */ export function instanceOfProfilePicture(value: object): value is ProfilePicture { let isInstance = true; return isInstance; } export function ProfilePictureFromJSON(json: any): ProfilePicture { return ProfilePictureFromJSONTyped(json, false); } export function ProfilePictureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfilePicture { if ((json === undefined) || (json === null)) { return json; } return { '_150x150': !exists(json, '150x150') ? undefined : json['150x150'], '_480x480': !exists(json, '480x480') ? undefined : json['480x480'], '_1000x1000': !exists(json, '1000x1000') ? undefined : json['1000x1000'], 'mirrors': !exists(json, 'mirrors') ? undefined : json['mirrors'], }; } export function ProfilePictureToJSON(value?: ProfilePicture | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { '150x150': value._150x150, '480x480': value._480x480, '1000x1000': value._1000x1000, 'mirrors': value.mirrors, }; }