public class CreateResourceFileRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateResourceFileRequest() |
CreateResourceFileRequest(CreateResourceFileRequest 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 |
getBucketName()
Get cos存储桶名称, 可从GetResourceCosPath接口获取
|
String |
getBundleId()
Get bundle客户端ID
|
String |
getBundleInfo()
Get bundle客户端信息
|
String |
getCosRegion()
Get BucketName桶对应的cos存储桶区域
|
String |
getParentFolderPath()
Get 项目中资源文件上传的路径, 取值示例: /wedata/qxxxm/, 根目录,请使用/即可
|
String |
getProjectId()
Get 项目ID
|
String |
getResourceFile()
Get - 上传文件及手填两种方式只能选择其一,如果两者均提供,取值顺序为文件>手填值
- 手填值必须是存在的cos路径, /datastudio/resource/ 为固定前缀, projectId 为项目ID,需传入具体值, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例: /datastudio/resource/projectId/parentFolderPath/name
|
String |
getResourceName()
Get 资源文件名称, 尽可能和上传文件名保持一致
|
void |
setBucketName(String BucketName)
Set cos存储桶名称, 可从GetResourceCosPath接口获取
|
void |
setBundleId(String BundleId)
Set bundle客户端ID
|
void |
setBundleInfo(String BundleInfo)
Set bundle客户端信息
|
void |
setCosRegion(String CosRegion)
Set BucketName桶对应的cos存储桶区域
|
void |
setParentFolderPath(String ParentFolderPath)
Set 项目中资源文件上传的路径, 取值示例: /wedata/qxxxm/, 根目录,请使用/即可
|
void |
setProjectId(String ProjectId)
Set 项目ID
|
void |
setResourceFile(String ResourceFile)
Set - 上传文件及手填两种方式只能选择其一,如果两者均提供,取值顺序为文件>手填值
- 手填值必须是存在的cos路径, /datastudio/resource/ 为固定前缀, projectId 为项目ID,需传入具体值, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例: /datastudio/resource/projectId/parentFolderPath/name
|
void |
setResourceName(String ResourceName)
Set 资源文件名称, 尽可能和上传文件名保持一致
|
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, toJsonString
public CreateResourceFileRequest()
public CreateResourceFileRequest(CreateResourceFileRequest source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId
- 项目IDpublic String getResourceName()
public void setResourceName(String ResourceName)
ResourceName
- 资源文件名称, 尽可能和上传文件名保持一致public String getBucketName()
public void setBucketName(String BucketName)
BucketName
- cos存储桶名称, 可从GetResourceCosPath接口获取public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- BucketName桶对应的cos存储桶区域public String getParentFolderPath()
public void setParentFolderPath(String ParentFolderPath)
ParentFolderPath
- 项目中资源文件上传的路径, 取值示例: /wedata/qxxxm/, 根目录,请使用/即可public String getResourceFile()
public void setResourceFile(String ResourceFile)
ResourceFile
- - 上传文件及手填两种方式只能选择其一,如果两者均提供,取值顺序为文件>手填值
- 手填值必须是存在的cos路径, /datastudio/resource/ 为固定前缀, projectId 为项目ID,需传入具体值, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例: /datastudio/resource/projectId/parentFolderPath/namepublic String getBundleId()
public void setBundleId(String BundleId)
BundleId
- bundle客户端IDpublic String getBundleInfo()
public void setBundleInfo(String BundleInfo)
BundleInfo
- bundle客户端信息Copyright © 2025. All rights reserved.