Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
ApplicationId | Pointer to int32 | The ID of the application that owns this entity. | |
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. | |
Help | Pointer to string | Extended help text for the template. | |
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] |
Name | Pointer to string | The template name used in Talang. |
func (o *TemplateDef) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *TemplateDef) GetIdOk() (int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDef) HasId() bool
HasId returns a boolean if a field has been set.
func (o *TemplateDef) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *TemplateDef) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *TemplateDef) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDef) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *TemplateDef) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *TemplateDef) GetApplicationId() int32
GetApplicationId returns the ApplicationId field if non-nil, zero value otherwise.
func (o *TemplateDef) GetApplicationIdOk() (int32, bool)
GetApplicationIdOk returns a tuple with the ApplicationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDef) HasApplicationId() bool
HasApplicationId returns a boolean if a field has been set.
func (o *TemplateDef) SetApplicationId(v int32)
SetApplicationId gets a reference to the given int32 and assigns it to the ApplicationId field.
func (o *TemplateDef) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *TemplateDef) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *TemplateDef) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *TemplateDef) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *TemplateDef) GetHelp() string
GetHelp returns the Help field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasHelp() bool
HasHelp returns a boolean if a field has been set.
func (o *TemplateDef) SetHelp(v string)
SetHelp gets a reference to the given string and assigns it to the Help field.
func (o *TemplateDef) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *TemplateDef) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (o *TemplateDef) GetExpr() []interface{}
GetExpr returns the Expr field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasExpr() bool
HasExpr returns a boolean if a field has been set.
func (o *TemplateDef) SetExpr(v []interface{})
SetExpr gets a reference to the given []interface{} and assigns it to the Expr field.
func (o *TemplateDef) GetArgs() []TemplateArgDef
GetArgs returns the Args field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (o *TemplateDef) SetArgs(v []TemplateArgDef)
SetArgs gets a reference to the given []TemplateArgDef and assigns it to the Args field.
func (o *TemplateDef) GetExpose() bool
GetExpose returns the Expose field if non-nil, zero value otherwise.
func (o *TemplateDef) 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 *TemplateDef) HasExpose() bool
HasExpose returns a boolean if a field has been set.
func (o *TemplateDef) SetExpose(v bool)
SetExpose gets a reference to the given bool and assigns it to the Expose field.
func (o *TemplateDef) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TemplateDef) GetNameOk() (string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDef) HasName() bool
HasName returns a boolean if a field has been set.
func (o *TemplateDef) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.