Class GetAlertPolicyRespResult
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.alerts.v1.model.GetAlertPolicyRespResult
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetAlertPolicyRespResult extends com.ibm.cloud.sdk.core.service.model.GenericModelContainer for response information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAlertPolicyRespResult.AlertTypeCondition for the alert.
-
Constructor Summary
Constructors Constructor Description GetAlertPolicyRespResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlertType()Gets the alertType.Map<String,Object>getConditions()Gets the conditions.StringgetCreated()Gets the created.StringgetDescription()Gets the description.Map<String,Object>getFilters()Gets the filters.StringgetId()Gets the id.GetAlertPolicyRespResultMechanismsgetMechanisms()Gets the mechanisms.StringgetModified()Gets the modified.StringgetName()Gets the name.BooleanisEnabled()Gets the enabled.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Policy ID.- Returns:
- the id
-
getName
public String getName()
Gets the name. Policy Name.- Returns:
- the name
-
getDescription
public String getDescription()
Gets the description. Alert Policy description.- Returns:
- the description
-
isEnabled
public Boolean isEnabled()
Gets the enabled. Is the alert enabled.- Returns:
- the enabled
-
getAlertType
public String getAlertType()
Gets the alertType. Condition for the alert.- Returns:
- the alertType
-
getMechanisms
public GetAlertPolicyRespResultMechanisms getMechanisms()
Gets the mechanisms. Delivery mechanisms for the alert, can include an email, a webhook, or both.- Returns:
- the mechanisms
-
getCreated
public String getCreated()
Gets the created. When was the policy first created.- Returns:
- the created
-
getModified
public String getModified()
Gets the modified. When was the policy last modified.- Returns:
- the modified
-
getConditions
public Map<String,Object> getConditions()
Gets the conditions. Optional conditions depending for the alert type.- Returns:
- the conditions
-
-