sinch.domains.voice.models.v2.svaml.shared.recording_options module
- class sinch.domains.voice.models.v2.svaml.shared.recording_options.RecordingOptions(
- *,
- format: Literal['MP3', 'WAV'] | Annotated[str, Strict(strict=True)] | None = None,
- recordingType: Literal['COMBINED', 'INBOUND', 'OUTBOUND'] | Annotated[str, Strict(strict=True)] | None = None,
- destination: Literal['AWS', 'GCP', 'AZURE'] | Annotated[str, Strict(strict=True)],
- destinationUrl: Annotated[str, Strict(strict=True)],
- credentials: Annotated[str, Strict(strict=True)],
- transcriptionOptions: TranscriptionOptions | None = None,
- **extra_data: Any,
Bases:
BaseConfigModel- Parameters:
format (Literal['MP3', 'WAV'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)
recordingType (Literal['COMBINED', 'INBOUND', 'OUTBOUND'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)
destination (Literal['AWS', 'GCP', 'AZURE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)])
destinationUrl (Annotated[str, Strict(strict=True)])
credentials (Annotated[str, Strict(strict=True)])
transcriptionOptions (TranscriptionOptions | None)
extra_data (Any)
- format: Literal['MP3', 'WAV'] | Annotated[str, Strict(strict=True)] | None
- recording_type: Literal['COMBINED', 'INBOUND', 'OUTBOUND'] | Annotated[str, Strict(strict=True)] | None
- destination: Literal['AWS', 'GCP', 'AZURE'] | Annotated[str, Strict(strict=True)]
- destination_url: Annotated[str, Strict(strict=True)]
- credentials: Annotated[str, Strict(strict=True)]
- transcription_options: TranscriptionOptions | None
- model_config = {'extra': 'allow', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(_BaseConfigModel__context: Any) → None
Marks applied non-
Nonedefaults as set.- Parameters:
_BaseConfigModel__context (Any)
- Return type:
None