@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
50 lines (49 loc) • 2.26 kB
TypeScript
import { BaseAPI } from '../../../../common/BaseAPI';
import Configuration from '../../../../common/Configuration';
import CustomdataApi from './customdata/CustomdataApi';
import BitmovinResponse from '../../../../models/BitmovinResponse';
import SegmentedRawMuxing from '../../../../models/SegmentedRawMuxing';
import PaginationResponse from '../../../../models/PaginationResponse';
import { SegmentedRawMuxingListQueryParams, SegmentedRawMuxingListQueryParamsBuilder } from './SegmentedRawMuxingListQueryParams';
/**
* SegmentedRawApi - object-oriented interface
* @export
* @class SegmentedRawApi
* @extends {BaseAPI}
*/
export default class SegmentedRawApi extends BaseAPI {
customdata: CustomdataApi;
constructor(configuration: Configuration);
/**
* @summary Add Segmented RAW muxing
* @param {string} encodingId Id of the encoding.
* @param {SegmentedRawMuxing} segmentedRawMuxing The Segmented RAW muxing to be created
* @throws {BitmovinError}
* @memberof SegmentedRawApi
*/
create(encodingId: string, segmentedRawMuxing?: SegmentedRawMuxing): Promise<SegmentedRawMuxing>;
/**
* @summary Delete Segmented RAW muxing
* @param {string} encodingId Id of the encoding.
* @param {string} muxingId Id of the Segmented RAW muxing
* @throws {BitmovinError}
* @memberof SegmentedRawApi
*/
delete(encodingId: string, muxingId: string): Promise<BitmovinResponse>;
/**
* @summary Segmented RAW muxing details
* @param {string} encodingId Id of the encoding.
* @param {string} muxingId Id of the Segmented RAW muxing
* @throws {BitmovinError}
* @memberof SegmentedRawApi
*/
get(encodingId: string, muxingId: string): Promise<SegmentedRawMuxing>;
/**
* @summary List Segmented RAW muxings
* @param {string} encodingId Id of the encoding.
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
* @throws {BitmovinError}
* @memberof SegmentedRawApi
*/
list(encodingId: string, queryParameters?: SegmentedRawMuxingListQueryParams | ((q: SegmentedRawMuxingListQueryParamsBuilder) => SegmentedRawMuxingListQueryParamsBuilder)): Promise<PaginationResponse<SegmentedRawMuxing>>;
}