Condividi tramite


PerfMonResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.PerfMonResponseInner

Implements

public final class PerfMonResponseInner
implements JsonSerializable<PerfMonResponseInner>

Performance monitor API response.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The response code.

PerfMonSet data()

Get the data property: The performance monitor counters.

static PerfMonResponseInner fromJson(JsonReader jsonReader)

Reads an instance of PerfMonResponseInner from the JsonReader.

String message()

Get the message property: The message.

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 response code.

Returns:

the code value.

data

public PerfMonSet data()

Get the data property: The performance monitor counters.

Returns:

the data value.

fromJson

public static PerfMonResponseInner fromJson(JsonReader jsonReader)

Reads an instance of PerfMonResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to