Class LimitData


  • public class LimitData
    extends Toxic
    • Field Detail

      • bytes

        private long bytes
    • Constructor Detail

      • LimitData

        public LimitData​(HttpClient httpClient,
                         java.lang.String toxicListPath,
                         java.lang.String name,
                         ToxicDirection stream,
                         long bytes)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • LimitData

        public LimitData​(HttpClient httpClient,
                         java.lang.String path,
                         com.google.gson.JsonObject json)
    • Method Detail

      • setAttributes

        protected void setAttributes​(com.google.gson.JsonObject attributes)
        Specified by:
        setAttributes in class Toxic
      • getAttributes

        protected com.google.gson.JsonObject getAttributes()
        Specified by:
        getAttributes in class Toxic
      • getBytes

        public long getBytes()
      • setBytes

        public LimitData setBytes​(long bytes)
                           throws java.io.IOException
        Throws:
        java.io.IOException