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

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

There is a newer version: 3.0.1034
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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class MediaDeleteItem extends AbstractModel {

    /**
    * The specified portion to be deleted. The parameter is invalid if this field is not filled in. Optional values u200bare:
  • OriginalFiles (Delete the original file. After deletion, video processing operations such as transcoding cannot be initiated);
  • TranscodeFiles (delete transcoded files);
  • AdaptiveDynamicStreamingFiles (Delete the adaptive bitrate streaming files);
  • Notice:
  • When the value is OriginalFiles, the cover file carried when uploading the file will be deleted;
  • When the value is TranscodeFiles, cover files generated by media processing will be deleted.
  • */ @SerializedName("Type") @Expose private String Type; /** * ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter. */ @SerializedName("Definition") @Expose private Long Definition; /** * Get The specified portion to be deleted. The parameter is invalid if this field is not filled in. Optional values u200bare:
  • OriginalFiles (Delete the original file. After deletion, video processing operations such as transcoding cannot be initiated);
  • TranscodeFiles (delete transcoded files);
  • AdaptiveDynamicStreamingFiles (Delete the adaptive bitrate streaming files);
  • Notice:
  • When the value is OriginalFiles, the cover file carried when uploading the file will be deleted;
  • When the value is TranscodeFiles, cover files generated by media processing will be deleted.
  • * @return Type The specified portion to be deleted. The parameter is invalid if this field is not filled in. Optional values u200bare:
  • OriginalFiles (Delete the original file. After deletion, video processing operations such as transcoding cannot be initiated);
  • TranscodeFiles (delete transcoded files);
  • AdaptiveDynamicStreamingFiles (Delete the adaptive bitrate streaming files);
  • Notice:
  • When the value is OriginalFiles, the cover file carried when uploading the file will be deleted;
  • When the value is TranscodeFiles, cover files generated by media processing will be deleted.
  • */ public String getType() { return this.Type; } /** * Set The specified portion to be deleted. The parameter is invalid if this field is not filled in. Optional values u200bare:
  • OriginalFiles (Delete the original file. After deletion, video processing operations such as transcoding cannot be initiated);
  • TranscodeFiles (delete transcoded files);
  • AdaptiveDynamicStreamingFiles (Delete the adaptive bitrate streaming files);
  • Notice:
  • When the value is OriginalFiles, the cover file carried when uploading the file will be deleted;
  • When the value is TranscodeFiles, cover files generated by media processing will be deleted.
  • * @param Type The specified portion to be deleted. The parameter is invalid if this field is not filled in. Optional values u200bare:
  • OriginalFiles (Delete the original file. After deletion, video processing operations such as transcoding cannot be initiated);
  • TranscodeFiles (delete transcoded files);
  • AdaptiveDynamicStreamingFiles (Delete the adaptive bitrate streaming files);
  • Notice:
  • When the value is OriginalFiles, the cover file carried when uploading the file will be deleted;
  • When the value is TranscodeFiles, cover files generated by media processing will be deleted.
  • */ public void setType(String Type) { this.Type = Type; } /** * Get ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter. * @return Definition ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter. */ public Long getDefinition() { return this.Definition; } /** * Set ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter. * @param Definition ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF). Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter. */ public void setDefinition(Long Definition) { this.Definition = Definition; } public MediaDeleteItem() { } /** * 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. */ public MediaDeleteItem(MediaDeleteItem source) { if (source.Type != null) { this.Type = new String(source.Type); } if (source.Definition != null) { this.Definition = new Long(source.Definition); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Type", this.Type); this.setParamSimple(map, prefix + "Definition", this.Definition); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy