public class GetMediaResourceIdRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
extendInfo
The extended fields.
|
Long |
fileSize
The size of the resource.
|
String |
memo
The description of the resource.
|
String |
ossKey
The address of the resource.
|
Integer |
resourceType
The type of the resource.
|
| 构造器和说明 |
|---|
GetMediaResourceIdRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetMediaResourceIdRequest |
build(Map<String,?> map) |
String |
getExtendInfo() |
Long |
getFileSize() |
String |
getMemo() |
String |
getOssKey() |
Integer |
getResourceType() |
GetMediaResourceIdRequest |
setExtendInfo(String extendInfo) |
GetMediaResourceIdRequest |
setFileSize(Long fileSize) |
GetMediaResourceIdRequest |
setMemo(String memo) |
GetMediaResourceIdRequest |
setOssKey(String ossKey) |
GetMediaResourceIdRequest |
setResourceType(Integer resourceType) |
@NameInMap(value="ExtendInfo") public String extendInfo
The extended fields.
example:If you set the ResourceType parameter to 2, this parameter is required.
{\"img_rate\":\"oneToOne\"}
@NameInMap(value="FileSize") public Long fileSize
The size of the resource. Unit: bytes.
This parameter is required.
example:12
@NameInMap(value="Memo") public String memo
The description of the resource.
example:remark
@NameInMap(value="OssKey") public String ossKey
The address of the resource.
This parameter is required.
example:oss://alicom-fc-media/1947741454322274/alicom-fc-media/pic/202205191526575398603697152.png
@NameInMap(value="ResourceType") public Integer resourceType
The type of the resource.
If you set the ResourceType parameter to 2, the img_rate required is required. Valid values:
1:1
16:9
3:1
48:65
This parameter is required.
example:1
public static GetMediaResourceIdRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetMediaResourceIdRequest setExtendInfo(String extendInfo)
public String getExtendInfo()
public GetMediaResourceIdRequest setFileSize(Long fileSize)
public Long getFileSize()
public GetMediaResourceIdRequest setMemo(String memo)
public String getMemo()
public GetMediaResourceIdRequest setOssKey(String ossKey)
public String getOssKey()
public GetMediaResourceIdRequest setResourceType(Integer resourceType)
public Integer getResourceType()
Copyright © 2024. All rights reserved.