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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=======================================================================
19 package org.commscope.tr069adapter.vesagent.model;
21 import com.fasterxml.jackson.annotation.JsonInclude;
22 import com.fasterxml.jackson.annotation.JsonProperty;
24 import java.io.Serializable;
26 @JsonInclude(JsonInclude.Include.NON_NULL)
27 public class PnfRegEventAdditionalFeilds implements Serializable {
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;
45 public String getOamPort() {
49 public void setOamPort(String oamPort) {
50 this.oamPort = oamPort;
53 public String getProtocol() {
57 public void setProtocol(String protocol) {
58 this.protocol = protocol;
61 public String getUsername() {
65 public void setUsername(String username) {
66 this.username = username;
69 public String getPassword() {
73 public void setPassword(String password) {
74 this.password = password;
77 public String getReconnectOnChangedSchema() {
78 return reconnectOnChangedSchema;
81 public void setReconnectOnChangedSchema(String reconnectOnChangedSchema) {
82 this.reconnectOnChangedSchema = reconnectOnChangedSchema;
85 public String getSleepfactor() {
89 public void setSleepfactor(String sleepfactor) {
90 this.sleepfactor = sleepfactor;
93 public String getTcpOnly() {
97 public void setTcpOnly(String tcpOnly) {
98 this.tcpOnly = tcpOnly;
101 public String getConnectionTimeout() {
102 return connectionTimeout;
105 public void setConnectionTimeout(String connectionTimeout) {
106 this.connectionTimeout = connectionTimeout;
109 public String getMaxConnectionAttempts() {
110 return maxConnectionAttempts;
113 public void setMaxConnectionAttempts(String maxConnectionAttempts) {
114 this.maxConnectionAttempts = maxConnectionAttempts;
117 public String getBetweenAttemptsTimeout() {
118 return betweenAttemptsTimeout;
121 public void setBetweenAttemptsTimeout(String betweenAttemptsTimeout) {
122 this.betweenAttemptsTimeout = betweenAttemptsTimeout;
125 public String getKeepaliveDelay() {
126 return keepaliveDelay;
129 public void setKeepaliveDelay(String keepaliveDelay) {
130 this.keepaliveDelay = keepaliveDelay;
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 + "]";