AdditionalInfo Class
- java.
lang. Object - com.
azure. core. management. exception. AdditionalInfo
- com.
Implements
public final class AdditionalInfo
implements JsonSerializable<AdditionalInfo>
An instance of this class provides additional information about a ManagementError.
Constructor Summary
Constructor | Description |
---|---|
AdditionalInfo(String type, Object info) |
Constructs a new AdditionalInfo object. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Additional |
fromJson(JsonReader jsonReader)
Reads a JSON stream into an AdditionalInfo. |
Object |
getInfo()
Gets the additional info. |
String |
getType()
Gets the type of addition info. |
Json |
toJson(JsonWriter jsonWriter) |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
AdditionalInfo
public AdditionalInfo(String type, Object info)
Constructs a new AdditionalInfo object.
Parameters:
Method Details
fromJson
public static AdditionalInfo fromJson(JsonReader jsonReader)
Reads a JSON stream into an AdditionalInfo.
Parameters:
Returns:
Throws:
getInfo
public Object getInfo()
Gets the additional info.
Returns:
getType
public String getType()
Gets the type of addition info.
Returns:
toJson
toString
public String toString()
Overrides:
AdditionalInfo.toString()Applies to
Azure SDK for Java