All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.zeroone3010.yahueapi.domain.PortalState Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc
Show newest version
package io.github.zeroone3010.yahueapi.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

public class PortalState {
  @JsonProperty("signedon")
  private boolean signedOn;
  @JsonProperty("incoming")
  private boolean incoming;
  @JsonProperty("outgoing")
  private boolean outgoing;
  @JsonProperty("communication")
  private String communication;

  public boolean isSignedOn() {
    return signedOn;
  }

  public boolean isIncoming() {
    return incoming;
  }

  public boolean isOutgoing() {
    return outgoing;
  }

  public String getCommunication() {
    return communication;
  }

  @Override
  public String toString() {
    return JsonStringUtil.toJsonString(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy