Share via


DiskRestorePointList Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.DiskRestorePointList

Implements

public final class DiskRestorePointList
implements JsonSerializable<DiskRestorePointList>

The List Disk Restore Points operation response.

Constructor Summary

Constructor Description
DiskRestorePointList()

Creates an instance of DiskRestorePointList class.

Method Summary

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

Reads an instance of DiskRestorePointList from the JsonReader.

String nextLink()

Get the nextLink property: The link to the next page of items.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DiskRestorePointInner> value()

Get the value property: The DiskRestorePoint items on this page.

DiskRestorePointList withNextLink(String nextLink)

Set the nextLink property: The link to the next page of items.

DiskRestorePointList withValue(List<DiskRestorePointInner> value)

Set the value property: The DiskRestorePoint items on this page.

Methods inherited from java.lang.Object

Constructor Details

DiskRestorePointList

public DiskRestorePointList()

Creates an instance of DiskRestorePointList class.

Method Details

fromJson

public static DiskRestorePointList fromJson(JsonReader jsonReader)

Reads an instance of DiskRestorePointList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link to the next page of items.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DiskRestorePointInner> value()

Get the value property: The DiskRestorePoint items on this page.

Returns:

the value value.

withNextLink

public DiskRestorePointList withNextLink(String nextLink)

Set the nextLink property: The link to the next page of items.

Parameters:

nextLink - the nextLink value to set.

Returns:

the DiskRestorePointList object itself.

withValue

public DiskRestorePointList withValue(List<DiskRestorePointInner> value)

Set the value property: The DiskRestorePoint items on this page.

Parameters:

value - the value value to set.

Returns:

the DiskRestorePointList object itself.

Applies to