Condividi tramite


RequestHistoryProperties Class

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

Implements

public final class RequestHistoryProperties
implements JsonSerializable<RequestHistoryProperties>

The request history.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: The time the request ended.

static RequestHistoryProperties fromJson(JsonReader jsonReader)

Reads an instance of RequestHistoryProperties from the JsonReader.

Request request()

Get the request property: The request.

Response response()

Get the response property: The response.

OffsetDateTime startTime()

Get the startTime property: The time the request started.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: The time the request ended.

Returns:

the endTime value.

fromJson

public static RequestHistoryProperties fromJson(JsonReader jsonReader)

Reads an instance of RequestHistoryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

request

public Request request()

Get the request property: The request.

Returns:

the request value.

response

public Response response()

Get the response property: The response.

Returns:

the response value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The time the request started.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to