/** * 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 type { Access } from './Access'; import type { AccessGate } from './AccessGate'; import type { Favorite } from './Favorite'; import type { PlaylistAddedTimestamp } from './PlaylistAddedTimestamp'; import type { PlaylistArtwork } from './PlaylistArtwork'; import type { Repost } from './Repost'; import type { Track } from './Track'; import type { User } from './User'; /** * * @export * @interface SearchPlaylist */ export interface SearchPlaylist { /** * * @type {PlaylistArtwork} * @memberof SearchPlaylist */ artwork?: PlaylistArtwork; /** * * @type {string} * @memberof SearchPlaylist */ description?: string; /** * * @type {string} * @memberof SearchPlaylist */ permalink: string; /** * * @type {string} * @memberof SearchPlaylist */ id: string; /** * * @type {boolean} * @memberof SearchPlaylist */ isAlbum: boolean; /** * * @type {boolean} * @memberof SearchPlaylist */ isImageAutogenerated: boolean; /** * * @type {string} * @memberof SearchPlaylist */ playlistName: string; /** * * @type {Array} * @memberof SearchPlaylist */ playlistContents: Array; /** * * @type {number} * @memberof SearchPlaylist */ repostCount: number; /** * * @type {number} * @memberof SearchPlaylist */ favoriteCount: number; /** * * @type {number} * @memberof SearchPlaylist */ totalPlayCount: number; /** * * @type {User} * @memberof SearchPlaylist */ user: User; /** * * @type {string} * @memberof SearchPlaylist */ ddexApp?: string; /** * * @type {Access} * @memberof SearchPlaylist */ access: Access; /** * * @type {string} * @memberof SearchPlaylist */ upc?: string; /** * * @type {number} * @memberof SearchPlaylist */ trackCount: number; /** * * @type {number} * @memberof SearchPlaylist */ blocknumber: number; /** * * @type {string} * @memberof SearchPlaylist */ createdAt: string; /** * * @type {Array} * @memberof SearchPlaylist */ followeeReposts?: Array; /** * * @type {Array} * @memberof SearchPlaylist */ followeeFavorites?: Array; /** * * @type {boolean} * @memberof SearchPlaylist */ hasCurrentUserReposted: boolean; /** * * @type {boolean} * @memberof SearchPlaylist */ hasCurrentUserSaved: boolean; /** * * @type {boolean} * @memberof SearchPlaylist */ isDelete: boolean; /** * * @type {boolean} * @memberof SearchPlaylist */ isPrivate: boolean; /** * * @type {string} * @memberof SearchPlaylist */ updatedAt: string; /** * DEPRECATED. Use playlist_contents instead. * @type {Array} * @memberof SearchPlaylist */ addedTimestamps: Array; /** * * @type {string} * @memberof SearchPlaylist */ userId: string; /** * * @type {Array} * @memberof SearchPlaylist */ tracks?: Array; /** * * @type {string} * @memberof SearchPlaylist */ coverArt?: string; /** * * @type {string} * @memberof SearchPlaylist */ coverArtSizes?: string; /** * * @type {PlaylistArtwork} * @memberof SearchPlaylist */ coverArtCids?: PlaylistArtwork; /** * * @type {boolean} * @memberof SearchPlaylist */ isStreamGated: boolean; /** * How to unlock stream access to the track * @type {AccessGate} * @memberof SearchPlaylist */ streamConditions?: AccessGate; /** * * @type {boolean} * @memberof SearchPlaylist */ isScheduledRelease: boolean; /** * * @type {string} * @memberof SearchPlaylist */ releaseDate?: string; /** * * @type {object} * @memberof SearchPlaylist */ ddexReleaseIds?: object; /** * * @type {Array} * @memberof SearchPlaylist */ artists?: Array; /** * * @type {object} * @memberof SearchPlaylist */ copyrightLine?: object; /** * * @type {object} * @memberof SearchPlaylist */ producerCopyrightLine?: object; /** * * @type {string} * @memberof SearchPlaylist */ parentalWarningType?: string | null; } /** * Check if a given object implements the SearchPlaylist interface. */ export declare function instanceOfSearchPlaylist(value: object): value is SearchPlaylist; export declare function SearchPlaylistFromJSON(json: any): SearchPlaylist; export declare function SearchPlaylistFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchPlaylist; export declare function SearchPlaylistToJSON(value?: SearchPlaylist | null): any;