Class: TencentCloud::Mps::V20190612::LiveStreamTaskNotifyConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::LiveStreamTaskNotifyConfig
- Defined in:
- lib/v20190612/models.rb
Overview
任务处理的事件通知配置。
Instance Attribute Summary collapse
-
#CmqModel ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
-
#CmqRegion ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyKey ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyType ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyUrl ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
-
#QueueName ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicName ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(notifytype = nil, notifyurl = nil, cmqmodel = nil, cmqregion = nil, queuename = nil, topicname = nil, notifykey = nil) ⇒ LiveStreamTaskNotifyConfig
constructor
A new instance of LiveStreamTaskNotifyConfig.
Constructor Details
#initialize(notifytype = nil, notifyurl = nil, cmqmodel = nil, cmqregion = nil, queuename = nil, topicname = nil, notifykey = nil) ⇒ LiveStreamTaskNotifyConfig
Returns a new instance of LiveStreamTaskNotifyConfig.
19503 19504 19505 19506 19507 19508 19509 19510 19511 |
# File 'lib/v20190612/models.rb', line 19503 def initialize(notifytype=nil, notifyurl=nil, cmqmodel=nil, cmqregion=nil, queuename=nil, topicname=nil, notifykey=nil) @NotifyType = notifytype @NotifyUrl = notifyurl @CmqModel = cmqmodel @CmqRegion = cmqregion @QueueName = queuename @TopicName = topicname @NotifyKey = notifykey end |
Instance Attribute Details
#CmqModel ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def CmqModel @CmqModel end |
#CmqRegion ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def CmqRegion @CmqRegion end |
#NotifyKey ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def NotifyKey @NotifyKey end |
#NotifyType ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def NotifyType @NotifyType end |
#NotifyUrl ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def NotifyUrl @NotifyUrl end |
#QueueName ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def QueueName @QueueName end |
#TopicName ⇒ Object
<font color=“red”> 注:不填或为空时不发送回调,如需回调需填写对应类型值。 </font> 注意:此字段可能返回 null,表示取不到有效值。
19501 19502 19503 |
# File 'lib/v20190612/models.rb', line 19501 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
19513 19514 19515 19516 19517 19518 19519 19520 19521 |
# File 'lib/v20190612/models.rb', line 19513 def deserialize(params) @NotifyType = params['NotifyType'] @NotifyUrl = params['NotifyUrl'] @CmqModel = params['CmqModel'] @CmqRegion = params['CmqRegion'] @QueueName = params['QueueName'] @TopicName = params['TopicName'] @NotifyKey = params['NotifyKey'] end |