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 Summary
Fields Modifier and Type Field Description protected DevicesActiveactive1Dayprotected DevicesActiveactive28Dayprotected DevicesActiveactive7Day-
Fields inherited from class com.dropbox.core.v2.team.BaseDfbReport
startDate
-
-
Constructor Summary
Constructors Constructor Description GetDevicesReport(java.lang.String startDate, DevicesActive active1Day, DevicesActive active7Day, DevicesActive active28Day)Devices Report Result.
-
Method Summary
All 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
-
active1Day
protected final DevicesActive active1Day
-
active7Day
protected final DevicesActive active7Day
-
active28Day
protected final DevicesActive active28Day
-
-
Constructor Detail
-
GetDevicesReport
public 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 benull.active1Day- Report of the number of devices active in the last day. Must not benull.active7Day- Report of the number of devices active in the last 7 days. Must not benull.active28Day- Report of the number of devices active in the last 28 days. Must not benull.- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getStartDate
public java.lang.String getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
getStartDatein classBaseDfbReport- Returns:
- value for this field, never
null.
-
getActive1Day
public DevicesActive getActive1Day()
Report of the number of devices active in the last day.- Returns:
- value for this field, never
null.
-
getActive7Day
public DevicesActive getActive7Day()
Report of the number of devices active in the last 7 days.- Returns:
- value for this field, never
null.
-
getActive28Day
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:
hashCodein classBaseDfbReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classBaseDfbReport
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBaseDfbReport
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultilinein classBaseDfbReport- Returns:
- Formatted, multiline String representation of this object
-
-