copyWith method
BodySpeechToTextV1SpeechToTextPost
copyWith({
- String? modelId,
- dynamic file,
- dynamic languageCode,
- bool? tagAudioEvents,
- dynamic numSpeakers,
- BodySpeechToTextV1SpeechToTextPostTimestampsGranularity? timestampsGranularity,
- bool? diarize,
- List<
ExportOptions> ? additionalFormats, - BodySpeechToTextV1SpeechToTextPostFileFormat? fileFormat,
- dynamic cloudStorageUrl,
- bool? webhook,
Implementation
BodySpeechToTextV1SpeechToTextPost copyWith(
{String? modelId,
dynamic file,
dynamic languageCode,
bool? tagAudioEvents,
dynamic numSpeakers,
enums.BodySpeechToTextV1SpeechToTextPostTimestampsGranularity?
timestampsGranularity,
bool? diarize,
List<ExportOptions>? additionalFormats,
enums.BodySpeechToTextV1SpeechToTextPostFileFormat? fileFormat,
dynamic cloudStorageUrl,
bool? webhook}) {
return BodySpeechToTextV1SpeechToTextPost(
modelId: modelId ?? this.modelId,
file: file ?? this.file,
languageCode: languageCode ?? this.languageCode,
tagAudioEvents: tagAudioEvents ?? this.tagAudioEvents,
numSpeakers: numSpeakers ?? this.numSpeakers,
timestampsGranularity:
timestampsGranularity ?? this.timestampsGranularity,
diarize: diarize ?? this.diarize,
additionalFormats: additionalFormats ?? this.additionalFormats,
fileFormat: fileFormat ?? this.fileFormat,
cloudStorageUrl: cloudStorageUrl ?? this.cloudStorageUrl,
webhook: webhook ?? this.webhook);
}