Class 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.
    • Constructor Detail

      • GetDevicesReport

        public GetDevicesReport​(@Nonnull
                                java.lang.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:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getStartDate

        @Nonnull
        public java.lang.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.
      • equals

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

        public java.lang.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