Skip to content

Latest commit

 

History

History
259 lines (140 loc) · 7.09 KB

CreateDynamicSecret.md

File metadata and controls

259 lines (140 loc) · 7.09 KB

CreateDynamicSecret

Properties

Name Type Description Notes
DeleteProtection Pointer to string Protection from accidental deletion of this item [optional]
Description Pointer to string Description of the object [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 dynamic secret values (if empty, the account default protectionKey key will be used) [optional]
Metadata Pointer to string Deprecated - use description [optional]
Name string Dynamic secret name
Tags Pointer to []string List of the tags attached to this secret [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

NewCreateDynamicSecret

func NewCreateDynamicSecret(name string, ) *CreateDynamicSecret

NewCreateDynamicSecret instantiates a new CreateDynamicSecret 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

NewCreateDynamicSecretWithDefaults

func NewCreateDynamicSecretWithDefaults() *CreateDynamicSecret

NewCreateDynamicSecretWithDefaults instantiates a new CreateDynamicSecret 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

GetDeleteProtection

func (o *CreateDynamicSecret) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *CreateDynamicSecret) 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.

SetDeleteProtection

func (o *CreateDynamicSecret) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *CreateDynamicSecret) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *CreateDynamicSecret) GetDescription() string

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

GetDescriptionOk

func (o *CreateDynamicSecret) 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 *CreateDynamicSecret) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateDynamicSecret) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *CreateDynamicSecret) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *CreateDynamicSecret) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *CreateDynamicSecret) GetKey() string

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

GetKeyOk

func (o *CreateDynamicSecret) 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 *CreateDynamicSecret) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *CreateDynamicSecret) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMetadata

func (o *CreateDynamicSecret) GetMetadata() string

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *CreateDynamicSecret) 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.

SetMetadata

func (o *CreateDynamicSecret) SetMetadata(v string)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *CreateDynamicSecret) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetName

func (o *CreateDynamicSecret) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetTags

func (o *CreateDynamicSecret) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *CreateDynamicSecret) 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.

SetTags

func (o *CreateDynamicSecret) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *CreateDynamicSecret) HasTags() bool

HasTags returns a boolean if a field has been set.

GetToken

func (o *CreateDynamicSecret) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *CreateDynamicSecret) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *CreateDynamicSecret) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *CreateDynamicSecret) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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