Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.21 KB

TemplateButton.md

File metadata and controls

124 lines (67 loc) · 3.21 KB

TemplateButton

Properties

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

Methods

NewTemplateButton

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

NewTemplateButtonWithDefaults

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

GetButtonId

func (o *TemplateButton) GetButtonId() string

GetButtonId returns the ButtonId field if non-nil, zero value otherwise.

GetButtonIdOk

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.

SetButtonId

func (o *TemplateButton) SetButtonId(v string)

SetButtonId sets ButtonId field to given value.

HasButtonId

func (o *TemplateButton) HasButtonId() bool

HasButtonId returns a boolean if a field has been set.

GetPayload

func (o *TemplateButton) GetPayload() string

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

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.

SetPayload

func (o *TemplateButton) SetPayload(v string)

SetPayload sets Payload field to given value.

HasPayload

func (o *TemplateButton) HasPayload() bool

HasPayload returns a boolean if a field has been set.

GetTitle

func (o *TemplateButton) GetTitle() string

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

GetTitleOk

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.

SetTitle

func (o *TemplateButton) SetTitle(v string)

SetTitle sets Title field to given value.

GetType

func (o *TemplateButton) GetType() string

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

GetTypeOk

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.

SetType

func (o *TemplateButton) SetType(v string)

SetType sets Type field to given value.

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