BgpPeerStatusListResultInner Class

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

Implements

public final class BgpPeerStatusListResultInner
implements JsonSerializable<BgpPeerStatusListResultInner>

Response for list BGP peer status API service call.

Constructor Summary

Constructor Description
BgpPeerStatusListResultInner()

Creates an instance of BgpPeerStatusListResultInner class.

Method Summary

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

Reads an instance of BgpPeerStatusListResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<BgpPeerStatus> value()

Get the value property: List of BGP peers.

BgpPeerStatusListResultInner withValue(List<BgpPeerStatus> value)

Set the value property: List of BGP peers.

Methods inherited from java.lang.Object

Constructor Details

BgpPeerStatusListResultInner

public BgpPeerStatusListResultInner()

Creates an instance of BgpPeerStatusListResultInner class.

Method Details

fromJson

public static BgpPeerStatusListResultInner fromJson(JsonReader jsonReader)

Reads an instance of BgpPeerStatusListResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 BGP peers.

Returns:

the value value.

withValue

public BgpPeerStatusListResultInner withValue(List value)

Set the value property: List of BGP peers.

Parameters:

value - the value value to set.

Returns:

the BgpPeerStatusListResultInner object itself.

Applies to