| Name | Type | Description | Notes |
|---|---|---|---|
| Approvers | []Approver | list of approvers | |
| Timeout | Pointer to string | timeout for approval | [optional] |
| Type | string | type of infraprovisioner | |
| UseRevisionFromWebhookTriggerEvent | Pointer to bool | flag to indicate weather to deploy workload using revision recieved from webhook trigger | [optional] |
| Workload | string | name of the workload | |
| Namespace | string | namespace workload template should be deployed in | |
| Overrides | []OverrideTemplate | overrides for workload template | |
| Placement | PlacementSpec | ||
| WorkloadTemplate | string | name of workload template | |
| Action | InfraProvisionerConfigAction | ||
| Agents | []AgentMeta | list of agents to be used for provisioning | |
| PersistWorkingDirectory | Pointer to bool | flag to indicate if working directory should be persisted | [optional] |
| Provisioner | string | name of the infrastructure provisioner | |
| Revision | string | branch or tag for the git repository used in infrastructure provisioner | |
| WorkingDirectory | Pointer to string | working directory for the provisioner | [optional] |
| CommitterEmail | Pointer to string | value to use as committer email when committing to destination git repository. | [optional] |
| DestinationRepo | Pointer to SystemSyncRepo | [optional] | |
| ExcludedResources | Pointer to []SystemSyncResource | resources to exclude from syncing | [optional] |
| GitToSystemSync | Pointer to bool | flag to indicate if git to system sync should be enabled | [optional] |
| IncludedResources | Pointer to []SystemSyncResource | resources to include for syncing | [optional] |
| SourceAsDestination | Pointer to bool | flag to indicate if source repository should be used as destination repository | [optional] |
| SourceRepo | Pointer to SystemSyncRepo | [optional] | |
| SystemToGitSync | Pointer to bool | flat to indicate if system to git sync should be enabled | [optional] |
func NewStageSpecConfig(approvers []Approver, type_ string, workload string, namespace string, overrides []OverrideTemplate, placement PlacementSpec, workloadTemplate string, action InfraProvisionerConfigAction, agents []AgentMeta, provisioner string, revision string, ) *StageSpecConfig
NewStageSpecConfig instantiates a new StageSpecConfig 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 NewStageSpecConfigWithDefaults() *StageSpecConfig
NewStageSpecConfigWithDefaults instantiates a new StageSpecConfig 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 *StageSpecConfig) GetApprovers() []Approver
GetApprovers returns the Approvers field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetApproversOk() (*[]Approver, bool)
GetApproversOk returns a tuple with the Approvers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetApprovers(v []Approver)
SetApprovers sets Approvers field to given value.
func (o *StageSpecConfig) GetTimeout() string
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetTimeoutOk() (*string, bool)
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetTimeout(v string)
SetTimeout sets Timeout field to given value.
func (o *StageSpecConfig) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *StageSpecConfig) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *StageSpecConfig) 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 *StageSpecConfig) SetType(v string)
SetType sets Type field to given value.
func (o *StageSpecConfig) GetUseRevisionFromWebhookTriggerEvent() bool
GetUseRevisionFromWebhookTriggerEvent returns the UseRevisionFromWebhookTriggerEvent field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetUseRevisionFromWebhookTriggerEventOk() (*bool, bool)
GetUseRevisionFromWebhookTriggerEventOk returns a tuple with the UseRevisionFromWebhookTriggerEvent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetUseRevisionFromWebhookTriggerEvent(v bool)
SetUseRevisionFromWebhookTriggerEvent sets UseRevisionFromWebhookTriggerEvent field to given value.
func (o *StageSpecConfig) HasUseRevisionFromWebhookTriggerEvent() bool
HasUseRevisionFromWebhookTriggerEvent returns a boolean if a field has been set.
func (o *StageSpecConfig) GetWorkload() string
GetWorkload returns the Workload field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetWorkloadOk() (*string, bool)
GetWorkloadOk returns a tuple with the Workload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetWorkload(v string)
SetWorkload sets Workload field to given value.
func (o *StageSpecConfig) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
func (o *StageSpecConfig) GetOverrides() []OverrideTemplate
GetOverrides returns the Overrides field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetOverridesOk() (*[]OverrideTemplate, bool)
GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetOverrides(v []OverrideTemplate)
SetOverrides sets Overrides field to given value.
func (o *StageSpecConfig) GetPlacement() PlacementSpec
GetPlacement returns the Placement field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetPlacementOk() (*PlacementSpec, bool)
GetPlacementOk returns a tuple with the Placement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetPlacement(v PlacementSpec)
SetPlacement sets Placement field to given value.
func (o *StageSpecConfig) GetWorkloadTemplate() string
GetWorkloadTemplate returns the WorkloadTemplate field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetWorkloadTemplateOk() (*string, bool)
GetWorkloadTemplateOk returns a tuple with the WorkloadTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetWorkloadTemplate(v string)
SetWorkloadTemplate sets WorkloadTemplate field to given value.
func (o *StageSpecConfig) GetAction() InfraProvisionerConfigAction
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetActionOk() (*InfraProvisionerConfigAction, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetAction(v InfraProvisionerConfigAction)
SetAction sets Action field to given value.
func (o *StageSpecConfig) GetAgents() []AgentMeta
GetAgents returns the Agents field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetAgentsOk() (*[]AgentMeta, bool)
GetAgentsOk returns a tuple with the Agents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetAgents(v []AgentMeta)
SetAgents sets Agents field to given value.
func (o *StageSpecConfig) GetPersistWorkingDirectory() bool
GetPersistWorkingDirectory returns the PersistWorkingDirectory field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetPersistWorkingDirectoryOk() (*bool, bool)
GetPersistWorkingDirectoryOk returns a tuple with the PersistWorkingDirectory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetPersistWorkingDirectory(v bool)
SetPersistWorkingDirectory sets PersistWorkingDirectory field to given value.
func (o *StageSpecConfig) HasPersistWorkingDirectory() bool
HasPersistWorkingDirectory returns a boolean if a field has been set.
func (o *StageSpecConfig) GetProvisioner() string
GetProvisioner returns the Provisioner field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetProvisionerOk() (*string, bool)
GetProvisionerOk returns a tuple with the Provisioner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetProvisioner(v string)
SetProvisioner sets Provisioner field to given value.
func (o *StageSpecConfig) GetRevision() string
GetRevision returns the Revision field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetRevisionOk() (*string, bool)
GetRevisionOk returns a tuple with the Revision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetRevision(v string)
SetRevision sets Revision field to given value.
func (o *StageSpecConfig) GetWorkingDirectory() string
GetWorkingDirectory returns the WorkingDirectory field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetWorkingDirectoryOk() (*string, bool)
GetWorkingDirectoryOk returns a tuple with the WorkingDirectory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetWorkingDirectory(v string)
SetWorkingDirectory sets WorkingDirectory field to given value.
func (o *StageSpecConfig) HasWorkingDirectory() bool
HasWorkingDirectory returns a boolean if a field has been set.
func (o *StageSpecConfig) GetCommitterEmail() string
GetCommitterEmail returns the CommitterEmail field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetCommitterEmailOk() (*string, bool)
GetCommitterEmailOk returns a tuple with the CommitterEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetCommitterEmail(v string)
SetCommitterEmail sets CommitterEmail field to given value.
func (o *StageSpecConfig) HasCommitterEmail() bool
HasCommitterEmail returns a boolean if a field has been set.
func (o *StageSpecConfig) GetDestinationRepo() SystemSyncRepo
GetDestinationRepo returns the DestinationRepo field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetDestinationRepoOk() (*SystemSyncRepo, bool)
GetDestinationRepoOk returns a tuple with the DestinationRepo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetDestinationRepo(v SystemSyncRepo)
SetDestinationRepo sets DestinationRepo field to given value.
func (o *StageSpecConfig) HasDestinationRepo() bool
HasDestinationRepo returns a boolean if a field has been set.
func (o *StageSpecConfig) GetExcludedResources() []SystemSyncResource
GetExcludedResources returns the ExcludedResources field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetExcludedResourcesOk() (*[]SystemSyncResource, bool)
GetExcludedResourcesOk returns a tuple with the ExcludedResources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetExcludedResources(v []SystemSyncResource)
SetExcludedResources sets ExcludedResources field to given value.
func (o *StageSpecConfig) HasExcludedResources() bool
HasExcludedResources returns a boolean if a field has been set.
func (o *StageSpecConfig) GetGitToSystemSync() bool
GetGitToSystemSync returns the GitToSystemSync field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetGitToSystemSyncOk() (*bool, bool)
GetGitToSystemSyncOk returns a tuple with the GitToSystemSync field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetGitToSystemSync(v bool)
SetGitToSystemSync sets GitToSystemSync field to given value.
func (o *StageSpecConfig) HasGitToSystemSync() bool
HasGitToSystemSync returns a boolean if a field has been set.
func (o *StageSpecConfig) GetIncludedResources() []SystemSyncResource
GetIncludedResources returns the IncludedResources field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetIncludedResourcesOk() (*[]SystemSyncResource, bool)
GetIncludedResourcesOk returns a tuple with the IncludedResources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetIncludedResources(v []SystemSyncResource)
SetIncludedResources sets IncludedResources field to given value.
func (o *StageSpecConfig) HasIncludedResources() bool
HasIncludedResources returns a boolean if a field has been set.
func (o *StageSpecConfig) GetSourceAsDestination() bool
GetSourceAsDestination returns the SourceAsDestination field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetSourceAsDestinationOk() (*bool, bool)
GetSourceAsDestinationOk returns a tuple with the SourceAsDestination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetSourceAsDestination(v bool)
SetSourceAsDestination sets SourceAsDestination field to given value.
func (o *StageSpecConfig) HasSourceAsDestination() bool
HasSourceAsDestination returns a boolean if a field has been set.
func (o *StageSpecConfig) GetSourceRepo() SystemSyncRepo
GetSourceRepo returns the SourceRepo field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetSourceRepoOk() (*SystemSyncRepo, bool)
GetSourceRepoOk returns a tuple with the SourceRepo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetSourceRepo(v SystemSyncRepo)
SetSourceRepo sets SourceRepo field to given value.
func (o *StageSpecConfig) HasSourceRepo() bool
HasSourceRepo returns a boolean if a field has been set.
func (o *StageSpecConfig) GetSystemToGitSync() bool
GetSystemToGitSync returns the SystemToGitSync field if non-nil, zero value otherwise.
func (o *StageSpecConfig) GetSystemToGitSyncOk() (*bool, bool)
GetSystemToGitSyncOk returns a tuple with the SystemToGitSync field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StageSpecConfig) SetSystemToGitSync(v bool)
SetSystemToGitSync sets SystemToGitSync field to given value.
func (o *StageSpecConfig) HasSystemToGitSync() bool
HasSystemToGitSync returns a boolean if a field has been set.