public class CreateCosTokenV2Request extends AbstractModel
| Constructor and Description | 
|---|
| CreateCosTokenV2Request() | 
| CreateCosTokenV2Request(CreateCosTokenV2Request 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 | getOptType()Get optType. | 
| String | getPkgName()Get Package name | 
| String | getServiceId()Get Service ID | 
| Long | getSourceChannel()Get Source channel | 
| String | getTimeVersion()Get Input parameter of `deployVersion` | 
| void | setOptType(Long OptType)Set optType. | 
| void | setPkgName(String PkgName)Set Package name | 
| void | setServiceId(String ServiceId)Set Service ID | 
| void | setSourceChannel(Long SourceChannel)Set Source channel | 
| void | setTimeVersion(String TimeVersion)Set Input parameter of `deployVersion` | 
| 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 CreateCosTokenV2Request()
public CreateCosTokenV2Request(CreateCosTokenV2Request source)
public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId - Service IDpublic String getPkgName()
public void setPkgName(String PkgName)
PkgName - Package namepublic Long getOptType()
public void setOptType(Long OptType)
OptType - optType. 1: upload; 2: querypublic Long getSourceChannel()
public void setSourceChannel(Long SourceChannel)
SourceChannel - Source channelpublic String getTimeVersion()
public void setTimeVersion(String TimeVersion)
TimeVersion - Input parameter of `deployVersion`Copyright © 2023. All rights reserved.