Package us.kbase.workspace
Class ExternalDataUnit
- java.lang.Object
-
- us.kbase.workspace.ExternalDataUnit
-
@Generated("com.googlecode.jsonschema2pojo") public class ExternalDataUnit extends java.lang.ObjectOriginal spec-file type: ExternalDataUnit
An external data unit. A piece of data from a source outside the Workspace. On input, only one of the resource_release_date or resource_release_epoch may be supplied. Both are supplied on output. All fields are optional, but at least one field must be present. string resource_name - the name of the resource, for example JGI. string resource_url - the url of the resource, for example http://genome.jgi.doe.gov string resource_version - version of the resource timestamp resource_release_date - the release date of the resource epoch resource_release_epoch - the release date of the resource string data_url - the url of the data, for example http://genome.jgi.doe.gov/pages/dynamicOrganismDownload.jsf? organism=BlaspURHD0036 string data_id - the id of the data, for example 7625.2.79179.AGTTCC.adnq.fastq.gz string description - a free text description of the data.
-
-
Constructor Summary
Constructors Constructor Description ExternalDataUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetDataId()java.lang.StringgetDataUrl()java.lang.StringgetDescription()java.lang.StringgetResourceName()java.lang.StringgetResourceReleaseDate()java.lang.LonggetResourceReleaseEpoch()java.lang.StringgetResourceUrl()java.lang.StringgetResourceVersion()voidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetDataId(java.lang.String dataId)voidsetDataUrl(java.lang.String dataUrl)voidsetDescription(java.lang.String description)voidsetResourceName(java.lang.String resourceName)voidsetResourceReleaseDate(java.lang.String resourceReleaseDate)voidsetResourceReleaseEpoch(java.lang.Long resourceReleaseEpoch)voidsetResourceUrl(java.lang.String resourceUrl)voidsetResourceVersion(java.lang.String resourceVersion)java.lang.StringtoString()ExternalDataUnitwithDataId(java.lang.String dataId)ExternalDataUnitwithDataUrl(java.lang.String dataUrl)ExternalDataUnitwithDescription(java.lang.String description)ExternalDataUnitwithResourceName(java.lang.String resourceName)ExternalDataUnitwithResourceReleaseDate(java.lang.String resourceReleaseDate)ExternalDataUnitwithResourceReleaseEpoch(java.lang.Long resourceReleaseEpoch)ExternalDataUnitwithResourceUrl(java.lang.String resourceUrl)ExternalDataUnitwithResourceVersion(java.lang.String resourceVersion)
-
-
-
Method Detail
-
getResourceName
public java.lang.String getResourceName()
-
setResourceName
public void setResourceName(java.lang.String resourceName)
-
withResourceName
public ExternalDataUnit withResourceName(java.lang.String resourceName)
-
getResourceUrl
public java.lang.String getResourceUrl()
-
setResourceUrl
public void setResourceUrl(java.lang.String resourceUrl)
-
withResourceUrl
public ExternalDataUnit withResourceUrl(java.lang.String resourceUrl)
-
getResourceVersion
public java.lang.String getResourceVersion()
-
setResourceVersion
public void setResourceVersion(java.lang.String resourceVersion)
-
withResourceVersion
public ExternalDataUnit withResourceVersion(java.lang.String resourceVersion)
-
getResourceReleaseDate
public java.lang.String getResourceReleaseDate()
-
setResourceReleaseDate
public void setResourceReleaseDate(java.lang.String resourceReleaseDate)
-
withResourceReleaseDate
public ExternalDataUnit withResourceReleaseDate(java.lang.String resourceReleaseDate)
-
getResourceReleaseEpoch
public java.lang.Long getResourceReleaseEpoch()
-
setResourceReleaseEpoch
public void setResourceReleaseEpoch(java.lang.Long resourceReleaseEpoch)
-
withResourceReleaseEpoch
public ExternalDataUnit withResourceReleaseEpoch(java.lang.Long resourceReleaseEpoch)
-
getDataUrl
public java.lang.String getDataUrl()
-
setDataUrl
public void setDataUrl(java.lang.String dataUrl)
-
withDataUrl
public ExternalDataUnit withDataUrl(java.lang.String dataUrl)
-
getDataId
public java.lang.String getDataId()
-
setDataId
public void setDataId(java.lang.String dataId)
-
withDataId
public ExternalDataUnit withDataId(java.lang.String dataId)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
withDescription
public ExternalDataUnit withDescription(java.lang.String description)
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
setAdditionalProperties
public void setAdditionalProperties(java.lang.String name, java.lang.Object value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-