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

net.anwiba.spatial.ckan.json.schema.v1_0.License Maven / Gradle / Ivy

There is a newer version: 1.2.50
Show newest version
//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 License
    extends Named
{

    private String id = null;
    private String url = null;
    private String license_id = null;
    private String other = null;
    private String license_url = null;
    private String attribution_text = null;
    private Boolean is_free_to_use = Boolean.valueOf(false);
    private final Map _unknownMembers = new LinkedHashMap();

    @JsonProperty("id")
    public void setId(final String id) {
        this.id = id;
    }

    @JsonProperty("id")
    public String getId() {
        return this.id;
    }

    @JsonProperty("url")
    public void setUrl(final String url) {
        this.url = url;
    }

    @JsonProperty("url")
    public String getUrl() {
        return this.url;
    }

    @JsonProperty("license_id")
    public void setLicense_id(final String license_id) {
        this.license_id = license_id;
    }

    @JsonProperty("license_id")
    public String getLicense_id() {
        return this.license_id;
    }

    @JsonProperty("other")
    public void setOther(final String other) {
        this.other = other;
    }

    @JsonProperty("other")
    public String getOther() {
        return this.other;
    }

    @JsonProperty("license_url")
    public void setLicense_url(final String license_url) {
        this.license_url = license_url;
    }

    @JsonProperty("license_url")
    public String getLicense_url() {
        return this.license_url;
    }

    @JsonProperty("attribution_text")
    public void setAttribution_text(final String attribution_text) {
        this.attribution_text = attribution_text;
    }

    @JsonProperty("attribution_text")
    public String getAttribution_text() {
        return this.attribution_text;
    }

    @JsonProperty("is_free_to_use")
    public void setIs_free_to_use(final Boolean is_free_to_use) {
        this.is_free_to_use = is_free_to_use;
    }

    @JsonProperty("is_free_to_use")
    public Boolean is_free_to_use() {
        return this.is_free_to_use;
    }

    @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 - 2024 Weber Informatics LLC | Privacy Policy