sinch.domains.sms.models.v1.shared.binary_response module
- class sinch.domains.sms.models.v1.shared.binary_response.BinaryResponse(
- *,
- id: Annotated[str, Strict(strict=True)] | None = None,
- to: Annotated[list[Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None = None,
- from_: Annotated[str, Strict(strict=True)] | None = None,
- canceled: Annotated[bool, Strict(strict=True)] | None = None,
- body: Annotated[str, Strict(strict=True)] | None = None,
- udh: Annotated[str, Strict(strict=True)] | None = None,
- type: Literal['mt_binary'],
- created_at: datetime | None = None,
- modified_at: datetime | None = None,
- delivery_report: Annotated[str, Strict(strict=True)] | None = None,
- send_at: datetime | None = None,
- expire_at: datetime | None = None,
- callback_url: Annotated[str, Strict(strict=True)] | None = None,
- client_reference: Annotated[str, Strict(strict=True)] | None = None,
- feedback_enabled: Annotated[bool, Strict(strict=True)] | None = None,
- from_ton: Annotated[int, Strict(strict=True)] | None = None,
- from_npi: Annotated[int, Strict(strict=True)] | None = None,
- **extra_data: Any,
Bases:
SnakeCaseExtrasModel- Parameters:
id (Annotated[str, Strict(strict=True)] | None)
to (Annotated[list[Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None)
from_ (Annotated[str, Strict(strict=True)] | None)
canceled (Annotated[bool, Strict(strict=True)] | None)
body (Annotated[str, Strict(strict=True)] | None)
udh (Annotated[str, Strict(strict=True)] | None)
type (Literal['mt_binary'])
created_at (datetime | None)
modified_at (datetime | None)
delivery_report (Annotated[str, Strict(strict=True)] | None)
send_at (datetime | None)
expire_at (datetime | None)
callback_url (Annotated[str, Strict(strict=True)] | None)
client_reference (Annotated[str, Strict(strict=True)] | None)
feedback_enabled (Annotated[bool, Strict(strict=True)] | None)
from_ton (Annotated[int, Strict(strict=True)] | None)
from_npi (Annotated[int, Strict(strict=True)] | None)
extra_data (Any)
- id: Annotated[str, Strict(strict=True)] | None
- to: Annotated[list[Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None
- from_: Annotated[str, Strict(strict=True)] | None
- canceled: Annotated[bool, Strict(strict=True)] | None
- body: Annotated[str, Strict(strict=True)] | None
- udh: Annotated[str, Strict(strict=True)] | None
- type: Literal['mt_binary']
- created_at: datetime | None
- modified_at: datetime | None
- delivery_report: Annotated[str, Strict(strict=True)] | None
- send_at: datetime | None
- expire_at: datetime | None
- event_destination_target: Annotated[str, Strict(strict=True)] | None
- client_reference: Annotated[str, Strict(strict=True)] | None
- feedback_enabled: Annotated[bool, Strict(strict=True)] | None
- from_ton: Annotated[int, Strict(strict=True)] | None
- from_npi: Annotated[int, 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].