Name | Type | Description | Notes |
---|---|---|---|
Title | Pointer to string | Campaigner-friendly name for the template that will be shown in the rule editor. | |
Description | Pointer to string | A short description of the template that will be shown in the rule editor. | [optional] |
Help | Pointer to string | Extended help text for the template. | [optional] |
Category | Pointer to string | Used for grouping templates in the rule editor sidebar. | |
Expr | Pointer to []interface{} | A Talang expression that contains variable bindings referring to args. | |
Args | Pointer to []TemplateArgDef | An array of argument definitions. | |
Expose | Pointer to bool | A flag to control exposure in Rule Builder. | [optional] [default to false] |
func (o *NewTemplateDef) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetTitleOk() (string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *NewTemplateDef) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *NewTemplateDef) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetDescriptionOk() (string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *NewTemplateDef) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *NewTemplateDef) GetHelp() string
GetHelp returns the Help field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetHelpOk() (string, bool)
GetHelpOk returns a tuple with the Help field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasHelp() bool
HasHelp returns a boolean if a field has been set.
func (o *NewTemplateDef) SetHelp(v string)
SetHelp gets a reference to the given string and assigns it to the Help field.
func (o *NewTemplateDef) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetCategoryOk() (string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *NewTemplateDef) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (o *NewTemplateDef) GetExpr() []interface{}
GetExpr returns the Expr field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetExprOk() ([]interface{}, bool)
GetExprOk returns a tuple with the Expr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasExpr() bool
HasExpr returns a boolean if a field has been set.
func (o *NewTemplateDef) SetExpr(v []interface{})
SetExpr gets a reference to the given []interface{} and assigns it to the Expr field.
func (o *NewTemplateDef) GetArgs() []TemplateArgDef
GetArgs returns the Args field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetArgsOk() ([]TemplateArgDef, bool)
GetArgsOk returns a tuple with the Args field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (o *NewTemplateDef) SetArgs(v []TemplateArgDef)
SetArgs gets a reference to the given []TemplateArgDef and assigns it to the Args field.
func (o *NewTemplateDef) GetExpose() bool
GetExpose returns the Expose field if non-nil, zero value otherwise.
func (o *NewTemplateDef) GetExposeOk() (bool, bool)
GetExposeOk returns a tuple with the Expose field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewTemplateDef) HasExpose() bool
HasExpose returns a boolean if a field has been set.
func (o *NewTemplateDef) SetExpose(v bool)
SetExpose gets a reference to the given bool and assigns it to the Expose field.