Name | Type | Description | Notes |
---|---|---|---|
ButtonId | Pointer to string | Make sure this is unique | [optional] |
Payload | Pointer to string | [optional] | |
Title | string | ||
Type | string | Valid types are replyButton, urlButton & callButton |
func NewTemplateButton(title string, type_ string, ) *TemplateButton
NewTemplateButton instantiates a new TemplateButton object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTemplateButtonWithDefaults() *TemplateButton
NewTemplateButtonWithDefaults instantiates a new TemplateButton object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *TemplateButton) GetButtonId() string
GetButtonId returns the ButtonId field if non-nil, zero value otherwise.
func (o *TemplateButton) GetButtonIdOk() (*string, bool)
GetButtonIdOk returns a tuple with the ButtonId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateButton) SetButtonId(v string)
SetButtonId sets ButtonId field to given value.
func (o *TemplateButton) HasButtonId() bool
HasButtonId returns a boolean if a field has been set.
func (o *TemplateButton) GetPayload() string
GetPayload returns the Payload field if non-nil, zero value otherwise.
func (o *TemplateButton) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateButton) SetPayload(v string)
SetPayload sets Payload field to given value.
func (o *TemplateButton) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (o *TemplateButton) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *TemplateButton) 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 *TemplateButton) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *TemplateButton) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *TemplateButton) 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.
func (o *TemplateButton) SetType(v string)
SetType sets Type field to given value.