Package com.oracle.bmc.dns.responses
Class GetViewResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.dns.responses.GetViewResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class GetViewResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetViewResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetViewResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
String
getEtag()
The current version of the resource, ending with a representation-specific suffix.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.View
getView()
The returned View instance, or null ifisNotModified()
is true.int
hashCode()
boolean
isNotModified()
Flag to indicate whether or not the object was modified.String
toString()
-
Methods inherited from class com.oracle.bmc.responses.BmcResponse
canEqual, get__httpStatusCode__, getHeaders
-
-
-
-
Method Detail
-
getEtag
public String getEtag()
The current version of the resource, ending with a representation-specific suffix.This value may be used in If-Match and If-None-Match headers for later requests of the same resource.
- Returns:
- the value
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Returns:
- the value
-
getView
public View getView()
The returned View instance, or null ifisNotModified()
is true.- Returns:
- the value
-
isNotModified
public boolean isNotModified()
Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
- Parameters:
true
- if the object was not modified
-
builder
public static GetViewResponse.Builder builder()
Return a new builder for this response object.- Returns:
- builder for the response object
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBmcResponse
-
-