Show / Hide Table of Contents

Class BuildRunSnapshotSummary

Summary of a single build run snapshot. Contains information including pipelineId, commitId.

Inheritance
object
BuildRunSnapshotSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class BuildRunSnapshotSummary

Properties

BuildPipelineId

Declaration
[Required(ErrorMessage = "BuildPipelineId is required.")]
[JsonProperty(PropertyName = "buildPipelineId")]
public string BuildPipelineId { get; set; }
Property Value
Type Description
string

The OCID of the build pipeline where the build was triggered.

Remarks

Required

BuildRunId

Declaration
[Required(ErrorMessage = "BuildRunId is required.")]
[JsonProperty(PropertyName = "buildRunId")]
public string BuildRunId { get; set; }
Property Value
Type Description
string

The OCID of the build run.

Remarks

Required

CommitId

Declaration
[Required(ErrorMessage = "CommitId is required.")]
[JsonProperty(PropertyName = "commitId")]
public string CommitId { get; set; }
Property Value
Type Description
string

The commit id which the build was triggered from.

Remarks

Required

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The display name of the build run.

LifecycleDetails

Declaration
[Required(ErrorMessage = "LifecycleDetails is required.")]
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
string

A message describing the current state in more detail.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public BuildRunSnapshot.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
BuildRunSnapshot.LifecycleStateEnum?

The current status of the build run.

Remarks

Required

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time the build run was created. Format defined by RFC3339.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time the build run was updated. Format defined by RFC3339.

In this article
Back to top