![JAR search and dependency download from the Maven repository](/logo.png)
me.shib.java.lib.jiraclient.Visibility Maven / Gradle / Ivy
package me.shib.java.lib.jiraclient;
import net.sf.json.JSONObject;
import java.util.Map;
/**
* Created by dgigon on 14/09/16.
*/
public class Visibility extends Resource {
private String type;
private String value;
protected Visibility(RestClient restclient, JSONObject json) {
super(restclient);
if (json != null)
deserialise(json);
}
public String getValue() {
return value;
}
public String getType() {
return type;
}
private void deserialise(JSONObject json) {
Map map = json;
type = Field.getString(map.get("type"));
value = Field.getString(map.get("value"));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy