--- /dev/null
+/*
+ * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.netconf.test.tool.model;
+
+public class Node {
+ private String nodeId;
+ private String host;
+ private Integer port;
+ private String username;
+ private String password;
+ private Boolean tcpOnly;
+ private Integer keepaliveDelay;
+ private Boolean schemaless;
+
+ public Node() {
+
+ }
+
+ public Node(final String nodeId, final String host, final Integer port, final String username,
+ final String password, final Boolean tcpOnly, final Integer keepaliveDelay, final Boolean schemaless) {
+ this.nodeId = nodeId;
+ this.host = host;
+ this.port = port;
+ this.username = username;
+ this.password = password;
+ this.tcpOnly = tcpOnly;
+ this.keepaliveDelay = keepaliveDelay;
+ this.schemaless = schemaless;
+ }
+
+ public String getNodeId() {
+ return nodeId;
+ }
+
+ public void setNodeId(final String nodeId) {
+ this.nodeId = nodeId;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(final String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(final String password) {
+ this.password = password;
+ }
+
+ public String getHost() {
+ return host;
+ }
+
+ public void setHost(final String host) {
+ this.host = host;
+ }
+
+ public Integer getKeepaliveDelay() {
+ return keepaliveDelay;
+ }
+
+ public void setKeepaliveDelay(final Integer keepaliveDelay) {
+ this.keepaliveDelay = keepaliveDelay;
+ }
+
+ public Integer getPort() {
+ return port;
+ }
+
+ public void setPort(final Integer port) {
+ this.port = port;
+ }
+
+ public Boolean getSchemaless() {
+ return schemaless;
+ }
+
+ public void setSchemaless(final Boolean schemaless) {
+ this.schemaless = schemaless;
+ }
+
+ public Boolean getTcpOnly() {
+ return tcpOnly;
+ }
+
+ public void setTcpOnly(final Boolean tcpOnly) {
+ this.tcpOnly = tcpOnly;
+ }
+}
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.netconf.test.tool.model;
+
+public class Payload {
+ private Topology topology;
+
+ public Payload() {
+
+ }
+
+ public Payload(final Topology topology) {
+ this.topology = topology;
+ }
+
+ public Topology getTopology() {
+ return topology;
+ }
+
+ public void setTopology(Topology topology) {
+ this.topology = topology;
+ }
+}
--- /dev/null
+/*
+ * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.netconf.test.tool.model;
+
+import com.google.gson.annotations.SerializedName;
+import java.util.ArrayList;
+import java.util.List;
+
+public class Topology {
+ private String topologyId;
+
+ @SerializedName("node")
+ private List<Node> nodeList = new ArrayList<>();
+
+ public Topology() {
+
+ }
+
+ public Topology(final String topologyId) {
+ this.topologyId = topologyId;
+ }
+
+ public void addNode(final Node node) {
+ this.nodeList.add(node);
+ }
+
+ public String getTopologyId() {
+ return topologyId;
+ }
+
+ public void setTopologyId(String topologyId) {
+ this.topologyId = topologyId;
+ }
+
+ public List<Node> getNodeList() {
+ return nodeList;
+ }
+
+ public void setNodeList(List<Node> nodeList) {
+ this.nodeList = nodeList;
+ }
+}