Class ContainerNetworkInterfaceStatistics
java.lang.Object
com.azure.resourcemanager.appservice.models.ContainerNetworkInterfaceStatistics
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerNetworkInterfaceStatistics>
public final class ContainerNetworkInterfaceStatistics
extends Object
implements com.azure.json.JsonSerializable<ContainerNetworkInterfaceStatistics>
The ContainerNetworkInterfaceStatistics model.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.rxBytes()Get the rxBytes property: The rxBytes property.Get the rxDropped property: The rxDropped property.rxErrors()Get the rxErrors property: The rxErrors property.Get the rxPackets property: The rxPackets property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) txBytes()Get the txBytes property: The txBytes property.Get the txDropped property: The txDropped property.txErrors()Get the txErrors property: The txErrors property.Get the txPackets property: The txPackets property.voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
rxBytes
-
rxPackets
Get the rxPackets property: The rxPackets property.- Returns:
- the rxPackets value.
-
rxErrors
Get the rxErrors property: The rxErrors property.- Returns:
- the rxErrors value.
-
rxDropped
Get the rxDropped property: The rxDropped property.- Returns:
- the rxDropped value.
-
txBytes
-
txPackets
Get the txPackets property: The txPackets property.- Returns:
- the txPackets value.
-
txErrors
Get the txErrors property: The txErrors property.- Returns:
- the txErrors value.
-
txDropped
Get the txDropped property: The txDropped property.- Returns:
- the txDropped value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ContainerNetworkInterfaceStatistics>- Throws:
IOException
-
fromJson
public static ContainerNetworkInterfaceStatistics fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContainerNetworkInterfaceStatistics 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 ContainerNetworkInterfaceStatistics.
-