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 | 
|---|---|
| String | getArea()Get Applicable area. | 
| Long | getAutoRenewFlag()Get Whether to enable auto-renewal. | 
| String | getCreateTime()Get The creation time. | 
| String | getEnableTime()Get The effective time. | 
| String | getExpireTime()Get The expiration time. | 
| String | getGroup()Get The resource type. | 
| String | getId()Get The resource ID. | 
| Long | getPayMode()Get Billing mode
`0`: Pay-as-you-go | 
| String | getPlanId()Get ID of the resource associated with the plan. | 
| String | getStatus()Get The plan status. | 
| Sv[] | getSv()Get Pricing query parameter | 
| String | getType()Get Resource tag type. | 
| Long | getZoneNumber()Get The sites that are associated with the current resources. | 
| void | setArea(String Area)Set Applicable area. | 
| void | setAutoRenewFlag(Long AutoRenewFlag)Set Whether to enable auto-renewal. | 
| void | setCreateTime(String CreateTime)Set The creation time. | 
| void | setEnableTime(String EnableTime)Set The effective time. | 
| void | setExpireTime(String ExpireTime)Set The expiration time. | 
| void | setGroup(String Group)Set The resource type. | 
| void | setId(String Id)Set The resource ID. | 
| void | setPayMode(Long PayMode)Set Billing mode
`0`: Pay-as-you-go | 
| void | setPlanId(String PlanId)Set ID of the resource associated with the plan. | 
| void | setStatus(String Status)Set The plan status. | 
| void | setSv(Sv[] Sv)Set Pricing query parameter | 
| void | setType(String Type)Set Resource tag type. | 
| void | setZoneNumber(Long ZoneNumber)Set The sites that are associated with the current resources. | 
| 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, toJsonStringpublic Resource()
public Resource(Resource source)
public String getId()
public void setId(String Id)
Id - The resource ID.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Billing mode
`0`: Pay-as-you-gopublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - The creation time.public String getEnableTime()
public void setEnableTime(String EnableTime)
EnableTime - The effective time.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime - The expiration time.public String getStatus()
public void setStatus(String Status)
Status - The plan status. Values:
public Sv[] getSv()
public void setSv(Sv[] Sv)
Sv - Pricing query parameterpublic Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag - Whether to enable auto-renewal. Values:
public String getPlanId()
public void setPlanId(String PlanId)
PlanId - ID of the resource associated with the plan.public String getArea()
public void setArea(String Area)
Area - Applicable area. Values:
public String getGroup()
public void setGroup(String Group)
Group - The resource type. Values:
public Long getZoneNumber()
public void setZoneNumber(Long ZoneNumber)
ZoneNumber - The sites that are associated with the current resources.
Note: This field may return null, indicating that no valid values can be obtained.public String getType()
public void setType(String Type)
Type - Resource tag type. Valid values:
Copyright © 2024. All rights reserved.