batchStart method
Starts existing resources
May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw BadGatewayException. May throw NotFoundException. May throw GatewayTimeoutException. May throw TooManyRequestsException. May throw ConflictException.
Parameter channelIds
:
List of channel IDs
Parameter multiplexIds
:
List of multiplex IDs
Implementation
Future<BatchStartResponse> batchStart({
List<String>? channelIds,
List<String>? multiplexIds,
}) async {
final $payload = <String, dynamic>{
if (channelIds != null) 'channelIds': channelIds,
if (multiplexIds != null) 'multiplexIds': multiplexIds,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/prod/batch/start',
exceptionFnMap: _exceptionFns,
);
return BatchStartResponse.fromJson(response);
}