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 DevicesActive
active1Day
protected DevicesActive
active28Day
protected DevicesActive
active7Day
-
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 boolean
equals(java.lang.Object obj)
DevicesActive
getActive1Day()
Report of the number of devices active in the last day.DevicesActive
getActive28Day()
Report of the number of devices active in the last 28 days.DevicesActive
getActive7Day()
Report of the number of devices active in the last 7 days.java.lang.String
getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
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:
getStartDate
in 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:
hashCode
in classBaseDfbReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classBaseDfbReport
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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:
toStringMultiline
in classBaseDfbReport
- Returns:
- Formatted, multiline String representation of this object
-
-