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

io.github.zeroone3010.yahueapi.v2.domain.RoomResource Maven / Gradle / Ivy

The newest version!
package io.github.zeroone3010.yahueapi.v2.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;

import java.util.List;

@JsonTypeName("room")
public class RoomResource extends Resource implements GroupResource {

  @JsonProperty("services")
  private List services;

  @JsonProperty("metadata")
  private Metadata metadata;

  @JsonProperty("children")
  private List children;

  @Override
  public List getServices() {
    return services;
  }

  @Override
  public Metadata getMetadata() {
    return metadata;
  }

  @Override
  public List getChildren() {
    return children;
  }

  public void setChildren(final List children) {
    this.children = children;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy