2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.lametrictime.internal.api.local.dto;
18 * @author Gregory Moyer - Initial contribution
21 private String category;
23 private Integer repeat;
25 public String getCategory() {
29 public void setCategory(String category) {
30 this.category = category;
33 public Sound withCategory(String category) {
34 this.category = category;
38 public String getId() {
42 public void setId(String id) {
46 public Sound withId(String id) {
51 public Integer getRepeat() {
55 public void setRepeat(Integer repeat) {
59 public Sound withRepeat(Integer repeat) {
65 public String toString() {
66 StringBuilder builder = new StringBuilder();
67 builder.append("Sound [category=");
68 builder.append(category);
69 builder.append(", id=");
71 builder.append(", repeat=");
72 builder.append(repeat);
74 return builder.toString();