RestorableTimeRange Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.RestorableTimeRange

Implements

public final class RestorableTimeRange
implements JsonSerializable<RestorableTimeRange>

The RestorableTimeRange model.

Method Summary

Modifier and Type Method and Description
String endTime()

Get the endTime property: End time for the available restore range.

static RestorableTimeRange fromJson(JsonReader jsonReader)

Reads an instance of RestorableTimeRange from the JsonReader.

String objectType()

Get the objectType property: The objectType property.

String startTime()

Get the startTime property: Start time for the available restore range.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

endTime

public String endTime()

Get the endTime property: End time for the available restore range.

Returns:

the endTime value.

fromJson

public static RestorableTimeRange fromJson(JsonReader jsonReader)

Reads an instance of RestorableTimeRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

objectType

public String objectType()

Get the objectType property: The objectType property.

Returns:

the objectType value.

startTime

public String startTime()

Get the startTime property: Start time for the available restore range.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to