Class: TencentCloud::Mps::V20190612::TaskNotifyConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

任务的事件通知配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AwsSQSObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def AwsSQS
  @AwsSQS
end

#CmqModelObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def CmqModel
  @CmqModel
end

#CmqRegionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def CmqRegion
  @CmqRegion
end

#NotifyKeyObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def NotifyKey
  @NotifyKey
end

#NotifyModeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def NotifyMode
  @NotifyMode
end

#NotifyTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def NotifyType
  @NotifyType
end

#NotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def NotifyUrl
  @NotifyUrl
end

#QueueNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29443
29444
29445
# File 'lib/v20190612/models.rb', line 29443

def QueueName
  @QueueName
end

#TopicNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



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