ConsoleList Class

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

Implements

public final class ConsoleList
implements JsonSerializable<ConsoleList>

ConsoleList represents a list of virtual machine consoles.

Constructor Summary

Constructor Description
ConsoleList()

Creates an instance of ConsoleList class.

Method Summary

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

Reads an instance of ConsoleList 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<ConsoleInner> value()

Get the value property: The list of virtual machine consoles.

ConsoleList withNextLink(String nextLink)

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

ConsoleList withValue(List<ConsoleInner> value)

Set the value property: The list of virtual machine consoles.

Methods inherited from java.lang.Object

Constructor Details

ConsoleList

public ConsoleList()

Creates an instance of ConsoleList class.

Method Details

fromJson

public static ConsoleList fromJson(JsonReader jsonReader)

Reads an instance of ConsoleList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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<ConsoleInner> value()

Get the value property: The list of virtual machine consoles.

Returns:

the value value.

withNextLink

public ConsoleList 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 ConsoleList object itself.

withValue

public ConsoleList withValue(List<ConsoleInner> value)

Set the value property: The list of virtual machine consoles.

Parameters:

value - the value value to set.

Returns:

the ConsoleList object itself.

Applies to