public class AddEditImageAutoAuthorizedRuleRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AddEditImageAutoAuthorizedRuleRequest() |
AddEditImageAutoAuthorizedRuleRequest(AddEditImageAutoAuthorizedRuleRequest 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 |
---|---|
String[] |
getExcludeHostIdSet()
Get Specified server IDs to be excluded
|
AssetFilters[] |
getHostIdFilters()
Get Filter.
|
String[] |
getHostIdSet()
Get IDs of specified servers.
|
Long |
getIsEnabled()
Get Whether the rule takes effect.
|
Long |
getMaxDailyCount()
Get Maximum number of image licenses per day.
|
String |
getRangeType()
Get Scope.
|
Long |
getRuleId()
Get Rule ID, which is required during editing.
|
void |
setExcludeHostIdSet(String[] ExcludeHostIdSet)
Set Specified server IDs to be excluded
|
void |
setHostIdFilters(AssetFilters[] HostIdFilters)
Set Filter.
|
void |
setHostIdSet(String[] HostIdSet)
Set IDs of specified servers.
|
void |
setIsEnabled(Long IsEnabled)
Set Whether the rule takes effect.
|
void |
setMaxDailyCount(Long MaxDailyCount)
Set Maximum number of image licenses per day.
|
void |
setRangeType(String RangeType)
Set Scope.
|
void |
setRuleId(Long RuleId)
Set Rule ID, which is required during editing.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AddEditImageAutoAuthorizedRuleRequest()
public AddEditImageAutoAuthorizedRuleRequest(AddEditImageAutoAuthorizedRuleRequest source)
public String getRangeType()
public void setRangeType(String RangeType)
RangeType
- Scope. Valid values: `MANUAL` (specified servers); `ALL` (all images).public Long getMaxDailyCount()
public void setMaxDailyCount(Long MaxDailyCount)
MaxDailyCount
- Maximum number of image licenses per day. `0`: Unlimited.public Long getIsEnabled()
public void setIsEnabled(Long IsEnabled)
IsEnabled
- Whether the rule takes effect. Valid values: `0` (no); `1` (yes).public String[] getHostIdSet()
public void setHostIdSet(String[] HostIdSet)
HostIdSet
- IDs of specified servers. This parameter is required when the scope is `MANUAL` and `HostIdFilters` is empty.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- Rule ID, which is required during editing.public AssetFilters[] getHostIdFilters()
public void setHostIdFilters(AssetFilters[] HostIdFilters)
HostIdFilters
- Filter. This parameter is required when the scope is `MANUAL` and `HostIdSet` is empty.public String[] getExcludeHostIdSet()
public void setExcludeHostIdSet(String[] ExcludeHostIdSet)
ExcludeHostIdSet
- Specified server IDs to be excludedCopyright © 2024. All rights reserved.