Show / Hide Table of Contents

Class ListBuildRunSnapshotsRequest

Inheritance
object
ListBuildRunSnapshotsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Requests
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class ListBuildRunSnapshotsRequest : IOciRequest
Examples

Click here to see an example of how to use ListBuildRunSnapshots request.

Properties

BuildRunId

Declaration
[HttpConverter(TargetEnum.Query, "buildRunId")]
public string BuildRunId { get; set; }
Property Value
Type Description
string

Unique build run identifier.

CommitId

Declaration
[HttpConverter(TargetEnum.Query, "commitId")]
public string CommitId { get; set; }
Property Value
Type Description
string

Commit ID in a repository.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of items to return.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

PipelineId

Declaration
[HttpConverter(TargetEnum.Query, "pipelineId")]
public string PipelineId { get; set; }
Property Value
Type Description
string

Unique build pipeline identifier.

PullRequestId

Declaration
[Required(ErrorMessage = "PullRequestId is required.")]
[HttpConverter(TargetEnum.Path, "pullRequestId")]
public string PullRequestId { get; set; }
Property Value
Type Description
string

unique PullRequest identifier

Remarks

Required

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListBuildRunSnapshotsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListBuildRunSnapshotsRequest.SortByEnum?

The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for name is ascending. If no value is specified time created is default.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
Type Description
SortOrder?

The sort order to use. Use either ascending or descending.

Implements

IOciRequest
In this article
Back to top