io.github.zeroone3010.yahueapi.v2.domain.Xy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yetanotherhueapi Show documentation
Show all versions of yetanotherhueapi Show documentation
A library for controlling Philips Hue lights.
The newest version!
package io.github.zeroone3010.yahueapi.v2.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Xy {
@JsonProperty("x")
private float x;
@JsonProperty("y")
private float y;
public float getX() {
return x;
}
public Xy setX(float x) {
this.x = x;
return this;
}
public float getY() {
return y;
}
public Xy setY(float y) {
this.y = y;
return this;
}
@Override
public String toString() {
return JsonStringUtil.toJsonString(this);
}
}