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.
29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 |
# File 'lib/v20190612/models.rb', line 29944 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,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def AwsSQS @AwsSQS end |
#CmqModel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def CmqModel @CmqModel end |
#CmqRegion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def CmqRegion @CmqRegion end |
#NotifyKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def NotifyKey @NotifyKey end |
#NotifyMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def NotifyMode @NotifyMode end |
#NotifyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def NotifyType @NotifyType end |
#NotifyUrl ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def NotifyUrl @NotifyUrl end |
#QueueName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def QueueName @QueueName end |
#TopicName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
29942 29943 29944 |
# File 'lib/v20190612/models.rb', line 29942 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 29968 29969 |
# File 'lib/v20190612/models.rb', line 29956 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 |