Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.24 KB

ButtonMessagePayload.md

File metadata and controls

160 lines (87 loc) · 4.24 KB

ButtonMessagePayload

Properties

Name Type Description Notes
Buttons Pointer to []ReplyButton [optional]
FooterText Pointer to string [optional]
HeaderText Pointer to string [optional]
Text Pointer to string [optional]
To Pointer to string [optional]

Methods

NewButtonMessagePayload

func NewButtonMessagePayload() *ButtonMessagePayload

NewButtonMessagePayload instantiates a new ButtonMessagePayload 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

NewButtonMessagePayloadWithDefaults

func NewButtonMessagePayloadWithDefaults() *ButtonMessagePayload

NewButtonMessagePayloadWithDefaults instantiates a new ButtonMessagePayload 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

GetButtons

func (o *ButtonMessagePayload) GetButtons() []ReplyButton

GetButtons returns the Buttons field if non-nil, zero value otherwise.

GetButtonsOk

func (o *ButtonMessagePayload) GetButtonsOk() (*[]ReplyButton, bool)

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

SetButtons

func (o *ButtonMessagePayload) SetButtons(v []ReplyButton)

SetButtons sets Buttons field to given value.

HasButtons

func (o *ButtonMessagePayload) HasButtons() bool

HasButtons returns a boolean if a field has been set.

GetFooterText

func (o *ButtonMessagePayload) GetFooterText() string

GetFooterText returns the FooterText field if non-nil, zero value otherwise.

GetFooterTextOk

func (o *ButtonMessagePayload) GetFooterTextOk() (*string, bool)

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

SetFooterText

func (o *ButtonMessagePayload) SetFooterText(v string)

SetFooterText sets FooterText field to given value.

HasFooterText

func (o *ButtonMessagePayload) HasFooterText() bool

HasFooterText returns a boolean if a field has been set.

GetHeaderText

func (o *ButtonMessagePayload) GetHeaderText() string

GetHeaderText returns the HeaderText field if non-nil, zero value otherwise.

GetHeaderTextOk

func (o *ButtonMessagePayload) GetHeaderTextOk() (*string, bool)

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

SetHeaderText

func (o *ButtonMessagePayload) SetHeaderText(v string)

SetHeaderText sets HeaderText field to given value.

HasHeaderText

func (o *ButtonMessagePayload) HasHeaderText() bool

HasHeaderText returns a boolean if a field has been set.

GetText

func (o *ButtonMessagePayload) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

GetTextOk

func (o *ButtonMessagePayload) GetTextOk() (*string, bool)

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

SetText

func (o *ButtonMessagePayload) SetText(v string)

SetText sets Text field to given value.

HasText

func (o *ButtonMessagePayload) HasText() bool

HasText returns a boolean if a field has been set.

GetTo

func (o *ButtonMessagePayload) GetTo() string

GetTo returns the To field if non-nil, zero value otherwise.

GetToOk

func (o *ButtonMessagePayload) GetToOk() (*string, bool)

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

SetTo

func (o *ButtonMessagePayload) SetTo(v string)

SetTo sets To field to given value.

HasTo

func (o *ButtonMessagePayload) HasTo() bool

HasTo returns a boolean if a field has been set.

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