Package com.dropbox.core.v2.team
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 SummaryFields Modifier and Type Field Description protected DevicesActiveactive1Dayprotected DevicesActiveactive28Dayprotected DevicesActiveactive7Day- 
Fields inherited from class com.dropbox.core.v2.team.BaseDfbReportstartDate
 
- 
 - 
Constructor SummaryConstructors Constructor Description GetDevicesReport(java.lang.String startDate, DevicesActive active1Day, DevicesActive active7Day, DevicesActive active28Day)Devices Report Result.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)DevicesActivegetActive1Day()Report of the number of devices active in the last day.DevicesActivegetActive28Day()Report of the number of devices active in the last 28 days.DevicesActivegetActive7Day()Report of the number of devices active in the last 7 days.java.lang.StringgetStartDate()First date present in the results as 'YYYY-MM-DD' or None.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
active1Dayprotected final DevicesActive active1Day 
 - 
active7Dayprotected final DevicesActive active7Day 
 - 
active28Dayprotected final DevicesActive active28Day 
 
- 
 - 
Constructor Detail- 
GetDevicesReportpublic GetDevicesReport(java.lang.String startDate, DevicesActive active1Day, DevicesActive active7Day, 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- 
getStartDatepublic java.lang.String getStartDate() First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
- getStartDatein class- BaseDfbReport
- Returns:
- value for this field, never null.
 
 - 
getActive1Daypublic DevicesActive getActive1Day() Report of the number of devices active in the last day.- Returns:
- value for this field, never null.
 
 - 
getActive7Daypublic DevicesActive getActive7Day() Report of the number of devices active in the last 7 days.- Returns:
- value for this field, never null.
 
 - 
getActive28Daypublic DevicesActive getActive28Day() Report of the number of devices active in the last 28 days.- Returns:
- value for this field, never null.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- BaseDfbReport
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- BaseDfbReport
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- BaseDfbReport
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- BaseDfbReport
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-