Name | Type | Description | Notes |
---|---|---|---|
Host | Pointer to string | The ssh host name | [optional] |
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] |
Port | Pointer to string | ssh port | [optional] [default to "22"] |
PrivateKey | Pointer to string | ssh private key | [optional] |
PrivateKeyPassword | Pointer to string | The ssh private key password | [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] |
SshPassword | Pointer to string | ssh pawssword to rotate | [optional] |
SshUsername | Pointer to string | ssh username | [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 NewUpdateSSHTargetDetails(name string, ) *UpdateSSHTargetDetails
NewUpdateSSHTargetDetails instantiates a new UpdateSSHTargetDetails 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 NewUpdateSSHTargetDetailsWithDefaults() *UpdateSSHTargetDetails
NewUpdateSSHTargetDetailsWithDefaults instantiates a new UpdateSSHTargetDetails 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 *UpdateSSHTargetDetails) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSSHTargetDetails) SetHost(v string)
SetHost sets Host field to given value.
func (o *UpdateSSHTargetDetails) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateSSHTargetDetails) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *UpdateSSHTargetDetails) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateSSHTargetDetails) GetNewVersion() bool
GetNewVersion returns the NewVersion field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetNewVersion(v bool)
SetNewVersion sets NewVersion field to given value.
func (o *UpdateSSHTargetDetails) HasNewVersion() bool
HasNewVersion returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetPort() string
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) GetPortOk() (*string, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSSHTargetDetails) SetPort(v string)
SetPort sets Port field to given value.
func (o *UpdateSSHTargetDetails) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) GetPrivateKeyOk() (*string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSSHTargetDetails) SetPrivateKey(v string)
SetPrivateKey sets PrivateKey field to given value.
func (o *UpdateSSHTargetDetails) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetPrivateKeyPassword() string
GetPrivateKeyPassword returns the PrivateKeyPassword field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) GetPrivateKeyPasswordOk() (*string, bool)
GetPrivateKeyPasswordOk returns a tuple with the PrivateKeyPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSSHTargetDetails) SetPrivateKeyPassword(v string)
SetPrivateKeyPassword sets PrivateKeyPassword field to given value.
func (o *UpdateSSHTargetDetails) HasPrivateKeyPassword() bool
HasPrivateKeyPassword returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetProtectionKey() string
GetProtectionKey returns the ProtectionKey field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetProtectionKey(v string)
SetProtectionKey sets ProtectionKey field to given value.
func (o *UpdateSSHTargetDetails) HasProtectionKey() bool
HasProtectionKey returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetSshPassword() string
GetSshPassword returns the SshPassword field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) GetSshPasswordOk() (*string, bool)
GetSshPasswordOk returns a tuple with the SshPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSSHTargetDetails) SetSshPassword(v string)
SetSshPassword sets SshPassword field to given value.
func (o *UpdateSSHTargetDetails) HasSshPassword() bool
HasSshPassword returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetSshUsername() string
GetSshUsername returns the SshUsername field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) GetSshUsernameOk() (*string, bool)
GetSshUsernameOk returns a tuple with the SshUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSSHTargetDetails) SetSshUsername(v string)
SetSshUsername sets SshUsername field to given value.
func (o *UpdateSSHTargetDetails) HasSshUsername() bool
HasSshUsername returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateSSHTargetDetails) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateSSHTargetDetails) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateSSHTargetDetails) 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 *UpdateSSHTargetDetails) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateSSHTargetDetails) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.