Show / Hide Table of Contents

Class ListCommitsRequest

Inheritance
object
ListCommitsRequest
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 ListCommitsRequest : IOciRequest
Examples

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

Properties

AuthorName

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

A filter to return any commits that are pushed by the requested author.

CommitMessage

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

A filter to return any commits that contains the given message.

ExcludeRefName

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

A filter to exclude commits that match the given reference name.

FilePath

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

A filter to return only commits that affect any of the specified paths.

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.

RefName

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

A filter to return only resources that match the given reference name.

RepositoryId

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

Unique repository identifier.

Remarks

Required

TimestampGreaterThanOrEqualTo

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

A filter to return commits only created after the specified timestamp value.

TimestampLessThanOrEqualTo

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

A filter to return commits only created before the specified timestamp value.

Implements

IOciRequest
In this article
Back to top