Class GetDevicesReport

java.lang.Object
com.dropbox.core.v2.team.BaseDfbReport
com.dropbox.core.v2.team.GetDevicesReport

public class GetDevicesReport extends BaseDfbReport
Devices Report Result. Contains subsections for different time ranges of activity. Each of the items in each subsection of the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
  • Field Details

  • Constructor Details

    • GetDevicesReport

      public GetDevicesReport(@Nonnull String startDate, @Nonnull DevicesActive active1Day, @Nonnull DevicesActive active7Day, @Nonnull DevicesActive active28Day)
      Devices Report Result. Contains subsections for different time ranges of activity. Each of the items in each subsection of the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
      Parameters:
      startDate - First date present in the results as 'YYYY-MM-DD' or None. Must not be null.
      active1Day - Report of the number of devices active in the last day. Must not be null.
      active7Day - Report of the number of devices active in the last 7 days. Must not be null.
      active28Day - Report of the number of devices active in the last 28 days. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getStartDate

      @Nonnull public String getStartDate()
      First date present in the results as 'YYYY-MM-DD' or None.
      Overrides:
      getStartDate in class BaseDfbReport
      Returns:
      value for this field, never null.
    • getActive1Day

      @Nonnull public DevicesActive getActive1Day()
      Report of the number of devices active in the last day.
      Returns:
      value for this field, never null.
    • getActive7Day

      @Nonnull public DevicesActive getActive7Day()
      Report of the number of devices active in the last 7 days.
      Returns:
      value for this field, never null.
    • getActive28Day

      @Nonnull public DevicesActive getActive28Day()
      Report of the number of devices active in the last 28 days.
      Returns:
      value for this field, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseDfbReport
    • equals

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

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

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

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class BaseDfbReport
      Returns:
      Formatted, multiline String representation of this object