public class ApiError extends Object
| Constructor and Description |
|---|
ApiError() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get the code value.
|
List<ApiErrorBase> |
details()
Get the details value.
|
InnerError |
innererror()
Get the innererror value.
|
String |
message()
Get the message value.
|
String |
target()
Get the target value.
|
ApiError |
withCode(String code)
Set the code value.
|
ApiError |
withDetails(List<ApiErrorBase> details)
Set the details value.
|
ApiError |
withInnererror(InnerError innererror)
Set the innererror value.
|
ApiError |
withMessage(String message)
Set the message value.
|
ApiError |
withTarget(String target)
Set the target value.
|
public List<ApiErrorBase> details()
public ApiError withDetails(List<ApiErrorBase> details)
details - the details value to setpublic InnerError innererror()
public ApiError withInnererror(InnerError innererror)
innererror - the innererror value to setpublic String code()
public ApiError withCode(String code)
code - the code value to setpublic String target()
public ApiError withTarget(String target)
target - the target value to setpublic String message()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/