code formatting

revert-dabc3590
Nirothipan 7 years ago
parent 4234bcf482
commit 8ce3b6a8c3

@ -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;
@ -41,21 +40,20 @@ public class FileTransfer extends AndroidOperation implements Serializable {
@ApiModelProperty(name = "fileName", value = "File name", required = true) @ApiModelProperty(name = "fileName", value = "File name", required = true)
private String fileName; private String fileName;
public String getFileName(){ public String getFileName() {
return fileName; return fileName;
} }
public void setFileName(String fileName){ public void setFileName(String fileName) {
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;
} }
} }

@ -19,12 +19,9 @@ package org.wso2.carbon.mdm.services.android.bean.wrapper;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import org.wso2.carbon.mdm.services.android.bean.DeviceLock;
import java.util.List; import java.util.List;
/** /**
* This class is used to wrap the Notification bean with devices. * This class is used to wrap the Notification bean with devices.
*/ */

Loading…
Cancel
Save