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 
 | 
Long | 
getAutoRenewFlag()
Get Specifies whether to enable auto-renewal
`0`: Default
`1`: Enable auto-renewal
`2`: Disable auto-renewal 
 | 
String | 
getCreateTime()
Get Creation time 
 | 
String | 
getEnableTime()
Get Effective time 
 | 
String | 
getExpireTime()
Get Expiration time 
 | 
String | 
getId()
Get Resource ID 
 | 
Long | 
getPayMode()
Get Billing mode
`0`: Pay-as-you-go 
 | 
String | 
getPlanId()
Get ID of the plan 
 | 
String | 
getStatus()
Get Status of the plan 
 | 
Sv[] | 
getSv()
Get Pricing query parameter 
 | 
void | 
setArea(String Area)
Set 
 | 
void | 
setAutoRenewFlag(Long AutoRenewFlag)
Set Specifies whether to enable auto-renewal
`0`: Default
`1`: Enable auto-renewal
`2`: Disable auto-renewal 
 | 
void | 
setCreateTime(String CreateTime)
Set Creation time 
 | 
void | 
setEnableTime(String EnableTime)
Set Effective time 
 | 
void | 
setExpireTime(String ExpireTime)
Set Expiration time 
 | 
void | 
setId(String Id)
Set Resource ID 
 | 
void | 
setPayMode(Long PayMode)
Set Billing mode
`0`: Pay-as-you-go 
 | 
void | 
setPlanId(String PlanId)
Set ID of the plan 
 | 
void | 
setStatus(String Status)
Set Status of the plan 
 | 
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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Resource()
public Resource(Resource source)
public String getId()
public void setId(String Id)
Id - Resource IDpublic Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Billing mode
`0`: Pay-as-you-gopublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation timepublic String getEnableTime()
public void setEnableTime(String EnableTime)
EnableTime - Effective timepublic String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime - Expiration timepublic String getStatus()
public void setStatus(String Status)
Status - Status of the planpublic Sv[] getSv()
public void setSv(Sv[] Sv)
Sv - Pricing query parameterpublic Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag - Specifies whether to enable auto-renewal
`0`: Default
`1`: Enable auto-renewal
`2`: Disable auto-renewalpublic String getPlanId()
public void setPlanId(String PlanId)
PlanId - ID of the planpublic String getArea()
public void setArea(String Area)
Area - Copyright © 2025. All rights reserved.