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

class sinch.domains.number_lookup.models.v1.shared.line.Line(
*,
carrier: Annotated[str, Strict(strict=True)] | None = None,
type: Annotated[str, Strict(strict=True)] | None = None,
mobileCountryCode: Annotated[str, Strict(strict=True)] | None = None,
mobileNetworkCode: Annotated[str, Strict(strict=True)] | None = None,
ported: Annotated[bool, Strict(strict=True)] | None = None,
portingDate: datetime | None = None,
error: LookupError | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

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

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

  • ported (Annotated[bool, Strict(strict=True)] | None)

  • portingDate (datetime | None)

  • error (LookupError | None)

  • extra_data (Any)

carrier: Annotated[str, Strict(strict=True)] | None
type: Annotated[str, Strict(strict=True)] | None
mobile_country_code: Annotated[str, Strict(strict=True)] | None
mobile_network_code: Annotated[str, Strict(strict=True)] | None
ported: Annotated[bool, Strict(strict=True)] | None
porting_date: datetime | 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].