sinch.domains.sms.models.v1.shared.mo_media_item module

class sinch.domains.sms.models.v1.shared.mo_media_item.MOMediaItem(
*,
url: Annotated[str, Strict(strict=True)] | None = None,
content_type: Annotated[str, Strict(strict=True)],
status: Literal['Uploaded', 'Failed'] | Annotated[str, Strict(strict=True)],
code: Annotated[int, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

  • status (Literal['Uploaded', 'Failed'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)])

  • code (Annotated[int, Strict(strict=True)])

  • extra_data (Any)

url: Annotated[str, Strict(strict=True)] | None
content_type: Annotated[str, Strict(strict=True)]
status: Literal['Uploaded', 'Failed'] | Annotated[str, Strict(strict=True)]
code: Annotated[int, Strict(strict=True)]
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].