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.yamahamusiccast.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * This class represents the actual_volume object of the Status request requested from API or the UDP event from the
19 * Yamaha model/device.
21 * @author Florian Hotze - Initial contribution
23 public class ActualVolume {
25 @SerializedName("mode")
28 @SerializedName("value")
31 @SerializedName("unit")
34 public String getMode() {
42 * Volume in decibels (dB).
44 * @return volume in decibels (dB)
46 public float getValue() {
50 public String getUnit() {