public class Alarm extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Alarm() |
Alarm(Alarm 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 |
|---|---|
Long |
getFrequency()
Get Alarm frequency.
|
Long |
getId()
Get Alarm rule ID.
|
Long |
getMemberUin()
Get Specifies the uin of the rule owner.
|
Long |
getMetrics()
Get Alarm condition.
|
String |
getName()
Get Alarm rule name.
|
Long |
getOwnerUin()
Get Creator UIN
|
Long |
getProductId()
Get Product ID
|
String |
getProductName()
Get Product name
|
Long |
getQuotaId()
Get Quota ID.
|
String |
getQuotaName()
Get Specifies the quota name.
|
Long |
getStatus()
Get Whether to delete.
|
Long |
getThreshold()
Get Specifies the Alarm threshold.
|
void |
setFrequency(Long Frequency)
Set Alarm frequency.
|
void |
setId(Long Id)
Set Alarm rule ID.
|
void |
setMemberUin(Long MemberUin)
Set Specifies the uin of the rule owner.
|
void |
setMetrics(Long Metrics)
Set Alarm condition.
|
void |
setName(String Name)
Set Alarm rule name.
|
void |
setOwnerUin(Long OwnerUin)
Set Creator UIN
|
void |
setProductId(Long ProductId)
Set Product ID
|
void |
setProductName(String ProductName)
Set Product name
|
void |
setQuotaId(Long QuotaId)
Set Quota ID.
|
void |
setQuotaName(String QuotaName)
Set Specifies the quota name.
|
void |
setStatus(Long Status)
Set Whether to delete.
|
void |
setThreshold(Long Threshold)
Set Specifies the Alarm threshold.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Alarm()
public Alarm(Alarm source)
public Long getId()
public void setId(Long Id)
Id - Alarm rule ID.public String getName()
public void setName(String Name)
Name - Alarm rule name.public Long getProductId()
public void setProductId(Long ProductId)
ProductId - Product IDpublic Long getQuotaId()
public void setQuotaId(Long QuotaId)
QuotaId - Quota ID.public Long getMetrics()
public void setMetrics(Long Metrics)
Metrics - Alarm condition.public Long getFrequency()
public void setFrequency(Long Frequency)
Frequency - Alarm frequency.public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold - Specifies the Alarm threshold. valid values: 0-100.public Long getOwnerUin()
public void setOwnerUin(Long OwnerUin)
OwnerUin - Creator UINpublic Long getMemberUin()
public void setMemberUin(Long MemberUin)
MemberUin - Specifies the uin of the rule owner.public String getQuotaName()
public void setQuotaName(String QuotaName)
QuotaName - Specifies the quota name.public String getProductName()
public void setProductName(String ProductName)
ProductName - Product namepublic Long getStatus()
public void setStatus(Long Status)
Status - Whether to delete. 1: not deleted.
2: delete.Copyright © 2025. All rights reserved.