Class DevicesActive


  • public class DevicesActive
    extends java.lang.Object
    Each of the items is an array of values, one value per day. The value is the number of devices active within a time window, ending with that day. If there is no data for a day, then the value will be None.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.Long> android  
      protected java.util.List<java.lang.Long> ios  
      protected java.util.List<java.lang.Long> linux  
      protected java.util.List<java.lang.Long> macos  
      protected java.util.List<java.lang.Long> other  
      protected java.util.List<java.lang.Long> total  
      protected java.util.List<java.lang.Long> windows  
    • Constructor Summary

      Constructors 
      Constructor Description
      DevicesActive​(java.util.List<java.lang.Long> windows, java.util.List<java.lang.Long> macos, java.util.List<java.lang.Long> linux, java.util.List<java.lang.Long> ios, java.util.List<java.lang.Long> android, java.util.List<java.lang.Long> other, java.util.List<java.lang.Long> total)
      Each of the items is an array of values, one value per day.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.util.List<java.lang.Long> getAndroid()
      Array of number of linked android devices with activity.
      java.util.List<java.lang.Long> getIos()
      Array of number of linked ios devices with activity.
      java.util.List<java.lang.Long> getLinux()
      Array of number of linked linus (desktop) clients with activity.
      java.util.List<java.lang.Long> getMacos()
      Array of number of linked mac (desktop) clients with activity.
      java.util.List<java.lang.Long> getOther()
      Array of number of other linked devices (blackberry, windows phone, etc) with activity.
      java.util.List<java.lang.Long> getTotal()
      Array of total number of linked clients with activity.
      java.util.List<java.lang.Long> getWindows()
      Array of number of linked windows (desktop) clients with activity.
      int hashCode()  
      java.lang.String toString()  
      java.lang.String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • windows

        protected final java.util.List<java.lang.Long> windows
      • macos

        protected final java.util.List<java.lang.Long> macos
      • linux

        protected final java.util.List<java.lang.Long> linux
      • ios

        protected final java.util.List<java.lang.Long> ios
      • android

        protected final java.util.List<java.lang.Long> android
      • other

        protected final java.util.List<java.lang.Long> other
      • total

        protected final java.util.List<java.lang.Long> total
    • Constructor Detail

      • DevicesActive

        public DevicesActive​(java.util.List<java.lang.Long> windows,
                             java.util.List<java.lang.Long> macos,
                             java.util.List<java.lang.Long> linux,
                             java.util.List<java.lang.Long> ios,
                             java.util.List<java.lang.Long> android,
                             java.util.List<java.lang.Long> other,
                             java.util.List<java.lang.Long> total)
        Each of the items is an array of values, one value per day. The value is the number of devices active within a time window, ending with that day. If there is no data for a day, then the value will be None.
        Parameters:
        windows - Array of number of linked windows (desktop) clients with activity. Must not contain a null item and not be null.
        macos - Array of number of linked mac (desktop) clients with activity. Must not contain a null item and not be null.
        linux - Array of number of linked linus (desktop) clients with activity. Must not contain a null item and not be null.
        ios - Array of number of linked ios devices with activity. Must not contain a null item and not be null.
        android - Array of number of linked android devices with activity. Must not contain a null item and not be null.
        other - Array of number of other linked devices (blackberry, windows phone, etc) with activity. Must not contain a null item and not be null.
        total - Array of total number of linked clients with activity. Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getWindows

        public java.util.List<java.lang.Long> getWindows()
        Array of number of linked windows (desktop) clients with activity.
        Returns:
        value for this field, never null.
      • getMacos

        public java.util.List<java.lang.Long> getMacos()
        Array of number of linked mac (desktop) clients with activity.
        Returns:
        value for this field, never null.
      • getLinux

        public java.util.List<java.lang.Long> getLinux()
        Array of number of linked linus (desktop) clients with activity.
        Returns:
        value for this field, never null.
      • getIos

        public java.util.List<java.lang.Long> getIos()
        Array of number of linked ios devices with activity.
        Returns:
        value for this field, never null.
      • getAndroid

        public java.util.List<java.lang.Long> getAndroid()
        Array of number of linked android devices with activity.
        Returns:
        value for this field, never null.
      • getOther

        public java.util.List<java.lang.Long> getOther()
        Array of number of other linked devices (blackberry, windows phone, etc) with activity.
        Returns:
        value for this field, never null.
      • getTotal

        public java.util.List<java.lang.Long> getTotal()
        Array of total number of linked clients with activity.
        Returns:
        value for this field, never null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringMultiline

        public java.lang.String toStringMultiline()
        Returns a String representation of this object formatted for easier readability.

        The returned String may contain newlines.

        Returns:
        Formatted, multiline String representation of this object