public class InputInfo extends AbstractModel
Constructor and Description |
---|
InputInfo() |
InputInfo(InputInfo 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 |
getBucketInfo()
Get This field indicates the Tencent Cloud bucket information for file access.
Note: when `Type` is `COS`, this field will not be empty. |
String |
getType()
Get This field indicates the file access type.
|
String |
getUrl()
Get This field indicates the link address for file access in standard URL format.
Note: when `Type` is `URL`, this field will not be empty. |
void |
setBucketInfo(String BucketInfo)
Set This field indicates the Tencent Cloud bucket information for file access.
Note: when `Type` is `COS`, this field will not be empty. |
void |
setType(String Type)
Set This field indicates the file access type.
|
void |
setUrl(String Url)
Set This field indicates the link address for file access in standard URL format.
Note: when `Type` is `URL`, this field will not be empty. |
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, toJsonString
public InputInfo()
public InputInfo(InputInfo source)
public String getType()
public void setType(String Type)
Type
- This field indicates the file access type. Valid values: **URL** (resource link), **COS** (Tencent Cloud COS).
Note: this field may return null, indicating that no valid values can be obtained.public String getUrl()
public void setUrl(String Url)
Url
- This field indicates the link address for file access in standard URL format.public String getBucketInfo()
public void setBucketInfo(String BucketInfo)
BucketInfo
- This field indicates the Tencent Cloud bucket information for file access.Copyright © 2023. All rights reserved.