Package us.kbase.workspace
Class GrantModuleOwnershipParams
- java.lang.Object
-
- us.kbase.workspace.GrantModuleOwnershipParams
-
@Generated("com.googlecode.jsonschema2pojo") public class GrantModuleOwnershipParams extends java.lang.ObjectOriginal spec-file type: GrantModuleOwnershipParams
Parameters for the grant_module_ownership function. Required arguments: modulename mod - the module to modify. username new_owner - the user to add to the module's list of owners. Optional arguments: boolean with_grant_option - true to allow the user to add owners to the module.
-
-
Constructor Summary
Constructors Constructor Description GrantModuleOwnershipParams()
-
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.StringgetMod()java.lang.StringgetNewOwner()java.lang.LonggetWithGrantOption()voidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetMod(java.lang.String mod)voidsetNewOwner(java.lang.String newOwner)voidsetWithGrantOption(java.lang.Long withGrantOption)java.lang.StringtoString()GrantModuleOwnershipParamswithMod(java.lang.String mod)GrantModuleOwnershipParamswithNewOwner(java.lang.String newOwner)GrantModuleOwnershipParamswithWithGrantOption(java.lang.Long withGrantOption)
-
-
-
Method Detail
-
getMod
public java.lang.String getMod()
-
setMod
public void setMod(java.lang.String mod)
-
withMod
public GrantModuleOwnershipParams withMod(java.lang.String mod)
-
getNewOwner
public java.lang.String getNewOwner()
-
setNewOwner
public void setNewOwner(java.lang.String newOwner)
-
withNewOwner
public GrantModuleOwnershipParams withNewOwner(java.lang.String newOwner)
-
getWithGrantOption
public java.lang.Long getWithGrantOption()
-
setWithGrantOption
public void setWithGrantOption(java.lang.Long withGrantOption)
-
withWithGrantOption
public GrantModuleOwnershipParams withWithGrantOption(java.lang.Long withGrantOption)
-
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
-
-