X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ves-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fvesagent%2Fmodel%2FPnfRegEventAdditionalFeilds.java;h=c6a98b9dc7fe741fbab60a8e121f8f12e609baf6;hb=76744e810f35c84ecbd1d9998e361052466e9483;hp=95b871a60eca72c99de7f312bbadc045416c0eae;hpb=ce4e2d38e3d42725f61c39dd172325d2def4bc44;p=oam%2Ftr069-adapter.git diff --git a/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/model/PnfRegEventAdditionalFeilds.java b/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/model/PnfRegEventAdditionalFeilds.java index 95b871a..c6a98b9 100644 --- a/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/model/PnfRegEventAdditionalFeilds.java +++ b/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/model/PnfRegEventAdditionalFeilds.java @@ -1,132 +1,143 @@ -/* - * ============LICENSE_START======================================================================== - * ONAP : tr-069-adapter - * ================================================================================================= - * Copyright (C) 2020 CommScope Inc Intellectual Property. - * ================================================================================================= - * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License, - * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You - * may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, - * either express or implied. See the License for the specific language governing permissions and - * limitations under the License. - * ===============LICENSE_END======================================================================= - */ - -package org.commscope.tr069adapter.vesagent.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.io.Serializable; - -@JsonInclude(JsonInclude.Include.NON_NULL) -public class PnfRegEventAdditionalFeilds implements Serializable { - /** - * - */ - private static final long serialVersionUID = 5368863118681551950L; - private String oamPort; - private String protocol; - private String username; - private String password; - private String reconnectOnChangedSchema; - @JsonProperty("sleep-factor") - private String sleepfactor; - private String tcpOnly; - private String connectionTimeout; - private String maxConnectionAttempts; - private String betweenAttemptsTimeout; - private String keepaliveDelay; - - public String getOamPort() { - return oamPort; - } - - public void setOamPort(String oamPort) { - this.oamPort = oamPort; - } - - public String getProtocol() { - return protocol; - } - - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getReconnectOnChangedSchema() { - return reconnectOnChangedSchema; - } - - public void setReconnectOnChangedSchema(String reconnectOnChangedSchema) { - this.reconnectOnChangedSchema = reconnectOnChangedSchema; - } - - public String getSleepfactor() { - return sleepfactor; - } - - public void setSleepfactor(String sleepfactor) { - this.sleepfactor = sleepfactor; - } - - public String getTcpOnly() { - return tcpOnly; - } - - public void setTcpOnly(String tcpOnly) { - this.tcpOnly = tcpOnly; - } - - public String getConnectionTimeout() { - return connectionTimeout; - } - - public void setConnectionTimeout(String connectionTimeout) { - this.connectionTimeout = connectionTimeout; - } - - public String getMaxConnectionAttempts() { - return maxConnectionAttempts; - } - - public void setMaxConnectionAttempts(String maxConnectionAttempts) { - this.maxConnectionAttempts = maxConnectionAttempts; - } - - public String getBetweenAttemptsTimeout() { - return betweenAttemptsTimeout; - } - - public void setBetweenAttemptsTimeout(String betweenAttemptsTimeout) { - this.betweenAttemptsTimeout = betweenAttemptsTimeout; - } - - public String getKeepaliveDelay() { - return keepaliveDelay; - } - - public void setKeepaliveDelay(String keepaliveDelay) { - this.keepaliveDelay = keepaliveDelay; - } -} +/* + * ============LICENSE_START======================================================================== + * ONAP : tr-069-adapter + * ================================================================================================= + * Copyright (C) 2020 CommScope Inc Intellectual Property. + * ================================================================================================= + * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License, + * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You + * may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language governing permissions and + * limitations under the License. + * ===============LICENSE_END======================================================================= + */ + +package org.commscope.tr069adapter.vesagent.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.io.Serializable; + +@JsonInclude(JsonInclude.Include.NON_NULL) +public class PnfRegEventAdditionalFeilds implements Serializable { + /** + * + */ + private static final long serialVersionUID = 5368863118681551950L; + private String oamPort; + private String protocol; + private String username; + private String password; + private String reconnectOnChangedSchema; + @JsonProperty("sleep-factor") + private String sleepfactor; + private String tcpOnly; + private String connectionTimeout; + private String maxConnectionAttempts; + private String betweenAttemptsTimeout; + private String keepaliveDelay; + + public String getOamPort() { + return oamPort; + } + + public void setOamPort(String oamPort) { + this.oamPort = oamPort; + } + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getReconnectOnChangedSchema() { + return reconnectOnChangedSchema; + } + + public void setReconnectOnChangedSchema(String reconnectOnChangedSchema) { + this.reconnectOnChangedSchema = reconnectOnChangedSchema; + } + + public String getSleepfactor() { + return sleepfactor; + } + + public void setSleepfactor(String sleepfactor) { + this.sleepfactor = sleepfactor; + } + + public String getTcpOnly() { + return tcpOnly; + } + + public void setTcpOnly(String tcpOnly) { + this.tcpOnly = tcpOnly; + } + + public String getConnectionTimeout() { + return connectionTimeout; + } + + public void setConnectionTimeout(String connectionTimeout) { + this.connectionTimeout = connectionTimeout; + } + + public String getMaxConnectionAttempts() { + return maxConnectionAttempts; + } + + public void setMaxConnectionAttempts(String maxConnectionAttempts) { + this.maxConnectionAttempts = maxConnectionAttempts; + } + + public String getBetweenAttemptsTimeout() { + return betweenAttemptsTimeout; + } + + public void setBetweenAttemptsTimeout(String betweenAttemptsTimeout) { + this.betweenAttemptsTimeout = betweenAttemptsTimeout; + } + + public String getKeepaliveDelay() { + return keepaliveDelay; + } + + public void setKeepaliveDelay(String keepaliveDelay) { + this.keepaliveDelay = keepaliveDelay; + } + + @Override + public String toString() { + return "PnfRegEventAdditionalFeilds [oamPort=" + oamPort + ", protocol=" + protocol + + ", username=" + username + ", password=" + password + ", reconnectOnChangedSchema=" + + reconnectOnChangedSchema + ", sleepfactor=" + sleepfactor + ", tcpOnly=" + tcpOnly + + ", connectionTimeout=" + connectionTimeout + ", maxConnectionAttempts=" + + maxConnectionAttempts + ", betweenAttemptsTimeout=" + betweenAttemptsTimeout + + ", keepaliveDelay=" + keepaliveDelay + "]"; + } + +}