]> git.basschouten.com Git - openhab-addons.git/blob
b1bc0b29ba94b681796b25cea03e69579871c12e
[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.squeezebox.internal.handler;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * Represents a Squeeze Player
20  *
21  * @author Dan Cunningham - Initial contribution
22  *
23  */
24 @NonNullByDefault
25 public class SqueezeBoxPlayer {
26     public final String macAddress;
27     @Nullable
28     public final String name;
29     @Nullable
30     public final String ipAddr;
31     @Nullable
32     public final String model;
33     @Nullable
34     public final String uuid;
35
36     public SqueezeBoxPlayer(String mac, @Nullable String name, @Nullable String ip, @Nullable String model,
37             @Nullable String uuid) {
38         this.macAddress = mac;
39         this.name = name;
40         this.ipAddr = ip;
41         this.model = model;
42         this.uuid = uuid;
43     }
44 }