private void Update(BsonDocument data) { Bridge.SendApiRequest(HttpMethod.Put, $"api/{Bridge.Username}/lights/{Number}", data); }
public Light(Bridge bridge, int number) { Bridge = bridge; Number = number; }
private void Update(BsonDocument data) { Bridge.SendApiRequest(HttpMethod.Put, $"api/{Bridge.Username}/lights/{Number}", data); }
public Light(Bridge bridge, int number) { Bridge = bridge; Number = number; }