Create Disk Offering - make disksize optional

This commit is contained in:
Jessica Wang 2010-11-03 19:14:35 -07:00
parent edb0a2085f
commit 3deb7580bb
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class CreateDiskOfferingCmd extends BaseCmd {
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
@Parameter(name=ApiConstants.DISK_SIZE, type=CommandType.LONG, description="disk size of the disk offering in GB")
@Parameter(name=ApiConstants.DISK_SIZE, type=CommandType.LONG, required=false, description="disk size of the disk offering in GB")
private Long diskSize;
@Parameter(name=ApiConstants.DISPLAY_TEXT, type=CommandType.STRING, required=true, description="alternate display text of the disk offering")