Skip to content

Latest commit

 

History

History
485 lines (258 loc) · 15.3 KB

File metadata and controls

485 lines (258 loc) · 15.3 KB

TerraformResponse

Properties

Name Type Description Notes
Id string [readonly]
CreatedAt time.Time [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]
Name string name is case insensitive
Description Pointer to string [optional]
TimeoutSec int32 [default to 600]
AutoDeploy bool
AutoDeployConfig Pointer to TerraformAutoDeployConfig [optional]
TerraformFilesSource Pointer to TerraformResponseAllOfTerraformFilesSource [optional]
IconUri string Icon URI representing the terraform service.
ServiceType ServiceTypeEnum
TerraformVariablesSource TerraformVariablesSourceResponse
Engine TerraformEngineEnum
Backend TerraformBackend
ProviderVersion TerraformProviderVersion
JobResources TerraformJobResourcesResponse
Environment ReferenceObject
UseClusterCredentials bool
ActionExtraArguments map[string][]string The key represent the action command name i.e: "plan" The value represent the extra arguments to pass to this command i.e: {"apply", ["-lock=false"]} is going to prepend `-lock=false` to terraform apply commands
DockerfileFragment Pointer to NullableTerraformResponseAllOfDockerfileFragment [optional]

Methods

NewTerraformResponse

func NewTerraformResponse(id string, createdAt time.Time, name string, timeoutSec int32, autoDeploy bool, iconUri string, serviceType ServiceTypeEnum, terraformVariablesSource TerraformVariablesSourceResponse, engine TerraformEngineEnum, backend TerraformBackend, providerVersion TerraformProviderVersion, jobResources TerraformJobResourcesResponse, environment ReferenceObject, useClusterCredentials bool, actionExtraArguments map[string][]string, ) *TerraformResponse

NewTerraformResponse instantiates a new TerraformResponse 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

NewTerraformResponseWithDefaults

func NewTerraformResponseWithDefaults() *TerraformResponse

NewTerraformResponseWithDefaults instantiates a new TerraformResponse 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

GetId

func (o *TerraformResponse) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *TerraformResponse) 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.

SetId

func (o *TerraformResponse) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *TerraformResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *TerraformResponse) 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.

SetCreatedAt

func (o *TerraformResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *TerraformResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *TerraformResponse) 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.

SetUpdatedAt

