
net.anwiba.spatial.ckan.json.schema.v1_0.Publisher Maven / Gradle / Ivy
//Copyright (c) 2017 by Andreas W. Bartels
package net.anwiba.spatial.ckan.json.schema.v1_0;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Publisher
extends Named
{
private String type = null;
private String resource = null;
private final Map _unknownMembers = new LinkedHashMap();
@JsonProperty("type")
public void setType(final String type) {
this.type = type;
}
@JsonProperty("type")
public String getType() {
return this.type;
}
@JsonProperty("resource")
public void setResource(final String resource) {
this.resource = resource;
}
@JsonProperty("resource")
public String getResource() {
return this.resource;
}
@JsonAnySetter
public void set(final java.lang.String name, final Object value) {
Objects.requireNonNull(name);
this._unknownMembers.put(name, value);
}
@JsonAnyGetter
public Map get() {
if (this._unknownMembers.isEmpty()) {
return null;
}
return this._unknownMembers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy