|
|
@ -25,12 +25,11 @@ import java.io.Serializable;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModel(value = "FileTransfer",
|
|
|
|
@ApiModel(value = "FileTransfer",
|
|
|
|
//todo
|
|
|
|
|
|
|
|
description = "This class carries all information related to file transfer operation.")
|
|
|
|
description = "This class carries all information related to file transfer operation.")
|
|
|
|
public class FileTransfer extends AndroidOperation implements Serializable {
|
|
|
|
public class FileTransfer extends AndroidOperation implements Serializable {
|
|
|
|
//todo
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "fileLocation", value = "FTP URL of file", required = true)
|
|
|
|
@ApiModelProperty(name = "ftpServerAddress", value = "FTP Server Address", required = true)
|
|
|
|
private String fileLocation;
|
|
|
|
private String ftpServerAddress;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "ftpUserName", value = "FTP User name", required = true)
|
|
|
|
@ApiModelProperty(name = "ftpUserName", value = "FTP User name", required = true)
|
|
|
|
private String ftpUserName;
|
|
|
|
private String ftpUserName;
|
|
|
@ -49,13 +48,12 @@ public class FileTransfer extends AndroidOperation implements Serializable {
|
|
|
|
this.fileName = fileName;
|
|
|
|
this.fileName = fileName;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getFtpServerAddress() {
|
|
|
|
public String getFileLocation() {
|
|
|
|
return ftpServerAddress;
|
|
|
|
return fileLocation;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setFileLocation(String fileLocation) {
|
|
|
|
public void setFtpServerAddress(String ftpServerAddress) {
|
|
|
|
this.fileLocation = fileLocation;
|
|
|
|
this.ftpServerAddress = ftpServerAddress;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getFtpUserName() {
|
|
|
|
public String getFtpUserName() {
|
|
|
@ -73,6 +71,5 @@ public class FileTransfer extends AndroidOperation implements Serializable {
|
|
|
|
public void setFtpPassword(String ftpPassword) {
|
|
|
|
public void setFtpPassword(String ftpPassword) {
|
|
|
|
this.ftpPassword = ftpPassword;
|
|
|
|
this.ftpPassword = ftpPassword;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|