Package com.datadog.api.client.v2.model
Class CIAppPipelineEventFinishedJob
java.lang.Object
com.datadog.api.client.v2.model.CIAppPipelineEventFinishedJob
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppPipelineEventFinishedJob
extends Object
Details of a finished CI job.
-
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
ConstructorsConstructorDescriptionCIAppPipelineEventFinishedJob(OffsetDateTime end, String id, CIAppPipelineEventJobLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventJobStatus status, String url) -
Method Summary
Modifier and TypeMethodDescriptionaddDependenciesItem(String dependenciesItem) addMetricsItem(String metricsItem) addTagsItem(String tagsItem) dependencies(List<String> dependencies) end(OffsetDateTime end) booleanReturn true if this CIAppPipelineEventFinishedJob 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 job IDs that this job depends on.getEnd()Time when the job 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()The UUID for the job.getLevel()Used to distinguish between pipelines, stages, jobs, and steps.A list of user-defined metrics.getName()The name for the job.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>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 job run instance started (it should not include any queue time).The final status of the job.getTags()A list of user-defined tags.getUrl()The URL to look at the job in the CI provider UI.git(CIAppGitInfo git) inthashCode()level(CIAppPipelineEventJobLevel 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) 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) 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) voidsetStatus(CIAppPipelineEventJobStatus status) voidvoidsetTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags) voidstart(OffsetDateTime start) status(CIAppPipelineEventJobStatus 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_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
-
CIAppPipelineEventFinishedJob
public CIAppPipelineEventFinishedJob() -
CIAppPipelineEventFinishedJob
public CIAppPipelineEventFinishedJob(OffsetDateTime end, String id, CIAppPipelineEventJobLevel level, String name, String pipelineName, String pipelineUniqueId, OffsetDateTime start, CIAppPipelineEventJobStatus status, String url)
-
-
Method Details
-
dependencies
-
addDependenciesItem
-
getDependencies
A list of job IDs that this job depends on.- Returns:
- dependencies
-
getDependencies_JsonNullable
-
setDependencies_JsonNullable
-
setDependencies
-
end
-
getEnd
Time when the job 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
The UUID for the job. It has to be unique within each pipeline execution.- 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 job.- 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
-
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 job run instance started (it should not include any queue time). The time format must be RFC3339.- Returns:
- start
-
setStart
-
status
-
getStatus
The final status of the job.- 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 job 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:
- CIAppPipelineEventFinishedJob
-
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 CIAppPipelineEventFinishedJob object is equal to o. -
hashCode
public int hashCode() -
toString
-