sinch.domains.sms.models.v1.response.list_batches_response module

class sinch.domains.sms.models.v1.response.list_batches_response.ListBatchesResponse(*, count: ~typing.Annotated[int, ~pydantic.types.Strict(strict=True)] | None = None, page: ~typing.Annotated[int, ~pydantic.types.Strict(strict=True)] | None = None, batches: ~typing.Annotated[list[~typing.Annotated[~sinch.domains.sms.models.v1.shared.text_response.TextResponse | ~sinch.domains.sms.models.v1.shared.binary_response.BinaryResponse | ~sinch.domains.sms.models.v1.shared.media_response.MediaResponse, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f48ba8d0>]], ~annotated_types.Len(min_length=0, max_length=None)] | None = None, page_size: ~typing.Annotated[int, ~pydantic.types.Strict(strict=True)] | None = None, **extra_data: ~typing.Any)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • count (Annotated[int, Strict(strict=True)] | None)

  • page (Annotated[int, Strict(strict=True)] | None)

  • batches (Annotated[list[Annotated[TextResponse | BinaryResponse | MediaResponse, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f48ba8d0>]], Len(min_length=0, max_length=None)] | None)

  • page_size (Annotated[int, Strict(strict=True)] | None)

  • extra_data (Any)

count: Annotated[int, Strict(strict=True)] | None
page: Annotated[int, Strict(strict=True)] | None
batches: Len(min_length=0, max_length=None)] | None
page_size: Annotated[int, Strict(strict=True)] | None
property content

Returns the content of batches list.

model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None