]> git.basschouten.com Git - openhab-addons.git/blob
e7decaa9b2f556523ff5f05a3673b967a3525736
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.yamahamusiccast.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * This class represents the Features request requested from the Yamaha model/device via the API.
19  *
20  * @author Lennert Coopman - Initial contribution
21  */
22
23 public class Features {
24
25     @SerializedName("response_code")
26     private String responseCode;
27
28     public String getResponseCode() {
29         if (responseCode == null) {
30             responseCode = "";
31         }
32         return responseCode;
33     }
34
35     @SerializedName("system")
36     private System system;
37
38     public System getSystem() {
39         return system;
40     }
41
42     public class System {
43         @SerializedName("zone_num")
44         private int zoneNum = 0;
45
46         public int getZoneNum() {
47             return zoneNum;
48         }
49     }
50 }