com.vikingbrain.nmt.responses.setting.ResponseListLanguage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thedavidbox-client4j Show documentation
Show all versions of thedavidbox-client4j Show documentation
A Java HTTP client for consuming TheDavidBox Service API of Networked Media Tank devices
package com.vikingbrain.nmt.responses.setting;
import java.util.ArrayList;
import java.util.List;
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 ResponseListLanguage extends ResponseSimple {
@Path("response")
@ElementList(inline = true, entry = "language")
List languages = new ArrayList();
/**
* Getter of property.
* @return the languages
*/
public final List getLanguages() {
return languages;
}
/**
* Setter of property.
* @param languages the languages to set
*/
public final void setLanguages(List languages) {
this.languages = languages;
}
@Override
public String toString() {
return "ResponseListLanguage [languages=" + languages + "]";
}
}