RequestHistoryProperties Class

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

Implements

public final class RequestHistoryProperties
implements JsonSerializable<RequestHistoryProperties>

The request history.

Constructor Summary

Constructor Description
RequestHistoryProperties()

Creates an instance of RequestHistoryProperties class.

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.

RequestHistoryProperties withEndTime(OffsetDateTime endTime)

Set the endTime property: The time the request ended.

RequestHistoryProperties withRequest(Request request)

Set the request property: The request.

RequestHistoryProperties withResponse(Response response)

Set the response property: The response.

RequestHistoryProperties withStartTime(OffsetDateTime startTime)

Set the startTime property: The time the request started.

Methods inherited from java.lang.Object

Constructor Details

RequestHistoryProperties

public RequestHistoryProperties()

Creates an instance of RequestHistoryProperties class.

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.

withEndTime

public RequestHistoryProperties withEndTime(OffsetDateTime endTime)

Set the endTime property: The time the request ended.

Parameters:

endTime - the endTime value to set.

Returns:

the RequestHistoryProperties object itself.

withRequest

public RequestHistoryProperties withRequest(Request request)

Set the request property: The request.

Parameters:

request - the request value to set.

Returns:

the RequestHistoryProperties object itself.

withResponse

public RequestHistoryProperties withResponse(Response response)

Set the response property: The response.

Parameters:

response - the response value to set.

Returns:

the RequestHistoryProperties object itself.

withStartTime

public RequestHistoryProperties withStartTime(OffsetDateTime startTime)

Set the startTime property: The time the request started.

Parameters:

startTime - the startTime value to set.

Returns:

the RequestHistoryProperties object itself.

Applies to