VirtualNetworkListResponse Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.models.VirtualNetworkListResponse

Implements

public final class VirtualNetworkListResponse
implements JsonSerializable<VirtualNetworkListResponse>

List of virtual networks.

Constructor Summary

Constructor Description
VirtualNetworkListResponse()

Creates an instance of VirtualNetworkListResponse class.

Method Summary

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

Reads an instance of VirtualNetworkListResponse from the JsonReader.

String nextLink()

Get the nextLink property: Link for next list of VirtualNetwork.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VirtualNetworkInner> value()

Get the value property: Results of the VirtualNetwork list.

VirtualNetworkListResponse withNextLink(String nextLink)

Set the nextLink property: Link for next list of VirtualNetwork.

VirtualNetworkListResponse withValue(List<VirtualNetworkInner> value)

Set the value property: Results of the VirtualNetwork list.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkListResponse

public VirtualNetworkListResponse()

Creates an instance of VirtualNetworkListResponse class.

Method Details

fromJson

public static VirtualNetworkListResponse fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkListResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link for next list of VirtualNetwork.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<VirtualNetworkInner> value()

Get the value property: Results of the VirtualNetwork list.

Returns:

the value value.

withNextLink

public VirtualNetworkListResponse withNextLink(String nextLink)

Set the nextLink property: Link for next list of VirtualNetwork.

Parameters:

nextLink - the nextLink value to set.

Returns:

the VirtualNetworkListResponse object itself.

withValue

public VirtualNetworkListResponse withValue(List<VirtualNetworkInner> value)

Set the value property: Results of the VirtualNetwork list.

Parameters:

value - the value value to set.

Returns:

the VirtualNetworkListResponse object itself.

Applies to