sinch.domains.voice.models.v2.services.shared.call_behavior module
- class sinch.domains.voice.models.v2.services.shared.call_behavior.NoneCallBehavior(*, type: Literal['NONE'] = 'NONE', **extra_data: Any)[source]
Bases:
BaseConfigModel- Parameters:
type (Literal['NONE'])
extra_data (Any)
- type: Literal['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
- class sinch.domains.voice.models.v2.services.shared.call_behavior.EventDestinationCallBehavior(
- *,
- type: Literal['EVENT_DESTINATION'] = 'EVENT_DESTINATION',
- webhook: EventDestinationConfiguration,
- **extra_data: Any,
Bases:
BaseConfigModel- Parameters:
type (Literal['EVENT_DESTINATION'])
webhook (EventDestinationConfiguration)
extra_data (Any)
- type: Literal['EVENT_DESTINATION']
- event_destination: EventDestinationConfiguration
- 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
- class sinch.domains.voice.models.v2.services.shared.call_behavior.StaticCallBehavior(
- *,
- type: Literal['STATIC'] = 'STATIC',
- static: SvamlInput,
- **extra_data: Any,
Bases:
BaseConfigModel- Parameters:
type (Literal['STATIC'])
static (SvamlInput)
extra_data (Any)
- type: Literal['STATIC']
- static: SvamlInput
- 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