Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.35 KB

SMSDevice.md

File metadata and controls

93 lines (50 loc) · 2.35 KB

SMSDevice

Properties

Name Type Description Notes
Name string The human-readable name of this device.
Pk int32 [readonly]
PhoneNumber string [readonly]

Methods

NewSMSDevice

func NewSMSDevice(name string, pk int32, phoneNumber string, ) *SMSDevice

NewSMSDevice instantiates a new SMSDevice 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

NewSMSDeviceWithDefaults

func NewSMSDeviceWithDefaults() *SMSDevice

NewSMSDeviceWithDefaults instantiates a new SMSDevice 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

GetName

func (o *SMSDevice) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *SMSDevice) GetNameOk() (*string, bool)

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

SetName

func (o *SMSDevice) SetName(v string)

SetName sets Name field to given value.

GetPk

func (o *SMSDevice) GetPk() int32

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

func (o *SMSDevice) GetPkOk() (*int32, bool)

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

SetPk

func (o *SMSDevice) SetPk(v int32)

SetPk sets Pk field to given value.

GetPhoneNumber

func (o *SMSDevice) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field if non-nil, zero value otherwise.

GetPhoneNumberOk

func (o *SMSDevice) GetPhoneNumberOk() (*string, bool)

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

SetPhoneNumber

func (o *SMSDevice) SetPhoneNumber(v string)

SetPhoneNumber sets PhoneNumber field to given value.

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