@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppPipelineEventStage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DEPENDENCIES |
static String |
JSON_PROPERTY_END |
static String |
JSON_PROPERTY_ERROR |
static String |
JSON_PROPERTY_GIT |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_LEVEL |
static String |
JSON_PROPERTY_METRICS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_NODE |
static String |
JSON_PROPERTY_PARAMETERS |
static String |
JSON_PROPERTY_PIPELINE_NAME |
static String |
JSON_PROPERTY_PIPELINE_UNIQUE_ID |
static String |
JSON_PROPERTY_QUEUE_TIME |
static String |
JSON_PROPERTY_START |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
CIAppPipelineEventStage() |
CIAppPipelineEventStage(OffsetDateTime end,
CIAppGitInfo git,
String id,
CIAppPipelineEventStageLevel level,
String name,
String pipelineName,
String pipelineUniqueId,
OffsetDateTime start,
CIAppPipelineEventStageStatus status) |
| Modifier and Type | Method and Description |
|---|---|
CIAppPipelineEventStage |
addDependenciesItem(String dependenciesItem) |
CIAppPipelineEventStage |
addMetricsItem(String metricsItem) |
CIAppPipelineEventStage |
addTagsItem(String tagsItem) |
CIAppPipelineEventStage |
dependencies(List<String> dependencies) |
CIAppPipelineEventStage |
end(OffsetDateTime end) |
boolean |
equals(Object o)
Return true if this CIAppPipelineEventStage object is equal to o.
|
CIAppPipelineEventStage |
error(CIAppCIError error) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getDependencies_JsonNullable() |
List<String> |
getDependencies()
A list of stage IDs that this stage depends on.
|
OffsetDateTime |
getEnd()
Time when the stage run finished.
|
org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> |
getError_JsonNullable() |
CIAppCIError |
getError()
Contains information of the CI error.
|
CIAppGitInfo |
getGit()
If pipelines are triggered due to actions to a Git repository, then all payloads must contain
this.
|
String |
getId()
UUID for the stage.
|
CIAppPipelineEventStageLevel |
getLevel()
Used to distinguish between pipelines, stages, jobs and steps.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getMetrics_JsonNullable() |
List<String> |
getMetrics()
A list of user-defined metrics.
|
String |
getName()
The name for the stage.
|
org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> |
getNode_JsonNullable() |
CIAppHostInfo |
getNode()
Contains information of the host running the pipeline, stage, job, or step.
|
org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> |
getParameters_JsonNullable() |
Map<String,String> |
getParameters()
A map of key-value parameters or environment variables that were defined for the pipeline.
|
String |
getPipelineName()
The parent pipeline name.
|
String |
getPipelineUniqueId()
The parent pipeline UUID.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getQueueTime_JsonNullable() |
Long |
getQueueTime()
The queue time in milliseconds, if applicable.
|
OffsetDateTime |
getStart()
Time when the stage run started (it should not include any queue time).
|
CIAppPipelineEventStageStatus |
getStatus()
The final status of the stage.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getTags_JsonNullable() |
List<String> |
getTags()
A list of user-defined tags.
|
CIAppPipelineEventStage |
git(CIAppGitInfo git) |
int |
hashCode() |
CIAppPipelineEventStage |
id(String id) |
CIAppPipelineEventStage |
level(CIAppPipelineEventStageLevel level) |
CIAppPipelineEventStage |
metrics(List<String> metrics) |
CIAppPipelineEventStage |
name(String name) |
CIAppPipelineEventStage |
node(CIAppHostInfo node) |
CIAppPipelineEventStage |
parameters(Map<String,String> parameters) |
CIAppPipelineEventStage |
pipelineName(String pipelineName) |
CIAppPipelineEventStage |
pipelineUniqueId(String pipelineUniqueId) |
CIAppPipelineEventStage |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CIAppPipelineEventStage |
putParametersItem(String key,
String parametersItem) |
CIAppPipelineEventStage |
queueTime(Long queueTime) |
void |
setDependencies_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> dependencies) |
void |
setDependencies(List<String> dependencies) |
void |
setEnd(OffsetDateTime end) |
void |
setError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error) |
void |
setError(CIAppCIError error) |
void |
setGit(CIAppGitInfo git) |
void |
setId(String id) |
void |
setLevel(CIAppPipelineEventStageLevel level) |
void |
setMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics) |
void |
setMetrics(List<String> metrics) |
void |
setName(String name) |
void |
setNode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> node) |
void |
setNode(CIAppHostInfo node) |
void |
setParameters_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> parameters) |
void |
setParameters(Map<String,String> parameters) |
void |
setPipelineName(String pipelineName) |
void |
setPipelineUniqueId(String pipelineUniqueId) |
void |
setQueueTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> queueTime) |
void |
setQueueTime(Long queueTime) |
void |
setStart(OffsetDateTime start) |
void |
setStatus(CIAppPipelineEventStageStatus status) |
void |
setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags) |
void |
setTags(List<String> tags) |
CIAppPipelineEventStage |
start(OffsetDateTime start) |
CIAppPipelineEventStage |
status(CIAppPipelineEventStageStatus status) |
CIAppPipelineEventStage |
tags(List<String> tags) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DEPENDENCIES
public static final String JSON_PROPERTY_END
public static final String JSON_PROPERTY_ERROR
public static final String JSON_PROPERTY_GIT
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_LEVEL
public static final String JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NODE
public static final String JSON_PROPERTY_PARAMETERS
public static final String JSON_PROPERTY_PIPELINE_NAME
public static final String JSON_PROPERTY_PIPELINE_UNIQUE_ID
public static final String JSON_PROPERTY_QUEUE_TIME
public static final String JSON_PROPERTY_START
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TAGS
public CIAppPipelineEventStage()
public CIAppPipelineEventStage(OffsetDateTime end, CIAppGitInfo git, String id, CIAppPipelineEventStageLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventStageStatus status)
public CIAppPipelineEventStage dependencies(List<String> dependencies)
public CIAppPipelineEventStage addDependenciesItem(String dependenciesItem)
@Nullable public List<String> getDependencies()
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getDependencies_JsonNullable()
public void setDependencies_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> dependencies)
public CIAppPipelineEventStage end(OffsetDateTime end)
public OffsetDateTime getEnd()
public void setEnd(OffsetDateTime end)
public CIAppPipelineEventStage error(CIAppCIError error)
@Nullable public CIAppCIError getError()
public org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> getError_JsonNullable()
public void setError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error)
public void setError(CIAppCIError error)
public CIAppPipelineEventStage git(CIAppGitInfo git)
@Nullable public CIAppGitInfo getGit()
tag or branch has to be provided, but not
both.public void setGit(CIAppGitInfo git)
public CIAppPipelineEventStage id(String id)
public String getId()
public void setId(String id)
public CIAppPipelineEventStage level(CIAppPipelineEventStageLevel level)
public CIAppPipelineEventStageLevel getLevel()
public void setLevel(CIAppPipelineEventStageLevel level)
public CIAppPipelineEventStage metrics(List<String> metrics)
public CIAppPipelineEventStage addMetricsItem(String metricsItem)
@Nullable public List<String> getMetrics()
key:value pattern and
the value must be numeric.public org.openapitools.jackson.nullable.JsonNullable<List<String>> getMetrics_JsonNullable()
public void setMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics)
public CIAppPipelineEventStage name(String name)
public String getName()
public void setName(String name)
public CIAppPipelineEventStage node(CIAppHostInfo node)
@Nullable public CIAppHostInfo getNode()
public org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> getNode_JsonNullable()
public void setNode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> node)
public void setNode(CIAppHostInfo node)
public CIAppPipelineEventStage parameters(Map<String,String> parameters)
public CIAppPipelineEventStage putParametersItem(String key, String parametersItem)
@Nullable public Map<String,String> getParameters()
public org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> getParameters_JsonNullable()
public void setParameters_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> parameters)
public CIAppPipelineEventStage pipelineName(String pipelineName)
public String getPipelineName()
public void setPipelineName(String pipelineName)
public CIAppPipelineEventStage pipelineUniqueId(String pipelineUniqueId)
public String getPipelineUniqueId()
public void setPipelineUniqueId(String pipelineUniqueId)
public CIAppPipelineEventStage queueTime(Long queueTime)
@Nullable public Long getQueueTime()
public org.openapitools.jackson.nullable.JsonNullable<Long> getQueueTime_JsonNullable()
public void setQueueTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> queueTime)
public void setQueueTime(Long queueTime)
public CIAppPipelineEventStage start(OffsetDateTime start)
public OffsetDateTime getStart()
public void setStart(OffsetDateTime start)
public CIAppPipelineEventStage status(CIAppPipelineEventStageStatus status)
public CIAppPipelineEventStageStatus getStatus()
public void setStatus(CIAppPipelineEventStageStatus status)
public CIAppPipelineEventStage tags(List<String> tags)
public CIAppPipelineEventStage addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
key:value pattern.public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTags_JsonNullable()
public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags)
public CIAppPipelineEventStage putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2023. All rights reserved.