sinch.domains.numbers.models.v1.response.available_number module
- class sinch.domains.numbers.models.v1.response.available_number.AvailableNumber(
- *,
- phoneNumber: Annotated[str, Strict(strict=True)] | None = None,
- regionCode: Annotated[str, Strict(strict=True)] | None = None,
- type: Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | Annotated[str, Strict(strict=True)] | None = None,
- capability: Annotated[list[Literal['SMS', 'VOICE'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None = None,
- setupPrice: Money | None = None,
- monthlyPrice: Money | None = None,
- paymentIntervalMonths: Annotated[int, Strict(strict=True)] | None = None,
- supportingDocumentationRequired: Annotated[bool, Strict(strict=True)] | None = None,
- **extra_data: Any,
Bases:
SnakeCaseExtrasModel- Parameters:
phoneNumber (Annotated[str, Strict(strict=True)] | None)
regionCode (Annotated[str, Strict(strict=True)] | None)
type (Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)
capability (Annotated[list[Literal['SMS', 'VOICE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)]], ~annotated_types.Len(min_length=0, max_length=None)] | None)
setupPrice (Money | None)
monthlyPrice (Money | None)
paymentIntervalMonths (Annotated[int, Strict(strict=True)] | None)
supportingDocumentationRequired (Annotated[bool, Strict(strict=True)] | None)
extra_data (Any)
- phone_number: Annotated[str, Strict(strict=True)] | None
- region_code: Annotated[str, Strict(strict=True)] | None
- type: Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | Annotated[str, Strict(strict=True)] | None
- capability: Annotated[list[Literal['SMS', 'VOICE'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None
- payment_interval_months: Annotated[int, Strict(strict=True)] | None
- supporting_documentation_required: Annotated[bool, 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].