BatchErrorMessage Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchErrorMessage
- com.
Implements
public final class BatchErrorMessage
implements JsonSerializable<BatchErrorMessage>
An error message received in an Azure Batch error response.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| String |
getLang()
Get the lang property: The language code of the error message. |
| String |
getValue()
Get the value property: The text of the message. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchErrorMessage fromJson(JsonReader jsonReader)
Reads an instance of BatchErrorMessage from the JsonReader.
Parameters:
Returns:
Throws:
getLang
public String getLang()
Get the lang property: The language code of the error message.
Returns:
getValue
public String getValue()
Get the value property: The text of the message.
Returns: