Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.78 KB

TextMessage.md

File metadata and controls

72 lines (39 loc) · 1.78 KB

TextMessage

Properties

Name Type Description Notes
Text string
To string

Methods

NewTextMessage

func NewTextMessage(text string, to string, ) *TextMessage

NewTextMessage instantiates a new TextMessage 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

NewTextMessageWithDefaults

func NewTextMessageWithDefaults() *TextMessage

NewTextMessageWithDefaults instantiates a new TextMessage 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

GetText

func (o *TextMessage) GetText() string

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

GetTextOk

func (o *TextMessage) 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 *TextMessage) SetText(v string)

SetText sets Text field to given value.

GetTo

func (o *TextMessage) GetTo() string

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

GetToOk

func (o *TextMessage) 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 *TextMessage) SetTo(v string)

SetTo sets To field to given value.

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