Skip to content

Latest commit

 

History

History
363 lines (196 loc) · 10.3 KB

UpdateSSHTargetDetails.md

File metadata and controls

363 lines (196 loc) · 10.3 KB

UpdateSSHTargetDetails

Properties

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]

Methods

NewUpdateSSHTargetDetails

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

NewUpdateSSHTargetDetailsWithDefaults

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

GetHost

func (o *UpdateSSHTargetDetails) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

GetHostOk

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.

SetHost

func (o *UpdateSSHTargetDetails) SetHost(v string)

SetHost sets Host field to given value.

HasHost

func (o *UpdateSSHTargetDetails) HasHost() bool

HasHost returns a boolean if a field has been set.

GetJson

func (o *UpdateSSHTargetDetails) GetJson() bool

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

GetJsonOk

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.

SetJson

func (o *UpdateSSHTargetDetails) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UpdateSSHTargetDetails) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *UpdateSSHTargetDetails) GetKeepPrevVersion() string

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

GetKeepPrevVersionOk

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.

SetKeepPrevVersion

func (o *UpdateSSHTargetDetails) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *UpdateSSHTargetDetails) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetName

func (o *UpdateSSHTargetDetails) GetName() string

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

GetNameOk

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.

SetName

func (o *UpdateSSHTargetDetails) SetName(v string)

SetName sets Name field to given value.

GetNewVersion

func (o *UpdateSSHTargetDetails) GetNewVersion() bool

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

GetNewVersionOk

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.

SetNewVersion

func (o *UpdateSSHTargetDetails) SetNewVersion(v bool)

SetNewVersion sets NewVersion field to given value.

HasNewVersion

func (o *UpdateSSHTargetDetails) HasNewVersion() bool

HasNewVersion returns a boolean if a field has been set.

GetPort

func (o *UpdateSSHTargetDetails) GetPort() string

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

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.

SetPort

func (o *UpdateSSHTargetDetails) SetPort(v string)

SetPort sets Port field to given value.

HasPort

func (o *UpdateSSHTargetDetails) HasPort() bool

HasPort returns a boolean if a field has been set.

GetPrivateKey

func (o *UpdateSSHTargetDetails) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

GetPrivateKeyOk

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.

SetPrivateKey

func (o *UpdateSSHTargetDetails) SetPrivateKey(v string)

SetPrivateKey sets PrivateKey field to given value.

HasPrivateKey

func (o *UpdateSSHTargetDetails) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

GetPrivateKeyPassword

func (o *UpdateSSHTargetDetails) GetPrivateKeyPassword() string

GetPrivateKeyPassword returns the PrivateKeyPassword field if non-nil, zero value otherwise.

GetPrivateKeyPasswordOk

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.

SetPrivateKeyPassword

func (o *UpdateSSHTargetDetails) SetPrivateKeyPassword(v string)

SetPrivateKeyPassword sets PrivateKeyPassword field to given value.

HasPrivateKeyPassword

func (o *UpdateSSHTargetDetails) HasPrivateKeyPassword() bool

HasPrivateKeyPassword returns a boolean if a field has been set.

GetProtectionKey

func (o *UpdateSSHTargetDetails) GetProtectionKey() string

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

GetProtectionKeyOk

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.

SetProtectionKey

func (o *UpdateSSHTargetDetails) SetProtectionKey(v string)

SetProtectionKey sets ProtectionKey field to given value.

HasProtectionKey

func (o *UpdateSSHTargetDetails) HasProtectionKey() bool

HasProtectionKey returns a boolean if a field has been set.

GetSshPassword

func (o *UpdateSSHTargetDetails) GetSshPassword() string

GetSshPassword returns the SshPassword field if non-nil, zero value otherwise.

GetSshPasswordOk

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.

SetSshPassword

func (o *UpdateSSHTargetDetails) SetSshPassword(v string)

SetSshPassword sets SshPassword field to given value.

HasSshPassword

func (o *UpdateSSHTargetDetails) HasSshPassword() bool

HasSshPassword returns a boolean if a field has been set.

GetSshUsername

func (o *UpdateSSHTargetDetails) GetSshUsername() string

GetSshUsername returns the SshUsername field if non-nil, zero value otherwise.

GetSshUsernameOk

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.

SetSshUsername

func (o *UpdateSSHTargetDetails) SetSshUsername(v string)

SetSshUsername sets SshUsername field to given value.

HasSshUsername

func (o *UpdateSSHTargetDetails) HasSshUsername() bool

HasSshUsername returns a boolean if a field has been set.

GetToken

func (o *UpdateSSHTargetDetails) GetToken() string

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

GetTokenOk

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.

SetToken

func (o *UpdateSSHTargetDetails) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UpdateSSHTargetDetails) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UpdateSSHTargetDetails) GetUidToken() string

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

GetUidTokenOk

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.

SetUidToken

func (o *UpdateSSHTargetDetails) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UpdateSSHTargetDetails) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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