public class PublicErrorDetail extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
PublicErrorDetail.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
message |
protected String |
odataType |
protected String |
target |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
PublicErrorDetail() |
| Modifier and Type | Method and Description |
|---|---|
static PublicErrorDetail.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() |
Optional<String> |
getMessage() |
Optional<String> |
getTarget() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
PublicErrorDetail |
withCode(String code) |
PublicErrorDetail |
withMessage(String message) |
PublicErrorDetail |
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
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic PublicErrorDetail withCode(String code)
public PublicErrorDetail withMessage(String message)
public PublicErrorDetail withTarget(String target)
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 PublicErrorDetail.Builder builder()
Copyright © 2018–2020. All rights reserved.