All Implemented Interfaces:

public class DiskUsage
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DiskUsage of​(java.util.function.Function<DiskUsage.Builder,​ObjectBuilder<DiskUsage>> fn)
    • path

      public final java.lang.String path()
      Required - API name: path
    • totalBytes

      public final long totalBytes()
      Required - API name: total_bytes
    • usedBytes

      public final long usedBytes()
      Required - API name: used_bytes
    • freeBytes

      public final long freeBytes()
      Required - API name: free_bytes
    • freeDiskPercent

      public final double freeDiskPercent()
      Required - API name: free_disk_percent
    • usedDiskPercent

      public final double usedDiskPercent()
      Required - API name: used_disk_percent
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupDiskUsageDeserializer

      protected static void setupDiskUsageDeserializer​(ObjectDeserializer<DiskUsage.Builder> op)