public class OnlineResponse
extends java.lang.Object
implements java.io.Serializable
The DataGate server online operation response.
Constructor and Description |
---|
OnlineResponse()
Instantiates a new
OnlineResponse . |
OnlineResponse(boolean online) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isOnline()
The boolean value indicating whether the server
is online or not.
|
void |
setOnline(boolean online)
The boolean value indicating whether the server
is online or not.
|
java.lang.String |
toString() |
public OnlineResponse()
Instantiates a new OnlineResponse
.
@ConstructorProperties(value="online") @Generated(value="lombok") public OnlineResponse(boolean online)
@Generated(value="lombok") public boolean isOnline()
The boolean value indicating whether the server is online or not.
true
if online; false
otherwise.@Generated(value="lombok") public void setOnline(boolean online)
The boolean value indicating whether the server is online or not.
online
- the boolean value@Generated(value="lombok") public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
@Generated(value="lombok") protected boolean canEqual(java.lang.Object other)
@Generated(value="lombok") public int hashCode()
hashCode
in class java.lang.Object
@Generated(value="lombok") public java.lang.String toString()
toString
in class java.lang.Object