Aracılığıyla paylaş


NetworkAdapterPosition Class

  • java.lang.Object
    • com.azure.resourcemanager.databoxedge.models.NetworkAdapterPosition

Implements

public final class NetworkAdapterPosition
implements JsonSerializable<NetworkAdapterPosition>

The network adapter position.

Constructor Summary

Constructor Description
NetworkAdapterPosition()

Creates an instance of NetworkAdapterPosition class.

Method Summary

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

Reads an instance of NetworkAdapterPosition from the JsonReader.

NetworkGroup networkGroup()

Get the networkGroup property: The network group.

Integer port()

Get the port property: The port.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

NetworkAdapterPosition

public NetworkAdapterPosition()

Creates an instance of NetworkAdapterPosition class.

Method Details

fromJson

public static NetworkAdapterPosition fromJson(JsonReader jsonReader)

Reads an instance of NetworkAdapterPosition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

networkGroup

public NetworkGroup networkGroup()

Get the networkGroup property: The network group.

Returns:

the networkGroup value.

port

public Integer port()

Get the port property: The port.

Returns:

the port value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to