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(java.lang.String startDate,
DevicesActive active1Day,
DevicesActive active7Day,
DevicesActive active28Day)
Devices Report Result.
|
Modifier and Type | Method and 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.
|
protected final DevicesActive active1Day
protected final DevicesActive active7Day
protected final DevicesActive active28Day
public GetDevicesReport(java.lang.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
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.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(java.lang.Object obj)
equals
in class BaseDfbReport
public java.lang.String toString()
toString
in class BaseDfbReport
public java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class BaseDfbReport