Skip to content

Latest commit

 

History

History
195 lines (104 loc) · 5.27 KB

NewTemplateDef.md

File metadata and controls

195 lines (104 loc) · 5.27 KB

NewTemplateDef

Properties

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]

Methods

GetTitle

func (o *NewTemplateDef) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

HasTitle

func (o *NewTemplateDef) HasTitle() bool

HasTitle returns a boolean if a field has been set.

SetTitle

func (o *NewTemplateDef) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

GetDescription

func (o *NewTemplateDef) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

HasDescription

func (o *NewTemplateDef) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *NewTemplateDef) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

GetHelp

func (o *NewTemplateDef) GetHelp() string

GetHelp returns the Help field if non-nil, zero value otherwise.

GetHelpOk

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.

HasHelp

func (o *NewTemplateDef) HasHelp() bool

HasHelp returns a boolean if a field has been set.

SetHelp

func (o *NewTemplateDef) SetHelp(v string)

SetHelp gets a reference to the given string and assigns it to the Help field.

GetCategory

func (o *NewTemplateDef) GetCategory() string

GetCategory returns the Category field if non-nil, zero value otherwise.

GetCategoryOk

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.

HasCategory

func (o *NewTemplateDef) HasCategory() bool

HasCategory returns a boolean if a field has been set.

SetCategory

func (o *NewTemplateDef) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

GetExpr

func (o *NewTemplateDef) GetExpr() []interface{}

GetExpr returns the Expr field if non-nil, zero value otherwise.

GetExprOk

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.

HasExpr

func (o *NewTemplateDef) HasExpr() bool

HasExpr returns a boolean if a field has been set.

SetExpr

func (o *NewTemplateDef) SetExpr(v []interface{})

SetExpr gets a reference to the given []interface{} and assigns it to the Expr field.

GetArgs

func (o *NewTemplateDef) GetArgs() []TemplateArgDef

GetArgs returns the Args field if non-nil, zero value otherwise.

GetArgsOk

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.

HasArgs

func (o *NewTemplateDef) HasArgs() bool

HasArgs returns a boolean if a field has been set.

SetArgs

func (o *NewTemplateDef) SetArgs(v []TemplateArgDef)

SetArgs gets a reference to the given []TemplateArgDef and assigns it to the Args field.

GetExpose

func (o *NewTemplateDef) GetExpose() bool

GetExpose returns the Expose field if non-nil, zero value otherwise.

GetExposeOk

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.

HasExpose

func (o *NewTemplateDef) HasExpose() bool

HasExpose returns a boolean if a field has been set.

SetExpose

func (o *NewTemplateDef) SetExpose(v bool)

SetExpose gets a reference to the given bool and assigns it to the Expose field.

[Back to Model list] [Back to API list] [Back to README]