Name | Type | Description | Notes |
---|---|---|---|
Comment | Pointer to string | Deprecated - use description | [optional] |
Description | Pointer to string | Description of the object | [optional] |
Host | Pointer to string | [optional] | |
Json | Pointer to bool | Set output format to JSON | [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] |
Name | string | Target name | |
Port | Pointer to string | [optional] | |
PrivateKey | Pointer to string | [optional] | |
PrivateKeyPassword | Pointer to string | [optional] | |
SshPassword | Pointer to string | [optional] | |
SshUsername | Pointer to string | [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 NewCreateSSHTarget(name string, ) *CreateSSHTarget
NewCreateSSHTarget instantiates a new CreateSSHTarget 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 NewCreateSSHTargetWithDefaults() *CreateSSHTarget
NewCreateSSHTargetWithDefaults instantiates a new CreateSSHTarget 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 *CreateSSHTarget) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHTarget) SetComment(v string)
SetComment sets Comment field to given value.
func (o *CreateSSHTarget) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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.
func (o *CreateSSHTarget) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateSSHTarget) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetHost(v string)
SetHost sets Host field to given value.
func (o *CreateSSHTarget) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateSSHTarget) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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.
func (o *CreateSSHTarget) SetKey(v string)
SetKey sets Key field to given value.
func (o *CreateSSHTarget) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetName(v string)
SetName sets Name field to given value.
func (o *CreateSSHTarget) GetPort() string
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetPort(v string)
SetPort sets Port field to given value.
func (o *CreateSSHTarget) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetPrivateKey(v string)
SetPrivateKey sets PrivateKey field to given value.
func (o *CreateSSHTarget) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetPrivateKeyPassword() string
GetPrivateKeyPassword returns the PrivateKeyPassword field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetPrivateKeyPassword(v string)
SetPrivateKeyPassword sets PrivateKeyPassword field to given value.
func (o *CreateSSHTarget) HasPrivateKeyPassword() bool
HasPrivateKeyPassword returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetSshPassword() string
GetSshPassword returns the SshPassword field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetSshPassword(v string)
SetSshPassword sets SshPassword field to given value.
func (o *CreateSSHTarget) HasSshPassword() bool
HasSshPassword returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetSshUsername() string
GetSshUsername returns the SshUsername field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetSshUsername(v string)
SetSshUsername sets SshUsername field to given value.
func (o *CreateSSHTarget) HasSshUsername() bool
HasSshUsername returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateSSHTarget) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateSSHTarget) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateSSHTarget) 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 *CreateSSHTarget) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateSSHTarget) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.