Name | Type | Description | Notes |
---|---|---|---|
Accessibility | Pointer to string | for personal password manager | [optional] [default to "regular"] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this item | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] |
Metadata | Pointer to string | Metadata about the secret | [optional] |
MultilineValue | Pointer to bool | The provided value is a multiline value (separated by '\n') | [optional] |
Name | string | Secret name | |
PasswordManagerCustomField | Pointer to map[string]string | For Password Management use, additional fields | [optional] |
PasswordManagerInjectUrl | Pointer to []string | For Password Management use, reflect the website context | [optional] |
PasswordManagerPassword | Pointer to string | For Password Management use, additional fields | [optional] |
PasswordManagerUsername | Pointer to string | For Password Management use | [optional] |
ProtectionKey | 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] |
SecureAccessBastionIssuer | Pointer to string | [optional] | |
SecureAccessEnable | Pointer to string | [optional] | |
SecureAccessHost | Pointer to []string | [optional] | |
SecureAccessSshCreds | Pointer to string | [optional] | |
SecureAccessSshUser | Pointer to string | [optional] | |
SecureAccessUrl | Pointer to string | [optional] | |
SecureAccessWebBrowsing | Pointer to bool | [optional] | |
SecureAccessWebProxy | Pointer to bool | [optional] | |
Tags | Pointer to []string | List of the tags attached to this secret | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
Type | Pointer to string | For Password Management use, reflect the website context | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
Value | string | The secret value |
func NewCreateSecret(name string, value string, ) *CreateSecret
NewCreateSecret instantiates a new CreateSecret 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 NewCreateSecretWithDefaults() *CreateSecret
NewCreateSecretWithDefaults instantiates a new CreateSecret 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 *CreateSecret) GetAccessibility() string
GetAccessibility returns the Accessibility field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetAccessibility(v string)
SetAccessibility sets Accessibility field to given value.
func (o *CreateSecret) HasAccessibility() bool
HasAccessibility returns a boolean if a field has been set.
func (o *CreateSecret) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateSecret) GetDeleteProtectionOk() (*string, bool)
GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateSecret) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateSecret) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateSecret) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateSecret) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateSecret) GetMetadataOk() (*string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateSecret) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateSecret) GetMultilineValue() bool
GetMultilineValue returns the MultilineValue field if non-nil, zero value otherwise.
func (o *CreateSecret) GetMultilineValueOk() (*bool, bool)
GetMultilineValueOk returns a tuple with the MultilineValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetMultilineValue(v bool)
SetMultilineValue sets MultilineValue field to given value.
func (o *CreateSecret) HasMultilineValue() bool
HasMultilineValue returns a boolean if a field has been set.
func (o *CreateSecret) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetName(v string)
SetName sets Name field to given value.
func (o *CreateSecret) GetPasswordManagerCustomField() map[string]string
GetPasswordManagerCustomField returns the PasswordManagerCustomField field if non-nil, zero value otherwise.
func (o *CreateSecret) GetPasswordManagerCustomFieldOk() (*map[string]string, bool)
GetPasswordManagerCustomFieldOk returns a tuple with the PasswordManagerCustomField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetPasswordManagerCustomField(v map[string]string)
SetPasswordManagerCustomField sets PasswordManagerCustomField field to given value.
func (o *CreateSecret) HasPasswordManagerCustomField() bool
HasPasswordManagerCustomField returns a boolean if a field has been set.
func (o *CreateSecret) GetPasswordManagerInjectUrl() []string
GetPasswordManagerInjectUrl returns the PasswordManagerInjectUrl field if non-nil, zero value otherwise.
func (o *CreateSecret) GetPasswordManagerInjectUrlOk() (*[]string, bool)
GetPasswordManagerInjectUrlOk returns a tuple with the PasswordManagerInjectUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetPasswordManagerInjectUrl(v []string)
SetPasswordManagerInjectUrl sets PasswordManagerInjectUrl field to given value.
func (o *CreateSecret) HasPasswordManagerInjectUrl() bool
HasPasswordManagerInjectUrl returns a boolean if a field has been set.
func (o *CreateSecret) GetPasswordManagerPassword() string
GetPasswordManagerPassword returns the PasswordManagerPassword field if non-nil, zero value otherwise.
func (o *CreateSecret) GetPasswordManagerPasswordOk() (*string, bool)
GetPasswordManagerPasswordOk returns a tuple with the PasswordManagerPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetPasswordManagerPassword(v string)
SetPasswordManagerPassword sets PasswordManagerPassword field to given value.
func (o *CreateSecret) HasPasswordManagerPassword() bool
HasPasswordManagerPassword returns a boolean if a field has been set.
func (o *CreateSecret) GetPasswordManagerUsername() string
GetPasswordManagerUsername returns the PasswordManagerUsername field if non-nil, zero value otherwise.
func (o *CreateSecret) GetPasswordManagerUsernameOk() (*string, bool)
GetPasswordManagerUsernameOk returns a tuple with the PasswordManagerUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetPasswordManagerUsername(v string)
SetPasswordManagerUsername sets PasswordManagerUsername field to given value.
func (o *CreateSecret) HasPasswordManagerUsername() bool
HasPasswordManagerUsername returns a boolean if a field has been set.
func (o *CreateSecret) GetProtectionKey() string
GetProtectionKey returns the ProtectionKey field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetProtectionKey(v string)
SetProtectionKey sets ProtectionKey field to given value.
func (o *CreateSecret) HasProtectionKey() bool
HasProtectionKey returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessBastionIssuer() string
GetSecureAccessBastionIssuer returns the SecureAccessBastionIssuer field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessBastionIssuerOk() (*string, bool)
GetSecureAccessBastionIssuerOk returns a tuple with the SecureAccessBastionIssuer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessBastionIssuer(v string)
SetSecureAccessBastionIssuer sets SecureAccessBastionIssuer field to given value.
func (o *CreateSecret) HasSecureAccessBastionIssuer() bool
HasSecureAccessBastionIssuer returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessEnable() string
GetSecureAccessEnable returns the SecureAccessEnable field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessEnableOk() (*string, bool)
GetSecureAccessEnableOk returns a tuple with the SecureAccessEnable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessEnable(v string)
SetSecureAccessEnable sets SecureAccessEnable field to given value.
func (o *CreateSecret) HasSecureAccessEnable() bool
HasSecureAccessEnable returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessHost() []string
GetSecureAccessHost returns the SecureAccessHost field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessHostOk() (*[]string, bool)
GetSecureAccessHostOk returns a tuple with the SecureAccessHost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessHost(v []string)
SetSecureAccessHost sets SecureAccessHost field to given value.
func (o *CreateSecret) HasSecureAccessHost() bool
HasSecureAccessHost returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessSshCreds() string
GetSecureAccessSshCreds returns the SecureAccessSshCreds field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessSshCredsOk() (*string, bool)
GetSecureAccessSshCredsOk returns a tuple with the SecureAccessSshCreds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessSshCreds(v string)
SetSecureAccessSshCreds sets SecureAccessSshCreds field to given value.
func (o *CreateSecret) HasSecureAccessSshCreds() bool
HasSecureAccessSshCreds returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessSshUser() string
GetSecureAccessSshUser returns the SecureAccessSshUser field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessSshUserOk() (*string, bool)
GetSecureAccessSshUserOk returns a tuple with the SecureAccessSshUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessSshUser(v string)
SetSecureAccessSshUser sets SecureAccessSshUser field to given value.
func (o *CreateSecret) HasSecureAccessSshUser() bool
HasSecureAccessSshUser returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessUrl() string
GetSecureAccessUrl returns the SecureAccessUrl field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessUrlOk() (*string, bool)
GetSecureAccessUrlOk returns a tuple with the SecureAccessUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessUrl(v string)
SetSecureAccessUrl sets SecureAccessUrl field to given value.
func (o *CreateSecret) HasSecureAccessUrl() bool
HasSecureAccessUrl returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessWebBrowsing() bool
GetSecureAccessWebBrowsing returns the SecureAccessWebBrowsing field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessWebBrowsingOk() (*bool, bool)
GetSecureAccessWebBrowsingOk returns a tuple with the SecureAccessWebBrowsing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessWebBrowsing(v bool)
SetSecureAccessWebBrowsing sets SecureAccessWebBrowsing field to given value.
func (o *CreateSecret) HasSecureAccessWebBrowsing() bool
HasSecureAccessWebBrowsing returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessWebProxy() bool
GetSecureAccessWebProxy returns the SecureAccessWebProxy field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessWebProxyOk() (*bool, bool)
GetSecureAccessWebProxyOk returns a tuple with the SecureAccessWebProxy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessWebProxy(v bool)
SetSecureAccessWebProxy sets SecureAccessWebProxy field to given value.
func (o *CreateSecret) HasSecureAccessWebProxy() bool
HasSecureAccessWebProxy returns a boolean if a field has been set.
func (o *CreateSecret) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *CreateSecret) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *CreateSecret) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *CreateSecret) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateSecret) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateSecret) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CreateSecret) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetType(v string)
SetType sets Type field to given value.
func (o *CreateSecret) HasType() bool
HasType returns a boolean if a field has been set.
func (o *CreateSecret) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateSecret) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *CreateSecret) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetValue(v string)
SetValue sets Value field to given value.