public class ErrorEntity extends Object
| Constructor and Description |
|---|
ErrorEntity() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get the code value.
|
String |
extendedCode()
Get the extendedCode value.
|
List<ErrorEntity> |
innerErrors()
Get the innerErrors value.
|
String |
message()
Get the message value.
|
String |
messageTemplate()
Get the messageTemplate value.
|
List<String> |
parameters()
Get the parameters value.
|
ErrorEntity |
withCode(String code)
Set the code value.
|
ErrorEntity |
withExtendedCode(String extendedCode)
Set the extendedCode value.
|
ErrorEntity |
withInnerErrors(List<ErrorEntity> innerErrors)
Set the innerErrors value.
|
ErrorEntity |
withMessage(String message)
Set the message value.
|
ErrorEntity |
withMessageTemplate(String messageTemplate)
Set the messageTemplate value.
|
ErrorEntity |
withParameters(List<String> parameters)
Set the parameters value.
|
public String extendedCode()
public ErrorEntity withExtendedCode(String extendedCode)
extendedCode - the extendedCode value to setpublic String messageTemplate()
public ErrorEntity withMessageTemplate(String messageTemplate)
messageTemplate - the messageTemplate value to setpublic ErrorEntity withParameters(List<String> parameters)
parameters - the parameters value to setpublic List<ErrorEntity> innerErrors()
public ErrorEntity withInnerErrors(List<ErrorEntity> innerErrors)
innerErrors - the innerErrors value to setpublic String code()
public ErrorEntity withCode(String code)
code - the code value to setpublic String message()
public ErrorEntity withMessage(String message)
message - the message value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/