你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OdataErrorMain Class
- java.
lang. Object - com.
azure. core. management. exception. ManagementError - com.
azure. resourcemanager. authorization. fluent. models. OdataErrorMain
- com.
- com.
public final class OdataErrorMain
extends ManagementError
The OdataErrorMain model.
Constructor Summary
Constructor | Description |
---|---|
OdataErrorMain() |
Creates an instance of Odata |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Odata |
fromJson(JsonReader jsonReader)
Reads an instance of Odata |
List<Additional |
getAdditionalInfo()
Get the additional |
String |
getCode()
Get the code property: The error code parsed from the body of the http error response. |
List<Management |
getDetails()
Get the details property: Details for the error. |
Map<String,Object> |
getInnererror()
Get the innererror property: The structure of this object is service-specific. |
String |
getMessage()
Get the message property: The error message parsed from the body of the http error response. |
String |
getTarget()
Get the target property: The target of the error. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from ManagementError
Methods inherited from java.lang.Object
Constructor Details
OdataErrorMain
public OdataErrorMain()
Creates an instance of OdataErrorMain class.
Method Details
fromJson
public static OdataErrorMain fromJson(JsonReader jsonReader)
Reads an instance of OdataErrorMain from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalInfo
public List
Get the additionalInfo property: Additional info for the error.
Overrides:
OdataErrorMain.getAdditionalInfo()Returns:
getCode
public String getCode()
Get the code property: The error code parsed from the body of the http error response.
Overrides:
OdataErrorMain.getCode()Returns:
getDetails
public List
Get the details property: Details for the error.
Overrides:
OdataErrorMain.getDetails()Returns:
getInnererror
public Map
Get the innererror property: The structure of this object is service-specific.
Returns:
getMessage
public String getMessage()
Get the message property: The error message parsed from the body of the http error response.
Overrides:
OdataErrorMain.getMessage()Returns:
getTarget
public String getTarget()
Get the target property: The target of the error.
Overrides:
OdataErrorMain.getTarget()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OdataErrorMain.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.