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 DhcpStatusDTO {
20 private String status;
21 private Long leaseStartTime;
22 private Long leaseTime;
23 private String iPv4Address;
24 private String iPv4SubnetMask;
25 private String iPv4DefaultGateway;
26 private String iPv4PrimaryDNS;
27 private String iPv4SecondaryDNS;
29 public String getStatus() {
33 public Long getLeaseStartTime() {
34 return leaseStartTime;
37 public Long getLeaseTime() {
41 public String getIPv4Address() {
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;