Skip to content

AddDeviceWithSiteBySnOpenApiVO

Properties

Name Type Description Notes
Name Pointer to string Device name should contain 1 to 128 characters. [optional]
Password Pointer to string Device password. It should contain 1 to 128 characters. [optional]
SiteId Pointer to string Site ID [optional]
Sn Pointer to string Device serial number. It should contains 13 characters. [optional]
Username Pointer to string Device username. It should contain 1 to 128 characters. [optional]

Methods

NewAddDeviceWithSiteBySnOpenApiVO

func NewAddDeviceWithSiteBySnOpenApiVO() *AddDeviceWithSiteBySnOpenApiVO

NewAddDeviceWithSiteBySnOpenApiVO instantiates a new AddDeviceWithSiteBySnOpenApiVO 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

NewAddDeviceWithSiteBySnOpenApiVOWithDefaults

func NewAddDeviceWithSiteBySnOpenApiVOWithDefaults() *AddDeviceWithSiteBySnOpenApiVO

NewAddDeviceWithSiteBySnOpenApiVOWithDefaults instantiates a new AddDeviceWithSiteBySnOpenApiVO 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 *AddDeviceWithSiteBySnOpenApiVO) GetName() string

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

GetNameOk

func (o *AddDeviceWithSiteBySnOpenApiVO) 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 *AddDeviceWithSiteBySnOpenApiVO) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *AddDeviceWithSiteBySnOpenApiVO) HasName() bool

HasName returns a boolean if a field has been set.

GetPassword

func (o *AddDeviceWithSiteBySnOpenApiVO) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *AddDeviceWithSiteBySnOpenApiVO) GetPasswordOk() (*string, bool)

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

SetPassword

func (o *AddDeviceWithSiteBySnOpenApiVO) SetPassword(v string)

SetPassword sets Password field to given value.

HasPassword

func (o *AddDeviceWithSiteBySnOpenApiVO) HasPassword() bool

HasPassword returns a boolean if a field has been set.

GetSiteId

func (o *AddDeviceWithSiteBySnOpenApiVO) GetSiteId() string

GetSiteId returns the SiteId field if non-nil, zero value otherwise.

GetSiteIdOk

func (o *AddDeviceWithSiteBySnOpenApiVO) GetSiteIdOk() (*string, bool)

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

SetSiteId

func (o *AddDeviceWithSiteBySnOpenApiVO) SetSiteId(v string)

SetSiteId sets SiteId field to given value.

HasSiteId

func (o *AddDeviceWithSiteBySnOpenApiVO) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

GetSn

func (o *AddDeviceWithSiteBySnOpenApiVO) GetSn() string

GetSn returns the Sn field if non-nil, zero value otherwise.

GetSnOk

func (o *AddDeviceWithSiteBySnOpenApiVO) GetSnOk() (*string, bool)

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

SetSn

func (o *AddDeviceWithSiteBySnOpenApiVO) SetSn(v string)

SetSn sets Sn field to given value.

HasSn

func (o *AddDeviceWithSiteBySnOpenApiVO) HasSn() bool

HasSn returns a boolean if a field has been set.

GetUsername

func (o *AddDeviceWithSiteBySnOpenApiVO) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *AddDeviceWithSiteBySnOpenApiVO) GetUsernameOk() (*string, bool)

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

SetUsername

func (o *AddDeviceWithSiteBySnOpenApiVO) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *AddDeviceWithSiteBySnOpenApiVO) HasUsername() bool

HasUsername returns a boolean if a field has been set.

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