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.



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

#AwsSQSObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def AwsSQS
  @AwsSQS
end

#CmqModelObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def CmqModel
  @CmqModel
end

#CmqRegionObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def CmqRegion
  @CmqRegion
end

#NotifyKeyObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def NotifyKey
  @NotifyKey
end

#NotifyModeObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def NotifyMode
  @NotifyMode
end

#NotifyTypeObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def NotifyType
  @NotifyType
end

#NotifyUrlObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def NotifyUrl
  @NotifyUrl
end

#QueueNameObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



29942
29943
29944
# File 'lib/v20190612/models.rb', line 29942

def QueueName
  @QueueName
end

#TopicNameObject

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

Parameters:

  • NotifyKey:

    用于生成回调签名的key。



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