public class DeviceMinutes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
metered
When specified, represents only the sum of metered minutes used by the
resource to run tests.
|
private java.lang.Double |
total
When specified, represents the total minutes used by the resource to run
tests.
|
private java.lang.Double |
unmetered
When specified, represents only the sum of unmetered minutes used by the
resource to run tests.
|
Constructor and Description |
---|
DeviceMinutes() |
Modifier and Type | Method and Description |
---|---|
DeviceMinutes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getMetered()
When specified, represents only the sum of metered minutes used by the
resource to run tests.
|
java.lang.Double |
getTotal()
When specified, represents the total minutes used by the resource to run
tests.
|
java.lang.Double |
getUnmetered()
When specified, represents only the sum of unmetered minutes used by the
resource to run tests.
|
int |
hashCode() |
void |
setMetered(java.lang.Double metered)
When specified, represents only the sum of metered minutes used by the
resource to run tests.
|
void |
setTotal(java.lang.Double total)
When specified, represents the total minutes used by the resource to run
tests.
|
void |
setUnmetered(java.lang.Double unmetered)
When specified, represents only the sum of unmetered minutes used by the
resource to run tests.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeviceMinutes |
withMetered(java.lang.Double metered)
When specified, represents only the sum of metered minutes used by the
resource to run tests.
|
DeviceMinutes |
withTotal(java.lang.Double total)
When specified, represents the total minutes used by the resource to run
tests.
|
DeviceMinutes |
withUnmetered(java.lang.Double unmetered)
When specified, represents only the sum of unmetered minutes used by the
resource to run tests.
|
private java.lang.Double total
When specified, represents the total minutes used by the resource to run tests.
private java.lang.Double metered
When specified, represents only the sum of metered minutes used by the resource to run tests.
private java.lang.Double unmetered
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
public void setTotal(java.lang.Double total)
When specified, represents the total minutes used by the resource to run tests.
total
- When specified, represents the total minutes used by the resource
to run tests.public java.lang.Double getTotal()
When specified, represents the total minutes used by the resource to run tests.
public DeviceMinutes withTotal(java.lang.Double total)
When specified, represents the total minutes used by the resource to run tests.
total
- When specified, represents the total minutes used by the resource
to run tests.public void setMetered(java.lang.Double metered)
When specified, represents only the sum of metered minutes used by the resource to run tests.
metered
- When specified, represents only the sum of metered minutes used by
the resource to run tests.public java.lang.Double getMetered()
When specified, represents only the sum of metered minutes used by the resource to run tests.
public DeviceMinutes withMetered(java.lang.Double metered)
When specified, represents only the sum of metered minutes used by the resource to run tests.
metered
- When specified, represents only the sum of metered minutes used by
the resource to run tests.public void setUnmetered(java.lang.Double unmetered)
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
unmetered
- When specified, represents only the sum of unmetered minutes used
by the resource to run tests.public java.lang.Double getUnmetered()
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
public DeviceMinutes withUnmetered(java.lang.Double unmetered)
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
unmetered
- When specified, represents only the sum of unmetered minutes used
by the resource to run tests.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeviceMinutes clone()
clone
in class java.lang.Object