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 Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.
    Get the rxBytes property: The rxBytes property.
    Get the rxDropped property: The rxDropped property.
    Get the rxErrors property: The rxErrors property.
    Get the rxPackets property: The rxPackets property.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the txBytes property: The txBytes property.
    Get the txDropped property: The txDropped property.
    Get the txErrors property: The txErrors property.
    Get the txPackets property: The txPackets property.
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • rxBytes

      public Long rxBytes()
      Get the rxBytes property: The rxBytes property.
      Returns:
      the rxBytes value.
    • rxPackets

      public Long rxPackets()
      Get the rxPackets property: The rxPackets property.
      Returns:
      the rxPackets value.
    • rxErrors

      public Long rxErrors()
      Get the rxErrors property: The rxErrors property.
      Returns:
      the rxErrors value.
    • rxDropped

      public Long rxDropped()
      Get the rxDropped property: The rxDropped property.
      Returns:
      the rxDropped value.
    • txBytes

      public Long txBytes()
      Get the txBytes property: The txBytes property.
      Returns:
      the txBytes value.
    • txPackets

      public Long txPackets()
      Get the txPackets property: The txPackets property.
      Returns:
      the txPackets value.
    • txErrors

      public Long txErrors()
      Get the txErrors property: The txErrors property.
      Returns:
      the txErrors value.
    • txDropped

      public Long 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.