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 classGetViewResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetViewResponse.Builderbuilder()Return a new builder for this response object.booleanequals(Object o)StringgetEtag()The current version of the resource, ending with a representation-specific suffix.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.ViewgetView()The returned View instance, or null ifisNotModified()is true.inthashCode()booleanisNotModified()Flag to indicate whether or not the object was modified.StringtoString()-
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:
equalsin classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBmcResponse
-
-