public class ResultInfo extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ResultInfo.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
code |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
message |
protected String |
odataType |
protected Integer |
subcode |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ResultInfo() |
| Modifier and Type | Method and Description |
|---|---|
static ResultInfo.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getCode() |
Optional<String> |
getMessage() |
Optional<Integer> |
getSubcode() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ResultInfo |
withCode(Integer code) |
ResultInfo |
withMessage(String message) |
ResultInfo |
withSubcode(Integer subcode) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer code
protected Integer subcode
protected String message
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ResultInfo withCode(Integer code)
public ResultInfo withSubcode(Integer subcode)
public ResultInfo withMessage(String message)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static ResultInfo.Builder builder()
Copyright © 2018–2020. All rights reserved.