public class PolicyGroup extends AbstractModel
Constructor and Description |
---|
PolicyGroup() |
PolicyGroup(PolicyGroup source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getCanSetDefault()
Get Whether the alarm policy can be set to default.
|
Boolean |
getEnable()
Get Whether the alarm policy is enabled.
|
Long |
getGroupID()
Get Alarm policy group ID.
|
String |
getGroupName()
Get Alarm policy group name.
|
Long |
getInsertTime()
Get Creation time.
|
Long |
getIsDefault()
Get Whether the alarm policy is set to default.
|
Long |
getIsUnionRule()
Get Whether the logical relationship between rules is AND.
|
Long |
getLastEditUin()
Get UIN of the last modifier.
|
Long |
getNoShieldedInstanceCount()
Get Number of unshielded instances.
|
Long |
getParentGroupID()
Get Parent policy group ID.
|
Long |
getProjectID()
Get Project ID.
|
PolicyGroupReceiverInfo[] |
getReceiverInfos()
Get Alarm recipient information.
|
String |
getRemark()
Get Remarks.
|
Long |
getTotalInstanceCount()
Get The total number of associated instances.
|
Long |
getUpdateTime()
Get Modification time.
|
String |
getViewName()
Get View.
|
void |
setCanSetDefault(Boolean CanSetDefault)
Set Whether the alarm policy can be set to default.
|
void |
setEnable(Boolean Enable)
Set Whether the alarm policy is enabled.
|
void |
setGroupID(Long GroupID)
Set Alarm policy group ID.
|
void |
setGroupName(String GroupName)
Set Alarm policy group name.
|
void |
setInsertTime(Long InsertTime)
Set Creation time.
|
void |
setIsDefault(Long IsDefault)
Set Whether the alarm policy is set to default.
|
void |
setIsUnionRule(Long IsUnionRule)
Set Whether the logical relationship between rules is AND.
|
void |
setLastEditUin(Long LastEditUin)
Set UIN of the last modifier.
|
void |
setNoShieldedInstanceCount(Long NoShieldedInstanceCount)
Set Number of unshielded instances.
|
void |
setParentGroupID(Long ParentGroupID)
Set Parent policy group ID.
|
void |
setProjectID(Long ProjectID)
Set Project ID.
|
void |
setReceiverInfos(PolicyGroupReceiverInfo[] ReceiverInfos)
Set Alarm recipient information.
|
void |
setRemark(String Remark)
Set Remarks.
|
void |
setTotalInstanceCount(Long TotalInstanceCount)
Set The total number of associated instances.
|
void |
setUpdateTime(Long UpdateTime)
Set Modification time.
|
void |
setViewName(String ViewName)
Set View.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PolicyGroup()
public PolicyGroup(PolicyGroup source)
public Boolean getCanSetDefault()
public void setCanSetDefault(Boolean CanSetDefault)
CanSetDefault
- Whether the alarm policy can be set to default.public Long getGroupID()
public void setGroupID(Long GroupID)
GroupID
- Alarm policy group ID.public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- Alarm policy group name.public Long getInsertTime()
public void setInsertTime(Long InsertTime)
InsertTime
- Creation time.public Long getIsDefault()
public void setIsDefault(Long IsDefault)
IsDefault
- Whether the alarm policy is set to default.public Boolean getEnable()
public void setEnable(Boolean Enable)
Enable
- Whether the alarm policy is enabled.public Long getLastEditUin()
public void setLastEditUin(Long LastEditUin)
LastEditUin
- UIN of the last modifier.public Long getNoShieldedInstanceCount()
public void setNoShieldedInstanceCount(Long NoShieldedInstanceCount)
NoShieldedInstanceCount
- Number of unshielded instances.public Long getParentGroupID()
public void setParentGroupID(Long ParentGroupID)
ParentGroupID
- Parent policy group ID.public Long getProjectID()
public void setProjectID(Long ProjectID)
ProjectID
- Project ID.public PolicyGroupReceiverInfo[] getReceiverInfos()
public void setReceiverInfos(PolicyGroupReceiverInfo[] ReceiverInfos)
ReceiverInfos
- Alarm recipient information.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getRemark()
public void setRemark(String Remark)
Remark
- Remarks.public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- Modification time.public Long getTotalInstanceCount()
public void setTotalInstanceCount(Long TotalInstanceCount)
TotalInstanceCount
- The total number of associated instances.public String getViewName()
public void setViewName(String ViewName)
ViewName
- View.public Long getIsUnionRule()
public void setIsUnionRule(Long IsUnionRule)
IsUnionRule
- Whether the logical relationship between rules is AND.Copyright © 2023. All rights reserved.