public class RoomApi extends Object
Constructor and Description |
---|
RoomApi() |
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdate(Room room) |
void |
createOrUpdate(Room room,
List<Integer> sensorIds) |
void |
delete(List<Integer> ids) |
Room |
get(Integer id) |
QueryResponse |
getAll(HashMap<String,Object> filters) |
Room |
getRoom(String... roomsName) |
public QueryResponse getAll(HashMap<String,Object> filters)
public void createOrUpdate(Room room) throws McDuplicateException, McBadRequestException
public void createOrUpdate(Room room, List<Integer> sensorIds) throws McDuplicateException, McBadRequestException
Copyright © 2015–2019. All rights reserved.