import { NestableVerb } from '../NestableVerb'; import { CustomParam } from './CustomParam'; export interface StartTranscriptionAttributes { name?: string; tracks?: string; transcriptionEventUrl?: string; transcriptionEventMethod?: string; username?: string; password?: string destination?: string; stabilized?: boolean; } /** * @export * @class StartTranscription * @extends {NestableVerb} * Represents a StartTranscription verb */ export class StartTranscription extends NestableVerb { attributes: StartTranscriptionAttributes; /** * Creates an instance of StartTranscription * @param {StartTranscriptionAttributes} attributes The attributes to add to the element * @param {CustomParam | CustomParam[]} customParams The custom params to add to the element */ constructor(attributes?: StartTranscriptionAttributes, customParams?: CustomParam | CustomParam[]) { super('StartTranscription', undefined, attributes, customParams); } /** * Add a custom param or params to the StartTranscription * @param {CustomParam | CustomParam[]} customParams The custom param or params to add */ addCustomParams(customParams: CustomParam | CustomParam[]): void { this.nestedVerbs = this.nestedVerbs.concat(customParams); } }