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.GenericModel
Container for response information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetAlertPolicyRespResult.AlertType
Condition for the alert.
-
Constructor Summary
Constructors Constructor Description GetAlertPolicyRespResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlertType()
Gets the alertType.Map<String,Object>
getConditions()
Gets the conditions.String
getCreated()
Gets the created.String
getDescription()
Gets the description.Map<String,Object>
getFilters()
Gets the filters.String
getId()
Gets the id.GetAlertPolicyRespResultMechanisms
getMechanisms()
Gets the mechanisms.String
getModified()
Gets the modified.String
getName()
Gets the name.Boolean
isEnabled()
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
-
-