RackList Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.RackList

Implements

public final class RackList
implements JsonSerializable<RackList>

RackList represents a list of racks.

Constructor Summary

Constructor Description
RackList()

Creates an instance of RackList class.

Method Summary

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

Reads an instance of RackList from the JsonReader.

String nextLink()

Get the nextLink property: The link used to get the next page of operations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<RackInner> value()

Get the value property: The list of racks.

RackList withNextLink(String nextLink)

Set the nextLink property: The link used to get the next page of operations.

RackList withValue(List<RackInner> value)

Set the value property: The list of racks.

Methods inherited from java.lang.Object

Constructor Details

RackList

public RackList()

Creates an instance of RackList class.

Method Details

fromJson

public static RackList fromJson(JsonReader jsonReader)

Reads an instance of RackList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The link used to get the next page of operations.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<RackInner> value()

Get the value property: The list of racks.

Returns:

the value value.

withNextLink

public RackList withNextLink(String nextLink)

Set the nextLink property: The link used to get the next page of operations.

Parameters:

nextLink - the nextLink value to set.

Returns:

the RackList object itself.

withValue

public RackList withValue(List<RackInner> value)

Set the value property: The list of racks.

Parameters:

value - the value value to set.

Returns:

the RackList object itself.

Applies to