public class StatusDetails extends StatusBase implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
StatusDetails.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
additionalDetails |
protected String |
errorCategory |
protected String |
errorCode |
protected String |
reason |
protected String |
recommendedAction |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType, status| Modifier | Constructor and Description |
|---|---|
protected |
StatusDetails() |
| Modifier and Type | Method and Description |
|---|---|
static StatusDetails.Builder |
builderStatusDetails()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAdditionalDetails() |
Optional<String> |
getErrorCategory() |
Optional<String> |
getErrorCode() |
Optional<String> |
getReason() |
Optional<String> |
getRecommendedAction() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
StatusDetails |
withAdditionalDetails(String additionalDetails) |
StatusDetails |
withErrorCategory(String errorCategory) |
StatusDetails |
withErrorCode(String errorCode) |
StatusDetails |
withReason(String reason) |
StatusDetails |
withRecommendedAction(String recommendedAction) |
builder, getStatus, withStatusprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String errorCode
protected String reason
protected String additionalDetails
protected String errorCategory
protected String recommendedAction
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class StatusBasepublic StatusDetails withErrorCode(String errorCode)
public StatusDetails withReason(String reason)
public StatusDetails withAdditionalDetails(String additionalDetails)
public StatusDetails withErrorCategory(String errorCategory)
public StatusDetails withRecommendedAction(String recommendedAction)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class StatusBasepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class StatusBasepublic static StatusDetails.Builder builderStatusDetails()
public String toString()
toString in class StatusBaseCopyright © 2018–2020. All rights reserved.