Skip to content

Latest commit

 

History

History
363 lines (196 loc) · 10.9 KB

File metadata and controls

363 lines (196 loc) · 10.9 KB

DynamicSecretCreateOpenAI

Properties

Name Type Description Notes
CustomUsernameTemplate Pointer to string Customize how temporary usernames are generated using go template [optional]
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
Description Pointer to string Description of the object [optional]
ItemCustomFields Pointer to map[string]string Additional custom fields to associate with the item [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
Name string Dynamic secret name
ProducerEncryptionKeyName Pointer to string Dynamic producer encryption key [optional]
ProjectId Pointer to string Project ID [optional]
Tags Pointer to []string Add tags attached to this object [optional]
TargetName Pointer to string Name of existing target to use in producer creation [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]
UserTtl Pointer to string User TTL [optional] [default to "60m"]

Methods

NewDynamicSecretCreateOpenAI

func NewDynamicSecretCreateOpenAI(name string, ) *DynamicSecretCreateOpenAI

NewDynamicSecretCreateOpenAI instantiates a new DynamicSecretCreateOpenAI 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

NewDynamicSecretCreateOpenAIWithDefaults

func NewDynamicSecretCreateOpenAIWithDefaults() *DynamicSecretCreateOpenAI

NewDynamicSecretCreateOpenAIWithDefaults instantiates a new DynamicSecretCreateOpenAI 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

GetCustomUsernameTemplate

func (o *DynamicSecretCreateOpenAI) GetCustomUsernameTemplate() string

GetCustomUsernameTemplate returns the CustomUsernameTemplate field if non-nil, zero value otherwise.

GetCustomUsernameTemplateOk

func (o *DynamicSecretCreateOpenAI) GetCustomUsernameTemplateOk() (*string, bool)

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

SetCustomUsernameTemplate

func (o *DynamicSecretCreateOpenAI) SetCustomUsernameTemplate(v string)

SetCustomUsernameTemplate sets CustomUsernameTemplate field to given value.

HasCustomUsernameTemplate

func (o *DynamicSecretCreateOpenAI) HasCustomUsernameTemplate() bool

HasCustomUsernameTemplate returns a boolean if a field has been set.

GetDeleteProtection

func (o *DynamicSecretCreateOpenAI) GetDeleteProtection() string

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

GetDeleteProtectionOk

func (o *DynamicSecretCreateOpenAI) 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 *DynamicSecretCreateOpenAI) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *DynamicSecretCreateOpenAI) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *DynamicSecretCreateOpenAI) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *DynamicSecretCreateOpenAI) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetItemCustomFields

func (o *DynamicSecretCreateOpenAI) GetItemCustomFields() map[string]string

GetItemCustomFields returns the ItemCustomFields field if non-nil, zero value otherwise.

GetItemCustomFieldsOk

func (o *DynamicSecretCreateOpenAI) GetItemCustomFieldsOk() (*map[string]string, bool)

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

SetItemCustomFields

func (o *DynamicSecretCreateOpenAI) SetItemCustomFields(v map[string]string)

SetItemCustomFields sets ItemCustomFields field to given value.

HasItemCustomFields

func (o *DynamicSecretCreateOpenAI) HasItemCustomFields() bool

HasItemCustomFields returns a boolean if a field has been set.

GetJson

func (o *DynamicSecretCreateOpenAI) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *DynamicSecretCreateOpenAI) HasJson() bool

HasJson returns a boolean if a field has been set.

GetName

func (o *DynamicSecretCreateOpenAI) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetProducerEncryptionKeyName

func (o *DynamicSecretCreateOpenAI) GetProducerEncryptionKeyName() string

GetProducerEncryptionKeyName returns the ProducerEncryptionKeyName field if non-nil, zero value otherwise.

GetProducerEncryptionKeyNameOk

func (o *DynamicSecretCreateOpenAI) GetProducerEncryptionKeyNameOk() (*string, bool)

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

SetProducerEncryptionKeyName

func (o *DynamicSecretCreateOpenAI) SetProducerEncryptionKeyName(v string)

SetProducerEncryptionKeyName sets ProducerEncryptionKeyName field to given value.

HasProducerEncryptionKeyName

func (o *DynamicSecretCreateOpenAI) HasProducerEncryptionKeyName() bool

HasProducerEncryptionKeyName returns a boolean if a field has been set.

GetProjectId

func (o *DynamicSecretCreateOpenAI) GetProjectId() string

GetProjectId returns the ProjectId field if non-nil, zero value otherwise.

GetProjectIdOk

func (o *DynamicSecretCreateOpenAI) GetProjectIdOk() (*string, bool)

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

SetProjectId

func (o *DynamicSecretCreateOpenAI) SetProjectId(v string)

SetProjectId sets ProjectId field to given value.

HasProjectId

func (o *DynamicSecretCreateOpenAI) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

func (o *DynamicSecretCreateOpenAI) 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 *DynamicSecretCreateOpenAI) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *DynamicSecretCreateOpenAI) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *DynamicSecretCreateOpenAI) GetTargetName() string

GetTargetName returns the TargetName field if non-nil, zero value otherwise.

GetTargetNameOk

func (o *DynamicSecretCreateOpenAI) GetTargetNameOk() (*string, bool)

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

SetTargetName

func (o *DynamicSecretCreateOpenAI) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

HasTargetName

func (o *DynamicSecretCreateOpenAI) HasTargetName() bool

HasTargetName returns a boolean if a field has been set.

GetToken

func (o *DynamicSecretCreateOpenAI) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *DynamicSecretCreateOpenAI) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *DynamicSecretCreateOpenAI) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *DynamicSecretCreateOpenAI) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUserTtl

func (o *DynamicSecretCreateOpenAI) GetUserTtl() string

GetUserTtl returns the UserTtl field if non-nil, zero value otherwise.

GetUserTtlOk

func (o *DynamicSecretCreateOpenAI) GetUserTtlOk() (*string, bool)

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

SetUserTtl

func (o *DynamicSecretCreateOpenAI) SetUserTtl(v string)

SetUserTtl sets UserTtl field to given value.

HasUserTtl

func (o *DynamicSecretCreateOpenAI) HasUserTtl() bool

HasUserTtl returns a boolean if a field has been set.

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