public class ResponseStatus extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponseStatus.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected ResponseType |
response |
protected OffsetDateTime |
time |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ResponseStatus() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseStatus.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<ResponseType> |
getResponse() |
Optional<OffsetDateTime> |
getTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ResponseStatus |
withResponse(ResponseType response) |
ResponseStatus |
withTime(OffsetDateTime time) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected ResponseType response
protected OffsetDateTime time
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<ResponseType> getResponse()
public ResponseStatus withResponse(ResponseType response)
public Optional<OffsetDateTime> getTime()
public ResponseStatus withTime(OffsetDateTime time)
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 ResponseStatus.Builder builder()
Copyright © 2018–2020. All rights reserved.