Package us.kbase.workspace
Class SaveObjectParams
- java.lang.Object
-
- us.kbase.workspace.SaveObjectParams
-
@Generated("com.googlecode.jsonschema2pojo") public class SaveObjectParams extends Object
Deprecated.Original spec-file type: save_object_params
Input parameters for the "save_object" function. Provided for backwards compatibility. Required arguments: type_string type - type of the object to be saved ws_name workspace - name of the workspace where the object is to be saved obj_name id - name behind which the object will be saved in the workspace UnspecifiedObject data - data to be saved in the workspace Optional arguments: usermeta metadata - 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. string auth - the authentication token of the KBase account accessing the workspace. Overrides the client provided authorization credentials if they exist.
-
-
Constructor Summary
Constructors Constructor Description SaveObjectParams()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Deprecated.String
getAuth()
Deprecated.UObject
getData()
Deprecated.String
getId()
Deprecated.Map<String,String>
getMetadata()
Deprecated.String
getType()
Deprecated.String
getWorkspace()
Deprecated.void
setAdditionalProperties(String name, Object value)
Deprecated.void
setAuth(String auth)
Deprecated.void
setData(UObject data)
Deprecated.void
setId(String id)
Deprecated.void
setMetadata(Map<String,String> metadata)
Deprecated.void
setType(String type)
Deprecated.void
setWorkspace(String workspace)
Deprecated.String
toString()
Deprecated.SaveObjectParams
withAuth(String auth)
Deprecated.SaveObjectParams
withData(UObject data)
Deprecated.SaveObjectParams
withId(String id)
Deprecated.SaveObjectParams
withMetadata(Map<String,String> metadata)
Deprecated.SaveObjectParams
withType(String type)
Deprecated.SaveObjectParams
withWorkspace(String workspace)
Deprecated.
-
-
-
Method Detail
-
getId
public String getId()
Deprecated.
-
setId
public void setId(String id)
Deprecated.
-
withId
public SaveObjectParams withId(String id)
Deprecated.
-
getType
public String getType()
Deprecated.
-
setType
public void setType(String type)
Deprecated.
-
withType
public SaveObjectParams withType(String type)
Deprecated.
-
getData
public UObject getData()
Deprecated.
-
setData
public void setData(UObject data)
Deprecated.
-
withData
public SaveObjectParams withData(UObject data)
Deprecated.
-
getWorkspace
public String getWorkspace()
Deprecated.
-
setWorkspace
public void setWorkspace(String workspace)
Deprecated.
-
withWorkspace
public SaveObjectParams withWorkspace(String workspace)
Deprecated.
-
withMetadata
public SaveObjectParams withMetadata(Map<String,String> metadata)
Deprecated.
-
getAuth
public String getAuth()
Deprecated.
-
setAuth
public void setAuth(String auth)
Deprecated.
-
withAuth
public SaveObjectParams withAuth(String auth)
Deprecated.
-
-