Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Key | string | key is case sensitive | |
OverriddenSecret | Pointer to SecretOverride | [optional] | |
AliasedSecret | Pointer to SecretAlias | [optional] | |
Scope | APIVariableScopeEnum | ||
VariableType | Pointer to APIVariableTypeEnum | [optional] | |
ServiceId | Pointer to string | [optional] | |
ServiceName | Pointer to string | [optional] | |
ServiceType | Pointer to LinkedServiceTypeEnum | [optional] | |
OwnedBy | Pointer to string | Entity that created/own the variable (i.e: Qovery, Doppler) | [optional] |
Description | Pointer to NullableString | optional variable description (255 characters maximum) | [optional] |
EnableInterpolationInFile | Pointer to NullableBool | [optional] |
func NewSecret(id string, createdAt time.Time, key string, scope APIVariableScopeEnum, ) *Secret
NewSecret instantiates a new Secret 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 NewSecretWithDefaults() *Secret
NewSecretWithDefaults instantiates a new Secret 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 *Secret) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Secret) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetId(v string)
SetId sets Id field to given value.
func (o *Secret) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Secret) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Secret) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Secret) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Secret) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Secret) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *Secret) 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 *Secret) SetKey(v string)
SetKey sets Key field to given value.
func (o *Secret) GetOverriddenSecret() SecretOverride
GetOverriddenSecret returns the OverriddenSecret field if non-nil, zero value otherwise.
func (o *Secret) GetOverriddenSecretOk() (*SecretOverride, bool)
GetOverriddenSecretOk returns a tuple with the OverriddenSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetOverriddenSecret(v SecretOverride)
SetOverriddenSecret sets OverriddenSecret field to given value.
func (o *Secret) HasOverriddenSecret() bool
HasOverriddenSecret returns a boolean if a field has been set.
func (o *Secret) GetAliasedSecret() SecretAlias
GetAliasedSecret returns the AliasedSecret field if non-nil, zero value otherwise.
func (o *Secret) GetAliasedSecretOk() (*SecretAlias, bool)
GetAliasedSecretOk returns a tuple with the AliasedSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetAliasedSecret(v SecretAlias)
SetAliasedSecret sets AliasedSecret field to given value.
func (o *Secret) HasAliasedSecret() bool
HasAliasedSecret returns a boolean if a field has been set.
func (o *Secret) GetScope() APIVariableScopeEnum
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *Secret) GetScopeOk() (*APIVariableScopeEnum, bool)
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetScope(v APIVariableScopeEnum)
SetScope sets Scope field to given value.
func (o *Secret) GetVariableType() APIVariableTypeEnum
GetVariableType returns the VariableType field if non-nil, zero value otherwise.
func (o *Secret) GetVariableTypeOk() (*APIVariableTypeEnum, bool)
GetVariableTypeOk returns a tuple with the VariableType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetVariableType(v APIVariableTypeEnum)
SetVariableType sets VariableType field to given value.
func (o *Secret) HasVariableType() bool
HasVariableType returns a boolean if a field has been set.
func (o *Secret) GetServiceId() string
GetServiceId returns the ServiceId field if non-nil, zero value otherwise.
func (o *Secret) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetServiceId(v string)
SetServiceId sets ServiceId field to given value.
func (o *Secret) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (o *Secret) GetServiceName() string
GetServiceName returns the ServiceName field if non-nil, zero value otherwise.
func (o *Secret) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetServiceName(v string)
SetServiceName sets ServiceName field to given value.
func (o *Secret) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (o *Secret) GetServiceType() LinkedServiceTypeEnum
GetServiceType returns the ServiceType field if non-nil, zero value otherwise.
func (o *Secret) GetServiceTypeOk() (*LinkedServiceTypeEnum, bool)
GetServiceTypeOk returns a tuple with the ServiceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetServiceType(v LinkedServiceTypeEnum)
SetServiceType sets ServiceType field to given value.
func (o *Secret) HasServiceType() bool
HasServiceType returns a boolean if a field has been set.
func (o *Secret) GetOwnedBy() string
GetOwnedBy returns the OwnedBy field if non-nil, zero value otherwise.
func (o *Secret) GetOwnedByOk() (*string, bool)
GetOwnedByOk returns a tuple with the OwnedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetOwnedBy(v string)
SetOwnedBy sets OwnedBy field to given value.
func (o *Secret) HasOwnedBy() bool
HasOwnedBy returns a boolean if a field has been set.
func (o *Secret) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Secret) 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 *Secret) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Secret) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Secret) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *Secret) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *Secret) GetEnableInterpolationInFile() bool
GetEnableInterpolationInFile returns the EnableInterpolationInFile field if non-nil, zero value otherwise.
func (o *Secret) GetEnableInterpolationInFileOk() (*bool, bool)
GetEnableInterpolationInFileOk returns a tuple with the EnableInterpolationInFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Secret) SetEnableInterpolationInFile(v bool)
SetEnableInterpolationInFile sets EnableInterpolationInFile field to given value.
func (o *Secret) HasEnableInterpolationInFile() bool
HasEnableInterpolationInFile returns a boolean if a field has been set.
func (o *Secret) SetEnableInterpolationInFileNil(b bool)
SetEnableInterpolationInFileNil sets the value for EnableInterpolationInFile to be an explicit nil
func (o *Secret) UnsetEnableInterpolationInFile()
UnsetEnableInterpolationInFile ensures that no value is present for EnableInterpolationInFile, not even an explicit nil