sinch.domains.voice.models.v2.batches.response.batch_details_response module

class sinch.domains.voice.models.v2.batches.response.batch_details_response.BatchSessionSummary(
*,
id: Annotated[str, Strict(strict=True)] | None = None,
state: Literal['QUEUED', 'IN_PROGRESS', 'COMPLETED', 'EXPIRED'] | Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: BaseConfigModel

Parameters:
  • id (Annotated[str, Strict(strict=True)] | None)

  • state (Literal['QUEUED', 'IN_PROGRESS', 'COMPLETED', 'EXPIRED'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • extra_data (Any)

id: Annotated[str, Strict(strict=True)] | None
state: Literal['QUEUED', 'IN_PROGRESS', 'COMPLETED', 'EXPIRED'] | 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

class sinch.domains.voice.models.v2.batches.response.batch_details_response.BatchDetailsResponse(
*,
sessions: Annotated[list[BatchSessionSummary], Len(min_length=0, max_length=None)],
**extra_data: Any,
)[source]

Bases: BaseConfigModel

Parameters:
sessions: Annotated[list[BatchSessionSummary], Len(min_length=0, max_length=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