UploadMediaProps
Properties for defining a UploadMedia
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ice-uploadmedia
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ice;
new UploadMediaProps {
object AppId = null,
object EntityId = null,
object FileInfo = null,
object MediaMetaData = null,
object PostProcessConfig = null,
object UploadTargetConfig = null,
object UserData = null
};
Properties
Name | Type | Description |
---|---|---|
AppId |
object |
Property appId: The application ID. |
EntityId |
object |
Property entityId: The entity ID. |
FileInfo |
object |
Property fileInfo: The file information, which is in the JSON format and contains the following fields: Type: required. |
MediaMetaData |
object |
Property mediaMetaData: The metadata of the media asset, which is a JSON string that contains the following fields: Title: required. |
PostProcessConfig |
object |
Property postProcessConfig: Type = video || audio There is a post-upload processing action. |
UploadTargetConfig |
object |
Property uploadTargetConfig: The destination storage address. |
UserData |
object |
Property userData: The user data. |
AppId
Optional
public object AppId { get; set; }
- Type: object
Property appId: The application ID.
Default value: app-1000000.
EntityId
Optional
public object EntityId { get; set; }
- Type: object
Property entityId: The entity ID.
You can call the CreateEntity operation to create an entity and specify a dynamic metadata structure.
FileInfo
Optional
public object FileInfo { get; set; }
- Type: object
Property fileInfo: The file information, which is in the JSON format and contains the following fields: Type: required.
The file type. Valid values: video, image, audio, text, and other. Name: required. The file name without the extension. Size: optional. The file size. Ext: required. The file name extension.
MediaMetaData
Optional
public object MediaMetaData { get; set; }
- Type: object
Property mediaMetaData: The metadata of the media asset, which is a JSON string that contains the following fields: Title: required.
The value can be up to 128 characters in length. The value must be encoded in UTF-8. Description: optional. The value can be up to 1,024 characters in length. The value must be encoded in UTF-8. CateId: optional. Tags: optional. BusinessType: required. Valid values: opening or ending if Type is set to video default or cover if Type is set to image subtitles or font if Type is set to text watermark if Type is set to material general CoverURL: optional. DynamicMetaData: The value is a string.
PostProcessConfig
Optional
public object PostProcessConfig { get; set; }
- Type: object
Property postProcessConfig: Type = video || audio There is a post-upload processing action.
ProcessType Value: Workflow.
UploadTargetConfig
Optional
public object UploadTargetConfig { get; set; }
- Type: object
Property uploadTargetConfig: The destination storage address.
Set StorageType to oss. Set StorageLocation to an address in ApsaraVideo VOD. You cannot set this field to an OSS URL.
UserData
Optional
public object UserData { get; set; }
- Type: object
Property userData: The user data.
The value must be a JSON string. You can configure settings such as message callbacks.