public class ErrorDetail extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorDetail.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected List<InnerErrorDetail> |
details |
protected String |
detailsNextLink |
protected String |
errorCode |
protected String |
message |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ErrorDetail() |
| Modifier and Type | Method and Description |
|---|---|
static ErrorDetail.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<InnerErrorDetail> |
getDetails() |
com.github.davidmoten.odata.client.CollectionPage<InnerErrorDetail> |
getDetails(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getErrorCode() |
Optional<String> |
getMessage() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ErrorDetail |
withErrorCode(String errorCode) |
ErrorDetail |
withMessage(String message) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String errorCode
protected String message
protected List<InnerErrorDetail> details
protected String detailsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ErrorDetail withErrorCode(String errorCode)
public ErrorDetail withMessage(String message)
public com.github.davidmoten.odata.client.CollectionPage<InnerErrorDetail> getDetails()
public com.github.davidmoten.odata.client.CollectionPage<InnerErrorDetail> getDetails(com.github.davidmoten.odata.client.HttpRequestOptions options)
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 ErrorDetail.Builder builder()
Copyright © 2018–2020. All rights reserved.