public class BaselineRule extends AbstractModel
skipSign
Constructor and Description |
---|
BaselineRule() |
BaselineRule(BaselineRule 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 |
getAssetType()
Get [0:所有专业版旗舰版|1:hostID|2:ip]
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getCategoryId()
Get 规则分类
|
Long |
getHostCount()
Get 主机数
|
String[] |
getHostIds()
Get 主机Id集合
注意:此字段可能返回 null,表示取不到有效值。
|
String[] |
getHostIps()
Get 主机IP
注意:此字段可能返回 null,表示取不到有效值。
|
Item[] |
getItems()
Get 适配项ID列表
|
String |
getRuleDesc()
Get 规则描述
|
Long |
getRuleId()
Get 规则Id
|
String |
getRuleName()
Get 规则名称,长度不超过128英文字符
|
Long |
getRuleType()
Get 规则类型 [0:系统|1:自定义]
|
void |
setAssetType(Long AssetType)
Set [0:所有专业版旗舰版|1:hostID|2:ip]
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCategoryId(Long CategoryId)
Set 规则分类
|
void |
setHostCount(Long HostCount)
Set 主机数
|
void |
setHostIds(String[] HostIds)
Set 主机Id集合
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHostIps(String[] HostIps)
Set 主机IP
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setItems(Item[] Items)
Set 适配项ID列表
|
void |
setRuleDesc(String RuleDesc)
Set 规则描述
|
void |
setRuleId(Long RuleId)
Set 规则Id
|
void |
setRuleName(String RuleName)
Set 规则名称,长度不超过128英文字符
|
void |
setRuleType(Long RuleType)
Set 规则类型 [0:系统|1:自定义]
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public BaselineRule()
public BaselineRule(BaselineRule source)
public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- 规则名称,长度不超过128英文字符public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- 规则Idpublic Long getRuleType()
public void setRuleType(Long RuleType)
RuleType
- 规则类型 [0:系统|1:自定义]public Long getCategoryId()
public void setCategoryId(Long CategoryId)
CategoryId
- 规则分类public String getRuleDesc()
public void setRuleDesc(String RuleDesc)
RuleDesc
- 规则描述public Long getHostCount()
public void setHostCount(Long HostCount)
HostCount
- 主机数public Item[] getItems()
public void setItems(Item[] Items)
Items
- 适配项ID列表public Long getAssetType()
public void setAssetType(Long AssetType)
AssetType
- [0:所有专业版旗舰版|1:hostID|2:ip]
注意:此字段可能返回 null,表示取不到有效值。public String[] getHostIds()
public void setHostIds(String[] HostIds)
HostIds
- 主机Id集合
注意:此字段可能返回 null,表示取不到有效值。public String[] getHostIps()
public void setHostIps(String[] HostIps)
HostIps
- 主机IP
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.