Skip to content

Latest commit

 

History

History
169 lines (90 loc) · 4.86 KB

TemplateArgDef.md

File metadata and controls

169 lines (90 loc) · 4.86 KB

TemplateArgDef

Properties

Name Type Description Notes
Type Pointer to string The type of value this argument expects.
Description Pointer to string A campaigner-friendly description of the argument, this will also be shown in the rule editor. [optional]
Title Pointer to string A campaigner friendly name for the argument, this will be shown in the rule editor.
Ui Pointer to map[string]interface{} Arbitrary metadata that may be used to render an input for this argument.
PicklistID Pointer to int32 ID of the picklist linked to a template. [optional]
RestrictedByPicklist Pointer to bool Whether or not this attribute's value is restricted by picklist (`picklist` property) [optional]

Methods

GetType

func (o *TemplateArgDef) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *TemplateArgDef) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasType

func (o *TemplateArgDef) HasType() bool

HasType returns a boolean if a field has been set.

SetType

func (o *TemplateArgDef) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

GetDescription

func (o *TemplateArgDef) GetDescription() string

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

GetDescriptionOk

func (o *TemplateArgDef) 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 *TemplateArgDef) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *TemplateArgDef) SetDescription(v string)

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

GetTitle

func (o *TemplateArgDef) GetTitle() string

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

GetTitleOk

func (o *TemplateArgDef) 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 *TemplateArgDef) HasTitle() bool

HasTitle returns a boolean if a field has been set.

SetTitle

func (o *TemplateArgDef) SetTitle(v string)

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

GetUi

func (o *TemplateArgDef) GetUi() map[string]interface{}

GetUi returns the Ui field if non-nil, zero value otherwise.

GetUiOk

func (o *TemplateArgDef) GetUiOk() (map[string]interface{}, bool)

GetUiOk returns a tuple with the Ui field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasUi

func (o *TemplateArgDef) HasUi() bool

HasUi returns a boolean if a field has been set.

SetUi

func (o *TemplateArgDef) SetUi(v map[string]interface{})

SetUi gets a reference to the given map[string]interface{} and assigns it to the Ui field.

GetPicklistID

func (o *TemplateArgDef) GetPicklistID() int32

GetPicklistID returns the PicklistID field if non-nil, zero value otherwise.

GetPicklistIDOk

func (o *TemplateArgDef) GetPicklistIDOk() (int32, bool)

GetPicklistIDOk returns a tuple with the PicklistID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasPicklistID

func (o *TemplateArgDef) HasPicklistID() bool

HasPicklistID returns a boolean if a field has been set.

SetPicklistID

func (o *TemplateArgDef) SetPicklistID(v int32)

SetPicklistID gets a reference to the given int32 and assigns it to the PicklistID field.

GetRestrictedByPicklist

func (o *TemplateArgDef) GetRestrictedByPicklist() bool

GetRestrictedByPicklist returns the RestrictedByPicklist field if non-nil, zero value otherwise.

GetRestrictedByPicklistOk

func (o *TemplateArgDef) GetRestrictedByPicklistOk() (bool, bool)

GetRestrictedByPicklistOk returns a tuple with the RestrictedByPicklist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

HasRestrictedByPicklist

func (o *TemplateArgDef) HasRestrictedByPicklist() bool

HasRestrictedByPicklist returns a boolean if a field has been set.

SetRestrictedByPicklist

func (o *TemplateArgDef) SetRestrictedByPicklist(v bool)

SetRestrictedByPicklist gets a reference to the given bool and assigns it to the RestrictedByPicklist field.

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