public class RoofStatus extends RPCStruct
Parameter List
| Param Name | Type | Description | Required | Notes | Version Available |
|---|---|---|---|---|---|
| location | Grid | Y | |||
| status | DoorStatusType | Y | |||
| state | WindowState | N |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_LOCATION |
static String |
KEY_STATE |
static String |
KEY_STATUS |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
RoofStatus()
Constructs a new RoofStatus object
|
RoofStatus(Grid location,
DoorStatusType status)
Constructs a new RoofStatus object
|
RoofStatus(Hashtable<String,Object> hash)
Constructs a new RoofStatus object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Grid |
getLocation()
Gets the location.
|
WindowState |
getState()
Gets the state.
|
DoorStatusType |
getStatus()
Gets the status.
|
RoofStatus |
setLocation(Grid location)
Sets the location.
|
RoofStatus |
setState(WindowState state)
Sets the state.
|
RoofStatus |
setStatus(DoorStatusType status)
Sets the status.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_LOCATION
public static final String KEY_STATUS
public static final String KEY_STATE
public RoofStatus()
public RoofStatus(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic RoofStatus(@NonNull
Grid location,
@NonNull
DoorStatusType status)
location - status - public RoofStatus setLocation(@NonNull Grid location)
location - public Grid getLocation()
public RoofStatus setStatus(@NonNull DoorStatusType status)
status - public DoorStatusType getStatus()
public RoofStatus setState(WindowState state)
state - public WindowState getState()