Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / ves-agent / src / main / java / org / commscope / tr069adapter / vesagent / model / PnfRegEventAdditionalFeilds.java
1 /*
2  * ============LICENSE_START========================================================================
3  * ONAP : tr-069-adapter
4  * =================================================================================================
5  * Copyright (C) 2020 CommScope Inc Intellectual Property.
6  * =================================================================================================
7  * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
9  * may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14  * either express or implied. See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ===============LICENSE_END=======================================================================
17  */
18
19 package org.commscope.tr069adapter.vesagent.model;
20
21 import com.fasterxml.jackson.annotation.JsonInclude;
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24 import java.io.Serializable;
25
26 @JsonInclude(JsonInclude.Include.NON_NULL)
27 public class PnfRegEventAdditionalFeilds implements Serializable {
28   /**
29    * 
30    */
31   private static final long serialVersionUID = 5368863118681551950L;
32   private String oamPort;
33   private String protocol;
34   private String username;
35   private String password;
36   private String reconnectOnChangedSchema;
37   @JsonProperty("sleep-factor")
38   private String sleepfactor;
39   private String tcpOnly;
40   private String connectionTimeout;
41   private String maxConnectionAttempts;
42   private String betweenAttemptsTimeout;
43   private String keepaliveDelay;
44
45   public String getOamPort() {
46     return oamPort;
47   }
48
49   public void setOamPort(String oamPort) {
50     this.oamPort = oamPort;
51   }
52
53   public String getProtocol() {
54     return protocol;
55   }
56
57   public void setProtocol(String protocol) {
58     this.protocol = protocol;
59   }
60
61   public String getUsername() {
62     return username;
63   }
64
65   public void setUsername(String username) {
66     this.username = username;
67   }
68
69   public String getPassword() {
70     return password;
71   }
72
73   public void setPassword(String password) {
74     this.password = password;
75   }
76
77   public String getReconnectOnChangedSchema() {
78     return reconnectOnChangedSchema;
79   }
80
81   public void setReconnectOnChangedSchema(String reconnectOnChangedSchema) {
82     this.reconnectOnChangedSchema = reconnectOnChangedSchema;
83   }
84
85   public String getSleepfactor() {
86     return sleepfactor;
87   }
88
89   public void setSleepfactor(String sleepfactor) {
90     this.sleepfactor = sleepfactor;
91   }
92
93   public String getTcpOnly() {
94     return tcpOnly;
95   }
96
97   public void setTcpOnly(String tcpOnly) {
98     this.tcpOnly = tcpOnly;
99   }
100
101   public String getConnectionTimeout() {
102     return connectionTimeout;
103   }
104
105   public void setConnectionTimeout(String connectionTimeout) {
106     this.connectionTimeout = connectionTimeout;
107   }
108
109   public String getMaxConnectionAttempts() {
110     return maxConnectionAttempts;
111   }
112
113   public void setMaxConnectionAttempts(String maxConnectionAttempts) {
114     this.maxConnectionAttempts = maxConnectionAttempts;
115   }
116
117   public String getBetweenAttemptsTimeout() {
118     return betweenAttemptsTimeout;
119   }
120
121   public void setBetweenAttemptsTimeout(String betweenAttemptsTimeout) {
122     this.betweenAttemptsTimeout = betweenAttemptsTimeout;
123   }
124
125   public String getKeepaliveDelay() {
126     return keepaliveDelay;
127   }
128
129   public void setKeepaliveDelay(String keepaliveDelay) {
130     this.keepaliveDelay = keepaliveDelay;
131   }
132
133   @Override
134   public String toString() {
135     return "PnfRegEventAdditionalFeilds [oamPort=" + oamPort + ", protocol=" + protocol
136         + ", username=" + username + ", password=" + password + ", reconnectOnChangedSchema="
137         + reconnectOnChangedSchema + ", sleepfactor=" + sleepfactor + ", tcpOnly=" + tcpOnly
138         + ", connectionTimeout=" + connectionTimeout + ", maxConnectionAttempts="
139         + maxConnectionAttempts + ", betweenAttemptsTimeout=" + betweenAttemptsTimeout
140         + ", keepaliveDelay=" + keepaliveDelay + "]";
141   }
142
143 }