Class: TencentCloud::As::V20180419::CreateNotificationConfigurationRequest

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

Overview

CreateNotificationConfiguration请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autoscalinggroupid = nil, notificationtypes = nil, notificationusergroupids = nil, targettype = nil, queuename = nil, topicname = nil) ⇒ CreateNotificationConfigurationRequest

Returns a new instance of CreateNotificationConfigurationRequest.



1301
1302
1303
1304
1305
1306
1307
1308
# File 'lib/v20180419/models.rb', line 1301

def initialize(autoscalinggroupid=nil, notificationtypes=nil, notificationusergroupids=nil, targettype=nil, queuename=nil, topicname=nil)
  @AutoScalingGroupId = autoscalinggroupid
  @NotificationTypes = notificationtypes
  @NotificationUserGroupIds = notificationusergroupids
  @TargetType = targettype
  @QueueName = queuename
  @TopicName = topicname
end

Instance Attribute Details

#AutoScalingGroupIdObject

默认值为:USER_GROUP

Parameters:

  • QueueName:

    TDMQ CMQ 队列名,如 TargetType 取值为 TDMQ_CMQ_QUEUE ,该字段必填。

  • TopicName:

    TDMQ CMQ 主题名,如 TargetType 取值为 TDMQ_CMQ_TOPIC ,该字段必填。



1299
1300
1301
# File 'lib/v20180419/models.rb', line 1299

def AutoScalingGroupId
  @AutoScalingGroupId
end

#NotificationTypesObject

默认值为:USER_GROUP

Parameters:

  • QueueName:

    TDMQ CMQ 队列名,如 TargetType 取值为 TDMQ_CMQ_QUEUE ,该字段必填。

  • TopicName:

    TDMQ CMQ 主题名,如 TargetType 取值为 TDMQ_CMQ_TOPIC ,该字段必填。



1299
1300
1301
# File 'lib/v20180419/models.rb', line 1299

def NotificationTypes
  @NotificationTypes
end

#NotificationUserGroupIdsObject

默认值为:USER_GROUP

Parameters:

  • QueueName:

    TDMQ CMQ 队列名,如 TargetType 取值为 TDMQ_CMQ_QUEUE ,该字段必填。

  • TopicName:

    TDMQ CMQ 主题名,如 TargetType 取值为 TDMQ_CMQ_TOPIC ,该字段必填。



1299
1300
1301
# File 'lib/v20180419/models.rb', line 1299

def NotificationUserGroupIds
  @NotificationUserGroupIds
end

#QueueNameObject

默认值为:USER_GROUP

Parameters:

  • QueueName:

    TDMQ CMQ 队列名,如 TargetType 取值为 TDMQ_CMQ_QUEUE ,该字段必填。

  • TopicName:

    TDMQ CMQ 主题名,如 TargetType 取值为 TDMQ_CMQ_TOPIC ,该字段必填。



1299
1300
1301
# File 'lib/v20180419/models.rb', line 1299

def QueueName
  @QueueName
end

#TargetTypeObject

默认值为:USER_GROUP

Parameters:

  • QueueName:

    TDMQ CMQ 队列名,如 TargetType 取值为 TDMQ_CMQ_QUEUE ,该字段必填。

  • TopicName:

    TDMQ CMQ 主题名,如 TargetType 取值为 TDMQ_CMQ_TOPIC ,该字段必填。



1299
1300
1301
# File 'lib/v20180419/models.rb', line 1299

def TargetType
  @TargetType
end

#TopicNameObject

默认值为:USER_GROUP

Parameters:

  • QueueName:

    TDMQ CMQ 队列名,如 TargetType 取值为 TDMQ_CMQ_QUEUE ,该字段必填。

  • TopicName:

    TDMQ CMQ 主题名,如 TargetType 取值为 TDMQ_CMQ_TOPIC ,该字段必填。



1299
1300
1301
# File 'lib/v20180419/models.rb', line 1299

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/v20180419/models.rb', line 1310

def deserialize(params)
  @AutoScalingGroupId = params['AutoScalingGroupId']
  @NotificationTypes = params['NotificationTypes']
  @NotificationUserGroupIds = params['NotificationUserGroupIds']
  @TargetType = params['TargetType']
  @QueueName = params['QueueName']
  @TopicName = params['TopicName']
end