public class AllocationRationExpression extends AbstractModel
header, skipSign| Constructor and Description |
|---|
AllocationRationExpression() |
AllocationRationExpression(AllocationRationExpression 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 |
getNodeId()
Get Cost allocation unit ID that the sharing rule belongs to.
|
Float |
getRatio()
Get Sharing proportion occupied by allocation unit, pass 0 for allocation by proportion.
|
void |
setNodeId(Long NodeId)
Set Cost allocation unit ID that the sharing rule belongs to.
|
void |
setRatio(Float Ratio)
Set Sharing proportion occupied by allocation unit, pass 0 for allocation by proportion.
|
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 AllocationRationExpression()
public AllocationRationExpression(AllocationRationExpression source)
public Long getNodeId()
public void setNodeId(Long NodeId)
NodeId - Cost allocation unit ID that the sharing rule belongs to.public Float getRatio()
public void setRatio(Float Ratio)
Ratio - Sharing proportion occupied by allocation unit, pass 0 for allocation by proportion.Copyright © 2025. All rights reserved.