AdoptDeviceRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Password | Pointer to string | Adopt device password. It should contain 1 to 64 characters. | [optional] |
| Username | Pointer to string | Adopt device username. It should contain 1 to 64 characters. | [optional] |
Methods
NewAdoptDeviceRequest
func NewAdoptDeviceRequest() *AdoptDeviceRequest
NewAdoptDeviceRequest instantiates a new AdoptDeviceRequest 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
NewAdoptDeviceRequestWithDefaults
func NewAdoptDeviceRequestWithDefaults() *AdoptDeviceRequest
NewAdoptDeviceRequestWithDefaults instantiates a new AdoptDeviceRequest 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
GetPassword
func (o *AdoptDeviceRequest) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
GetPasswordOk
func (o *AdoptDeviceRequest) 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 *AdoptDeviceRequest) SetPassword(v string)
SetPassword sets Password field to given value.
HasPassword
func (o *AdoptDeviceRequest) HasPassword() bool
HasPassword returns a boolean if a field has been set.
GetUsername
func (o *AdoptDeviceRequest) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
GetUsernameOk
func (o *AdoptDeviceRequest) 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 *AdoptDeviceRequest) SetUsername(v string)
SetUsername sets Username field to given value.
HasUsername
func (o *AdoptDeviceRequest) HasUsername() bool
HasUsername returns a boolean if a field has been set.