Expand documentation of returned alert types in listAlerts API Reference page.

This commit is contained in:
Jessica Tomechak 2012-02-17 04:21:13 -08:00
parent 9c5fb5f199
commit 458058bc87
1 changed files with 8 additions and 1 deletions

View File

@ -30,7 +30,14 @@ public class AlertResponse extends BaseResponse {
@SerializedName(ApiConstants.ID) @Param(description="the id of the alert")
private IdentityProxy id = new IdentityProxy("alert");
@SerializedName(ApiConstants.TYPE) @Param(description="the alert type")
@SerializedName(ApiConstants.TYPE) @Param(description="One of the following alert types: " +
"MEMORY = 0, CPU = 1, STORAGE = 2, STORAGE_ALLOCATED = 3, PUBLIC_IP = 4, PRIVATE_IP = 5, HOST = 6, USERVM = 7, " +
"DOMAIN_ROUTER = 8, CONSOLE_PROXY = 9, ROUTING = 10: lost connection to default route (to the gateway), " +
"STORAGE_MISC = 11: lost connection to default route (to the gateway), " +
"USAGE_SERVER = 12: lost connection to default route (to the gateway), " +
"MANAGMENT_NODE = 13: lost connection to default route (to the gateway), " +
"DOMAIN_ROUTER_MIGRATE = 14, CONSOLE_PROXY_MIGRATE = 15, USERVM_MIGRATE = 16, VLAN = 17, SSVM = 18, " +
"USAGE_SERVER_RESULT = 19")
private Short alertType;
@SerializedName(ApiConstants.DESCRIPTION) @Param(description="description of the alert")