Class AdminController.CreateGroupModel
java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.AdminController.CreateGroupModel
- Enclosing interface:
- AdminController
public static class AdminController.CreateGroupModel extends Object
Model used when creating a group. No other purpose.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors Constructor Description CreateGroupModel()
-
Method Summary
-
Constructor Details
-
CreateGroupModel
public CreateGroupModel()
-
-
Method Details
-
getName
- Returns:
- The name of the group to create.
-
setName
- Parameters:
name
- The name of the group to create.
-
getQuota
- Returns:
- The quota of the group to create, as a
String
. Empty if the group is quota-less.
-
setQuota
- Parameters:
quota
- The quota of the group to create, as aString
.
-
toGroupRecord
- Returns:
- This request, as a partial group record.
-
isQuotad
public boolean isQuotad()- Returns:
- Whether the group has a quota.
-
setQuotad
public void setQuotad(boolean value)- Parameters:
value
- Whether the group has a quota.
-