你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ErrorAdditionalInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ErrorAdditionalInfo

Implements

public final class ErrorAdditionalInfo
implements JsonSerializable<ErrorAdditionalInfo>

The resource management error additional info.

Constructor Summary

Constructor Description
ErrorAdditionalInfo()

Creates an instance of ErrorAdditionalInfo class.

Method Summary

Modifier and Type Method and Description
static ErrorAdditionalInfo fromJson(JsonReader jsonReader)

Reads an instance of ErrorAdditionalInfo from the JsonReader.

Object info()

Get the info property: The additional info.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The additional info type.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ErrorAdditionalInfo

public ErrorAdditionalInfo()

Creates an instance of ErrorAdditionalInfo class.

Method Details

fromJson

public static ErrorAdditionalInfo fromJson(JsonReader jsonReader)

Reads an instance of ErrorAdditionalInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ErrorAdditionalInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ErrorAdditionalInfo.

info

public Object info()

Get the info property: The additional info.

Returns:

the info value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The additional info type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to