sinch.domains.voice.models.v2.services.response.service_short_response module

class sinch.domains.voice.models.v2.services.response.service_short_response.ServiceShortResponse(
*,
serviceId: Annotated[str, Strict(strict=True)],
projectId: Annotated[str, Strict(strict=True)],
createTime: datetime,
updateTime: datetime | None = None,
name: Annotated[str, Strict(strict=True)],
description: Annotated[str, Strict(strict=True)] | None = None,
isDefault: Annotated[bool, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: BaseConfigModel

Parameters:
  • serviceId (Annotated[str, Strict(strict=True)])

  • projectId (Annotated[str, Strict(strict=True)])

  • createTime (datetime)

  • updateTime (datetime | None)

  • name (Annotated[str, Strict(strict=True)])

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

  • isDefault (Annotated[bool, Strict(strict=True)])

  • extra_data (Any)

service_id: Annotated[str, Strict(strict=True)]
project_id: Annotated[str, Strict(strict=True)]
create_time: datetime
update_time: datetime | None
name: Annotated[str, Strict(strict=True)]
description: Annotated[str, Strict(strict=True)] | None
is_default: Annotated[bool, Strict(strict=True)]
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].

model_post_init(_BaseConfigModel__context: Any) None

Marks applied non-None defaults as set.

Parameters:

_BaseConfigModel__context (Any)

Return type:

None