Class GetRepoFileDiffRequest


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

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

    • Constructor Detail

      • GetRepoFileDiffRequest

        public GetRepoFileDiffRequest()
    • Method Detail

      • getRepositoryId

        public String getRepositoryId()
        Unique repository identifier.
      • getBaseVersion

        public String getBaseVersion()
        The branch to compare changes against.
      • getTargetVersion

        public String getTargetVersion()
        The branch where changes are coming from.
      • getFilePath

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

        public Boolean getIsComparisonFromMergeBase()
        Boolean to indicate whether to use merge base or most recent revision.
      • 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 GetRepoFileDiffRequest.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>