sinch.domains.numbers.models.v1.response.active_number module
- class sinch.domains.numbers.models.v1.response.active_number.ActiveNumber(
- *,
- phoneNumber: Annotated[str, Strict(strict=True)] | None = None,
- projectId: Annotated[str, Strict(strict=True)] | None = None,
- displayName: Annotated[str, Strict(strict=True)] | None = None,
- regionCode: Annotated[str, Strict(strict=True)] | None = None,
- type: Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | Annotated[str, Strict(strict=True)] | None = None,
- capabilities: Annotated[list[Literal['SMS', 'VOICE'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None = None,
- money: Money | None = None,
- paymentIntervalMonths: Annotated[int, Strict(strict=True)] | None = None,
- nextChargeDate: datetime | None = None,
- expireAt: datetime | None = None,
- smsConfiguration: SmsConfiguration | None = None,
- voiceConfiguration: VoiceConfigurationEST | VoiceConfigurationRTC | VoiceConfigurationFAX | None = None,
- callbackUrl: Annotated[str, Strict(strict=True)] | None = None,
- **extra_data: Any,
Bases:
SnakeCaseExtrasModel- Parameters:
phoneNumber (Annotated[str, Strict(strict=True)] | None)
projectId (Annotated[str, Strict(strict=True)] | None)
displayName (Annotated[str, Strict(strict=True)] | None)
regionCode (Annotated[str, Strict(strict=True)] | None)
type (Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)
capabilities (Annotated[list[Literal['SMS', 'VOICE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)]], ~annotated_types.Len(min_length=0, max_length=None)] | None)
money (Money | None)
paymentIntervalMonths (Annotated[int, Strict(strict=True)] | None)
nextChargeDate (datetime | None)
expireAt (datetime | None)
smsConfiguration (SmsConfiguration | None)
voiceConfiguration (VoiceConfigurationEST | VoiceConfigurationRTC | VoiceConfigurationFAX | None)
callbackUrl (Annotated[str, Strict(strict=True)] | None)
extra_data (Any)
- phone_number: Annotated[str, Strict(strict=True)] | None
- project_id: Annotated[str, Strict(strict=True)] | None
- display_name: Annotated[str, Strict(strict=True)] | None
- region_code: Annotated[str, Strict(strict=True)] | None
- type: Literal['MOBILE', 'LOCAL', 'TOLL_FREE'] | Annotated[str, Strict(strict=True)] | None
- capabilities: Annotated[list[Literal['SMS', 'VOICE'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None
- payment_interval_months: Annotated[int, Strict(strict=True)] | None
- next_charge_date: datetime | None
- expire_at: datetime | None
- sms_configuration: SmsConfiguration | None
- voice_configuration: VoiceConfigurationEST | VoiceConfigurationRTC | VoiceConfigurationFAX | None
- event_destination_target: Annotated[str, Strict(strict=True)] | 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].