Package us.kbase.workspace
Class ObjectIdentity
- java.lang.Object
-
- us.kbase.workspace.ObjectIdentity
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectIdentity extends java.lang.ObjectOriginal spec-file type: ObjectIdentity
An object identifier. Select an object by either: One, and only one, of the numerical id or name of the workspace. ws_id wsid - the numerical ID of the workspace. ws_name workspace - the name of the workspace. AND One, and only one, of the numerical id or name of the object. obj_id objid- the numerical ID of the object. obj_name name - name of the object. OPTIONALLY obj_ver ver - the version of the object. OR an object reference string: obj_ref ref - an object reference string.
-
-
Constructor Summary
Constructors Constructor Description ObjectIdentity()
-
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.StringgetName()java.lang.LonggetObjid()java.lang.StringgetRef()java.lang.LonggetVer()java.lang.StringgetWorkspace()java.lang.LonggetWsid()voidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetName(java.lang.String name)voidsetObjid(java.lang.Long objid)voidsetRef(java.lang.String ref)voidsetVer(java.lang.Long ver)voidsetWorkspace(java.lang.String workspace)voidsetWsid(java.lang.Long wsid)java.lang.StringtoString()ObjectIdentitywithName(java.lang.String name)ObjectIdentitywithObjid(java.lang.Long objid)ObjectIdentitywithRef(java.lang.String ref)ObjectIdentitywithVer(java.lang.Long ver)ObjectIdentitywithWorkspace(java.lang.String workspace)ObjectIdentitywithWsid(java.lang.Long wsid)
-
-
-
Method Detail
-
getWorkspace
public java.lang.String getWorkspace()
-
setWorkspace
public void setWorkspace(java.lang.String workspace)
-
withWorkspace
public ObjectIdentity withWorkspace(java.lang.String workspace)
-
getWsid
public java.lang.Long getWsid()
-
setWsid
public void setWsid(java.lang.Long wsid)
-
withWsid
public ObjectIdentity withWsid(java.lang.Long wsid)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
withName
public ObjectIdentity withName(java.lang.String name)
-
getObjid
public java.lang.Long getObjid()
-
setObjid
public void setObjid(java.lang.Long objid)
-
withObjid
public ObjectIdentity withObjid(java.lang.Long objid)
-
getVer
public java.lang.Long getVer()
-
setVer
public void setVer(java.lang.Long ver)
-
withVer
public ObjectIdentity withVer(java.lang.Long ver)
-
getRef
public java.lang.String getRef()
-
setRef
public void setRef(java.lang.String ref)
-
withRef
public ObjectIdentity withRef(java.lang.String ref)
-
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
-
-