All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vikingbrain.nmt.responses.file.ResponseListUserStorageFile Maven / Gradle / Ivy

Go to download

A Java HTTP client for consuming TheDavidBox Service API of Networked Media Tank devices

There is a newer version: 1.2.1
Show newest version
package com.vikingbrain.nmt.responses.file;

import java.util.ArrayList;
import java.util.List;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Path;
import org.simpleframework.xml.Root;

import com.vikingbrain.nmt.responses.ResponseSimple;

/**
 * 
 * @author vikingBrain
 */
@Root(name="response", strict=false)
public class ResponseListUserStorageFile extends ResponseSimple {

	@Path("response")
	@Element(name="availableFile", required=false)	
	private int availableFile;

	@Path("response")
	@Element(name="availableFolder", required=false)
	private int availableFolder;

	@Path("response")
	@Element(name="totalFile", required=false)
	private int totalFile;

	@Path("response")
	@ElementList(name = "fileList")
	private List fileList = new ArrayList();	

	public final int getAvailableFile() {
		return availableFile;
	}

	public final void setAvailableFile(int availableFile) {
		this.availableFile = availableFile;
	}

	public final int getAvailableFolder() {
		return availableFolder;
	}

	public final void setAvailableFolder(int availableFolder) {
		this.availableFolder = availableFolder;
	}

	public final int getTotalFile() {
		return totalFile;
	}

	public final void setTotalFile(int totalFile) {
		this.totalFile = totalFile;
	}
	
	public final List getFileList() {
		return fileList;
	}

	public final void setFileList(List fileList) {
		this.fileList = fileList;
	}
	
	@Override
	public String toString() {
		return "ResponseListUserStorageFile [availableFile=" + availableFile
				+ ", availableFolder=" + availableFolder + ", totalFile="
				+ totalFile + ", fileList=" + fileList + "]";
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy