| Name | Type | Description | Notes |
|---|---|---|---|
| Config | StageSpecConfig | ||
| Name | string | name of the pipeline stage | |
| Next | Pointer to []NextStage | list of stages to be executed after this | [optional] |
| PreConditions | Pointer to []PreConditionSpec | conditions to be evaluated before executing current stage | [optional] |
| Type | string | type of pipeline stage | |
| Variables | Pointer to []VariableSpec | stage scoped variables | [optional] |
func NewStageSpec(config StageSpecConfig, name string, type_ string, ) *StageSpec
NewStageSpec instantiates a new StageSpec 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 NewStageSpecWithDefaults() *StageSpec
NewStageSpecWithDefaults instantiates a new StageSpec 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 *StageSpec) GetConfig() StageSpecConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *StageSpec) GetConfigOk() (*StageSpecConfig, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpec) SetConfig(v StageSpecConfig)
SetConfig sets Config field to given value.
func (o *StageSpec) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *StageSpec) 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.
func (o *StageSpec) SetName(v string)
SetName sets Name field to given value.
func (o *StageSpec) GetNext() []NextStage
GetNext returns the Next field if non-nil, zero value otherwise.
func (o *StageSpec) GetNextOk() (*[]NextStage, bool)
GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpec) SetNext(v []NextStage)
SetNext sets Next field to given value.
func (o *StageSpec) HasNext() bool
HasNext returns a boolean if a field has been set.
func (o *StageSpec) GetPreConditions() []PreConditionSpec
GetPreConditions returns the PreConditions field if non-nil, zero value otherwise.
func (o *StageSpec) GetPreConditionsOk() (*[]PreConditionSpec, bool)
GetPreConditionsOk returns a tuple with the PreConditions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpec) SetPreConditions(v []PreConditionSpec)
SetPreConditions sets PreConditions field to given value.
func (o *StageSpec) HasPreConditions() bool
HasPreConditions returns a boolean if a field has been set.
func (o *StageSpec) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *StageSpec) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpec) SetType(v string)
SetType sets Type field to given value.
func (o *StageSpec) GetVariables() []VariableSpec
GetVariables returns the Variables field if non-nil, zero value otherwise.
func (o *StageSpec) GetVariablesOk() (*[]VariableSpec, bool)
GetVariablesOk returns a tuple with the Variables field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpec) SetVariables(v []VariableSpec)
SetVariables sets Variables field to given value.
func (o *StageSpec) HasVariables() bool
HasVariables returns a boolean if a field has been set.