Package us.kbase.workspace
Class ObjectInfo
- java.lang.Object
-
- us.kbase.workspace.ObjectInfo
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectInfo extends Object
Original spec-file type: ObjectInfo
Information about an object as a struct rather than a tuple. This allows adding fields in a backward compatible way in the future. Includes more fields than object_info. obj_id objid - the numerical id of the object. obj_name name - the name of the object. type_string type - the type of the object. timestamp save_date - the save date of the object. obj_ver ver - the version of the object. username saved_by - the user that saved or copied the object. ws_id wsid - the workspace containing the object. ws_name workspace - the workspace containing the object. string chsum - the md5 checksum of the object. int size - the size of the object in bytes. usermeta meta - arbitrary user-supplied metadata about the object. usermeta adminmeta - service administrator metadata set on an object. Unlike most other object fields, admin metadata is mutable. list
path - the path to the object.
-
-
Constructor Summary
Constructors Constructor Description ObjectInfo()
-
Method Summary
-
-
-
Method Detail
-
getObjid
public Long getObjid()
-
setObjid
public void setObjid(Long objid)
-
withObjid
public ObjectInfo withObjid(Long objid)
-
getName
public String getName()
-
setName
public void setName(String name)
-
withName
public ObjectInfo withName(String name)
-
getType
public String getType()
-
setType
public void setType(String type)
-
withType
public ObjectInfo withType(String type)
-
getSaveDate
public String getSaveDate()
-
setSaveDate
public void setSaveDate(String saveDate)
-
withSaveDate
public ObjectInfo withSaveDate(String saveDate)
-
getVersion
public Long getVersion()
-
setVersion
public void setVersion(Long version)
-
withVersion
public ObjectInfo withVersion(Long version)
-
getSavedBy
public String getSavedBy()
-
setSavedBy
public void setSavedBy(String savedBy)
-
withSavedBy
public ObjectInfo withSavedBy(String savedBy)
-
getWsid
public Long getWsid()
-
setWsid
public void setWsid(Long wsid)
-
withWsid
public ObjectInfo withWsid(Long wsid)
-
getWorkspace
public String getWorkspace()
-
setWorkspace
public void setWorkspace(String workspace)
-
withWorkspace
public ObjectInfo withWorkspace(String workspace)
-
getChsum
public String getChsum()
-
setChsum
public void setChsum(String chsum)
-
withChsum
public ObjectInfo withChsum(String chsum)
-
getSize
public Long getSize()
-
setSize
public void setSize(Long size)
-
withSize
public ObjectInfo withSize(Long size)
-
withMeta
public ObjectInfo withMeta(Map<String,String> meta)
-
withAdminmeta
public ObjectInfo withAdminmeta(Map<String,String> adminmeta)
-
withPath
public ObjectInfo withPath(List<String> path)
-
-