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 Details

  • Constructor Details

  • Method Details

    • dependencies

      public CIAppPipelineEventFinishedJob dependencies(List<String> dependencies)
    • addDependenciesItem

      public CIAppPipelineEventFinishedJob addDependenciesItem(String dependenciesItem)
    • getDependencies

      @Nullable public List<String> getDependencies()
      A list of job IDs that this job depends on.
      Returns:
      dependencies
    • getDependencies_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getDependencies_JsonNullable()
    • setDependencies_JsonNullable

      public void setDependencies_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> dependencies)
    • setDependencies

      public void setDependencies(List<String> dependencies)
    • end

    • getEnd

      public OffsetDateTime getEnd()
      Time when the job run finished. The time format must be RFC3339.
      Returns:
      end
    • setEnd

      public void setEnd(OffsetDateTime end)
    • error

    • getError

      @Nullable public CIAppCIError getError()
      Contains information of the CI error.
      Returns:
      error
    • getError_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> getError_JsonNullable()
    • setError_JsonNullable

      public void setError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error)
    • setError

      public void setError(CIAppCIError error)
    • git

    • getGit

      @Nullable public CIAppGitInfo getGit()
      If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. Note that either tag or branch has to be provided, but not both.
      Returns:
      git
    • getGit_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo> getGit_JsonNullable()
    • setGit_JsonNullable

      public void setGit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo> git)
    • setGit

      public void setGit(CIAppGitInfo git)
    • id

    • getId

      public String getId()
      The UUID for the job. It has to be unique within each pipeline execution.
      Returns:
      id
    • setId

      public void setId(String id)
    • level

    • getLevel

      public CIAppPipelineEventJobLevel getLevel()
      Used to distinguish between pipelines, stages, jobs, and steps.
      Returns:
      level
    • setLevel

      public void setLevel(CIAppPipelineEventJobLevel level)
    • metrics

      public CIAppPipelineEventFinishedJob metrics(List<String> metrics)
    • addMetricsItem

      public CIAppPipelineEventFinishedJob addMetricsItem(String metricsItem)
    • getMetrics

      @Nullable public List<String> getMetrics()
      A list of user-defined metrics. The metrics must follow the key:value pattern and the value must be numeric.
      Returns:
      metrics
    • getMetrics_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getMetrics_JsonNullable()
    • setMetrics_JsonNullable

      public void setMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics)
    • setMetrics

      public void setMetrics(List<String> metrics)
    • name

    • getName

      public String getName()
      The name for the job.
      Returns:
      name
    • setName

      public void setName(String name)
    • node

    • getNode

      @Nullable public CIAppHostInfo getNode()
      Contains information of the host running the pipeline, stage, job, or step.
      Returns:
      node
    • getNode_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> getNode_JsonNullable()
    • setNode_JsonNullable

      public void setNode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> node)
    • setNode

      public void setNode(CIAppHostInfo node)
    • parameters

      public CIAppPipelineEventFinishedJob parameters(Map<String,String> parameters)
    • putParametersItem

      public CIAppPipelineEventFinishedJob putParametersItem(String key, String parametersItem)
    • getParameters

      @Nullable public Map<String,String> getParameters()
      A map of key-value parameters or environment variables that were defined for the pipeline.
      Returns:
      parameters
    • getParameters_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> getParameters_JsonNullable()
    • setParameters_JsonNullable

      public void setParameters_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> parameters)
    • setParameters

      public void setParameters(Map<String,String> parameters)
    • pipelineName

      public CIAppPipelineEventFinishedJob pipelineName(String pipelineName)
    • getPipelineName

      public String getPipelineName()
      The parent pipeline name.
      Returns:
      pipelineName
    • setPipelineName

      public void setPipelineName(String pipelineName)
    • pipelineUniqueId

      public CIAppPipelineEventFinishedJob pipelineUniqueId(String pipelineUniqueId)
    • getPipelineUniqueId

      public String getPipelineUniqueId()
      The parent pipeline UUID.
      Returns:
      pipelineUniqueId
    • setPipelineUniqueId

      public void setPipelineUniqueId(String pipelineUniqueId)
    • queueTime

      public CIAppPipelineEventFinishedJob queueTime(Long queueTime)
    • getQueueTime

      @Nullable public Long getQueueTime()
      The queue time in milliseconds, if applicable. minimum: 0
      Returns:
      queueTime
    • getQueueTime_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getQueueTime_JsonNullable()
    • setQueueTime_JsonNullable

      public void setQueueTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> queueTime)
    • setQueueTime

      public void setQueueTime(Long queueTime)
    • stageId

      public CIAppPipelineEventFinishedJob stageId(String stageId)
    • getStageId

      @Nullable public String getStageId()
      The parent stage UUID (if applicable).
      Returns:
      stageId
    • getStageId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getStageId_JsonNullable()
    • setStageId_JsonNullable

      public void setStageId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> stageId)
    • setStageId

      public void setStageId(String stageId)
    • stageName

      public CIAppPipelineEventFinishedJob stageName(String stageName)
    • getStageName

      @Nullable public String getStageName()
      The parent stage name (if applicable).
      Returns:
      stageName
    • getStageName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getStageName_JsonNullable()
    • setStageName_JsonNullable

      public void setStageName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> stageName)
    • setStageName

      public void setStageName(String stageName)
    • start

    • getStart

      public OffsetDateTime getStart()
      Time when the job run instance started (it should not include any queue time). The time format must be RFC3339.
      Returns:
      start
    • setStart

      public void setStart(OffsetDateTime start)
    • status

    • getStatus

      public CIAppPipelineEventJobStatus getStatus()
      The final status of the job.
      Returns:
      status
    • setStatus

      public void setStatus(CIAppPipelineEventJobStatus status)
    • tags

    • addTagsItem

      public CIAppPipelineEventFinishedJob addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of user-defined tags. The tags must follow the key:value pattern.
      Returns:
      tags
    • getTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTags_JsonNullable()
    • setTags_JsonNullable

      public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags)
    • setTags

      public void setTags(List<String> tags)
    • url

    • getUrl

      public String getUrl()
      The URL to look at the job in the CI provider UI.
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • putAdditionalProperty

      public CIAppPipelineEventFinishedJob putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      CIAppPipelineEventFinishedJob
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this CIAppPipelineEventFinishedJob object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object