|
|
@ -15,7 +15,7 @@
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
* under the License.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
package org.wso2.carbon.mdm.services.android.bean.wrapper;
|
|
|
|
package org.wso2.carbon.mdm.services.android.bean;
|
|
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
@ -28,41 +28,23 @@ import java.io.Serializable;
|
|
|
|
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 {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "ftpServerAddress", value = "FTP Server Address", required = true)
|
|
|
|
@ApiModelProperty(name = "fileURL", value = "File URL", required = true)
|
|
|
|
private String ftpServerAddress;
|
|
|
|
private String fileURL;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "ftpUserName", value = "FTP User name", required = true)
|
|
|
|
|
|
|
|
private String ftpUserName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "ftpPassword", value = "FTP password", required = true)
|
|
|
|
@ApiModelProperty(name = "ftpPassword", value = "FTP password", required = true)
|
|
|
|
private String ftpPassword;
|
|
|
|
private String ftpPassword;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(name = "fileName", value = "File name", required = true)
|
|
|
|
@ApiModelProperty(name = "savingDirectory", value = "savingDirectory", required = true)
|
|
|
|
private String fileName;
|
|
|
|
private String savingDirectory;
|
|
|
|
|
|
|
|
|
|
|
|
public String getFileName() {
|
|
|
|
|
|
|
|
return fileName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setFileName(String fileName) {
|
|
|
|
|
|
|
|
this.fileName = fileName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getFtpServerAddress() {
|
|
|
|
|
|
|
|
return ftpServerAddress;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setFtpServerAddress(String ftpServerAddress) {
|
|
|
|
public String getFileURL() {
|
|
|
|
this.ftpServerAddress = ftpServerAddress;
|
|
|
|
return fileURL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getFtpUserName() {
|
|
|
|
public void setFileURL(String fileURL) {
|
|
|
|
return ftpUserName;
|
|
|
|
this.fileURL = fileURL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setFtpUserName(String ftpUserName) {
|
|
|
|
|
|
|
|
this.ftpUserName = ftpUserName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getFtpPassword() {
|
|
|
|
public String getFtpPassword() {
|
|
|
|
return ftpPassword;
|
|
|
|
return ftpPassword;
|
|
|
@ -71,4 +53,12 @@ public class FileTransfer extends AndroidOperation implements Serializable {
|
|
|
|
public void setFtpPassword(String ftpPassword) {
|
|
|
|
public void setFtpPassword(String ftpPassword) {
|
|
|
|
this.ftpPassword = ftpPassword;
|
|
|
|
this.ftpPassword = ftpPassword;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getSavingDirectory() {
|
|
|
|
|
|
|
|
return savingDirectory;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setSavingDirectory(String savingDirectory) {
|
|
|
|
|
|
|
|
this.savingDirectory = savingDirectory;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|