generateAlert API: set max value of "description" parameter to match correspondig field's length in VO object

This commit is contained in:
Alena Prokharchyk 2014-01-30 16:40:52 -08:00
parent 48361d8a8b
commit 158280181d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class GenerateAlertCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "Name of the alert", required = true)
private String name;
@Parameter(name = ApiConstants.DESCRIPTION, type = CommandType.STRING, description = "Alert description", required = true)
@Parameter(name = ApiConstants.DESCRIPTION, type = CommandType.STRING, description = "Alert description", required = true, length = 999)
private String description;
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, description = "Zone id for which alert is generated")