sinch.domains.numbers.models.v1.errors.not_found_error module

class sinch.domains.numbers.models.v1.errors.not_found_error.NotFoundError(
*,
code: Annotated[int, Strict(strict=True)] | None = None,
message: Annotated[str, Strict(strict=True)] | None = None,
status: Annotated[str, Strict(strict=True)] | None = None,
details: Annotated[list[NotFoundErrorDetails], Len(min_length=0, max_length=None)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • code (Annotated[int, Strict(strict=True)] | None)

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

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

  • details (Annotated[list[NotFoundErrorDetails], Len(min_length=0, max_length=None)] | None)

  • extra_data (Any)

code: Annotated[int, Strict(strict=True)] | None
message: Annotated[str, Strict(strict=True)] | None
status: Annotated[str, Strict(strict=True)] | None
details: Annotated[list[NotFoundErrorDetails], 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].