]> git.basschouten.com Git - openhab-addons.git/blob
9e324b9038f80c0656c5bc17845f1cb24e85e0ef
[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.draytonwiser.internal.model;
14
15 /**
16  * @author Andrew Schofield - Initial contribution
17  */
18 public class NetworkInterfaceDTO {
19
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;
28
29     public String getInterfaceName() {
30         return interfaceName;
31     }
32
33     public String getHostName() {
34         return hostName;
35     }
36
37     public String getDhcpMode() {
38         return dhcpMode;
39     }
40
41     public String getIPv4HostAddress() {
42         return iPv4HostAddress;
43     }
44
45     public String getIPv4SubnetMask() {
46         return iPv4SubnetMask;
47     }
48
49     public String getIPv4DefaultGateway() {
50         return iPv4DefaultGateway;
51     }
52
53     public String getIPv4PrimaryDNS() {
54         return iPv4PrimaryDNS;
55     }
56
57     public String getIPv4SecondaryDNS() {
58         return iPv4SecondaryDNS;
59     }
60 }