public class GetDevicesReport extends BaseDfbReport
Modifier and Type | Field and Description |
---|---|
protected DevicesActive |
active1Day |
protected DevicesActive |
active28Day |
protected DevicesActive |
active7Day |
startDate
Constructor and Description |
---|
GetDevicesReport(String startDate,
DevicesActive active1Day,
DevicesActive active7Day,
DevicesActive active28Day)
Devices Report Result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
String |
getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final DevicesActive active1Day
protected final DevicesActive active7Day
protected final DevicesActive active28Day
public GetDevicesReport(String startDate, DevicesActive active1Day, DevicesActive active7Day, DevicesActive active28Day)
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
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getStartDate()
getStartDate
in class BaseDfbReport
null
.public DevicesActive getActive1Day()
null
.public DevicesActive getActive7Day()
null
.public DevicesActive getActive28Day()
null
.public int hashCode()
hashCode
in class BaseDfbReport
public boolean equals(Object obj)
equals
in class BaseDfbReport
public String toString()
toString
in class BaseDfbReport
public String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class BaseDfbReport