Skip to content

Latest commit

 

History

History
191 lines (104 loc) · 5.73 KB

File metadata and controls

191 lines (104 loc) · 5.73 KB

TerraformVariableDefinition

Properties

Name Type Description Notes
Key string The name of the variable
Sensitive bool Whether the variable is marked as sensitive
Nullable Pointer to bool Whether the variable accepts null values. If false, the variable is required. [optional] [default to true]
Default Pointer to NullableString The default value of the variable, or null if no default is provided [optional]
Source string The path inside your git repository where the variable is defined
Description Pointer to NullableString The description of the variable, or null if no description is provided [optional]

Methods

NewTerraformVariableDefinition

func NewTerraformVariableDefinition(key string, sensitive bool, source string, ) *TerraformVariableDefinition

NewTerraformVariableDefinition instantiates a new TerraformVariableDefinition 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

NewTerraformVariableDefinitionWithDefaults

func NewTerraformVariableDefinitionWithDefaults() *TerraformVariableDefinition

NewTerraformVariableDefinitionWithDefaults instantiates a new TerraformVariableDefinition 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

GetKey

func (o *TerraformVariableDefinition) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

GetSensitive

func (o *TerraformVariableDefinition) GetSensitive() bool

GetSensitive returns the Sensitive field if non-nil, zero value otherwise.

GetSensitiveOk

func (o *TerraformVariableDefinition) GetSensitiveOk() (*bool, bool)

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

SetSensitive

func (o *TerraformVariableDefinition) SetSensitive(v bool)

SetSensitive sets Sensitive field to given value.

GetNullable

func (o *TerraformVariableDefinition) GetNullable() bool

GetNullable returns the Nullable field if non-nil, zero value otherwise.

GetNullableOk

func (o *TerraformVariableDefinition) GetNullableOk() (*bool, bool)

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

SetNullable

func (o *TerraformVariableDefinition) SetNullable(v bool)

SetNullable sets Nullable field to given value.

HasNullable

func (o *TerraformVariableDefinition) HasNullable() bool

HasNullable returns a boolean if a field has been set.

GetDefault

func (o *TerraformVariableDefinition) GetDefault() string

GetDefault returns the Default field if non-nil, zero value otherwise.

GetDefaultOk

func (o *TerraformVariableDefinition) GetDefaultOk() (*string, bool)

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

SetDefault

func (o *TerraformVariableDefinition) SetDefault(v string)

SetDefault sets Default field to given value.

HasDefault

func (o *TerraformVariableDefinition) HasDefault() bool

HasDefault returns a boolean if a field has been set.

SetDefaultNil

func (o *TerraformVariableDefinition) SetDefaultNil(b bool)

SetDefaultNil sets the value for Default to be an explicit nil

UnsetDefault

func (o *TerraformVariableDefinition) UnsetDefault()

UnsetDefault ensures that no value is present for Default, not even an explicit nil

GetSource

func (o *TerraformVariableDefinition) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *TerraformVariableDefinition) GetSourceOk() (*string, bool)

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

SetSource

func (o *TerraformVariableDefinition) SetSource(v string)

SetSource sets Source field to given value.

GetDescription

func (o *TerraformVariableDefinition) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *TerraformVariableDefinition) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *TerraformVariableDefinition) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *TerraformVariableDefinition) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

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