Class DevicesActive

java.lang.Object
com.dropbox.core.v2.team.DevicesActive

public class DevicesActive extends 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 Details

    • windows

      @Nonnull protected final List<Long> windows
    • macos

      @Nonnull protected final List<Long> macos
    • linux

      @Nonnull protected final List<Long> linux
    • ios

      @Nonnull protected final List<Long> ios
    • android

      @Nonnull protected final List<Long> android
    • other

      @Nonnull protected final List<Long> other
    • total

      @Nonnull protected final List<Long> total
  • Constructor Details

    • DevicesActive

      public DevicesActive(@Nonnull List<Long> windows, @Nonnull List<Long> macos, @Nonnull List<Long> linux, @Nonnull List<Long> ios, @Nonnull List<Long> android, @Nonnull List<Long> other, @Nonnull List<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:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getWindows

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

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

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

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

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

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

      @Nonnull public List<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 Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

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

      public 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