Package com.oracle.bmc.devops.requests
Class GetFileDiffRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.devops.requests.GetFileDiffRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public class GetFileDiffRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/devops/GetFileDiffExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetFileDiffRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetFileDiffRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetFileDiffRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetFileDiffRequest.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 branch to compare changes against.String
getFilePath()
Path to a file within a repository.Boolean
getIsComparisonFromMergeBase()
Boolean 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
getTargetVersion()
The branch where changes are coming from.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetFileDiffRequest.Builder
toBuilder()
Return an instance ofGetFileDiffRequest.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.
-
getFilePath
public String getFilePath()
Path to a file within a repository.
-
getBaseVersion
public String getBaseVersion()
The branch to compare changes against.
-
getTargetVersion
public String getTargetVersion()
The branch where changes are coming from.
-
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.
-
toBuilder
public GetFileDiffRequest.Builder toBuilder()
Return an instance ofGetFileDiffRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetFileDiffRequest.Builder
that allows you to modify request properties.
-
builder
public static GetFileDiffRequest.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>
-
-