sinch.domains.number_lookup.models.v1.shared.sim_swap module

class sinch.domains.number_lookup.models.v1.shared.sim_swap.SimSwap(
*,
swapped: Annotated[bool, Strict(strict=True)] | None = None,
swapPeriod: Literal['Undefined', 'SP4H', 'SP12H', 'SP24H', 'SP48H', 'SP5D', 'SP7D', 'SP14D', 'SP30D', 'SPMAX'] | Annotated[str, Strict(strict=True)] | None = None,
error: LookupError | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • swapped (Annotated[bool, Strict(strict=True)] | None)

  • swapPeriod (Literal['Undefined', 'SP4H', 'SP12H', 'SP24H', 'SP48H', 'SP5D', 'SP7D', 'SP14D', 'SP30D', 'SPMAX'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • error (LookupError | None)

  • extra_data (Any)

swapped: Annotated[bool, Strict(strict=True)] | None
swap_period: Literal['Undefined', 'SP4H', 'SP12H', 'SP24H', 'SP48H', 'SP5D', 'SP7D', 'SP14D', 'SP30D', 'SPMAX'] | Annotated[str, Strict(strict=True)] | None
error: LookupError | 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].