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.hue.internal.discovery;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link BridgeJsonParameters} class defines JSON object, which
19 * contains bridge attributes like IP address. It is used for bridge
22 * @author Awelkiyar Wehabrebi - Initial contribution and API
23 * @author Christoph Knauf - Refactorings
25 public class BridgeJsonParameters {
28 @SerializedName("internalipaddress")
29 private String internalIpAddress;
30 @SerializedName("macaddress")
31 private String macAddress;
34 private BridgeJsonParameters() {
35 // This no arguments constructor is required for Gson deserialization
38 public BridgeJsonParameters(String id, String internalIpAddress, String macAdress, String name) {
40 this.internalIpAddress = internalIpAddress;
41 this.macAddress = macAdress;
45 public String getInternalIpAddress() {
46 return internalIpAddress;
49 public String getId() {
53 public String getMacAddress() {
57 public String getName() {