Add GSON models for device registration
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / model / Node.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netconf.test.tool.model;
9
10 public class Node {
11     private String nodeId;
12     private String host;
13     private Integer port;
14     private String username;
15     private String password;
16     private Boolean tcpOnly;
17     private Integer keepaliveDelay;
18     private Boolean schemaless;
19
20     public Node() {
21
22     }
23
24     public Node(final String nodeId, final String host, final Integer port, final String username,
25                 final String password, final Boolean tcpOnly, final Integer keepaliveDelay, final Boolean schemaless) {
26         this.nodeId = nodeId;
27         this.host = host;
28         this.port = port;
29         this.username = username;
30         this.password = password;
31         this.tcpOnly = tcpOnly;
32         this.keepaliveDelay = keepaliveDelay;
33         this.schemaless = schemaless;
34     }
35
36     public String getNodeId() {
37         return nodeId;
38     }
39
40     public void setNodeId(final String nodeId) {
41         this.nodeId = nodeId;
42     }
43
44     public String getUsername() {
45         return username;
46     }
47
48     public void setUsername(final String username) {
49         this.username = username;
50     }
51
52     public String getPassword() {
53         return password;
54     }
55
56     public void setPassword(final String password) {
57         this.password = password;
58     }
59
60     public String getHost() {
61         return host;
62     }
63
64     public void setHost(final String host) {
65         this.host = host;
66     }
67
68     public Integer getKeepaliveDelay() {
69         return keepaliveDelay;
70     }
71
72     public void setKeepaliveDelay(final Integer keepaliveDelay) {
73         this.keepaliveDelay = keepaliveDelay;
74     }
75
76     public Integer getPort() {
77         return port;
78     }
79
80     public void setPort(final Integer port) {
81         this.port = port;
82     }
83
84     public Boolean getSchemaless() {
85         return schemaless;
86     }
87
88     public void setSchemaless(final Boolean schemaless) {
89         this.schemaless = schemaless;
90     }
91
92     public Boolean getTcpOnly() {
93         return tcpOnly;
94     }
95
96     public void setTcpOnly(final Boolean tcpOnly) {
97         this.tcpOnly = tcpOnly;
98     }
99 }