package eu.eudat.models.rda; import java.io.Serializable; import java.net.URI; import java.util.HashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.*; /** * The Dataset Distribution Items Schema *
* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "access_url", "available_until", "byte_size", "data_access", "description", "download_url", "format", "host", "license", "title", "additional_properties" }) @JsonIgnoreProperties(ignoreUnknown = true) public class Distribution implements Serializable { /** * The Dataset Distribution Access URL Schema *
* A URL of the resource that gives access to a distribution of the dataset. e.g. landing page. * */ @JsonProperty("access_url") @JsonPropertyDescription("A URL of the resource that gives access to a distribution of the dataset. e.g. landing page.") private String accessUrl; /** * The Dataset Distribution Available Until Schema *
* Indicates how long this distribution will be / should be available. * */ @JsonProperty("available_until") @JsonPropertyDescription("Indicates how long this distribution will be / should be available.") private String availableUntil; /** * The Dataset Distribution Byte Size Schema *
* Size in bytes. * */ @JsonProperty("byte_size") @JsonPropertyDescription("Size in bytes.") private Integer byteSize; /** * The Dataset Distribution Data Access Schema *
* Indicates access mode for data. Allowed values: open, shared, closed * (Required) * */ @JsonProperty("data_access") @JsonPropertyDescription("Indicates access mode for data. Allowed values: open, shared, closed") private Distribution.DataAccess dataAccess; /** * The Dataset Distribution Description Schema *
* Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file. * */ @JsonProperty("description") @JsonPropertyDescription("Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.") private String description; /** * The Dataset Distribution Download URL Schema *
* The URL of the downloadable file in a given format. E.g. CSV file or RDF file. * */ @JsonProperty("download_url") @JsonPropertyDescription("The URL of the downloadable file in a given format. E.g. CSV file or RDF file.") private URI downloadUrl; /** * The Dataset Distribution Format Schema *
* Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.
*
*/
@JsonProperty("format")
@JsonPropertyDescription("Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.")
private List
* To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.
*
*/
@JsonProperty("host")
@JsonPropertyDescription("To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.")
private Host host;
/**
* The Dataset Distribution License(s) Schema
*
* To list all licenses applied to a specific distribution of data.
*
*/
@JsonProperty("license")
@JsonPropertyDescription("To list all licenses applied to a specific distribution of data.")
private List
* Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.
* (Required)
*
*/
@JsonProperty("title")
@JsonPropertyDescription("Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.")
private String title;
@JsonProperty("additional_properties")
private Map
* A URL of the resource that gives access to a distribution of the dataset. e.g. landing page.
*
*/
@JsonProperty("access_url")
public String getAccessUrl() {
return accessUrl;
}
/**
* The Dataset Distribution Access URL Schema
*
* A URL of the resource that gives access to a distribution of the dataset. e.g. landing page.
*
*/
@JsonProperty("access_url")
public void setAccessUrl(String accessUrl) {
this.accessUrl = accessUrl;
}
/**
* The Dataset Distribution Available Until Schema
*
* Indicates how long this distribution will be / should be available.
*
*/
@JsonProperty("available_until")
public String getAvailableUntil() {
return availableUntil;
}
/**
* The Dataset Distribution Available Until Schema
*
* Indicates how long this distribution will be / should be available.
*
*/
@JsonProperty("available_until")
public void setAvailableUntil(String availableUntil) {
this.availableUntil = availableUntil;
}
/**
* The Dataset Distribution Byte Size Schema
*
* Size in bytes.
*
*/
@JsonProperty("byte_size")
public Integer getByteSize() {
return byteSize;
}
/**
* The Dataset Distribution Byte Size Schema
*
* Size in bytes.
*
*/
@JsonProperty("byte_size")
public void setByteSize(Integer byteSize) {
this.byteSize = byteSize;
}
/**
* The Dataset Distribution Data Access Schema
*
* Indicates access mode for data. Allowed values: open, shared, closed
* (Required)
*
*/
@JsonProperty("data_access")
public Distribution.DataAccess getDataAccess() {
return dataAccess;
}
/**
* The Dataset Distribution Data Access Schema
*
* Indicates access mode for data. Allowed values: open, shared, closed
* (Required)
*
*/
@JsonProperty("data_access")
public void setDataAccess(Distribution.DataAccess dataAccess) {
this.dataAccess = dataAccess;
}
/**
* The Dataset Distribution Description Schema
*
* Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* The Dataset Distribution Description Schema
*
* Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
/**
* The Dataset Distribution Download URL Schema
*
* The URL of the downloadable file in a given format. E.g. CSV file or RDF file.
*
*/
@JsonProperty("download_url")
public URI getDownloadUrl() {
return downloadUrl;
}
/**
* The Dataset Distribution Download URL Schema
*
* The URL of the downloadable file in a given format. E.g. CSV file or RDF file.
*
*/
@JsonProperty("download_url")
public void setDownloadUrl(URI downloadUrl) {
this.downloadUrl = downloadUrl;
}
/**
* The Dataset Distribution Format Schema
*
* Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.
*
*/
@JsonProperty("format")
public List
* Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.
*
*/
@JsonProperty("format")
public void setFormat(List
* To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.
*
*/
@JsonProperty("host")
public Host getHost() {
return host;
}
/**
* The Dataset Distribution Host Schema
*
* To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.
*
*/
@JsonProperty("host")
public void setHost(Host host) {
this.host = host;
}
/**
* The Dataset Distribution License(s) Schema
*
* To list all licenses applied to a specific distribution of data.
*
*/
@JsonProperty("license")
public List
* To list all licenses applied to a specific distribution of data.
*
*/
@JsonProperty("license")
public void setLicense(List
* Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.
* (Required)
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* The Dataset Distribution Title Schema
*
* Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.
* (Required)
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
@JsonProperty("additional_properties")
public Map