GatewayRouteListResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.GatewayRouteListResultInner

Implements

public final class GatewayRouteListResultInner
implements JsonSerializable<GatewayRouteListResultInner>

List of virtual network gateway routes.

Constructor Summary

Constructor Description
GatewayRouteListResultInner()

Creates an instance of GatewayRouteListResultInner class.

Method Summary

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

Reads an instance of GatewayRouteListResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<GatewayRoute> value()

Get the value property: List of gateway routes.

GatewayRouteListResultInner withValue(List<GatewayRoute> value)

Set the value property: List of gateway routes.

Methods inherited from java.lang.Object

Constructor Details

GatewayRouteListResultInner

public GatewayRouteListResultInner()

Creates an instance of GatewayRouteListResultInner class.

Method Details

fromJson

public static GatewayRouteListResultInner fromJson(JsonReader jsonReader)

Reads an instance of GatewayRouteListResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: List of gateway routes.

Returns:

the value value.

withValue

public GatewayRouteListResultInner withValue(List value)

Set the value property: List of gateway routes.

Parameters:

value - the value value to set.

Returns:

the GatewayRouteListResultInner object itself.

Applies to