QueryExperience Class

  • java.lang.Object
    • com.azure.resourcemanager.trafficmanager.models.QueryExperience

Implements

public final class QueryExperience
implements JsonSerializable<QueryExperience>

Class representing a Traffic Manager HeatMap query experience properties.

Method Summary

Modifier and Type Method and Description
int endpointId()

Get the endpointId property: The id of the endpoint from the 'endpoints' array which these queries were routed to.

static QueryExperience fromJson(JsonReader jsonReader)

Reads an instance of QueryExperience from the JsonReader.

Double latency()

Get the latency property: The latency experienced by queries originating from this location.

int queryCount()

Get the queryCount property: The number of queries originating from this location.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

endpointId

public int endpointId()

Get the endpointId property: The id of the endpoint from the 'endpoints' array which these queries were routed to.

Returns:

the endpointId value.

fromJson

public static QueryExperience fromJson(JsonReader jsonReader)

Reads an instance of QueryExperience from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QueryExperience if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

latency

public Double latency()

Get the latency property: The latency experienced by queries originating from this location.

Returns:

the latency value.

queryCount

public int queryCount()

Get the queryCount property: The number of queries originating from this location.

Returns:

the queryCount value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to