public class Resource extends AbstractModel
| 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 The region. | 
| 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 | 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 | 
| void | setArea(String Area)Set The region. | 
| 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 | 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 | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, 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 - The region. Values:
Copyright © 2023. All rights reserved.