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

io.github.zeroone3010.yahueapi.v2.SwitchImpl Maven / Gradle / Ivy

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

import java.util.Map;
import java.util.Optional;
import java.util.UUID;

public class SwitchImpl implements Switch {
  private final UUID id;
  private final Map buttons;
  private final String name;

  public SwitchImpl(final UUID id, final Map buttons, final String name) {
    this.id = id;
    this.buttons = buttons;
    this.name = name;
  }

  @Override
  public UUID getId() {
    return id;
  }

  @Override
  public Map getButtons() {
    return buttons;
  }

  @Override
  public String getName() {
    return name;
  }

  @Override
  public Optional




© 2015 - 2024 Weber Informatics LLC | Privacy Policy