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.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonValue; /** * The Dataset Distribution Host Schema *
* To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "availability", "backup_frequency", "backup_type", "certified_with", "description", "geo_location", "pid_system", "storage_type", "support_versioning", "title", "url" }) public class Host implements Serializable { /** * The Dataset Distribution Host Availability Schema *
* Availability * */ @JsonProperty("availability") @JsonPropertyDescription("Availability") private String availability; /** * The Dataset Distribution Host Backup Frequency Schema *
* Backup Frequency * */ @JsonProperty("backup_frequency") @JsonPropertyDescription("Backup Frequency") private String backupFrequency; /** * The Dataset Distribution Host Backup Type Schema *
* Backup Type * */ @JsonProperty("backup_type") @JsonPropertyDescription("Backup Type") private String backupType; /** * The Dataset Distribution Host Certification Type Schema *
* Repository certified to a recognised standard. Allowed values: din31644, dini-zertifikat, dsa, iso16363, iso16919, trac, wds, coretrustseal * */ @JsonProperty("certified_with") @JsonPropertyDescription("Repository certified to a recognised standard. Allowed values: din31644, dini-zertifikat, dsa, iso16363, iso16919, trac, wds, coretrustseal") private Host.CertifiedWith certifiedWith; /** * The Dataset Distribution Host Description Schema *
* Description * */ @JsonProperty("description") @JsonPropertyDescription("Description") private String description; /** * The Dataset Distribution Host Geographical Location Schema *
* Physical location of the data expressed using ISO 3166-1 country code. * */ @JsonProperty("geo_location") @JsonPropertyDescription("Physical location of the data expressed using ISO 3166-1 country code.") private Host.GeoLocation geoLocation; /** * The Dataset Distribution Host PID System Schema *
* PID system(s). Allowed values: ark, arxiv, bibcode, doi, ean13, eissn, handle, igsn, isbn, issn, istc, lissn, lsid, pmid, purl, upc, url, urn, other
*
*/
@JsonProperty("pid_system")
@JsonPropertyDescription("PID system(s). Allowed values: ark, arxiv, bibcode, doi, ean13, eissn, handle, igsn, isbn, issn, istc, lissn, lsid, pmid, purl, upc, url, urn, other")
private List
* The type of storage required
*
*/
@JsonProperty("storage_type")
@JsonPropertyDescription("The type of storage required")
private String storageType;
/**
* The Dataset Distribution Host Support Versioning Schema
*
* If host supports versioning. Allowed values: yes, no, unknown
*
*/
@JsonProperty("support_versioning")
@JsonPropertyDescription("If host supports versioning. Allowed values: yes, no, unknown")
private Host.SupportVersioning supportVersioning;
/**
* The Dataset Distribution Host Title Schema
*
* Title
* (Required)
*
*/
@JsonProperty("title")
@JsonPropertyDescription("Title")
private String title;
/**
* The Dataset Distribution Host Title Schema
*
* The URL of the system hosting a distribution of a dataset
* (Required)
*
*/
@JsonProperty("url")
@JsonPropertyDescription("The URL of the system hosting a distribution of a dataset")
private URI url;
@JsonIgnore
private Map
* Availability
*
*/
@JsonProperty("availability")
public String getAvailability() {
return availability;
}
/**
* The Dataset Distribution Host Availability Schema
*
* Availability
*
*/
@JsonProperty("availability")
public void setAvailability(String availability) {
this.availability = availability;
}
/**
* The Dataset Distribution Host Backup Frequency Schema
*
* Backup Frequency
*
*/
@JsonProperty("backup_frequency")
public String getBackupFrequency() {
return backupFrequency;
}
/**
* The Dataset Distribution Host Backup Frequency Schema
*
* Backup Frequency
*
*/
@JsonProperty("backup_frequency")
public void setBackupFrequency(String backupFrequency) {
this.backupFrequency = backupFrequency;
}
/**
* The Dataset Distribution Host Backup Type Schema
*
* Backup Type
*
*/
@JsonProperty("backup_type")
public String getBackupType() {
return backupType;
}
/**
* The Dataset Distribution Host Backup Type Schema
*
* Backup Type
*
*/
@JsonProperty("backup_type")
public void setBackupType(String backupType) {
this.backupType = backupType;
}
/**
* The Dataset Distribution Host Certification Type Schema
*
* Repository certified to a recognised standard. Allowed values: din31644, dini-zertifikat, dsa, iso16363, iso16919, trac, wds, coretrustseal
*
*/
@JsonProperty("certified_with")
public Host.CertifiedWith getCertifiedWith() {
return certifiedWith;
}
/**
* The Dataset Distribution Host Certification Type Schema
*
* Repository certified to a recognised standard. Allowed values: din31644, dini-zertifikat, dsa, iso16363, iso16919, trac, wds, coretrustseal
*
*/
@JsonProperty("certified_with")
public void setCertifiedWith(Host.CertifiedWith certifiedWith) {
this.certifiedWith = certifiedWith;
}
/**
* The Dataset Distribution Host Description Schema
*
* Description
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* The Dataset Distribution Host Description Schema
*
* Description
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
/**
* The Dataset Distribution Host Geographical Location Schema
*
* Physical location of the data expressed using ISO 3166-1 country code.
*
*/
@JsonProperty("geo_location")
public Host.GeoLocation getGeoLocation() {
return geoLocation;
}
/**
* The Dataset Distribution Host Geographical Location Schema
*
* Physical location of the data expressed using ISO 3166-1 country code.
*
*/
@JsonProperty("geo_location")
public void setGeoLocation(Host.GeoLocation geoLocation) {
this.geoLocation = geoLocation;
}
/**
* The Dataset Distribution Host PID System Schema
*
* PID system(s). Allowed values: ark, arxiv, bibcode, doi, ean13, eissn, handle, igsn, isbn, issn, istc, lissn, lsid, pmid, purl, upc, url, urn, other
*
*/
@JsonProperty("pid_system")
public List
* PID system(s). Allowed values: ark, arxiv, bibcode, doi, ean13, eissn, handle, igsn, isbn, issn, istc, lissn, lsid, pmid, purl, upc, url, urn, other
*
*/
@JsonProperty("pid_system")
public void setPidSystem(List
* The type of storage required
*
*/
@JsonProperty("storage_type")
public String getStorageType() {
return storageType;
}
/**
* The Dataset Distribution Host Storage Type Schema
*
* The type of storage required
*
*/
@JsonProperty("storage_type")
public void setStorageType(String storageType) {
this.storageType = storageType;
}
/**
* The Dataset Distribution Host Support Versioning Schema
*
* If host supports versioning. Allowed values: yes, no, unknown
*
*/
@JsonProperty("support_versioning")
public Host.SupportVersioning getSupportVersioning() {
return supportVersioning;
}
/**
* The Dataset Distribution Host Support Versioning Schema
*
* If host supports versioning. Allowed values: yes, no, unknown
*
*/
@JsonProperty("support_versioning")
public void setSupportVersioning(Host.SupportVersioning supportVersioning) {
this.supportVersioning = supportVersioning;
}
/**
* The Dataset Distribution Host Title Schema
*
* Title
* (Required)
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* The Dataset Distribution Host Title Schema
*
* Title
* (Required)
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
/**
* The Dataset Distribution Host Title Schema
*
* The URL of the system hosting a distribution of a dataset
* (Required)
*
*/
@JsonProperty("url")
public URI getUrl() {
return url;
}
/**
* The Dataset Distribution Host Title Schema
*
* The URL of the system hosting a distribution of a dataset
* (Required)
*
*/
@JsonProperty("url")
public void setUrl(URI url) {
this.url = url;
}
@JsonProperty("additional_properties")
public Map