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.draytonwiser.internal.model;
16 * @author Andrew Schofield - Initial contribution
18 public class NetworkInterfaceDTO {
20 private String interfaceName;
21 private String hostName;
22 private String dhcpMode;
23 private String iPv4HostAddress;
24 private String iPv4SubnetMask;
25 private String iPv4DefaultGateway;
26 private String iPv4PrimaryDNS;
27 private String iPv4SecondaryDNS;
29 public String getInterfaceName() {
33 public String getHostName() {
37 public String getDhcpMode() {
41 public String getIPv4HostAddress() {
42 return iPv4HostAddress;
45 public String getIPv4SubnetMask() {
46 return iPv4SubnetMask;
49 public String getIPv4DefaultGateway() {
50 return iPv4DefaultGateway;
53 public String getIPv4PrimaryDNS() {
54 return iPv4PrimaryDNS;
57 public String getIPv4SecondaryDNS() {
58 return iPv4SecondaryDNS;