public class ControlPowerResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ControlPowerResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ControlPowerResult() |
ControlPowerResult(Attributes details,
java.lang.String duration,
java.lang.String result) |
Modifier and Type | Method and Description |
---|---|
ControlPowerResult.Builder |
asBuilder() |
static ControlPowerResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Attributes |
getDetails()
The detailed results from ControlPower.
|
java.lang.String |
getDuration()
The amount of time required to for ControlPower to complete in the format HH:MM:SS.ssssss
|
java.lang.String |
getResult()
Whether ControlPower passed or failed.
|
int |
hashCode() |
void |
setDetails(Attributes details) |
void |
setDuration(java.lang.String duration) |
void |
setResult(java.lang.String result) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ControlPowerResult(Attributes details, java.lang.String duration, java.lang.String result)
public Attributes getDetails()
public void setDetails(Attributes details)
public java.lang.String getDuration()
public void setDuration(java.lang.String duration)
public java.lang.String getResult()
public void setResult(java.lang.String result)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ControlPowerResult.Builder builder()
public final ControlPowerResult.Builder asBuilder()