AddDeviceByDevicekeyOpenApiVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DeviceKey | Pointer to string | device key(QR code) | [optional] |
| Name | Pointer to string | device name(Parameter [name] should be 1 ~ 128 characters) | [optional] |
| Password | Pointer to string | device password | [optional] |
| Username | Pointer to string | device username | [optional] |
Methods
NewAddDeviceByDevicekeyOpenApiVO
func NewAddDeviceByDevicekeyOpenApiVO() *AddDeviceByDevicekeyOpenApiVO
NewAddDeviceByDevicekeyOpenApiVO instantiates a new AddDeviceByDevicekeyOpenApiVO 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
NewAddDeviceByDevicekeyOpenApiVOWithDefaults
func NewAddDeviceByDevicekeyOpenApiVOWithDefaults() *AddDeviceByDevicekeyOpenApiVO
NewAddDeviceByDevicekeyOpenApiVOWithDefaults instantiates a new AddDeviceByDevicekeyOpenApiVO 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
GetDeviceKey
func (o *AddDeviceByDevicekeyOpenApiVO) GetDeviceKey() string
GetDeviceKey returns the DeviceKey field if non-nil, zero value otherwise.
GetDeviceKeyOk
func (o *AddDeviceByDevicekeyOpenApiVO) GetDeviceKeyOk() (*string, bool)
GetDeviceKeyOk returns a tuple with the DeviceKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDeviceKey
func (o *AddDeviceByDevicekeyOpenApiVO) SetDeviceKey(v string)
SetDeviceKey sets DeviceKey field to given value.
HasDeviceKey
func (o *AddDeviceByDevicekeyOpenApiVO) HasDeviceKey() bool
HasDeviceKey returns a boolean if a field has been set.
GetName
func (o *AddDeviceByDevicekeyOpenApiVO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *AddDeviceByDevicekeyOpenApiVO) 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 *AddDeviceByDevicekeyOpenApiVO) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *AddDeviceByDevicekeyOpenApiVO) HasName() bool
HasName returns a boolean if a field has been set.
GetPassword
func (o *AddDeviceByDevicekeyOpenApiVO) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
GetPasswordOk
func (o *AddDeviceByDevicekeyOpenApiVO) 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 *AddDeviceByDevicekeyOpenApiVO) SetPassword(v string)
SetPassword sets Password field to given value.
HasPassword
func (o *AddDeviceByDevicekeyOpenApiVO) HasPassword() bool
HasPassword returns a boolean if a field has been set.
GetUsername
func (o *AddDeviceByDevicekeyOpenApiVO) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
GetUsernameOk
func (o *AddDeviceByDevicekeyOpenApiVO) 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 *AddDeviceByDevicekeyOpenApiVO) SetUsername(v string)
SetUsername sets Username field to given value.
HasUsername
func (o *AddDeviceByDevicekeyOpenApiVO) HasUsername() bool
HasUsername returns a boolean if a field has been set.