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.hyperion.internal.protocol.ng;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link Session} is a POJO for session information in the Hyperion.ng server.
20 * @author Daniel Walters - Initial contribution
22 public class Session {
24 @SerializedName("address")
25 private String address;
27 @SerializedName("domain")
28 private String domain;
30 @SerializedName("host")
33 @SerializedName("name")
36 @SerializedName("port")
39 @SerializedName("type")
42 public String getAddress() {
46 public void setAddress(String address) {
47 this.address = address;
50 public String getDomain() {
54 public void setDomain(String domain) {
58 public String getHost() {
62 public void setHost(String host) {
66 public String getName() {
70 public void setName(String name) {
74 public Integer getPort() {
78 public void setPort(Integer port) {
82 public String getType() {
86 public void setType(String type) {