sinch.domains.conversation.templates.models.v2.shared.template_variable module
- class sinch.domains.conversation.templates.models.v2.shared.template_variable.TemplateVariable(
- *,
- key: Annotated[str, Strict(strict=True)] | None = None,
- preview_value: Annotated[str, Strict(strict=True)] | None = None,
- **extra_data: Any,
Bases:
BaseConfigModel- Parameters:
key (Annotated[str, Strict(strict=True)] | None)
preview_value (Annotated[str, Strict(strict=True)] | None)
extra_data (Any)
- key: Annotated[str, Strict(strict=True)] | None
- preview_value: Annotated[str, Strict(strict=True)] | None
- model_config = {'extra': 'allow', 'populate_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-
Nonedefaults as set.- Parameters:
_BaseConfigModel__context (Any)
- Return type:
None