@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class StockResponseBackend extends ApiSpecificationRouteBackend
Send the request to a mock backend.
Note: Objects should always be created or deserialized using the StockResponseBackend.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the StockResponseBackend.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
StockResponseBackend.Builder |
ApiSpecificationRouteBackend.Type| Constructor and Description |
|---|
StockResponseBackend(String body,
Integer status,
List<HeaderFieldSpecification> headers)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static StockResponseBackend.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getBody()
The body of the stock response from the mock backend.
|
List<HeaderFieldSpecification> |
getHeaders()
The headers of the stock response from the mock backend.
|
Integer |
getStatus()
The status code of the stock response from the mock backend.
|
int |
hashCode() |
String |
toString() |
@Deprecated public StockResponseBackend(String body, Integer status, List<HeaderFieldSpecification> headers)
public static StockResponseBackend.Builder builder()
Create a new builder.
public String getBody()
The body of the stock response from the mock backend.
public Integer getStatus()
The status code of the stock response from the mock backend.
public List<HeaderFieldSpecification> getHeaders()
The headers of the stock response from the mock backend.
public String toString()
toString in class ApiSpecificationRouteBackendpublic boolean equals(Object o)
equals in class ApiSpecificationRouteBackendprotected boolean canEqual(Object other)
canEqual in class ApiSpecificationRouteBackendpublic int hashCode()
hashCode in class ApiSpecificationRouteBackendCopyright © 2016–2020. All rights reserved.