/**
 * API
 * Audius V1 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 { AlbumBacklink } from './AlbumBacklink';
import type { CoverArt } from './CoverArt';
import type { DdexCopyright } from './DdexCopyright';
import type { DdexResourceContributor } from './DdexResourceContributor';
import type { DdexRightsController } from './DdexRightsController';
import type { Favorite } from './Favorite';
import type { FieldVisibility } from './FieldVisibility';
import type { RemixParent } from './RemixParent';
import type { Repost } from './Repost';
import type { StemParent } from './StemParent';
import type { TrackArtwork } from './TrackArtwork';
import type { TrackSegment } from './TrackSegment';
import type { UrlWithMirrors } from './UrlWithMirrors';
import type { User } from './User';
/**
 *
 * @export
 * @interface SearchTrack
 */
export interface SearchTrack {
    /**
     *
     * @type {TrackArtwork}
     * @memberof SearchTrack
     */
    artwork: TrackArtwork;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    description?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    genre: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    id: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    trackCid?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    previewCid?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    origFileCid?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    origFilename?: string;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isOriginalAvailable: boolean;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    mood?: string;
    /**
     *
     * @type {Date}
     * @memberof SearchTrack
     */
    releaseDate?: Date;
    /**
     *
     * @type {RemixParent}
     * @memberof SearchTrack
     */
    remixOf: RemixParent;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    repostCount: number;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    favoriteCount: number;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    commentCount: number;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    tags?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    title: string;
    /**
     *
     * @type {User}
     * @memberof SearchTrack
     */
    user: User;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    duration: number;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isDownloadable: boolean;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    playCount: number;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    permalink: string;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isStreamable?: boolean;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    ddexApp?: string;
    /**
     *
     * @type {Array<number>}
     * @memberof SearchTrack
     */
    playlistsContainingTrack?: Array<number>;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    pinnedCommentId?: number;
    /**
     *
     * @type {AlbumBacklink}
     * @memberof SearchTrack
     */
    albumBacklink?: AlbumBacklink;
    /**
     * Describes what access the given user has
     * @type {Access}
     * @memberof SearchTrack
     */
    access: Access;
    /**
     * The blocknumber this track was last updated
     * @type {number}
     * @memberof SearchTrack
     */
    blocknumber: number;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    createDate?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    coverArtSizes: string;
    /**
     *
     * @type {CoverArt}
     * @memberof SearchTrack
     */
    coverArtCids?: CoverArt;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    createdAt: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    creditsSplits?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    isrc?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    license?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    iswc?: string;
    /**
     *
     * @type {FieldVisibility}
     * @memberof SearchTrack
     */
    fieldVisibility: FieldVisibility;
    /**
     *
     * @type {Array<Repost>}
     * @memberof SearchTrack
     */
    followeeReposts?: Array<Repost>;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    hasCurrentUserReposted: boolean;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isScheduledRelease: boolean;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isUnlisted: boolean;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    hasCurrentUserSaved: boolean;
    /**
     *
     * @type {Array<Favorite>}
     * @memberof SearchTrack
     */
    followeeFavorites?: Array<Favorite>;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    routeId: string;
    /**
     *
     * @type {StemParent}
     * @memberof SearchTrack
     */
    stemOf?: StemParent;
    /**
     *
     * @type {Array<TrackSegment>}
     * @memberof SearchTrack
     */
    trackSegments: Array<TrackSegment>;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    updatedAt: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    userId: string;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isDelete: boolean;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    coverArt?: string;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isAvailable: boolean;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    aiAttributionUserId?: number;
    /**
     *
     * @type {Array<string>}
     * @memberof SearchTrack
     */
    allowedApiKeys?: Array<string>;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    audioUploadId?: string;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    previewStartSeconds?: number;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    bpm?: number;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isCustomBpm?: boolean;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    musicalKey?: string;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    isCustomMusicalKey?: boolean;
    /**
     *
     * @type {number}
     * @memberof SearchTrack
     */
    audioAnalysisErrorCount?: number;
    /**
     *
     * @type {boolean}
     * @memberof SearchTrack
     */
    commentsDisabled?: boolean;
    /**
     *
     * @type {object}
     * @memberof SearchTrack
     */
    ddexReleaseIds?: object;
    /**
     *
     * @type {Array<object>}
     * @memberof SearchTrack
     */
    artists?: Array<object>;
    /**
     *
     * @type {Array<DdexResourceContributor>}
     * @memberof SearchTrack
     */
    resourceContributors?: Array<DdexResourceContributor> | null;
    /**
     *
     * @type {Array<DdexResourceContributor>}
     * @memberof SearchTrack
     */
    indirectResourceContributors?: Array<DdexResourceContributor> | null;
    /**
     *
     * @type {DdexRightsController}
     * @memberof SearchTrack
     */
    rightsController?: DdexRightsController;
    /**
     *
     * @type {DdexCopyright}
     * @memberof SearchTrack
     */
    copyrightLine?: DdexCopyright | null;
    /**
     *
     * @type {DdexCopyright}
     * @memberof SearchTrack
     */
    producerCopyrightLine?: DdexCopyright | null;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    parentalWarningType?: string | null;
    /**
     * Whether or not the owner has restricted streaming behind an access gate
     * @type {boolean}
     * @memberof SearchTrack
     */
    isStreamGated: boolean;
    /**
     * How to unlock stream access to the track
     * @type {AccessGate}
     * @memberof SearchTrack
     */
    streamConditions?: AccessGate;
    /**
     * Whether or not the owner has restricted downloading behind an access gate
     * @type {boolean}
     * @memberof SearchTrack
     */
    isDownloadGated: boolean;
    /**
     * How to unlock the track download
     * @type {AccessGate}
     * @memberof SearchTrack
     */
    downloadConditions?: AccessGate;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    coverOriginalSongTitle?: string;
    /**
     *
     * @type {string}
     * @memberof SearchTrack
     */
    coverOriginalArtist?: string;
    /**
     * Indicates whether the track is owned by the user for MRI sake
     * @type {boolean}
     * @memberof SearchTrack
     */
    isOwnedByUser: boolean;
    /**
     *
     * @type {UrlWithMirrors}
     * @memberof SearchTrack
     */
    stream: UrlWithMirrors;
    /**
     *
     * @type {UrlWithMirrors}
     * @memberof SearchTrack
     */
    download: UrlWithMirrors;
    /**
     *
     * @type {UrlWithMirrors}
     * @memberof SearchTrack
     */
    preview: UrlWithMirrors;
}
/**
 * Check if a given object implements the SearchTrack interface.
 */
export declare function instanceOfSearchTrack(value: object): value is SearchTrack;
export declare function SearchTrackFromJSON(json: any): SearchTrack;
export declare function SearchTrackFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchTrack;
export declare function SearchTrackToJSON(value?: SearchTrack | null): any;
