Class TemplateVariable
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Model for template variables in e-mail templates.
Inheritance
System.Object
TemplateVariable
Namespace: Stylelabs.M.Sdk.Contracts.Notifications
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
TemplateVariable()
Creates a brand new instance.
Declaration
TemplateVariable(JObject)
Creates a new instance using an existing property value.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| JObject | jObject |
The property value. |
Properties
Name
Name of the variable.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Template
Gets or sets the template for the variable. For DateTime this can be a formatting, or it can be the name of the variable in the backend to be injected.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Templated
Gets or sets whether the variable is a template. This means that the value is injected by the backend and/or needs formatting.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
VariableType
Type of the variable.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<TemplateVariableType> |
Methods
GetJObject()
Gets the values of this object as an .
Declaration
Returns
| Type | Description |
|---|---|
| JObject |