| Name | Type | Description | Notes |
|---|---|---|---|
| Links | NullableBuildJobItemLinks | ||
| Metadata | NullableCommonMetadata | ||
| BuildStepsCompleted | NullableInt32 | The number of steps that have been completed so far. Please note: - This value also includes additional service orchestration steps, that are outside the core process, so may differ from the job progress indicated within job messages. - This value will only be available after the job has been started. | [readonly] |
| BuildStepsTotal | NullableInt32 | The total number of steps that will need to be performed to complete the job. Please note: - This value also includes additional service orchestration steps, that are outside the core process, so may differ from the job progress indicated within job messages. - This value will only be available after the job has been started. | [readonly] |
| BuildTimeout | Pointer to int32 | The maximum time (in seconds) that the build will be allowed to run. After the timeout has expired the build will be aborted and reported as a failure. The timeout does not include any time the request spent being queued, waiting for the build to be started. | [optional] [default to 300] |
| CleanBuild | Pointer to bool | Whether to run a clean build. | [optional] [default to false] |
| Context | Pointer to NullableString | Build context for jobs that require it. | [optional] |
| Done | bool | True when the job has completed (this does not necessarily indicate success). | [readonly] |
| Error | bool | True if there was an error in the service while attempting the job. | [readonly] |
| Failure | bool | True if the job failed (this should be used in conjunction with the `done` property). | [readonly] |
| Name | string | Unique ID of the Build Job. | [readonly] |
| Priority | Pointer to string | The priority of a job: * A 'normal' job has the lowest priority * A 'jump' job will jump the queue * A 'MAWS' job is a job that should supercede all others, e.g. terminating a managed service immediately Note: not all jobs will allow different priority levels and it will depend on the type of job requested to accept or take into account this information | [optional] [default to "NORMAL"] |
| Project | string | CMSIS project to build or being built. | |
| Queued | Pointer to bool | True if job is currently queued and waiting to be processed. Otherwise, the job is either currently being processed or ended. | [optional] [readonly] |
| Status | string | A summary status of the job. Note: this value should not be relied upon to determine whether a job has completed, succeeded or failed as this list may change as state machine evolves. Use resource appropriate flags instead. | [readonly] |
| Success | bool | True if the job was successful (this should be used in conjunction with the `done` property). | [readonly] |
| Title | Pointer to NullableString | Optional human readable name of the CMSIS build job. | [optional] |
| Workspace | Pointer to NullableString | Workspace name where the CMSIS project is present. If not set, the default user's workspace will be used. | [optional] |
func NewBuildJobItem(links NullableBuildJobItemLinks, metadata NullableCommonMetadata, buildStepsCompleted NullableInt32, buildStepsTotal NullableInt32, done bool, error_ bool, failure bool, name string, project string, status string, success bool, ) *BuildJobItem
NewBuildJobItem instantiates a new BuildJobItem 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 NewBuildJobItemWithDefaults() *BuildJobItem
NewBuildJobItemWithDefaults instantiates a new BuildJobItem 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 *BuildJobItem) GetLinks() BuildJobItemLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetLinksOk() (*BuildJobItemLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetLinks(v BuildJobItemLinks)
SetLinks sets Links field to given value.
func (o *BuildJobItem) SetLinksNil(b bool)
SetLinksNil sets the value for Links to be an explicit nil
func (o *BuildJobItem) UnsetLinks()
UnsetLinks ensures that no value is present for Links, not even an explicit nil
func (o *BuildJobItem) GetMetadata() CommonMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetMetadataOk() (*CommonMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetMetadata(v CommonMetadata)
SetMetadata sets Metadata field to given value.
func (o *BuildJobItem) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *BuildJobItem) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *BuildJobItem) GetBuildStepsCompleted() int32
GetBuildStepsCompleted returns the BuildStepsCompleted field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetBuildStepsCompletedOk() (*int32, bool)
GetBuildStepsCompletedOk returns a tuple with the BuildStepsCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetBuildStepsCompleted(v int32)
SetBuildStepsCompleted sets BuildStepsCompleted field to given value.
func (o *BuildJobItem) SetBuildStepsCompletedNil(b bool)
SetBuildStepsCompletedNil sets the value for BuildStepsCompleted to be an explicit nil
func (o *BuildJobItem) UnsetBuildStepsCompleted()
UnsetBuildStepsCompleted ensures that no value is present for BuildStepsCompleted, not even an explicit nil
func (o *BuildJobItem) GetBuildStepsTotal() int32
GetBuildStepsTotal returns the BuildStepsTotal field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetBuildStepsTotalOk() (*int32, bool)
GetBuildStepsTotalOk returns a tuple with the BuildStepsTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetBuildStepsTotal(v int32)
SetBuildStepsTotal sets BuildStepsTotal field to given value.
func (o *BuildJobItem) SetBuildStepsTotalNil(b bool)
SetBuildStepsTotalNil sets the value for BuildStepsTotal to be an explicit nil
func (o *BuildJobItem) UnsetBuildStepsTotal()
UnsetBuildStepsTotal ensures that no value is present for BuildStepsTotal, not even an explicit nil
func (o *BuildJobItem) GetBuildTimeout() int32
GetBuildTimeout returns the BuildTimeout field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetBuildTimeoutOk() (*int32, bool)
GetBuildTimeoutOk returns a tuple with the BuildTimeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetBuildTimeout(v int32)
SetBuildTimeout sets BuildTimeout field to given value.
func (o *BuildJobItem) HasBuildTimeout() bool
HasBuildTimeout returns a boolean if a field has been set.
func (o *BuildJobItem) GetCleanBuild() bool
GetCleanBuild returns the CleanBuild field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetCleanBuildOk() (*bool, bool)
GetCleanBuildOk returns a tuple with the CleanBuild field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetCleanBuild(v bool)
SetCleanBuild sets CleanBuild field to given value.
func (o *BuildJobItem) HasCleanBuild() bool
HasCleanBuild returns a boolean if a field has been set.
func (o *BuildJobItem) GetContext() string
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetContextOk() (*string, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetContext(v string)
SetContext sets Context field to given value.
func (o *BuildJobItem) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *BuildJobItem) SetContextNil(b bool)
SetContextNil sets the value for Context to be an explicit nil
func (o *BuildJobItem) UnsetContext()
UnsetContext ensures that no value is present for Context, not even an explicit nil
func (o *BuildJobItem) GetDone() bool
GetDone returns the Done field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetDoneOk() (*bool, bool)
GetDoneOk returns a tuple with the Done field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetDone(v bool)
SetDone sets Done field to given value.
func (o *BuildJobItem) GetError() bool
GetError returns the Error field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetErrorOk() (*bool, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetError(v bool)
SetError sets Error field to given value.
func (o *BuildJobItem) GetFailure() bool
GetFailure returns the Failure field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetFailureOk() (*bool, bool)
GetFailureOk returns a tuple with the Failure field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetFailure(v bool)
SetFailure sets Failure field to given value.
func (o *BuildJobItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *BuildJobItem) 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 *BuildJobItem) SetName(v string)
SetName sets Name field to given value.
func (o *BuildJobItem) GetPriority() string
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetPriorityOk() (*string, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetPriority(v string)
SetPriority sets Priority field to given value.
func (o *BuildJobItem) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *BuildJobItem) GetProject() string
GetProject returns the Project field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetProject(v string)
SetProject sets Project field to given value.
func (o *BuildJobItem) GetQueued() bool
GetQueued returns the Queued field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetQueuedOk() (*bool, bool)
GetQueuedOk returns a tuple with the Queued field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetQueued(v bool)
SetQueued sets Queued field to given value.
func (o *BuildJobItem) HasQueued() bool
HasQueued returns a boolean if a field has been set.
func (o *BuildJobItem) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *BuildJobItem) GetSuccess() bool
GetSuccess returns the Success field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetSuccess(v bool)
SetSuccess sets Success field to given value.
func (o *BuildJobItem) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *BuildJobItem) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *BuildJobItem) SetTitleNil(b bool)
SetTitleNil sets the value for Title to be an explicit nil
func (o *BuildJobItem) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
func (o *BuildJobItem) GetWorkspace() string
GetWorkspace returns the Workspace field if non-nil, zero value otherwise.
func (o *BuildJobItem) GetWorkspaceOk() (*string, bool)
GetWorkspaceOk returns a tuple with the Workspace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BuildJobItem) SetWorkspace(v string)
SetWorkspace sets Workspace field to given value.
func (o *BuildJobItem) HasWorkspace() bool
HasWorkspace returns a boolean if a field has been set.
func (o *BuildJobItem) SetWorkspaceNil(b bool)
SetWorkspaceNil sets the value for Workspace to be an explicit nil
func (o *BuildJobItem) UnsetWorkspace()
UnsetWorkspace ensures that no value is present for Workspace, not even an explicit nil