package eu.eudat.models.rda; import java.io.Serializable; import java.net.URI; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.*; /** * The Dataset Distribution License Items *

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "license_ref", "start_date" }) @JsonIgnoreProperties(ignoreUnknown = true) public class License implements Serializable { /** * The Dataset Distribution License Reference Schema *

* Link to license document. * (Required) * */ @JsonProperty("license_ref") @JsonPropertyDescription("Link to license document.") private URI licenseRef; /** * The Dataset Distribution License Start Date Schema *

* Starting date of license. If date is set in the future, it indicates embargo period. * (Required) * */ @JsonProperty("start_date") @JsonPropertyDescription("Starting date of license. If date is set in the future, it indicates embargo period.") private String startDate; @JsonIgnore private Map additionalProperties = new HashMap(); private final static long serialVersionUID = 4148207295817559010L; /** * The Dataset Distribution License Reference Schema *

* Link to license document. * (Required) * */ @JsonProperty("license_ref") public URI getLicenseRef() { return licenseRef; } /** * The Dataset Distribution License Reference Schema *

* Link to license document. * (Required) * */ @JsonProperty("license_ref") public void setLicenseRef(URI licenseRef) { this.licenseRef = licenseRef; } /** * The Dataset Distribution License Start Date Schema *

* Starting date of license. If date is set in the future, it indicates embargo period. * (Required) * */ @JsonProperty("start_date") public String getStartDate() { return startDate; } /** * The Dataset Distribution License Start Date Schema *

* Starting date of license. If date is set in the future, it indicates embargo period. * (Required) * */ @JsonProperty("start_date") public void setStartDate(String startDate) { this.startDate = startDate; } @JsonProperty("additional_properties") public Map getAdditionalProperties() { return this.additionalProperties; } @JsonProperty("additional_properties") public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } }