Package com.datadog.api.client.v2.model
Class CIAppPipelineEventInProgressPipeline
java.lang.Object
com.datadog.api.client.v2.model.CIAppPipelineEventInProgressPipeline
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppPipelineEventInProgressPipeline
extends Object
Details of a running pipeline.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionCIAppPipelineEventInProgressPipeline(CIAppPipelineEventPipelineLevel level, String name, Boolean partialRetry, OffsetDateTime start, CIAppPipelineEventPipelineInProgressStatus status, String uniqueId, String url) -
Method Summary
Modifier and TypeMethodDescriptionaddMetricsItem(String metricsItem) addTagsItem(String tagsItem) booleanReturn true if this CIAppPipelineEventInProgressPipeline object is equal to o.error(CIAppCIError error) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getError()Contains information of the CI error.org.openapitools.jackson.nullable.JsonNullable<CIAppCIError>getGit()If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo>Whether or not the pipeline was triggered manually by the user.org.openapitools.jackson.nullable.JsonNullable<Boolean>Whether or not the pipeline was resumed after being blocked.org.openapitools.jackson.nullable.JsonNullable<Boolean>getLevel()Used to distinguish between pipelines, stages, jobs, and steps.A list of user-defined metrics.getName()Name of the pipeline.getNode()Contains information of the host running the pipeline, stage, job, or step.org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo>A map of key-value parameters or environment variables that were defined for the pipeline.If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventParentPipeline>Whether or not the pipeline was a partial retry of a previous attempt.Any ID used in the provider to identify the pipeline run even if it is not unique across retries.If the pipeline is a retry, this should contain the details of the previous attempt.org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventPreviousPipeline>The queue time in milliseconds, if applicable.org.openapitools.jackson.nullable.JsonNullable<Long>getStart()Time when the pipeline run started (it should not include any queue time).The in progress status of the pipeline.getTags()A list of user-defined tags.UUID of the pipeline run.getUrl()The URL to look at the pipeline in the CI provider UI.git(CIAppGitInfo git) inthashCode()node(CIAppHostInfo node) parameters(Map<String, String> parameters) parentPipeline(CIAppPipelineEventParentPipeline parentPipeline) partialRetry(Boolean partialRetry) pipelineId(String pipelineId) previousAttempt(CIAppPipelineEventPreviousPipeline previousAttempt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putParametersItem(String key, String parametersItem) voidsetError(CIAppCIError error) voidsetError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error) voidsetGit(CIAppGitInfo git) voidsetGit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo> git) voidsetIsManual(Boolean isManual) voidsetIsManual_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> isManual) voidsetIsResumed(Boolean isResumed) voidsetIsResumed_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> isResumed) voidvoidsetMetrics(List<String> metrics) voidsetMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics) voidvoidsetNode(CIAppHostInfo node) voidsetNode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> node) voidsetParameters(Map<String, String> parameters) voidsetParameters_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, String>> parameters) voidsetParentPipeline(CIAppPipelineEventParentPipeline parentPipeline) voidsetParentPipeline_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventParentPipeline> parentPipeline) voidsetPartialRetry(Boolean partialRetry) voidsetPipelineId(String pipelineId) voidsetPreviousAttempt(CIAppPipelineEventPreviousPipeline previousAttempt) voidsetPreviousAttempt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventPreviousPipeline> previousAttempt) voidsetQueueTime(Long queueTime) voidsetQueueTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> queueTime) voidsetStart(OffsetDateTime start) voidvoidvoidsetTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags) voidsetUniqueId(String uniqueId) voidstart(OffsetDateTime start) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_GIT
- See Also:
-
JSON_PROPERTY_IS_MANUAL
- See Also:
-
JSON_PROPERTY_IS_RESUMED
- See Also:
-
JSON_PROPERTY_LEVEL
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NODE
- See Also:
-
JSON_PROPERTY_PARAMETERS
- See Also:
-
JSON_PROPERTY_PARENT_PIPELINE
- See Also:
-
JSON_PROPERTY_PARTIAL_RETRY
- See Also:
-
JSON_PROPERTY_PIPELINE_ID
- See Also:
-
JSON_PROPERTY_PREVIOUS_ATTEMPT
- See Also:
-
JSON_PROPERTY_QUEUE_TIME
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_UNIQUE_ID
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
-
Constructor Details
-
CIAppPipelineEventInProgressPipeline
public CIAppPipelineEventInProgressPipeline() -
CIAppPipelineEventInProgressPipeline
public CIAppPipelineEventInProgressPipeline(CIAppPipelineEventPipelineLevel level, String name, Boolean partialRetry, OffsetDateTime start, CIAppPipelineEventPipelineInProgressStatus status, String uniqueId, String url)
-
-
Method Details
-
error
-
getError
Contains information of the CI error.- Returns:
- error
-
getError_JsonNullable
-
setError_JsonNullable
public void setError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error) -
setError
-
git
-
getGit
If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. Note that eithertagorbranchhas to be provided, but not both.- Returns:
- git
-
getGit_JsonNullable
-
setGit_JsonNullable
-
setGit
-
isManual
-
getIsManual
Whether or not the pipeline was triggered manually by the user.- Returns:
- isManual
-
getIsManual_JsonNullable
-
setIsManual_JsonNullable
public void setIsManual_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> isManual) -
setIsManual
-
isResumed
-
getIsResumed
Whether or not the pipeline was resumed after being blocked.- Returns:
- isResumed
-
getIsResumed_JsonNullable
-
setIsResumed_JsonNullable
public void setIsResumed_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> isResumed) -
setIsResumed
-
level
-
getLevel
Used to distinguish between pipelines, stages, jobs, and steps.- Returns:
- level
-
setLevel
-
metrics
-
addMetricsItem
-
getMetrics
A list of user-defined metrics. The metrics must follow thekey:valuepattern and the value must be numeric.- Returns:
- metrics
-
getMetrics_JsonNullable
-
setMetrics_JsonNullable
-
setMetrics
-
name
-
getName
Name of the pipeline. All pipeline runs for the builds should have the same name.- Returns:
- name
-
setName
-
node
-
getNode
Contains information of the host running the pipeline, stage, job, or step.- Returns:
- node
-
getNode_JsonNullable
-
setNode_JsonNullable
public void setNode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> node) -
setNode
-
parameters
-
putParametersItem
-
getParameters
A map of key-value parameters or environment variables that were defined for the pipeline.- Returns:
- parameters
-
getParameters_JsonNullable
-
setParameters_JsonNullable
-
setParameters
-
parentPipeline
public CIAppPipelineEventInProgressPipeline parentPipeline(CIAppPipelineEventParentPipeline parentPipeline) -
getParentPipeline
If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.- Returns:
- parentPipeline
-
getParentPipeline_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventParentPipeline> getParentPipeline_JsonNullable() -
setParentPipeline_JsonNullable
public void setParentPipeline_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventParentPipeline> parentPipeline) -
setParentPipeline
-
partialRetry
-
getPartialRetry
Whether or not the pipeline was a partial retry of a previous attempt. A partial retry is one which only runs a subset of the original jobs.- Returns:
- partialRetry
-
setPartialRetry
-
pipelineId
-
getPipelineId
Any ID used in the provider to identify the pipeline run even if it is not unique across retries. If thepipeline_idis unique, then bothunique_idandpipeline_idcan be set to the same value.- Returns:
- pipelineId
-
setPipelineId
-
previousAttempt
public CIAppPipelineEventInProgressPipeline previousAttempt(CIAppPipelineEventPreviousPipeline previousAttempt) -
getPreviousAttempt
If the pipeline is a retry, this should contain the details of the previous attempt.- Returns:
- previousAttempt
-
getPreviousAttempt_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventPreviousPipeline> getPreviousAttempt_JsonNullable() -
setPreviousAttempt_JsonNullable
public void setPreviousAttempt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppPipelineEventPreviousPipeline> previousAttempt) -
setPreviousAttempt
-
queueTime
-
getQueueTime
The queue time in milliseconds, if applicable. minimum: 0- Returns:
- queueTime
-
getQueueTime_JsonNullable
-
setQueueTime_JsonNullable
public void setQueueTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> queueTime) -
setQueueTime
-
start
-
getStart
Time when the pipeline run started (it should not include any queue time). The time format must be RFC3339.- Returns:
- start
-
setStart
-
status
public CIAppPipelineEventInProgressPipeline status(CIAppPipelineEventPipelineInProgressStatus status) -
getStatus
The in progress status of the pipeline.- Returns:
- status
-
setStatus
-
tags
-
addTagsItem
-
getTags
A list of user-defined tags. The tags must follow thekey:valuepattern.- Returns:
- tags
-
getTags_JsonNullable
-
setTags_JsonNullable
-
setTags
-
uniqueId
-
getUniqueId
UUID of the pipeline run. The ID has to be the same as the finished pipeline.- Returns:
- uniqueId
-
setUniqueId
-
url
-
getUrl
The URL to look at the pipeline in the CI provider UI.- Returns:
- url
-
setUrl
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- CIAppPipelineEventInProgressPipeline
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this CIAppPipelineEventInProgressPipeline object is equal to o. -
hashCode
public int hashCode() -
toString
-