Name | Type | Description | Notes |
---|---|---|---|
Key | string | the key of the environment variable | |
Value | string | the value of the environment variable | |
MountPath | Pointer to NullableString | the path where the file will be mounted (only if type =file) | [optional] |
IsSecret | bool | if true, the variable will be considered as a secret and will not be accessible after its creation. Only your applications will be able to access its value at build and run time. | |
VariableScope | APIVariableScopeEnum | ||
VariableParentId | string | based on the selected scope, it contains the ID of the service, environment or project where the variable is attached | |
Description | Pointer to NullableString | optional variable description (255 characters maximum) | [optional] |
EnableInterpolationInFile | Pointer to NullableBool | [optional] |
func NewVariableRequest(key string, value string, isSecret bool, variableScope APIVariableScopeEnum, variableParentId string, ) *VariableRequest
NewVariableRequest instantiates a new VariableRequest 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 NewVariableRequestWithDefaults() *VariableRequest
NewVariableRequestWithDefaults instantiates a new VariableRequest 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 *VariableRequest) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *VariableRequest) 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 *VariableRequest) SetKey(v string)
SetKey sets Key field to given value.
func (o *VariableRequest) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *VariableRequest) 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 *VariableRequest) SetValue(v string)
SetValue sets Value field to given value.
func (o *VariableRequest) GetMountPath() string
GetMountPath returns the MountPath field if non-nil, zero value otherwise.
func (o *VariableRequest) 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 *VariableRequest) SetMountPath(v string)
SetMountPath sets MountPath field to given value.
func (o *VariableRequest) HasMountPath() bool
HasMountPath returns a boolean if a field has been set.
func (o *VariableRequest) SetMountPathNil(b bool)
SetMountPathNil sets the value for MountPath to be an explicit nil
func (o *VariableRequest) UnsetMountPath()
UnsetMountPath ensures that no value is present for MountPath, not even an explicit nil
func (o *VariableRequest) GetIsSecret() bool
GetIsSecret returns the IsSecret field if non-nil, zero value otherwise.
func (o *VariableRequest) GetIsSecretOk() (*bool, bool)
GetIsSecretOk returns a tuple with the IsSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariableRequest) SetIsSecret(v bool)
SetIsSecret sets IsSecret field to given value.
func (o *VariableRequest) GetVariableScope() APIVariableScopeEnum
GetVariableScope returns the VariableScope field if non-nil, zero value otherwise.
func (o *VariableRequest) GetVariableScopeOk() (*APIVariableScopeEnum, bool)
GetVariableScopeOk returns a tuple with the VariableScope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariableRequest) SetVariableScope(v APIVariableScopeEnum)
SetVariableScope sets VariableScope field to given value.
func (o *VariableRequest) GetVariableParentId() string
GetVariableParentId returns the VariableParentId field if non-nil, zero value otherwise.
func (o *VariableRequest) GetVariableParentIdOk() (*string, bool)
GetVariableParentIdOk returns a tuple with the VariableParentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariableRequest) SetVariableParentId(v string)
SetVariableParentId sets VariableParentId field to given value.
func (o *VariableRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *VariableRequest) 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 *VariableRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *VariableRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *VariableRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *VariableRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *VariableRequest) GetEnableInterpolationInFile() bool
GetEnableInterpolationInFile returns the EnableInterpolationInFile field if non-nil, zero value otherwise.
func (o *VariableRequest) 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 *VariableRequest) SetEnableInterpolationInFile(v bool)
SetEnableInterpolationInFile sets EnableInterpolationInFile field to given value.
func (o *VariableRequest) HasEnableInterpolationInFile() bool
HasEnableInterpolationInFile returns a boolean if a field has been set.
func (o *VariableRequest) SetEnableInterpolationInFileNil(b bool)
SetEnableInterpolationInFileNil sets the value for EnableInterpolationInFile to be an explicit nil
func (o *VariableRequest) UnsetEnableInterpolationInFile()
UnsetEnableInterpolationInFile ensures that no value is present for EnableInterpolationInFile, not even an explicit nil