sinch.domains.numbers.models.v1.response.available_region module

class sinch.domains.numbers.models.v1.response.available_region.AvailableRegion(
*,
regionCode: Annotated[str, Strict(strict=True)] | None = None,
regionName: Annotated[str, Strict(strict=True)] | None = None,
types: Annotated[list[Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

  • regionName (Annotated[str, Strict(strict=True)] | None)

  • types (Annotated[list[Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)]], ~annotated_types.Len(min_length=0, max_length=None)] | None)

  • extra_data (Any)

region_code: Annotated[str, Strict(strict=True)] | None
region_name: Annotated[str, Strict(strict=True)] | None
types: Annotated[list[Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | 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].