The motivation for including or excluding a job (build, deploy, verify, ...) in response to a rebuild request.
Name | Type | Description | Notes |
---|---|---|---|
changed | bool | If <code>true</code>, the argument configuration for this job has changed in comparison to the previous job execution. A <code>false</code> will prevent the job to be run. Use <code>forceVersion</code> or <code>upgrade</code> parameter to force a rebuild. | |
reason | str | Human readable message describing the cause. | |
backoff | bool | If <code>true</code>, recent failures of the job prevented the re-execution. Use <code>forceVersion</code> or <code>upgrade</code> parameter to force a rebuild. | [optional] |
new_value | str | The new configuration value that causes the change. | [optional] |
old_value | str | The old configuration value used by the last succeeded job. | [optional] |
from waylay.services.registry.models.job_cause import JobCause
# TODO update the JSON string below
json = "{}"
# create an instance of JobCause from a JSON string
job_cause_instance = JobCause.from_json(json)
# print the JSON string representation of the object
print JobCause.to_json()
# convert the object into a dict
job_cause_dict = job_cause_instance.to_dict()
# create an instance of JobCause from a dict
job_cause_form_dict = job_cause.from_dict(job_cause_dict)