Package com.dropbox.core.v2.team
Class GetDevicesReport
java.lang.Object
com.dropbox.core.v2.team.BaseDfbReport
com.dropbox.core.v2.team.GetDevicesReport
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
FieldsModifier and TypeFieldDescriptionprotected final DevicesActiveprotected final DevicesActiveprotected final DevicesActiveFields inherited from class com.dropbox.core.v2.team.BaseDfbReport
startDate -
Constructor Summary
ConstructorsConstructorDescriptionGetDevicesReport(String startDate, DevicesActive active1Day, DevicesActive active7Day, DevicesActive active28Day) Devices Report Result. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReport of the number of devices active in the last day.Report of the number of devices active in the last 28 days.Report of the number of devices active in the last 7 days.First date present in the results as 'YYYY-MM-DD' or None.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
active1Day
-
active7Day
-
active28Day
-
-
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 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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getStartDate
First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
getStartDatein classBaseDfbReport- Returns:
- value for this field, never
null.
-
getActive1Day
Report of the number of devices active in the last day.- Returns:
- value for this field, never
null.
-
getActive7Day
Report of the number of devices active in the last 7 days.- Returns:
- value for this field, never
null.
-
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
- Overrides:
equalsin classBaseDfbReport
-
toString
- Overrides:
toStringin classBaseDfbReport
-
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
-