Skip to content

Latest commit

 

History

History
441 lines (238 loc) · 11.9 KB

UpdateSSHTarget.md

File metadata and controls

441 lines (238 loc) · 11.9 KB

UpdateSSHTarget

Properties

Name Type Description Notes
Description Pointer to string Description of the object [optional]
Host Pointer to string 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]
Key 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]
MaxVersions Pointer to string Set the maximum number of versions, limited by the account settings defaults. [optional]
Name string Target name
NewName Pointer to string New target name [optional]
Port Pointer to string SSH port [optional] [default to "22"]
PrivateKey Pointer to string SSH private key [optional]
PrivateKeyPassword Pointer to string SSH private key password [optional]
SshPassword Pointer to string SSH password 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]
UpdateVersion Pointer to bool Deprecated [optional]

Methods

NewUpdateSSHTarget

func NewUpdateSSHTarget(name string, ) *UpdateSSHTarget

NewUpdateSSHTarget instantiates a new UpdateSSHTarget 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

NewUpdateSSHTargetWithDefaults

func NewUpdateSSHTargetWithDefaults() *UpdateSSHTarget

NewUpdateSSHTargetWithDefaults instantiates a new UpdateSSHTarget 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

GetDescription

func (o *UpdateSSHTarget) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *UpdateSSHTarget) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *UpdateSSHTarget) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UpdateSSHTarget) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetHost

func (o *UpdateSSHTarget) GetHost() string

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

GetHostOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetHost(v string)

SetHost sets Host field to given value.

HasHost

func (o *UpdateSSHTarget) HasHost() bool

HasHost returns a boolean if a field has been set.

GetJson

func (o *UpdateSSHTarget) GetJson() bool

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

GetJsonOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UpdateSSHTarget) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *UpdateSSHTarget) GetKeepPrevVersion() string

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

GetKeepPrevVersionOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *UpdateSSHTarget) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *UpdateSSHTarget) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *UpdateSSHTarget) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *UpdateSSHTarget) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *UpdateSSHTarget) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *UpdateSSHTarget) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

func (o *UpdateSSHTarget) GetMaxVersionsOk() (*string, bool)

GetMaxVersionsOk returns a tuple with the MaxVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxVersions

func (o *UpdateSSHTarget) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *UpdateSSHTarget) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *UpdateSSHTarget) GetName() string

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

GetNameOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *UpdateSSHTarget) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

func (o *UpdateSSHTarget) GetNewNameOk() (*string, bool)

GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNewName

func (o *UpdateSSHTarget) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *UpdateSSHTarget) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetPort

func (o *UpdateSSHTarget) GetPort() string

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

GetPortOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetPort(v string)

SetPort sets Port field to given value.

HasPort

func (o *UpdateSSHTarget) HasPort() bool

HasPort returns a boolean if a field has been set.

GetPrivateKey

func (o *UpdateSSHTarget) GetPrivateKey() string

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

GetPrivateKeyOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetPrivateKey(v string)

SetPrivateKey sets PrivateKey field to given value.

HasPrivateKey

func (o *UpdateSSHTarget) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

GetPrivateKeyPassword

func (o *UpdateSSHTarget) GetPrivateKeyPassword() string

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

GetPrivateKeyPasswordOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetPrivateKeyPassword(v string)

SetPrivateKeyPassword sets PrivateKeyPassword field to given value.

HasPrivateKeyPassword

func (o *UpdateSSHTarget) HasPrivateKeyPassword() bool

HasPrivateKeyPassword returns a boolean if a field has been set.

GetSshPassword

func (o *UpdateSSHTarget) GetSshPassword() string

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

GetSshPasswordOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetSshPassword(v string)

SetSshPassword sets SshPassword field to given value.

HasSshPassword

func (o *UpdateSSHTarget) HasSshPassword() bool

HasSshPassword returns a boolean if a field has been set.

GetSshUsername

func (o *UpdateSSHTarget) GetSshUsername() string

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

GetSshUsernameOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetSshUsername(v string)

SetSshUsername sets SshUsername field to given value.

HasSshUsername

func (o *UpdateSSHTarget) HasSshUsername() bool

HasSshUsername returns a boolean if a field has been set.

GetToken

func (o *UpdateSSHTarget) GetToken() string

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

GetTokenOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UpdateSSHTarget) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UpdateSSHTarget) GetUidToken() string

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

GetUidTokenOk

func (o *UpdateSSHTarget) 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 *UpdateSSHTarget) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UpdateSSHTarget) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUpdateVersion

func (o *UpdateSSHTarget) GetUpdateVersion() bool

GetUpdateVersion returns the UpdateVersion field if non-nil, zero value otherwise.

GetUpdateVersionOk

func (o *UpdateSSHTarget) GetUpdateVersionOk() (*bool, bool)

GetUpdateVersionOk returns a tuple with the UpdateVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdateVersion

func (o *UpdateSSHTarget) SetUpdateVersion(v bool)

SetUpdateVersion sets UpdateVersion field to given value.

HasUpdateVersion

func (o *UpdateSSHTarget) HasUpdateVersion() bool

HasUpdateVersion returns a boolean if a field has been set.

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