All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.vod.v20180717.models.ApplyUploadRequest Maven / Gradle / Ivy

There is a newer version: 3.1.1104
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.vod.v20180717.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class ApplyUploadRequest extends AbstractModel{

    /**
    * 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。
    */
    @SerializedName("MediaType")
    @Expose
    private String MediaType;

    /**
    * 媒体名称。
    */
    @SerializedName("MediaName")
    @Expose
    private String MediaName;

    /**
    * 封面类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。
    */
    @SerializedName("CoverType")
    @Expose
    private String CoverType;

    /**
    * 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 [创建任务流模板](/document/product/266/33819) 并为模板命名。
    */
    @SerializedName("Procedure")
    @Expose
    private String Procedure;

    /**
    * 媒体文件过期时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
    */
    @SerializedName("ExpireTime")
    @Expose
    private String ExpireTime;

    /**
    * 指定上传园区,仅适用于对上传地域有特殊需求的用户。
    */
    @SerializedName("StorageRegion")
    @Expose
    private String StorageRegion;

    /**
    * 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • */ @SerializedName("ClassId") @Expose private Long ClassId; /** * 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。 */ @SerializedName("SourceContext") @Expose private String SourceContext; /** * 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。 */ @SerializedName("SessionContext") @Expose private String SessionContext; /** * 保留字段,特殊用途时使用。 */ @SerializedName("ExtInfo") @Expose private String ExtInfo; /** * 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ @SerializedName("SubAppId") @Expose private Long SubAppId; /** * Get 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 * @return MediaType 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 */ public String getMediaType() { return this.MediaType; } /** * Set 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 * @param MediaType 媒体类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 */ public void setMediaType(String MediaType) { this.MediaType = MediaType; } /** * Get 媒体名称。 * @return MediaName 媒体名称。 */ public String getMediaName() { return this.MediaName; } /** * Set 媒体名称。 * @param MediaName 媒体名称。 */ public void setMediaName(String MediaName) { this.MediaName = MediaName; } /** * Get 封面类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 * @return CoverType 封面类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 */ public String getCoverType() { return this.CoverType; } /** * Set 封面类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 * @param CoverType 封面类型,可选值请参考 [上传能力综述](/document/product/266/9760#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B)。 */ public void setCoverType(String CoverType) { this.CoverType = CoverType; } /** * Get 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 [创建任务流模板](/document/product/266/33819) 并为模板命名。 * @return Procedure 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 [创建任务流模板](/document/product/266/33819) 并为模板命名。 */ public String getProcedure() { return this.Procedure; } /** * Set 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 [创建任务流模板](/document/product/266/33819) 并为模板命名。 * @param Procedure 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 [创建任务流模板](/document/product/266/33819) 并为模板命名。 */ public void setProcedure(String Procedure) { this.Procedure = Procedure; } /** * Get 媒体文件过期时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。 * @return ExpireTime 媒体文件过期时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。 */ public String getExpireTime() { return this.ExpireTime; } /** * Set 媒体文件过期时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。 * @param ExpireTime 媒体文件过期时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。 */ public void setExpireTime(String ExpireTime) { this.ExpireTime = ExpireTime; } /** * Get 指定上传园区,仅适用于对上传地域有特殊需求的用户。 * @return StorageRegion 指定上传园区,仅适用于对上传地域有特殊需求的用户。 */ public String getStorageRegion() { return this.StorageRegion; } /** * Set 指定上传园区,仅适用于对上传地域有特殊需求的用户。 * @param StorageRegion 指定上传园区,仅适用于对上传地域有特殊需求的用户。 */ public void setStorageRegion(String StorageRegion) { this.StorageRegion = StorageRegion; } /** * Get 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • * @return ClassId 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • */ public Long getClassId() { return this.ClassId; } /** * Set 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • * @param ClassId 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • */ public void setClassId(Long ClassId) { this.ClassId = ClassId; } /** * Get 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。 * @return SourceContext 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。 */ public String getSourceContext() { return this.SourceContext; } /** * Set 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。 * @param SourceContext 来源上下文,用于透传用户请求信息,[上传完成回调](/document/product/266/7830) 将返回该字段值,最长 250 个字符。 */ public void setSourceContext(String SourceContext) { this.SourceContext = SourceContext; } /** * Get 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。 * @return SessionContext 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。 */ public String getSessionContext() { return this.SessionContext; } /** * Set 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。 * @param SessionContext 会话上下文,用于透传用户请求信息,当指定 Procedure 参数后,[任务流状态变更回调](/document/product/266/9636) 将返回该字段值,最长 1000 个字符。 */ public void setSessionContext(String SessionContext) { this.SessionContext = SessionContext; } /** * Get 保留字段,特殊用途时使用。 * @return ExtInfo 保留字段,特殊用途时使用。 */ public String getExtInfo() { return this.ExtInfo; } /** * Set 保留字段,特殊用途时使用。 * @param ExtInfo 保留字段,特殊用途时使用。 */ public void setExtInfo(String ExtInfo) { this.ExtInfo = ExtInfo; } /** * Get 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 * @return SubAppId 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ public Long getSubAppId() { return this.SubAppId; } /** * Set 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 * @param SubAppId 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ public void setSubAppId(Long SubAppId) { this.SubAppId = SubAppId; } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "MediaType", this.MediaType); this.setParamSimple(map, prefix + "MediaName", this.MediaName); this.setParamSimple(map, prefix + "CoverType", this.CoverType); this.setParamSimple(map, prefix + "Procedure", this.Procedure); this.setParamSimple(map, prefix + "ExpireTime", this.ExpireTime); this.setParamSimple(map, prefix + "StorageRegion", this.StorageRegion); this.setParamSimple(map, prefix + "ClassId", this.ClassId); this.setParamSimple(map, prefix + "SourceContext", this.SourceContext); this.setParamSimple(map, prefix + "SessionContext", this.SessionContext); this.setParamSimple(map, prefix + "ExtInfo", this.ExtInfo); this.setParamSimple(map, prefix + "SubAppId", this.SubAppId); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy