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.silvercrestwifisocket.internal.entities;
15 import org.openhab.binding.silvercrestwifisocket.internal.enums.SilvercrestWifiSocketRequestType;
16 import org.openhab.binding.silvercrestwifisocket.internal.enums.SilvercrestWifiSocketVendor;
19 * This POJO represents one Wifi Socket request.
21 * @author Jaime Vaz - Initial contribution
22 * @author Christian Heimerl - for integration of EasyHome
25 public class SilvercrestWifiSocketRequest {
27 private String macAddress;
28 private SilvercrestWifiSocketRequestType type;
29 private SilvercrestWifiSocketVendor vendor;
32 * Default constructor.
34 * @param macAddress the mac address
35 * @param type the {@link SilvercrestWifiSocketRequestType}
36 * @param vendor the {@link SilvercrestWifiSocketVendor}
38 public SilvercrestWifiSocketRequest(final String macAddress, final SilvercrestWifiSocketRequestType type,
39 final SilvercrestWifiSocketVendor vendor) {
40 this.macAddress = macAddress;
45 public String getMacAddress() {
46 return this.macAddress;
49 public void setMacAddress(final String macAddress) {
50 this.macAddress = macAddress;
53 public SilvercrestWifiSocketRequestType getType() {
57 public void setType(final SilvercrestWifiSocketRequestType type) {
61 public SilvercrestWifiSocketVendor getVendor() {
65 public void setVendor(SilvercrestWifiSocketVendor vendor) {