Class: TencentCloud::Mps::V20190612::TaskNotifyConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TaskNotifyConfig
- Defined in:
- lib/v20190612/models.rb
Overview
任务的事件通知配置。
Instance Attribute Summary collapse
-
#AwsSQS ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CmqModel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CmqRegion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NotifyUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#QueueName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(notifytype = nil, notifymode = nil, notifyurl = nil, cmqmodel = nil, cmqregion = nil, topicname = nil, queuename = nil, awssqs = nil, notifykey = nil) ⇒ TaskNotifyConfig
constructor
A new instance of TaskNotifyConfig.
Constructor Details
#initialize(notifytype = nil, notifymode = nil, notifyurl = nil, cmqmodel = nil, cmqregion = nil, topicname = nil, queuename = nil, awssqs = nil, notifykey = nil) ⇒ TaskNotifyConfig
Returns a new instance of TaskNotifyConfig.
29445 29446 29447 29448 29449 29450 29451 29452 29453 29454 29455 |
# File 'lib/v20190612/models.rb', line 29445 def initialize(notifytype=nil, notifymode=nil, notifyurl=nil, cmqmodel=nil, cmqregion=nil, topicname=nil, queuename=nil, awssqs=nil, notifykey=nil) @NotifyType = notifytype @NotifyMode = notifymode @NotifyUrl = notifyurl @CmqModel = cmqmodel @CmqRegion = cmqregion @TopicName = topicname @QueueName = queuename @AwsSQS = awssqs @NotifyKey = notifykey end |
Instance Attribute Details
#AwsSQS ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def AwsSQS @AwsSQS end |
#CmqModel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def CmqModel @CmqModel end |
#CmqRegion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def CmqRegion @CmqRegion end |
#NotifyKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def NotifyKey @NotifyKey end |
#NotifyMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def NotifyMode @NotifyMode end |
#NotifyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def NotifyType @NotifyType end |
#NotifyUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def NotifyUrl @NotifyUrl end |
#QueueName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def QueueName @QueueName end |
#TopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29443 29444 29445 |
# File 'lib/v20190612/models.rb', line 29443 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
29457 29458 29459 29460 29461 29462 29463 29464 29465 29466 29467 29468 29469 29470 |
# File 'lib/v20190612/models.rb', line 29457 def deserialize(params) @NotifyType = params['NotifyType'] @NotifyMode = params['NotifyMode'] @NotifyUrl = params['NotifyUrl'] @CmqModel = params['CmqModel'] @CmqRegion = params['CmqRegion'] @TopicName = params['TopicName'] @QueueName = params['QueueName'] unless params['AwsSQS'].nil? @AwsSQS = AwsSQS.new @AwsSQS.deserialize(params['AwsSQS']) end @NotifyKey = params['NotifyKey'] end |