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