public class PipelineRun extends Object implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PipelineRun.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
PipelineRun() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
protected String odataType
protected String projectSK
protected Integer pipelineRunSK
protected Integer pipelineRunId
protected Integer pipelineId
protected Integer pipelineSK
protected Integer branchSK
protected String runNumber
protected Integer runNumberRevision
protected PipelineRunReason runReason
protected PipelineRunOutcome runOutcome
protected OffsetDateTime queuedDate
protected Integer queuedDateSK
protected OffsetDateTime startedDate
protected Integer startedDateSK
protected OffsetDateTime completedDate
protected Integer completedDateSK
protected BigDecimal runDurationSeconds
protected BigDecimal queueDurationSeconds
protected BigDecimal totalDurationSeconds
protected Integer succeededCount
protected Integer partiallySucceededCount
protected Integer failedCount
protected Integer canceledCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic static PipelineRun.Builder builder()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic PipelineRun withProjectSK(String projectSK)
public PipelineRun withPipelineRunSK(Integer pipelineRunSK)
public PipelineRun withPipelineRunId(Integer pipelineRunId)
public PipelineRun withPipelineId(Integer pipelineId)
public PipelineRun withPipelineSK(Integer pipelineSK)
public PipelineRun withBranchSK(Integer branchSK)
public PipelineRun withRunNumber(String runNumber)
public PipelineRun withRunNumberRevision(Integer runNumberRevision)
public Optional<PipelineRunReason> getRunReason()
public PipelineRun withRunReason(PipelineRunReason runReason)
public Optional<PipelineRunOutcome> getRunOutcome()
public PipelineRun withRunOutcome(PipelineRunOutcome runOutcome)
public Optional<OffsetDateTime> getQueuedDate()
public PipelineRun withQueuedDate(OffsetDateTime queuedDate)
public PipelineRun withQueuedDateSK(Integer queuedDateSK)
public Optional<OffsetDateTime> getStartedDate()
public PipelineRun withStartedDate(OffsetDateTime startedDate)
public PipelineRun withStartedDateSK(Integer startedDateSK)
public Optional<OffsetDateTime> getCompletedDate()
public PipelineRun withCompletedDate(OffsetDateTime completedDate)
public PipelineRun withCompletedDateSK(Integer completedDateSK)
public Optional<BigDecimal> getRunDurationSeconds()
public PipelineRun withRunDurationSeconds(BigDecimal runDurationSeconds)
public Optional<BigDecimal> getQueueDurationSeconds()
public PipelineRun withQueueDurationSeconds(BigDecimal queueDurationSeconds)
public Optional<BigDecimal> getTotalDurationSeconds()
public PipelineRun withTotalDurationSeconds(BigDecimal totalDurationSeconds)
public PipelineRun withSucceededCount(Integer succeededCount)
public PipelineRun withPartiallySucceededCount(Integer partiallySucceededCount)
public PipelineRun withFailedCount(Integer failedCount)
public PipelineRun withCanceledCount(Integer canceledCount)
public PipelineRun withUnmappedField(String name, String value)
public ProjectRequest getProject()
public PipelineRequest getPipeline()
public BranchRequest getBranch()
public CalendarDateRequest getQueuedOn()
public CalendarDateRequest getStartedOn()
public CalendarDateRequest getCompletedOn()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic PipelineRun patch()
this with changed fields reset.this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic PipelineRun put()
this
with changed fields reset (they were ignored anyway).this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedCopyright © 2018–2020. All rights reserved.