/** * 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 { ExtendedAccessGate } from './ExtendedAccessGate'; /** * * @export * @interface TrackAccessInfo */ export interface TrackAccessInfo { /** * Describes what access the given user has * @type {Access} * @memberof TrackAccessInfo */ access?: Access; /** * The user ID of the owner of this track * @type {string} * @memberof TrackAccessInfo */ userId: string; /** * The blocknumber this track was last updated * @type {number} * @memberof TrackAccessInfo */ blocknumber: number; /** * Whether or not the owner has restricted streaming behind an access gate * @type {boolean} * @memberof TrackAccessInfo */ isStreamGated?: boolean; /** * How to unlock stream access to the track * @type {ExtendedAccessGate} * @memberof TrackAccessInfo */ streamConditions?: ExtendedAccessGate; /** * Whether or not the owner has restricted downloading behind an access gate * @type {boolean} * @memberof TrackAccessInfo */ isDownloadGated?: boolean; /** * How to unlock the track download * @type {ExtendedAccessGate} * @memberof TrackAccessInfo */ downloadConditions?: ExtendedAccessGate; } /** * Check if a given object implements the TrackAccessInfo interface. */ export declare function instanceOfTrackAccessInfo(value: object): value is TrackAccessInfo; export declare function TrackAccessInfoFromJSON(json: any): TrackAccessInfo; export declare function TrackAccessInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrackAccessInfo; export declare function TrackAccessInfoToJSON(value?: TrackAccessInfo | null): any;