]> git.basschouten.com Git - openhab-addons.git/blob
5e07198d5f3d5ce1dcf15a8a5baa8cc64db6a2c7
[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.hyperion.internal.protocol.ng;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link Session} is a POJO for session information in the Hyperion.ng server.
19  *
20  * @author Daniel Walters - Initial contribution
21  */
22 public class Session {
23
24     @SerializedName("address")
25     private String address;
26
27     @SerializedName("domain")
28     private String domain;
29
30     @SerializedName("host")
31     private String host;
32
33     @SerializedName("name")
34     private String name;
35
36     @SerializedName("port")
37     private Integer port;
38
39     @SerializedName("type")
40     private String type;
41
42     public String getAddress() {
43         return address;
44     }
45
46     public void setAddress(String address) {
47         this.address = address;
48     }
49
50     public String getDomain() {
51         return domain;
52     }
53
54     public void setDomain(String domain) {
55         this.domain = domain;
56     }
57
58     public String getHost() {
59         return host;
60     }
61
62     public void setHost(String host) {
63         this.host = host;
64     }
65
66     public String getName() {
67         return name;
68     }
69
70     public void setName(String name) {
71         this.name = name;
72     }
73
74     public Integer getPort() {
75         return port;
76     }
77
78     public void setPort(Integer port) {
79         this.port = port;
80     }
81
82     public String getType() {
83         return type;
84     }
85
86     public void setType(String type) {
87         this.type = type;
88     }
89 }