Package com.datadog.api.client.v2.model
Class CIAppPipelineEventStage
java.lang.Object
com.datadog.api.client.v2.model.CIAppPipelineEventStage
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppPipelineEventStage
extends Object
Details of a CI stage.
-
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 Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionCIAppPipelineEventStage(OffsetDateTime end, String id, CIAppPipelineEventStageLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventStageStatus status) -
Method Summary
Modifier and TypeMethodDescriptionaddDependenciesItem(String dependenciesItem) addMetricsItem(String metricsItem) addTagsItem(String tagsItem) dependencies(List<String> dependencies) end(OffsetDateTime end) booleanReturn true if this CIAppPipelineEventStage object is equal to o.error(CIAppCIError error) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of stage IDs that this stage depends on.getEnd()Time when the stage run finished.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>getId()UUID for the stage.getLevel()Used to distinguish between pipelines, stages, jobs and steps.A list of user-defined metrics.getName()The name for the stage.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.The parent pipeline name.The parent pipeline UUID.The queue time in milliseconds, if applicable.org.openapitools.jackson.nullable.JsonNullable<Long>getStart()Time when the stage run started (it should not include any queue time).The final status of the stage.getTags()A list of user-defined tags.git(CIAppGitInfo git) inthashCode()node(CIAppHostInfo node) parameters(Map<String, String> parameters) pipelineName(String pipelineName) pipelineUniqueId(String pipelineUniqueId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putParametersItem(String key, String parametersItem) voidsetDependencies(List<String> dependencies) voidsetDependencies_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> dependencies) voidsetEnd(OffsetDateTime end) voidsetError(CIAppCIError error) voidsetError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error) voidsetGit(CIAppGitInfo git) voidsetGit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo> git) voidvoidvoidsetMetrics(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) voidsetPipelineName(String pipelineName) voidsetPipelineUniqueId(String pipelineUniqueId) 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) start(OffsetDateTime start) status(CIAppPipelineEventStageStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DEPENDENCIES
- See Also:
-
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_GIT
- See Also:
-
JSON_PROPERTY_ID
- 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_PIPELINE_NAME
- See Also:
-
JSON_PROPERTY_PIPELINE_UNIQUE_ID
- See Also:
-
JSON_PROPERTY_QUEUE_TIME
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
CIAppPipelineEventStage
public CIAppPipelineEventStage() -
CIAppPipelineEventStage
public CIAppPipelineEventStage(OffsetDateTime end, String id, CIAppPipelineEventStageLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventStageStatus status)
-
-
Method Details
-
dependencies
-
addDependenciesItem
-
getDependencies
A list of stage IDs that this stage depends on.- Returns:
- dependencies
-
getDependencies_JsonNullable
-
setDependencies_JsonNullable
-
setDependencies
-
end
-
getEnd
Time when the stage run finished. The time format must be RFC3339.- Returns:
- end
-
setEnd
-
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
-
id
-
getId
UUID for the stage. It has to be unique at least in the pipeline scope.- Returns:
- id
-
setId
-
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
The name for the stage.- 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
-
pipelineName
-
getPipelineName
The parent pipeline name.- Returns:
- pipelineName
-
setPipelineName
-
pipelineUniqueId
-
getPipelineUniqueId
The parent pipeline UUID.- Returns:
- pipelineUniqueId
-
setPipelineUniqueId
-
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 stage run started (it should not include any queue time). The time format must be RFC3339.- Returns:
- start
-
setStart
-
status
-
getStatus
The final status of the stage.- 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
-
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:
- CIAppPipelineEventStage
-
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 CIAppPipelineEventStage object is equal to o. -
hashCode
public int hashCode() -
toString
-