Package us.kbase.workspace
Class ObjectSaveData
- java.lang.Object
-
- us.kbase.workspace.ObjectSaveData
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectSaveData extends Object
Original spec-file type: ObjectSaveData
An object and associated data required for saving. Required arguments: type_string type - the type of the object. Omit the version information to use the latest version. UnspecifiedObject data - the object data. One, and only one, of: obj_name name - the name of the object. obj_id objid - the id of the object to save over. Optional arguments: usermeta meta - arbitrary user-supplied metadata for the object, not to exceed 16kb; if the object type specifies automatic metadata extraction with the 'meta ws' annotation, and your metadata name conflicts, then your metadata will be silently overwritten. list
provenance - provenance data for the object. boolean hidden - true if this object should not be listed when listing workspace objects.
-
-
Constructor Summary
Constructors Constructor Description ObjectSaveData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
UObject
getData()
Long
getHidden()
Map<String,String>
getMeta()
String
getName()
Long
getObjid()
List<ProvenanceAction>
getProvenance()
String
getType()
void
setAdditionalProperties(String name, Object value)
void
setData(UObject data)
void
setHidden(Long hidden)
void
setMeta(Map<String,String> meta)
void
setName(String name)
void
setObjid(Long objid)
void
setProvenance(List<ProvenanceAction> provenance)
void
setType(String type)
String
toString()
ObjectSaveData
withData(UObject data)
ObjectSaveData
withHidden(Long hidden)
ObjectSaveData
withMeta(Map<String,String> meta)
ObjectSaveData
withName(String name)
ObjectSaveData
withObjid(Long objid)
ObjectSaveData
withProvenance(List<ProvenanceAction> provenance)
ObjectSaveData
withType(String type)
-
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
withType
public ObjectSaveData withType(String type)
-
getData
public UObject getData()
-
setData
public void setData(UObject data)
-
withData
public ObjectSaveData withData(UObject data)
-
getName
public String getName()
-
setName
public void setName(String name)
-
withName
public ObjectSaveData withName(String name)
-
getObjid
public Long getObjid()
-
setObjid
public void setObjid(Long objid)
-
withObjid
public ObjectSaveData withObjid(Long objid)
-
withMeta
public ObjectSaveData withMeta(Map<String,String> meta)
-
getProvenance
public List<ProvenanceAction> getProvenance()
-
setProvenance
public void setProvenance(List<ProvenanceAction> provenance)
-
withProvenance
public ObjectSaveData withProvenance(List<ProvenanceAction> provenance)
-
getHidden
public Long getHidden()
-
setHidden
public void setHidden(Long hidden)
-
withHidden
public ObjectSaveData withHidden(Long hidden)
-
-