sinch.domains.voice.models.v2.svaml.shared.incoming_call_response_events module
- class sinch.domains.voice.models.v2.svaml.shared.incoming_call_response_events.IncomingCallResponseEvents(
- *,
- onHangup: List[Annotated[AmdCommand | DialCommand | MessagesCommand | StopMessagesCommand | CustomEventCommand | HangupCommand | AnswerCommand | PauseCommand | StartRecordingCommand | StopRecordingCommand | BridgeCallCommand | MenuCommand | GotoMenuCommand, FieldInfo(annotation=NoneType, required=True, discriminator='command')]] | None = None,
- **extra_data: Any,
Bases:
BaseConfigModel- Parameters:
onHangup (List[Annotated[AmdCommand | DialCommand | MessagesCommand | StopMessagesCommand | CustomEventCommand | HangupCommand | AnswerCommand | PauseCommand | StartRecordingCommand | StopRecordingCommand | BridgeCallCommand | MenuCommand | GotoMenuCommand, FieldInfo(annotation=NoneType, required=True, discriminator='command')]] | None)
extra_data (Any)
- on_hangup: List[Annotated[AmdCommand | DialCommand | MessagesCommand | StopMessagesCommand | CustomEventCommand | HangupCommand | AnswerCommand | PauseCommand | StartRecordingCommand | StopRecordingCommand | BridgeCallCommand | MenuCommand | GotoMenuCommand, FieldInfo(annotation=NoneType, required=True, discriminator='command')]] | 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,
Marks applied non-
Nonedefaults as set.- Parameters:
_BaseConfigModel__context (Any)
- Return type:
None