Package com.oracle.bmc.devops.requests
Class GetCommitDiffRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.devops.requests.GetCommitDiffRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public class GetCommitDiffRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/devops/GetCommitDiffExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCommitDiffRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetCommitDiffRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetCommitDiffRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCommitDiffRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getBaseVersion()
The commit or reference name to compare changes against.Boolean
getIsComparisonFromMergeBase()
Boolean value to indicate whether to use merge base or most recent revision.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getRepositoryId()
Unique repository identifier.String
getTargetRepositoryId()
The target repository identifierString
getTargetVersion()
The commit or reference name that represents the newer changes against the base version.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetCommitDiffRequest.Builder
toBuilder()
Return an instance ofGetCommitDiffRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getRepositoryId
public String getRepositoryId()
Unique repository identifier.
-
getTargetVersion
public String getTargetVersion()
The commit or reference name that represents the newer changes against the base version.
-
getBaseVersion
public String getBaseVersion()
The commit or reference name to compare changes against.If base version is not provided, the difference goes against an empty tree.
-
getTargetRepositoryId
public String getTargetRepositoryId()
The target repository identifier
-
getIsComparisonFromMergeBase
public Boolean getIsComparisonFromMergeBase()
Boolean value 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.
-
toBuilder
public GetCommitDiffRequest.Builder toBuilder()
Return an instance ofGetCommitDiffRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetCommitDiffRequest.Builder
that allows you to modify request properties.
-
builder
public static GetCommitDiffRequest.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 classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-