com.vikingbrain.nmt.responses.networkbrowse.ObjectNetworkResource 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.networkbrowse;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/**
*
* @author vikingBrain
*/
@Root(name="networkResource", strict=false)
public class ObjectNetworkResource {
@Element(name="name")
private String name;
@Element(name="url")
private String url;
public final String getName() {
return name;
}
public final void setName(String name) {
this.name = name;
}
public final String getUrl() {
return url;
}
public final void setUrl(String url) {
this.url = url;
}
@Override
public String toString() {
return "ObjectNetworkResource [name=" + name + ", url=" + url + "]";
}
}