@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
47 lines (46 loc) • 1.3 kB
TypeScript
import StreamsLiveResponse from './StreamsLiveResponse';
import StreamsType from './StreamsType';
import StreamsVideoResponse from './StreamsVideoResponse';
export type StreamsResponseUnion = StreamsVideoResponse | StreamsLiveResponse;
/**
* @export
* @class StreamsResponse
*/
export declare class StreamsResponse {
protected static readonly _discriminatorName = "type";
protected static readonly _discriminatorMapping: {
[key in keyof typeof StreamsType]: string;
};
/**
* The identifier of the stream
* @type {string}
* @memberof StreamsResponse
*/
id?: string;
/**
* The title of the stream
* @type {string}
* @memberof StreamsResponse
*/
title?: string;
/**
* The description of the stream
* @type {string}
* @memberof StreamsResponse
*/
description?: string;
/**
* Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
* @type {Date}
* @memberof StreamsResponse
*/
createdAt?: Date;
/**
* Type of the Stream contained in the StreamsResponse
* @type {StreamsType}
* @memberof StreamsResponse
*/
type?: StreamsType;
constructor(obj?: Partial<StreamsResponse>);
}
export default StreamsResponse;