Name | Type | Description | Notes |
---|---|---|---|
DryRun | Pointer to bool | If set, don't actually run this operation. The response will contain a list of task instances planned to be cleaned, but not modified in any way. | [optional] [default to true] |
TaskIds | Pointer to []string | A list of task ids to clear. New in version 2.1.0 | [optional] |
StartDate | Pointer to string | The minimum execution date to clear. | [optional] |
EndDate | Pointer to string | The maximum execution date to clear. | [optional] |
OnlyFailed | Pointer to bool | Only clear failed tasks. | [optional] [default to true] |
OnlyRunning | Pointer to bool | Only clear running tasks. | [optional] [default to false] |
IncludeSubdags | Pointer to bool | Clear tasks in subdags and clear external tasks indicated by ExternalTaskMarker. | [optional] |
IncludeParentdag | Pointer to bool | Clear tasks in the parent dag of the subdag. | [optional] |
ResetDagRuns | Pointer to bool | Set state of DAG runs to RUNNING. | [optional] |
func NewClearTaskInstance() *ClearTaskInstance
NewClearTaskInstance instantiates a new ClearTaskInstance 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 NewClearTaskInstanceWithDefaults() *ClearTaskInstance
NewClearTaskInstanceWithDefaults instantiates a new ClearTaskInstance 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 *ClearTaskInstance) GetDryRun() bool
GetDryRun returns the DryRun field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetDryRunOk() (*bool, bool)
GetDryRunOk returns a tuple with the DryRun field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetDryRun(v bool)
SetDryRun sets DryRun field to given value.
func (o *ClearTaskInstance) HasDryRun() bool
HasDryRun returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetTaskIds() []string
GetTaskIds returns the TaskIds field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetTaskIdsOk() (*[]string, bool)
GetTaskIdsOk returns a tuple with the TaskIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetTaskIds(v []string)
SetTaskIds sets TaskIds field to given value.
func (o *ClearTaskInstance) HasTaskIds() bool
HasTaskIds returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetStartDate() string
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetStartDateOk() (*string, bool)
GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetStartDate(v string)
SetStartDate sets StartDate field to given value.
func (o *ClearTaskInstance) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetEndDate() string
GetEndDate returns the EndDate field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetEndDateOk() (*string, bool)
GetEndDateOk returns a tuple with the EndDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetEndDate(v string)
SetEndDate sets EndDate field to given value.
func (o *ClearTaskInstance) HasEndDate() bool
HasEndDate returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetOnlyFailed() bool
GetOnlyFailed returns the OnlyFailed field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetOnlyFailedOk() (*bool, bool)
GetOnlyFailedOk returns a tuple with the OnlyFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetOnlyFailed(v bool)
SetOnlyFailed sets OnlyFailed field to given value.
func (o *ClearTaskInstance) HasOnlyFailed() bool
HasOnlyFailed returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetOnlyRunning() bool
GetOnlyRunning returns the OnlyRunning field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetOnlyRunningOk() (*bool, bool)
GetOnlyRunningOk returns a tuple with the OnlyRunning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetOnlyRunning(v bool)
SetOnlyRunning sets OnlyRunning field to given value.
func (o *ClearTaskInstance) HasOnlyRunning() bool
HasOnlyRunning returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetIncludeSubdags() bool
GetIncludeSubdags returns the IncludeSubdags field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetIncludeSubdagsOk() (*bool, bool)
GetIncludeSubdagsOk returns a tuple with the IncludeSubdags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetIncludeSubdags(v bool)
SetIncludeSubdags sets IncludeSubdags field to given value.
func (o *ClearTaskInstance) HasIncludeSubdags() bool
HasIncludeSubdags returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetIncludeParentdag() bool
GetIncludeParentdag returns the IncludeParentdag field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetIncludeParentdagOk() (*bool, bool)
GetIncludeParentdagOk returns a tuple with the IncludeParentdag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetIncludeParentdag(v bool)
SetIncludeParentdag sets IncludeParentdag field to given value.
func (o *ClearTaskInstance) HasIncludeParentdag() bool
HasIncludeParentdag returns a boolean if a field has been set.
func (o *ClearTaskInstance) GetResetDagRuns() bool
GetResetDagRuns returns the ResetDagRuns field if non-nil, zero value otherwise.
func (o *ClearTaskInstance) GetResetDagRunsOk() (*bool, bool)
GetResetDagRunsOk returns a tuple with the ResetDagRuns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClearTaskInstance) SetResetDagRuns(v bool)
SetResetDagRuns sets ResetDagRuns field to given value.
func (o *ClearTaskInstance) HasResetDagRuns() bool
HasResetDagRuns returns a boolean if a field has been set.