Class ResultInformation
java.lang.Object
com.azure.communication.callautomation.models.events.ResultInformation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResultInformation>
public final class ResultInformation
extends Object
implements com.azure.json.JsonSerializable<ResultInformation>
The ResultInformation model.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultInformationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResultInformation from the JsonReader.getCode()Get the code property: The code property.Get the message property: The message property.Get the subCode property: The subCode property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getCode
Get the code property: The code property.- Returns:
- the code value.
-
getSubCode
Get the subCode property: The subCode property.- Returns:
- the subCode value.
-
getMessage
Get the message property: The message property.- Returns:
- the message value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResultInformation>- Throws:
IOException
-
fromJson
Reads an instance of ResultInformation from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResultInformation 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 ResultInformation.
-