TroubleshootingResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.TroubleshootingResultInner

Implements

public final class TroubleshootingResultInner
implements JsonSerializable<TroubleshootingResultInner>

Troubleshooting information gained from specified resource.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The result code of the troubleshooting.

OffsetDateTime endTime()

Get the endTime property: The end time of the troubleshooting.

static TroubleshootingResultInner fromJson(JsonReader jsonReader)

Reads an instance of TroubleshootingResultInner from the JsonReader.

List<TroubleshootingDetails> results()

Get the results property: Information from troubleshooting.

OffsetDateTime startTime()

Get the startTime property: The start time of the troubleshooting.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

code

public String code()

Get the code property: The result code of the troubleshooting.

Returns:

the code value.

endTime

public OffsetDateTime endTime()

Get the endTime property: The end time of the troubleshooting.

Returns:

the endTime value.

fromJson

public static TroubleshootingResultInner fromJson(JsonReader jsonReader)

Reads an instance of TroubleshootingResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

results

public List<TroubleshootingDetails> results()

Get the results property: Information from troubleshooting.

Returns:

the results value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The start time of the troubleshooting.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to