sinch.domains.voice.models.v2.svaml.shared.custom_event_command module

class sinch.domains.voice.models.v2.svaml.shared.custom_event_command.CustomEventCommand(
*,
command: Literal['customEvent'] = 'customEvent',
webhookName: Annotated[str, Strict(strict=True)],
url: Annotated[str, Strict(strict=True)],
fallbackUrl: Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: BaseConfigModel

Parameters:
  • command (Literal['customEvent'])

  • webhookName (Annotated[str, Strict(strict=True)])

  • url (Annotated[str, Strict(strict=True)])

  • fallbackUrl (Annotated[str, Strict(strict=True)] | None)

  • extra_data (Any)

command: Literal['customEvent']
custom_event_name: Annotated[str, Strict(strict=True)]
url: Annotated[str, Strict(strict=True)]
fallback_url: Annotated[str, Strict(strict=True)] | 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-None defaults as set.

Parameters:

_BaseConfigModel__context (Any)

Return type:

None