sinch.domains.voice.models.v2.services.shared package

class sinch.domains.voice.models.v2.services.shared.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-None defaults as set.

Parameters:

_BaseConfigModel__context (Any)

Return type:

None

class sinch.domains.voice.models.v2.services.shared.StaticCallBehavior(
*,
type: Literal['STATIC'] = 'STATIC',
static: SvamlInput,
**extra_data: Any,
)[source]

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-None defaults as set.

Parameters:

_BaseConfigModel__context (Any)

Return type:

None

class sinch.domains.voice.models.v2.services.shared.EventDestinationCallBehavior(
*,
type: Literal['EVENT_DESTINATION'] = 'EVENT_DESTINATION',
webhook: EventDestinationConfiguration,
**extra_data: Any,
)[source]

Bases: BaseConfigModel

Parameters:
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,
) None

Marks applied non-None defaults as set.

Parameters:

_BaseConfigModel__context (Any)

Return type:

None

class sinch.domains.voice.models.v2.services.shared.EventDestinationConfiguration(
*,
url: Annotated[str, Strict(strict=True)],
fallbackUrl: Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: BaseConfigModel

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

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

  • extra_data (Any)

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