public class Resource extends AbstractModel
header, skipSign
Constructor and Description |
---|
Resource() |
Resource(Resource 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 |
---|---|
ResourceAvailability[] |
getAvailabilitySet()
Get 可用资源。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getIsp()
Get 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
|
String[] |
getType()
Get 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
|
TypeInfo[] |
getTypeSet()
Get 运营商类型信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAvailabilitySet(ResourceAvailability[] AvailabilitySet)
Set 可用资源。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIsp(String Isp)
Set 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
|
void |
setType(String[] Type)
Set 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
|
void |
setTypeSet(TypeInfo[] TypeSet)
Set 运营商类型信息
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public Resource()
public Resource(Resource source)
public String[] getType()
public void setType(String[] Type)
Type
- 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。public String getIsp()
public void setIsp(String Isp)
Isp
- 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。public ResourceAvailability[] getAvailabilitySet()
public void setAvailabilitySet(ResourceAvailability[] AvailabilitySet)
AvailabilitySet
- 可用资源。
注意:此字段可能返回 null,表示取不到有效值。public TypeInfo[] getTypeSet()
public void setTypeSet(TypeInfo[] TypeSet)
TypeSet
- 运营商类型信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.