AzureBackupFindRestorableTimeRangesResponse Class

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

Implements

public final class AzureBackupFindRestorableTimeRangesResponse
implements JsonSerializable<AzureBackupFindRestorableTimeRangesResponse>

List Restore Ranges Response.

Method Summary

Modifier and Type Method and Description
static AzureBackupFindRestorableTimeRangesResponse fromJson(JsonReader jsonReader)

Reads an instance of AzureBackupFindRestorableTimeRangesResponse from the JsonReader.

String objectType()

Get the objectType property: The objectType property.

List<RestorableTimeRange> restorableTimeRanges()

Get the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static AzureBackupFindRestorableTimeRangesResponse fromJson(JsonReader jsonReader)

Reads an instance of AzureBackupFindRestorableTimeRangesResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

objectType

public String objectType()

Get the objectType property: The objectType property.

Returns:

the objectType value.

restorableTimeRanges

public List<RestorableTimeRange> restorableTimeRanges()

Get the restorableTimeRanges property: Returns the Restore Ranges available on the Backup Instance.

Returns:

the restorableTimeRanges value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to