Skip to content

Latest commit

 

History

History
311 lines (168 loc) · 8.8 KB

UpdateRDPTargetDetails.md

File metadata and controls

311 lines (168 loc) · 8.8 KB

UpdateRDPTargetDetails

Properties

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]

Methods

NewUpdateRDPTargetDetails

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

NewUpdateRDPTargetDetailsWithDefaults

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

GetAdminName

func (o *UpdateRDPTargetDetails) GetAdminName() string

GetAdminName returns the AdminName field if non-nil, zero value otherwise.

GetAdminNameOk

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.

SetAdminName

func (o *UpdateRDPTargetDetails) SetAdminName(v string)

SetAdminName sets AdminName field to given value.

HasAdminName

func (o *UpdateRDPTargetDetails) HasAdminName() bool

HasAdminName returns a boolean if a field has been set.

GetAdminPwd

func (o *UpdateRDPTargetDetails) GetAdminPwd() string

GetAdminPwd returns the AdminPwd field if non-nil, zero value otherwise.

GetAdminPwdOk

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.

SetAdminPwd

func (o *UpdateRDPTargetDetails) SetAdminPwd(v string)

SetAdminPwd sets AdminPwd field to given value.

HasAdminPwd

func (o *UpdateRDPTargetDetails) HasAdminPwd() bool

HasAdminPwd returns a boolean if a field has been set.

GetHostName

func (o *UpdateRDPTargetDetails) GetHostName() string

GetHostName returns the HostName field if non-nil, zero value otherwise.

GetHostNameOk

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.

SetHostName

func (o *UpdateRDPTargetDetails) SetHostName(v string)

SetHostName sets HostName field to given value.

HasHostName

func (o *UpdateRDPTargetDetails) HasHostName() bool

HasHostName returns a boolean if a field has been set.

GetHostPort

func (o *UpdateRDPTargetDetails) GetHostPort() string

GetHostPort returns the HostPort field if non-nil, zero value otherwise.

GetHostPortOk

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.

SetHostPort

func (o *UpdateRDPTargetDetails) SetHostPort(v string)

SetHostPort sets HostPort field to given value.

HasHostPort

func (o *UpdateRDPTargetDetails) HasHostPort() bool

HasHostPort returns a boolean if a field has been set.

GetJson

func (o *UpdateRDPTargetDetails) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

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.

SetJson

func (o *UpdateRDPTargetDetails) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UpdateRDPTargetDetails) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *UpdateRDPTargetDetails) GetKeepPrevVersion() string

GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.

GetKeepPrevVersionOk

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.

SetKeepPrevVersion

func (o *UpdateRDPTargetDetails) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *UpdateRDPTargetDetails) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetName

func (o *UpdateRDPTargetDetails) GetName() string

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

GetNameOk

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.

SetName

func (o *UpdateRDPTargetDetails) SetName(v string)

SetName sets Name field to given value.

GetNewVersion

func (o *UpdateRDPTargetDetails) GetNewVersion() bool

GetNewVersion returns the NewVersion field if non-nil, zero value otherwise.

GetNewVersionOk

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.

SetNewVersion

func (o *UpdateRDPTargetDetails) SetNewVersion(v bool)

SetNewVersion sets NewVersion field to given value.

HasNewVersion

func (o *UpdateRDPTargetDetails) HasNewVersion() bool

HasNewVersion returns a boolean if a field has been set.

GetProtectionKey

func (o *UpdateRDPTargetDetails) GetProtectionKey() string

GetProtectionKey returns the ProtectionKey field if non-nil, zero value otherwise.

GetProtectionKeyOk

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.

SetProtectionKey

func (o *UpdateRDPTargetDetails) SetProtectionKey(v string)

SetProtectionKey sets ProtectionKey field to given value.

HasProtectionKey

func (o *UpdateRDPTargetDetails) HasProtectionKey() bool

HasProtectionKey returns a boolean if a field has been set.

GetToken

func (o *UpdateRDPTargetDetails) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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.

SetToken

func (o *UpdateRDPTargetDetails) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UpdateRDPTargetDetails) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UpdateRDPTargetDetails) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

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.

SetUidToken

func (o *UpdateRDPTargetDetails) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UpdateRDPTargetDetails) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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