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

com.tencentcloudapi.vod.v20180717.models.ModifyEventConfigRequest 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 ModifyEventConfigRequest extends AbstractModel{

    /**
    * 接收事件通知的方式。
  • PUSH:[HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779);
  • PULL:[基于消息队列的可靠通知](https://cloud.tencent.com/document/product/266/33779)。
  • */ @SerializedName("Mode") @Expose private String Mode; /** * 采用 [HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779) 接收方式时,用于接收 3.0 格式回调的地址。 注意:如果带 NotificationUrl 参数且值为空字符串时将会清空 3.0 格式回调地址。 */ @SerializedName("NotificationUrl") @Expose private String NotificationUrl; /** * 是否接收 [视频上传完成](https://cloud.tencent.com/document/product/266/7830) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 */ @SerializedName("UploadMediaCompleteEventSwitch") @Expose private String UploadMediaCompleteEventSwitch; /** * 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 */ @SerializedName("DeleteMediaCompleteEventSwitch") @Expose private String DeleteMediaCompleteEventSwitch; /** * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ @SerializedName("SubAppId") @Expose private Long SubAppId; /** * Get 接收事件通知的方式。
  • PUSH:[HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779);
  • PULL:[基于消息队列的可靠通知](https://cloud.tencent.com/document/product/266/33779)。
  • * @return Mode 接收事件通知的方式。
  • PUSH:[HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779);
  • PULL:[基于消息队列的可靠通知](https://cloud.tencent.com/document/product/266/33779)。
  • */ public String getMode() { return this.Mode; } /** * Set 接收事件通知的方式。
  • PUSH:[HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779);
  • PULL:[基于消息队列的可靠通知](https://cloud.tencent.com/document/product/266/33779)。
  • * @param Mode 接收事件通知的方式。
  • PUSH:[HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779);
  • PULL:[基于消息队列的可靠通知](https://cloud.tencent.com/document/product/266/33779)。
  • */ public void setMode(String Mode) { this.Mode = Mode; } /** * Get 采用 [HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779) 接收方式时,用于接收 3.0 格式回调的地址。 注意:如果带 NotificationUrl 参数且值为空字符串时将会清空 3.0 格式回调地址。 * @return NotificationUrl 采用 [HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779) 接收方式时,用于接收 3.0 格式回调的地址。 注意:如果带 NotificationUrl 参数且值为空字符串时将会清空 3.0 格式回调地址。 */ public String getNotificationUrl() { return this.NotificationUrl; } /** * Set 采用 [HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779) 接收方式时,用于接收 3.0 格式回调的地址。 注意:如果带 NotificationUrl 参数且值为空字符串时将会清空 3.0 格式回调地址。 * @param NotificationUrl 采用 [HTTP 回调通知](https://cloud.tencent.com/document/product/266/33779) 接收方式时,用于接收 3.0 格式回调的地址。 注意:如果带 NotificationUrl 参数且值为空字符串时将会清空 3.0 格式回调地址。 */ public void setNotificationUrl(String NotificationUrl) { this.NotificationUrl = NotificationUrl; } /** * Get 是否接收 [视频上传完成](https://cloud.tencent.com/document/product/266/7830) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 * @return UploadMediaCompleteEventSwitch 是否接收 [视频上传完成](https://cloud.tencent.com/document/product/266/7830) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 */ public String getUploadMediaCompleteEventSwitch() { return this.UploadMediaCompleteEventSwitch; } /** * Set 是否接收 [视频上传完成](https://cloud.tencent.com/document/product/266/7830) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 * @param UploadMediaCompleteEventSwitch 是否接收 [视频上传完成](https://cloud.tencent.com/document/product/266/7830) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 */ public void setUploadMediaCompleteEventSwitch(String UploadMediaCompleteEventSwitch) { this.UploadMediaCompleteEventSwitch = UploadMediaCompleteEventSwitch; } /** * Get 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 * @return DeleteMediaCompleteEventSwitch 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 */ public String getDeleteMediaCompleteEventSwitch() { return this.DeleteMediaCompleteEventSwitch; } /** * Set 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 * @param DeleteMediaCompleteEventSwitch 是否接收 [视频删除完成](https://cloud.tencent.com/document/product/266/13434) 事件通知, 默认 "OFF" 为忽略该事件通知,"ON" 为接收事件通知。 */ public void setDeleteMediaCompleteEventSwitch(String DeleteMediaCompleteEventSwitch) { this.DeleteMediaCompleteEventSwitch = DeleteMediaCompleteEventSwitch; } /** * 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; } public ModifyEventConfigRequest() { } /** * 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 ModifyEventConfigRequest(ModifyEventConfigRequest source) { if (source.Mode != null) { this.Mode = new String(source.Mode); } if (source.NotificationUrl != null) { this.NotificationUrl = new String(source.NotificationUrl); } if (source.UploadMediaCompleteEventSwitch != null) { this.UploadMediaCompleteEventSwitch = new String(source.UploadMediaCompleteEventSwitch); } if (source.DeleteMediaCompleteEventSwitch != null) { this.DeleteMediaCompleteEventSwitch = new String(source.DeleteMediaCompleteEventSwitch); } if (source.SubAppId != null) { this.SubAppId = new Long(source.SubAppId); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Mode", this.Mode); this.setParamSimple(map, prefix + "NotificationUrl", this.NotificationUrl); this.setParamSimple(map, prefix + "UploadMediaCompleteEventSwitch", this.UploadMediaCompleteEventSwitch); this.setParamSimple(map, prefix + "DeleteMediaCompleteEventSwitch", this.DeleteMediaCompleteEventSwitch); this.setParamSimple(map, prefix + "SubAppId", this.SubAppId); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy