Class DiagnosticsDataApiResponse
java.lang.Object
com.azure.resourcemanager.appcontainers.models.DiagnosticsDataApiResponse
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnosticsDataApiResponse>
public final class DiagnosticsDataApiResponse
extends Object
implements com.azure.json.JsonSerializable<DiagnosticsDataApiResponse>
Diagnostics data returned from a detector.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiagnosticsDataApiResponse class. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiagnosticsDataApiResponse
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnosticsDataApiResponse from the JsonReader.Get the renderingProperties property: Details of the table response.table()
Get the table property: Table response.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withRenderingProperties
(DiagnosticRendering renderingProperties) Set the renderingProperties property: Details of the table response.Set the table property: Table response.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DiagnosticsDataApiResponse
public DiagnosticsDataApiResponse()Creates an instance of DiagnosticsDataApiResponse class.
-
-
Method Details
-
table
Get the table property: Table response.- Returns:
- the table value.
-
withTable
Set the table property: Table response.- Parameters:
table
- the table value to set.- Returns:
- the DiagnosticsDataApiResponse object itself.
-
renderingProperties
Get the renderingProperties property: Details of the table response.- Returns:
- the renderingProperties value.
-
withRenderingProperties
Set the renderingProperties property: Details of the table response.- Parameters:
renderingProperties
- the renderingProperties value to set.- Returns:
- the DiagnosticsDataApiResponse object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<DiagnosticsDataApiResponse>
- Throws:
IOException
-
fromJson
public static DiagnosticsDataApiResponse fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DiagnosticsDataApiResponse from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DiagnosticsDataApiResponse 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 DiagnosticsDataApiResponse.
-