Name | Type | Description | Notes |
---|---|---|---|
AdminName | Pointer to string | The admin name | [optional] |
AdminPwd | Pointer to string | The admin password | [optional] |
HostName | Pointer to string | The rdp host name | [optional] |
HostPort | Pointer to string | The rdp port | [optional] [default to "22"] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
KeepPrevVersion | Pointer to string | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
Name | string | Target name | |
NewVersion | Pointer to bool | Deprecated | [optional] |
ProtectionKey | Pointer to string | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
func NewUpdateRDPTargetDetails(name string, ) *UpdateRDPTargetDetails
NewUpdateRDPTargetDetails instantiates a new UpdateRDPTargetDetails 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 NewUpdateRDPTargetDetailsWithDefaults() *UpdateRDPTargetDetails
NewUpdateRDPTargetDetailsWithDefaults instantiates a new UpdateRDPTargetDetails 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 *UpdateRDPTargetDetails) GetAdminName() string
GetAdminName returns the AdminName field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetAdminNameOk() (*string, bool)
GetAdminNameOk returns a tuple with the AdminName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetAdminName(v string)
SetAdminName sets AdminName field to given value.
func (o *UpdateRDPTargetDetails) HasAdminName() bool
HasAdminName returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetAdminPwd() string
GetAdminPwd returns the AdminPwd field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetAdminPwdOk() (*string, bool)
GetAdminPwdOk returns a tuple with the AdminPwd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetAdminPwd(v string)
SetAdminPwd sets AdminPwd field to given value.
func (o *UpdateRDPTargetDetails) HasAdminPwd() bool
HasAdminPwd returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetHostName() string
GetHostName returns the HostName field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetHostNameOk() (*string, bool)
GetHostNameOk returns a tuple with the HostName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetHostName(v string)
SetHostName sets HostName field to given value.
func (o *UpdateRDPTargetDetails) HasHostName() bool
HasHostName returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetHostPort() string
GetHostPort returns the HostPort field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetHostPortOk() (*string, bool)
GetHostPortOk returns a tuple with the HostPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetHostPort(v string)
SetHostPort sets HostPort field to given value.
func (o *UpdateRDPTargetDetails) HasHostPort() bool
HasHostPort returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateRDPTargetDetails) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetKeepPrevVersionOk() (*string, bool)
GetKeepPrevVersionOk returns a tuple with the KeepPrevVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *UpdateRDPTargetDetails) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) 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 *UpdateRDPTargetDetails) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateRDPTargetDetails) GetNewVersion() bool
GetNewVersion returns the NewVersion field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetNewVersionOk() (*bool, bool)
GetNewVersionOk returns a tuple with the NewVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetNewVersion(v bool)
SetNewVersion sets NewVersion field to given value.
func (o *UpdateRDPTargetDetails) HasNewVersion() bool
HasNewVersion returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetProtectionKey() string
GetProtectionKey returns the ProtectionKey field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetProtectionKeyOk() (*string, bool)
GetProtectionKeyOk returns a tuple with the ProtectionKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetProtectionKey(v string)
SetProtectionKey sets ProtectionKey field to given value.
func (o *UpdateRDPTargetDetails) HasProtectionKey() bool
HasProtectionKey returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateRDPTargetDetails) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateRDPTargetDetails) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateRDPTargetDetails) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateRDPTargetDetails) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateRDPTargetDetails) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.