Package com.datadog.api.client.v2.model
Class CIAppPipelineEventStep
java.lang.Object
com.datadog.api.client.v2.model.CIAppPipelineEventStep
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppPipelineEventStep
extends Object
Details of a CI step.
-
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
ConstructorsConstructorDescriptionCIAppPipelineEventStep(OffsetDateTime end, String id, CIAppPipelineEventStepLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventStepStatus status) -
Method Summary
Modifier and TypeMethodDescriptionaddMetricsItem(String metricsItem) addTagsItem(String tagsItem) end(OffsetDateTime end) booleanReturn true if this CIAppPipelineEventStep object is equal to o.error(CIAppCIError error) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnd()Time when the step 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 step.getJobId()The parent job UUID (if applicable).org.openapitools.jackson.nullable.JsonNullable<String>The parent job name (if applicable).org.openapitools.jackson.nullable.JsonNullable<String>getLevel()Used to distinguish between pipelines, stages, jobs and steps.A list of user-defined metrics.getName()The name for the step.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 parent stage UUID (if applicable).org.openapitools.jackson.nullable.JsonNullable<String>The parent stage name (if applicable).org.openapitools.jackson.nullable.JsonNullable<String>getStart()Time when the step run started.The final status of the step.getTags()A list of user-defined tags.getUrl()The URL to look at the step in the CI provider UI.org.openapitools.jackson.nullable.JsonNullable<String>git(CIAppGitInfo git) inthashCode()level(CIAppPipelineEventStepLevel level) 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) 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) voidvoidvoidsetJobId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jobId) voidsetJobName(String jobName) voidsetJobName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jobName) 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) voidsetPipelineName(String pipelineName) voidsetPipelineUniqueId(String pipelineUniqueId) voidsetStageId(String stageId) voidsetStageId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> stageId) voidsetStageName(String stageName) voidsetStageName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> stageName) voidsetStart(OffsetDateTime start) voidvoidvoidsetTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags) voidvoidsetUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> url) start(OffsetDateTime start) status(CIAppPipelineEventStepStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_GIT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_JOB_ID
- See Also:
-
JSON_PROPERTY_JOB_NAME
- 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_STAGE_ID
- See Also:
-
JSON_PROPERTY_STAGE_NAME
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
-
Constructor Details
-
CIAppPipelineEventStep
public CIAppPipelineEventStep() -
CIAppPipelineEventStep
public CIAppPipelineEventStep(OffsetDateTime end, String id, CIAppPipelineEventStepLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventStepStatus status)
-
-
Method Details
-
end
-
getEnd
Time when the step 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 step. It has to be unique within each pipeline execution.- Returns:
- id
-
setId
-
jobId
-
getJobId
The parent job UUID (if applicable).- Returns:
- jobId
-
getJobId_JsonNullable
-
setJobId_JsonNullable
-
setJobId
-
jobName
-
getJobName
The parent job name (if applicable).- Returns:
- jobName
-
getJobName_JsonNullable
-
setJobName_JsonNullable
-
setJobName
-
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 step.- 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
-
stageId
-
getStageId
The parent stage UUID (if applicable).- Returns:
- stageId
-
getStageId_JsonNullable
-
setStageId_JsonNullable
-
setStageId
-
stageName
-
getStageName
The parent stage name (if applicable).- Returns:
- stageName
-
getStageName_JsonNullable
-
setStageName_JsonNullable
public void setStageName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> stageName) -
setStageName
-
start
-
getStart
Time when the step run started. The time format must be RFC3339.- Returns:
- start
-
setStart
-
status
-
getStatus
The final status of the step.- 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
-
url
-
getUrl
The URL to look at the step in the CI provider UI.- Returns:
- url
-
getUrl_JsonNullable
-
setUrl_JsonNullable
-
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:
- CIAppPipelineEventStep
-
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 CIAppPipelineEventStep object is equal to o. -
hashCode
public int hashCode() -
toString
-