Package us.kbase.workspace
Class SaveObjectParams
- java.lang.Object
-
- us.kbase.workspace.SaveObjectParams
-
@Generated("com.googlecode.jsonschema2pojo") public class SaveObjectParams extends ObjectDeprecated.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.StringgetAuth()Deprecated.UObjectgetData()Deprecated.StringgetId()Deprecated.Map<String,String>getMetadata()Deprecated.StringgetType()Deprecated.StringgetWorkspace()Deprecated.voidsetAdditionalProperties(String name, Object value)Deprecated.voidsetAuth(String auth)Deprecated.voidsetData(UObject data)Deprecated.voidsetId(String id)Deprecated.voidsetMetadata(Map<String,String> metadata)Deprecated.voidsetType(String type)Deprecated.voidsetWorkspace(String workspace)Deprecated.StringtoString()Deprecated.SaveObjectParamswithAuth(String auth)Deprecated.SaveObjectParamswithData(UObject data)Deprecated.SaveObjectParamswithId(String id)Deprecated.SaveObjectParamswithMetadata(Map<String,String> metadata)Deprecated.SaveObjectParamswithType(String type)Deprecated.SaveObjectParamswithWorkspace(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.
-
-