]> git.basschouten.com Git - openhab-addons.git/blob
c3996211fe1cdebf1db26f7b7ddcd30b23e5847e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.squeezebox.internal.handler;
14
15 /**
16  * Represents a Squeeze Player
17  *
18  * @author Dan Cunningham - Initial contribution
19  *
20  */
21 public class SqueezeBoxPlayer {
22     public String macAddress;
23     public String name;
24     public String ipAddr;
25     public String model;
26     public String uuid;
27
28     public SqueezeBoxPlayer() {
29         super();
30     }
31
32     /**
33      * UID of player
34      *
35      * @return
36      */
37     public String getUuid() {
38         return uuid;
39     }
40
41     /**
42      * UID of player
43      *
44      * @param uuid
45      */
46     public void setUuid(String uuid) {
47         this.uuid = uuid;
48     }
49
50     /**
51      * Mac Address of player
52      *
53      * @param macAddress
54      */
55     public String getMacAddress() {
56         return macAddress;
57     }
58
59     /**
60      * Mac Address of player
61      *
62      * @param macAddress
63      */
64     public void setMacAddress(String macAddress) {
65         this.macAddress = macAddress;
66     }
67
68     /**
69      * The name (label) of a player
70      *
71      * @return
72      */
73     public String getName() {
74         return name;
75     }
76
77     /**
78      * The name (label) of a player
79      *
80      * @param name
81      */
82     public void setName(String name) {
83         this.name = name;
84     }
85
86     /**
87      * The ip address of a player
88      *
89      * @return
90      */
91     public String getIpAddr() {
92         return ipAddr;
93     }
94
95     /**
96      * The ip address of a player
97      *
98      * @param ipAddr
99      */
100     public void setIpAddr(String ipAddr) {
101         this.ipAddr = ipAddr;
102     }
103
104     /**
105      * The type of player
106      *
107      * @return
108      */
109     public String getModel() {
110         return model;
111     }
112
113     /**
114      * The type of player
115      *
116      * @param model
117      */
118     public void setModel(String model) {
119         this.model = model;
120     }
121 }