Name | Type | Description | Notes |
---|---|---|---|
ExternalKey | Pointer to NullableString | [optional] | |
Name | Pointer to string | [optional] | |
Location | Pointer to NullableString | [optional] | |
TorOver | Pointer to bool | [optional] [default to false] | |
ConnectionMode | Pointer to NullableString | [optional] | |
RandomServer | Pointer to bool | [optional] [default to false] | |
Info | Pointer to NullableCreateOrUpdateDeviceRequestInfo | [optional] |
func NewCreateOrUpdateDeviceRequest() *CreateOrUpdateDeviceRequest
NewCreateOrUpdateDeviceRequest instantiates a new CreateOrUpdateDeviceRequest 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
func NewCreateOrUpdateDeviceRequestWithDefaults() *CreateOrUpdateDeviceRequest
NewCreateOrUpdateDeviceRequestWithDefaults instantiates a new CreateOrUpdateDeviceRequest 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
func (o *CreateOrUpdateDeviceRequest) GetExternalKey() string
GetExternalKey returns the ExternalKey field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) GetExternalKeyOk() (*string, bool)
GetExternalKeyOk returns a tuple with the ExternalKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOrUpdateDeviceRequest) SetExternalKey(v string)
SetExternalKey sets ExternalKey field to given value.
func (o *CreateOrUpdateDeviceRequest) HasExternalKey() bool
HasExternalKey returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) SetExternalKeyNil(b bool)
SetExternalKeyNil sets the value for ExternalKey to be an explicit nil
func (o *CreateOrUpdateDeviceRequest) UnsetExternalKey()
UnsetExternalKey ensures that no value is present for ExternalKey, not even an explicit nil
func (o *CreateOrUpdateDeviceRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) 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.
func (o *CreateOrUpdateDeviceRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CreateOrUpdateDeviceRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOrUpdateDeviceRequest) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *CreateOrUpdateDeviceRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) SetLocationNil(b bool)
SetLocationNil sets the value for Location to be an explicit nil
func (o *CreateOrUpdateDeviceRequest) UnsetLocation()
UnsetLocation ensures that no value is present for Location, not even an explicit nil
func (o *CreateOrUpdateDeviceRequest) GetTorOver() bool
GetTorOver returns the TorOver field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) GetTorOverOk() (*bool, bool)
GetTorOverOk returns a tuple with the TorOver field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOrUpdateDeviceRequest) SetTorOver(v bool)
SetTorOver sets TorOver field to given value.
func (o *CreateOrUpdateDeviceRequest) HasTorOver() bool
HasTorOver returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) GetConnectionMode() string
GetConnectionMode returns the ConnectionMode field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) GetConnectionModeOk() (*string, bool)
GetConnectionModeOk returns a tuple with the ConnectionMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOrUpdateDeviceRequest) SetConnectionMode(v string)
SetConnectionMode sets ConnectionMode field to given value.
func (o *CreateOrUpdateDeviceRequest) HasConnectionMode() bool
HasConnectionMode returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) SetConnectionModeNil(b bool)
SetConnectionModeNil sets the value for ConnectionMode to be an explicit nil
func (o *CreateOrUpdateDeviceRequest) UnsetConnectionMode()
UnsetConnectionMode ensures that no value is present for ConnectionMode, not even an explicit nil
func (o *CreateOrUpdateDeviceRequest) GetRandomServer() bool
GetRandomServer returns the RandomServer field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) GetRandomServerOk() (*bool, bool)
GetRandomServerOk returns a tuple with the RandomServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOrUpdateDeviceRequest) SetRandomServer(v bool)
SetRandomServer sets RandomServer field to given value.
func (o *CreateOrUpdateDeviceRequest) HasRandomServer() bool
HasRandomServer returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) GetInfo() CreateOrUpdateDeviceRequestInfo
GetInfo returns the Info field if non-nil, zero value otherwise.
func (o *CreateOrUpdateDeviceRequest) GetInfoOk() (*CreateOrUpdateDeviceRequestInfo, bool)
GetInfoOk returns a tuple with the Info field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOrUpdateDeviceRequest) SetInfo(v CreateOrUpdateDeviceRequestInfo)
SetInfo sets Info field to given value.
func (o *CreateOrUpdateDeviceRequest) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (o *CreateOrUpdateDeviceRequest) SetInfoNil(b bool)
SetInfoNil sets the value for Info to be an explicit nil
func (o *CreateOrUpdateDeviceRequest) UnsetInfo()
UnsetInfo ensures that no value is present for Info, not even an explicit nil