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/latest/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 classGetCommitDiffRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetCommitDiffRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCommitDiffRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetBaseVersion()The commit or reference name to compare changes against.BooleangetIsComparisonFromMergeBase()Boolean value to indicate whether to use merge base or most recent revision.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetRepositoryId()Unique repository identifier.StringgetTargetRepositoryId()The target repository identifierStringgetTargetVersion()The commit or reference name that represents the newer changes against the base version.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetCommitDiffRequest.BuildertoBuilder()Return an instance ofGetCommitDiffRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
GetCommitDiffRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-