func (o *TerraformResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *TerraformResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetName

func (o *TerraformResponse) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetDescription

func (o *TerraformResponse) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *TerraformResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTimeoutSec

func (o *TerraformResponse) GetTimeoutSec() int32

GetTimeoutSec returns the TimeoutSec field if non-nil, zero value otherwise.

GetTimeoutSecOk

func (o *TerraformResponse) GetTimeoutSecOk() (*int32, bool)

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

SetTimeoutSec

func (o *TerraformResponse) SetTimeoutSec(v int32)

SetTimeoutSec sets TimeoutSec field to given value.

GetAutoDeploy

func (o *TerraformResponse) GetAutoDeploy() bool

GetAutoDeploy returns the AutoDeploy field if non-nil, zero value otherwise.

GetAutoDeployOk

func (o *TerraformResponse) GetAutoDeployOk() (*bool, bool)

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

SetAutoDeploy

func (o *TerraformResponse) SetAutoDeploy(v bool)

SetAutoDeploy sets AutoDeploy field to given value.

GetAutoDeployConfig

func (o *TerraformResponse) GetAutoDeployConfig() TerraformAutoDeployConfig

GetAutoDeployConfig returns the AutoDeployConfig field if non-nil, zero value otherwise.

GetAutoDeployConfigOk

func (o *TerraformResponse) GetAutoDeployConfigOk() (*TerraformAutoDeployConfig, bool)

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

SetAutoDeployConfig

func (o *TerraformResponse) SetAutoDeployConfig(v TerraformAutoDeployConfig)

SetAutoDeployConfig sets AutoDeployConfig field to given value.

HasAutoDeployConfig

func (o *TerraformResponse) HasAutoDeployConfig() bool

HasAutoDeployConfig returns a boolean if a field has been set.

GetTerraformFilesSource

func (o *TerraformResponse) GetTerraformFilesSource() TerraformResponseAllOfTerraformFilesSource

GetTerraformFilesSource returns the TerraformFilesSource field if non-nil, zero value otherwise.

GetTerraformFilesSourceOk

func (o *TerraformResponse) GetTerraformFilesSourceOk() (*TerraformResponseAllOfTerraformFilesSource, bool)

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

SetTerraformFilesSource

func (o *TerraformResponse) SetTerraformFilesSource(v TerraformResponseAllOfTerraformFilesSource)

SetTerraformFilesSource sets TerraformFilesSource field to given value.

HasTerraformFilesSource

func (o *TerraformResponse) HasTerraformFilesSource() bool

HasTerraformFilesSource returns a boolean if a field has been set.

GetIconUri

func (o *TerraformResponse) GetIconUri() string

GetIconUri returns the IconUri field if non-nil, zero value otherwise.

GetIconUriOk

func (o *TerraformResponse) GetIconUriOk() (*string, bool)

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

SetIconUri

func (o *TerraformResponse) SetIconUri(v string)

SetIconUri sets IconUri field to given value.

GetServiceType

func (o *TerraformResponse) GetServiceType() ServiceTypeEnum

GetServiceType returns the ServiceType field if non-nil, zero value otherwise.

GetServiceTypeOk

func (o *TerraformResponse) GetServiceTypeOk() (*ServiceTypeEnum, 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.

SetServiceType

func (o *TerraformResponse) SetServiceType(v ServiceTypeEnum)

SetServiceType sets ServiceType field to given value.

GetTerraformVariablesSource

func (o *TerraformResponse) GetTerraformVariablesSource() TerraformVariablesSourceResponse

GetTerraformVariablesSource returns the TerraformVariablesSource field if non-nil, zero value otherwise.

GetTerraformVariablesSourceOk

func (o *TerraformResponse) GetTerraformVariablesSourceOk() (*TerraformVariablesSourceResponse, bool)

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

SetTerraformVariablesSource

func (o *TerraformResponse) SetTerraformVariablesSource(v TerraformVariablesSourceResponse)

SetTerraformVariablesSource sets TerraformVariablesSource field to given value.

GetEngine

func (o *TerraformResponse) GetEngine() TerraformEngineEnum

GetEngine returns the Engine field if non-nil, zero value otherwise.

GetEngineOk

func (o *TerraformResponse) GetEngineOk() (*TerraformEngineEnum, bool)

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

SetEngine

func (o *TerraformResponse) SetEngine(v TerraformEngineEnum)

SetEngine sets Engine field to given value.

GetBackend

func (o *TerraformResponse) GetBackend() TerraformBackend

GetBackend returns the Backend field if non-nil, zero value otherwise.

GetBackendOk

func (o *TerraformResponse) GetBackendOk() (*TerraformBackend, bool)

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

SetBackend

func (o *TerraformResponse) SetBackend(v TerraformBackend)

SetBackend sets Backend field to given value.

GetProviderVersion

func (o *TerraformResponse) GetProviderVersion() TerraformProviderVersion

GetProviderVersion returns the ProviderVersion field if non-nil, zero value otherwise.

GetProviderVersionOk

func (o *TerraformResponse) GetProviderVersionOk() (*TerraformProviderVersion, bool)

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

SetProviderVersion

func (o *TerraformResponse) SetProviderVersion(v TerraformProviderVersion)

SetProviderVersion sets ProviderVersion field to given value.

GetJobResources

func (o *TerraformResponse) GetJobResources() TerraformJobResourcesResponse

GetJobResources returns the JobResources field if non-nil, zero value otherwise.

GetJobResourcesOk

func (o *TerraformResponse) GetJobResourcesOk() (*TerraformJobResourcesResponse, bool)

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

SetJobResources

func (o *TerraformResponse) SetJobResources(v TerraformJobResourcesResponse)

SetJobResources sets JobResources field to given value.

GetEnvironment

func (o *TerraformResponse) GetEnvironment() ReferenceObject

GetEnvironment returns the Environment field if non-nil, zero value otherwise.

GetEnvironmentOk

func (o *TerraformResponse) GetEnvironmentOk() (*ReferenceObject, bool)

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

SetEnvironment

func (o *TerraformResponse) SetEnvironment(v ReferenceObject)

SetEnvironment sets Environment field to given value.

GetUseClusterCredentials

func (o *TerraformResponse) GetUseClusterCredentials() bool

GetUseClusterCredentials returns the UseClusterCredentials field if non-nil, zero value otherwise.

GetUseClusterCredentialsOk

func (o *TerraformResponse) GetUseClusterCredentialsOk() (*bool, bool)

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

SetUseClusterCredentials

func (o *TerraformResponse) SetUseClusterCredentials(v bool)

SetUseClusterCredentials sets UseClusterCredentials field to given value.

GetActionExtraArguments

func (o *TerraformResponse) GetActionExtraArguments() map[string][]string

GetActionExtraArguments returns the ActionExtraArguments field if non-nil, zero value otherwise.

GetActionExtraArgumentsOk

func (o *TerraformResponse) GetActionExtraArgumentsOk() (*map[string][]string, bool)

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

SetActionExtraArguments

func (o *TerraformResponse) SetActionExtraArguments(v map[string][]string)

SetActionExtraArguments sets ActionExtraArguments field to given value.

GetDockerfileFragment

func (o *TerraformResponse) GetDockerfileFragment() TerraformResponseAllOfDockerfileFragment

GetDockerfileFragment returns the DockerfileFragment field if non-nil, zero value otherwise.

GetDockerfileFragmentOk

func (o *TerraformResponse) GetDockerfileFragmentOk() (*TerraformResponseAllOfDockerfileFragment, bool)

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

SetDockerfileFragment

func (o *TerraformResponse) SetDockerfileFragment(v TerraformResponseAllOfDockerfileFragment)

SetDockerfileFragment sets DockerfileFragment field to given value.

HasDockerfileFragment

func (o *TerraformResponse) HasDockerfileFragment() bool

HasDockerfileFragment returns a boolean if a field has been set.

SetDockerfileFragmentNil

func (o *TerraformResponse) SetDockerfileFragmentNil(b bool)

SetDockerfileFragmentNil sets the value for DockerfileFragment to be an explicit nil

UnsetDockerfileFragment

func (o *TerraformResponse) UnsetDockerfileFragment()

UnsetDockerfileFragment ensures that no value is present for DockerfileFragment, not even an explicit nil

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