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

class sinch.domains.number_lookup.models.v1.shared.voip_detection.VoIPDetection(
*,
probability: Literal['Unknown', 'High', 'Likely', 'Low'] | Annotated[str, Strict(strict=True)] | None = None,
error: LookupError | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • probability (Literal['Unknown', 'High', 'Likely', 'Low'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • error (LookupError | None)

  • extra_data (Any)

probability: Literal['Unknown', 'High', 'Likely', 'Low'] | 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].