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

com.tencentcloudapi.cme.v20191029.models.StorageNewFileCreatedEvent Maven / Gradle / Ivy

/*
 * 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.cme.v20191029.models;

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

public class StorageNewFileCreatedEvent extends AbstractModel{

    /**
    * 云点播文件  Id。
    */
    @SerializedName("FileId")
    @Expose
    private String FileId;

    /**
    * 媒体 Id。
    */
    @SerializedName("MaterialId")
    @Expose
    private String MaterialId;

    /**
    * 操作者 Id。(废弃,请勿使用)
    */
    @SerializedName("Operator")
    @Expose
    private String Operator;

    /**
    * 操作类型,可取值有:
  • Upload:本地上传;
  • PullUpload:拉取上传;
  • VideoEdit:视频剪辑;
  • LiveStreamClip:直播流剪辑;
  • LiveStreamRecord:直播流录制。
  • */ @SerializedName("OperationType") @Expose private String OperationType; /** * 媒体归属。 */ @SerializedName("Owner") @Expose private Entity Owner; /** * 媒体分类路径。 */ @SerializedName("ClassPath") @Expose private String ClassPath; /** * 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。 */ @SerializedName("TaskId") @Expose private String TaskId; /** * 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。 */ @SerializedName("SourceContext") @Expose private String SourceContext; /** * Get 云点播文件 Id。 * @return FileId 云点播文件 Id。 */ public String getFileId() { return this.FileId; } /** * Set 云点播文件 Id。 * @param FileId 云点播文件 Id。 */ public void setFileId(String FileId) { this.FileId = FileId; } /** * Get 媒体 Id。 * @return MaterialId 媒体 Id。 */ public String getMaterialId() { return this.MaterialId; } /** * Set 媒体 Id。 * @param MaterialId 媒体 Id。 */ public void setMaterialId(String MaterialId) { this.MaterialId = MaterialId; } /** * Get 操作者 Id。(废弃,请勿使用) * @return Operator 操作者 Id。(废弃,请勿使用) */ public String getOperator() { return this.Operator; } /** * Set 操作者 Id。(废弃,请勿使用) * @param Operator 操作者 Id。(废弃,请勿使用) */ public void setOperator(String Operator) { this.Operator = Operator; } /** * Get 操作类型,可取值有:
  • Upload:本地上传;
  • PullUpload:拉取上传;
  • VideoEdit:视频剪辑;
  • LiveStreamClip:直播流剪辑;
  • LiveStreamRecord:直播流录制。
  • * @return OperationType 操作类型,可取值有:
  • Upload:本地上传;
  • PullUpload:拉取上传;
  • VideoEdit:视频剪辑;
  • LiveStreamClip:直播流剪辑;
  • LiveStreamRecord:直播流录制。
  • */ public String getOperationType() { return this.OperationType; } /** * Set 操作类型,可取值有:
  • Upload:本地上传;
  • PullUpload:拉取上传;
  • VideoEdit:视频剪辑;
  • LiveStreamClip:直播流剪辑;
  • LiveStreamRecord:直播流录制。
  • * @param OperationType 操作类型,可取值有:
  • Upload:本地上传;
  • PullUpload:拉取上传;
  • VideoEdit:视频剪辑;
  • LiveStreamClip:直播流剪辑;
  • LiveStreamRecord:直播流录制。
  • */ public void setOperationType(String OperationType) { this.OperationType = OperationType; } /** * Get 媒体归属。 * @return Owner 媒体归属。 */ public Entity getOwner() { return this.Owner; } /** * Set 媒体归属。 * @param Owner 媒体归属。 */ public void setOwner(Entity Owner) { this.Owner = Owner; } /** * Get 媒体分类路径。 * @return ClassPath 媒体分类路径。 */ public String getClassPath() { return this.ClassPath; } /** * Set 媒体分类路径。 * @param ClassPath 媒体分类路径。 */ public void setClassPath(String ClassPath) { this.ClassPath = ClassPath; } /** * Get 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。 * @return TaskId 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。 */ public String getTaskId() { return this.TaskId; } /** * Set 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。 * @param TaskId 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。 */ public void setTaskId(String TaskId) { this.TaskId = TaskId; } /** * Get 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。 * @return SourceContext 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。 */ public String getSourceContext() { return this.SourceContext; } /** * Set 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。 * @param SourceContext 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。 */ public void setSourceContext(String SourceContext) { this.SourceContext = SourceContext; } public StorageNewFileCreatedEvent() { } /** * 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 StorageNewFileCreatedEvent(StorageNewFileCreatedEvent source) { if (source.FileId != null) { this.FileId = new String(source.FileId); } if (source.MaterialId != null) { this.MaterialId = new String(source.MaterialId); } if (source.Operator != null) { this.Operator = new String(source.Operator); } if (source.OperationType != null) { this.OperationType = new String(source.OperationType); } if (source.Owner != null) { this.Owner = new Entity(source.Owner); } if (source.ClassPath != null) { this.ClassPath = new String(source.ClassPath); } if (source.TaskId != null) { this.TaskId = new String(source.TaskId); } if (source.SourceContext != null) { this.SourceContext = new String(source.SourceContext); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "FileId", this.FileId); this.setParamSimple(map, prefix + "MaterialId", this.MaterialId); this.setParamSimple(map, prefix + "Operator", this.Operator); this.setParamSimple(map, prefix + "OperationType", this.OperationType); this.setParamObj(map, prefix + "Owner.", this.Owner); this.setParamSimple(map, prefix + "ClassPath", this.ClassPath); this.setParamSimple(map, prefix + "TaskId", this.TaskId); this.setParamSimple(map, prefix + "SourceContext", this.SourceContext); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy