Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Key | string | key is case sensitive. | |
Value | Pointer to string | value of the env variable. | [optional] |
MountPath | Pointer to NullableString | should be set for file only. variable mount path makes variable a file (where file should be mounted). | [optional] |
Description | Pointer to NullableString | optional variable description (255 characters maximum) | [optional] |
EnableInterpolationInFile | Pointer to NullableBool | [optional] | |
OverriddenVariable | Pointer to EnvironmentVariableOverride | [optional] | |
AliasedVariable | Pointer to EnvironmentVariableAlias | [optional] | |
Scope | APIVariableScopeEnum | ||
VariableType | APIVariableTypeEnum | ||
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] |
func NewEnvironmentVariable(id string, createdAt time.Time, key string, scope APIVariableScopeEnum, variableType APIVariableTypeEnum, ) *EnvironmentVariable
NewEnvironmentVariable instantiates a new EnvironmentVariable 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 NewEnvironmentVariableWithDefaults() *EnvironmentVariable
NewEnvironmentVariableWithDefaults instantiates a new EnvironmentVariable 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 *EnvironmentVariable) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetId(v string)
SetId sets Id field to given value.
func (o *EnvironmentVariable) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *EnvironmentVariable) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *EnvironmentVariable) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetKey(v string)
SetKey sets Key field to given value.
func (o *EnvironmentVariable) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetValue(v string)
SetValue sets Value field to given value.
func (o *EnvironmentVariable) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetMountPath() string
GetMountPath returns the MountPath field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) GetMountPathOk() (*string, bool)
GetMountPathOk returns a tuple with the MountPath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentVariable) SetMountPath(v string)
SetMountPath sets MountPath field to given value.
func (o *EnvironmentVariable) HasMountPath() bool
HasMountPath returns a boolean if a field has been set.
func (o *EnvironmentVariable) SetMountPathNil(b bool)
SetMountPathNil sets the value for MountPath to be an explicit nil
func (o *EnvironmentVariable) UnsetMountPath()
UnsetMountPath ensures that no value is present for MountPath, not even an explicit nil
func (o *EnvironmentVariable) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *EnvironmentVariable) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *EnvironmentVariable) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *EnvironmentVariable) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *EnvironmentVariable) GetEnableInterpolationInFile() bool
GetEnableInterpolationInFile returns the EnableInterpolationInFile field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetEnableInterpolationInFile(v bool)
SetEnableInterpolationInFile sets EnableInterpolationInFile field to given value.
func (o *EnvironmentVariable) HasEnableInterpolationInFile() bool
HasEnableInterpolationInFile returns a boolean if a field has been set.
func (o *EnvironmentVariable) SetEnableInterpolationInFileNil(b bool)
SetEnableInterpolationInFileNil sets the value for EnableInterpolationInFile to be an explicit nil
func (o *EnvironmentVariable) UnsetEnableInterpolationInFile()
UnsetEnableInterpolationInFile ensures that no value is present for EnableInterpolationInFile, not even an explicit nil
func (o *EnvironmentVariable) GetOverriddenVariable() EnvironmentVariableOverride
GetOverriddenVariable returns the OverriddenVariable field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) GetOverriddenVariableOk() (*EnvironmentVariableOverride, bool)
GetOverriddenVariableOk returns a tuple with the OverriddenVariable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentVariable) SetOverriddenVariable(v EnvironmentVariableOverride)
SetOverriddenVariable sets OverriddenVariable field to given value.
func (o *EnvironmentVariable) HasOverriddenVariable() bool
HasOverriddenVariable returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetAliasedVariable() EnvironmentVariableAlias
GetAliasedVariable returns the AliasedVariable field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) GetAliasedVariableOk() (*EnvironmentVariableAlias, bool)
GetAliasedVariableOk returns a tuple with the AliasedVariable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentVariable) SetAliasedVariable(v EnvironmentVariableAlias)
SetAliasedVariable sets AliasedVariable field to given value.
func (o *EnvironmentVariable) HasAliasedVariable() bool
HasAliasedVariable returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetScope() APIVariableScopeEnum
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetScope(v APIVariableScopeEnum)
SetScope sets Scope field to given value.
func (o *EnvironmentVariable) GetVariableType() APIVariableTypeEnum
GetVariableType returns the VariableType field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetVariableType(v APIVariableTypeEnum)
SetVariableType sets VariableType field to given value.
func (o *EnvironmentVariable) GetServiceId() string
GetServiceId returns the ServiceId field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetServiceId(v string)
SetServiceId sets ServiceId field to given value.
func (o *EnvironmentVariable) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetServiceName() string
GetServiceName returns the ServiceName field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetServiceName(v string)
SetServiceName sets ServiceName field to given value.
func (o *EnvironmentVariable) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetServiceType() LinkedServiceTypeEnum
GetServiceType returns the ServiceType field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetServiceType(v LinkedServiceTypeEnum)
SetServiceType sets ServiceType field to given value.
func (o *EnvironmentVariable) HasServiceType() bool
HasServiceType returns a boolean if a field has been set.
func (o *EnvironmentVariable) GetOwnedBy() string
GetOwnedBy returns the OwnedBy field if non-nil, zero value otherwise.
func (o *EnvironmentVariable) 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 *EnvironmentVariable) SetOwnedBy(v string)
SetOwnedBy sets OwnedBy field to given value.
func (o *EnvironmentVariable) HasOwnedBy() bool
HasOwnedBy returns a boolean if a field has been set.