2 * Copyright 2017 BOCO Corporation. CMCC Technologies Co., Ltd
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.vfc.nfvo.emsdriver.commons.model;
22 public class CollectVo {
24 private String emsName;
28 private String crontab;
36 private String password;
38 private String remotepath;
42 private String passive;
44 private String ftptype;
46 private String granularity;
48 private boolean iscollect = false;
50 private String read_timeout;
55 * @return the iscollect
57 public boolean isIscollect() {
62 * @param iscollect the iscollect to set
64 public void setIscollect(boolean iscollect) {
65 this.iscollect = iscollect;
71 public String getType() {
76 * @param type the type to set
78 public void setType(String type) {
85 public String getCrontab() {
90 * @param crontab the crontab to set
92 public void setCrontab(String crontab) {
93 this.crontab = crontab;
99 public String getIP() {
104 * @param ip the iP to set
106 public void setIP(String ip) {
113 public String getPort() {
118 * @param port the port to set
120 public void setPort(String port) {
127 public String getUser() {
132 * @param user the user to set
134 public void setUser(String user) {
139 * @return the password
141 public String getPassword() {
146 * @param password the password to set
148 public void setPassword(String password) {
149 this.password = password;
153 * @return the remotepath
155 public String getRemotepath() {
160 * @param remotepath the remotepath to set
162 public void setRemotepath(String remotepath) {
163 this.remotepath = remotepath;
169 public String getMatch() {
174 * @param match the match to set
176 public void setMatch(String match) {
181 * @return the passive
183 public String getPassive() {
188 * @param passive the passive to set
190 public void setPassive(String passive) {
191 this.passive = passive;
195 * @return the ftptype
197 public String getFtptype() {
202 * @param ftptype the ftptype to set
204 public void setFtptype(String ftptype) {
205 this.ftptype = ftptype;
209 * @return the granularity
211 public String getGranularity() {
216 * @param granularity the granularity to set
218 public void setGranularity(String granularity) {
219 this.granularity = granularity;
224 public String toString() {
225 return "CollectVo [emsName=" + emsName + ", type=" + type
226 + ", crontab=" + crontab + ", IP=" + IP + ", port=" + port
227 + ", user=" + user + ", password=" + password + ", remotepath="
228 + remotepath + ", match=" + match + ", passive=" + passive
229 + ", ftptype=" + ftptype + ", granularity=" + granularity
230 + ", iscollect=" + iscollect + ", read_timeout=" + read_timeout
235 * @return the emsName
237 public String getEmsName() {
242 * @param emsName the emsName to set
244 public void setEmsName(String emsName) {
245 this.emsName = emsName;
249 * @return the read_timeout
251 public String getRead_timeout() {
256 * @param read_timeout the read_timeout to set
258 public void setRead_timeout(String read_timeout) {
259 this.read_timeout = read_timeout;