Class ListCommitsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210630")
    public class ListCommitsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/devops/ListCommitsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCommitsRequest.

    • Constructor Detail

      • ListCommitsRequest

        public ListCommitsRequest()
    • Method Detail

      • getRepositoryId

        public String getRepositoryId()
        Unique repository identifier.
      • getRefName

        public String getRefName()
        A filter to return only resources that match the given reference name.
      • getExcludeRefName

        public String getExcludeRefName()
        A filter to exclude commits that match the given reference name.
      • getFilePath

        public String getFilePath()
        A filter to return only commits that affect any of the specified paths.
      • getTimestampGreaterThanOrEqualTo

        public Date getTimestampGreaterThanOrEqualTo()
        A filter to return commits only created after the specified timestamp value.
      • getTimestampLessThanOrEqualTo

        public Date getTimestampLessThanOrEqualTo()
        A filter to return commits only created before the specified timestamp value.
      • getCommitMessage

        public String getCommitMessage()
        A filter to return any commits that contains the given message.
      • getAuthorName

        public String getAuthorName()
        A filter to return any commits that are pushed by the requested author.
      • getLimit

        public Integer getLimit()
        The maximum number of items to return.
      • getPage

        public String getPage()
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, provide the request ID.

      • builder

        public static ListCommitsRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>