Files

4.6 KiB

TelSMS

Properties

Name Type Description Notes
From Pointer to string From is the sending number in E.164, and must be one this org holds. [optional]
Id Pointer to string ID is the carrier's handle for the message. [optional]
Org Pointer to string Org is the tenant the message was sent for or received by. [optional]
Status Pointer to string Status is where the message is: "queued", "sent", "delivered" or "failed". "sent" means the carrier took it; "delivered" means the handset got it, and not every carrier or destination reports that. [optional]
Text Pointer to string Text is the message body. Empty is legal when the message carried only media. [optional]
To Pointer to string To is the receiving number in E.164. [optional]

Methods

NewTelSMS

func NewTelSMS() *TelSMS

NewTelSMS instantiates a new TelSMS 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

NewTelSMSWithDefaults

func NewTelSMSWithDefaults() *TelSMS

NewTelSMSWithDefaults instantiates a new TelSMS 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

GetFrom

func (o *TelSMS) GetFrom() string

GetFrom returns the From field if non-nil, zero value otherwise.

GetFromOk

func (o *TelSMS) GetFromOk() (*string, bool)

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

SetFrom

func (o *TelSMS) SetFrom(v string)

SetFrom sets From field to given value.

HasFrom

func (o *TelSMS) HasFrom() bool

HasFrom returns a boolean if a field has been set.

GetId

func (o *TelSMS) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *TelSMS) GetIdOk() (*string, bool)

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

SetId

func (o *TelSMS) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *TelSMS) HasId() bool

HasId returns a boolean if a field has been set.

GetOrg

func (o *TelSMS) GetOrg() string

GetOrg returns the Org field if non-nil, zero value otherwise.

GetOrgOk

func (o *TelSMS) GetOrgOk() (*string, bool)

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

SetOrg

func (o *TelSMS) SetOrg(v string)

SetOrg sets Org field to given value.

HasOrg

func (o *TelSMS) HasOrg() bool

HasOrg returns a boolean if a field has been set.

GetStatus

func (o *TelSMS) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *TelSMS) GetStatusOk() (*string, bool)

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

SetStatus

func (o *TelSMS) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *TelSMS) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetText

func (o *TelSMS) GetText() string

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

GetTextOk

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

SetText sets Text field to given value.

HasText

func (o *TelSMS) HasText() bool

HasText returns a boolean if a field has been set.

GetTo

func (o *TelSMS) GetTo() string

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

GetToOk

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

SetTo sets To field to given value.

HasTo

func (o *TelSMS) HasTo() bool

HasTo returns a boolean if a field has been set.

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