Package us.kbase.workspace
Class RenameObjectParams
- java.lang.Object
-
- us.kbase.workspace.RenameObjectParams
-
@Generated("com.googlecode.jsonschema2pojo") public class RenameObjectParams extends java.lang.ObjectOriginal spec-file type: RenameObjectParams
Input parameters for the 'rename_object' function. Required arguments: ObjectIdentity obj - the object to rename. obj_name new_name - the new name for the object.
-
-
Constructor Summary
Constructors Constructor Description RenameObjectParams()
-
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.StringgetNewName()ObjectIdentitygetObj()Original spec-file type: ObjectIdentityvoidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetNewName(java.lang.String newName)voidsetObj(ObjectIdentity obj)Original spec-file type: ObjectIdentityjava.lang.StringtoString()RenameObjectParamswithNewName(java.lang.String newName)RenameObjectParamswithObj(ObjectIdentity obj)
-
-
-
Method Detail
-
getObj
public ObjectIdentity getObj()
Original 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.
-
setObj
public void setObj(ObjectIdentity obj)
Original 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.
-
withObj
public RenameObjectParams withObj(ObjectIdentity obj)
-
getNewName
public java.lang.String getNewName()
-
setNewName
public void setNewName(java.lang.String newName)
-
withNewName
public RenameObjectParams withNewName(java.lang.String newName)
-
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
-
-