Name | Type | Description | Notes |
---|---|---|---|
Text | string | ||
To | string |
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
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
func (o *TextMessage) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
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.
func (o *TextMessage) SetText(v string)
SetText sets Text field to given value.
func (o *TextMessage) GetTo() string
GetTo returns the To field if non-nil, zero value otherwise.
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.
func (o *TextMessage) SetTo(v string)
SetTo sets To field to given value.