Name | Type | Description | Notes |
---|---|---|---|
Accessibility | Pointer to string | for personal password manager | [optional] [default to "regular"] |
CustomField | Pointer to map[string]string | For Password Management use, additional fields | [optional] |
Format | Pointer to string | Secret format [text/json/key-value] (relevant only for type 'generic') | [optional] [default to "text"] |
InjectUrl | Pointer to []string | For Password Management use, reflect the website context | [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 secret value (if empty, the account default protectionKey key will be used) | [optional] |
LastVersion | Pointer to int32 | The last version number before the update | [optional] |
Multiline | Pointer to bool | The provided value is a multiline value (separated by '\n') | [optional] |
Name | string | Secret name | |
NewVersion | Pointer to bool | Deprecated | [optional] |
Password | Pointer to string | For Password Management use, additional fields | [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] |
Username | Pointer to string | For Password Management use | [optional] |
Value | string | The secret value (relevant only for type 'generic') |
func NewUpdateSecretVal(name string, value string, ) *UpdateSecretVal
NewUpdateSecretVal instantiates a new UpdateSecretVal 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 NewUpdateSecretValWithDefaults() *UpdateSecretVal
NewUpdateSecretValWithDefaults instantiates a new UpdateSecretVal 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 *UpdateSecretVal) GetAccessibility() string
GetAccessibility returns the Accessibility field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetAccessibilityOk() (*string, bool)
GetAccessibilityOk returns a tuple with the Accessibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetAccessibility(v string)
SetAccessibility sets Accessibility field to given value.
func (o *UpdateSecretVal) HasAccessibility() bool
HasAccessibility returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetCustomField() map[string]string
GetCustomField returns the CustomField field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetCustomFieldOk() (*map[string]string, bool)
GetCustomFieldOk returns a tuple with the CustomField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetCustomField(v map[string]string)
SetCustomField sets CustomField field to given value.
func (o *UpdateSecretVal) HasCustomField() bool
HasCustomField returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetFormat(v string)
SetFormat sets Format field to given value.
func (o *UpdateSecretVal) HasFormat() bool
HasFormat returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetInjectUrl() []string
GetInjectUrl returns the InjectUrl field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetInjectUrlOk() (*[]string, bool)
GetInjectUrlOk returns a tuple with the InjectUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetInjectUrl(v []string)
SetInjectUrl sets InjectUrl field to given value.
func (o *UpdateSecretVal) HasInjectUrl() bool
HasInjectUrl returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateSecretVal) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *UpdateSecretVal) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetKey(v string)
SetKey sets Key field to given value.
func (o *UpdateSecretVal) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetLastVersion() int32
GetLastVersion returns the LastVersion field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetLastVersionOk() (*int32, bool)
GetLastVersionOk returns a tuple with the LastVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetLastVersion(v int32)
SetLastVersion sets LastVersion field to given value.
func (o *UpdateSecretVal) HasLastVersion() bool
HasLastVersion returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetMultiline() bool
GetMultiline returns the Multiline field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetMultilineOk() (*bool, bool)
GetMultilineOk returns a tuple with the Multiline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetMultiline(v bool)
SetMultiline sets Multiline field to given value.
func (o *UpdateSecretVal) HasMultiline() bool
HasMultiline returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateSecretVal) GetNewVersion() bool
GetNewVersion returns the NewVersion field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetNewVersion(v bool)
SetNewVersion sets NewVersion field to given value.
func (o *UpdateSecretVal) HasNewVersion() bool
HasNewVersion returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *UpdateSecretVal) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateSecretVal) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) 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 *UpdateSecretVal) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateSecretVal) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *UpdateSecretVal) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *UpdateSecretVal) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *UpdateSecretVal) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSecretVal) SetValue(v string)
SetValue sets Value field to given value.