DiagnosticData Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.DiagnosticData

Implements

public final class DiagnosticData
implements JsonSerializable<DiagnosticData>

Set of data with rendering instructions.

Constructor Summary

Constructor Description
DiagnosticData()

Creates an instance of DiagnosticData class.

Method Summary

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

Reads an instance of DiagnosticData from the JsonReader.

Rendering renderingProperties()

Get the renderingProperties property: Properties that describe how the table should be rendered.

DataTableResponseObject table()

Get the table property: Data in table form.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DiagnosticData withRenderingProperties(Rendering renderingProperties)

Set the renderingProperties property: Properties that describe how the table should be rendered.

DiagnosticData withTable(DataTableResponseObject table)

Set the table property: Data in table form.

Methods inherited from java.lang.Object

Constructor Details

DiagnosticData

public DiagnosticData()

Creates an instance of DiagnosticData class.

Method Details

fromJson

public static DiagnosticData fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DiagnosticData 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 DiagnosticData.

renderingProperties

public Rendering renderingProperties()

Get the renderingProperties property: Properties that describe how the table should be rendered.

Returns:

the renderingProperties value.

table

public DataTableResponseObject table()

Get the table property: Data in table form.

Returns:

the table value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRenderingProperties

public DiagnosticData withRenderingProperties(Rendering renderingProperties)

Set the renderingProperties property: Properties that describe how the table should be rendered.

Parameters:

renderingProperties - the renderingProperties value to set.

Returns:

the DiagnosticData object itself.

withTable

public DiagnosticData withTable(DataTableResponseObject table)

Set the table property: Data in table form.

Parameters:

table - the table value to set.

Returns:

the DiagnosticData object itself.

Applies to