Class: TencentCloud::As::V20180419::DescribeNotificationConfigurationsResponse

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

Overview

DescribeNotificationConfigurations返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, autoscalingnotificationset = nil, requestid = nil) ⇒ DescribeNotificationConfigurationsResponse

Returns a new instance of DescribeNotificationConfigurationsResponse.



2322
2323
2324
2325
2326
# File 'lib/v20180419/models.rb', line 2322

def initialize(totalcount=nil, autoscalingnotificationset=nil, requestid=nil)
  @TotalCount = totalcount
  @AutoScalingNotificationSet = autoscalingnotificationset
  @RequestId = requestid
end

Instance Attribute Details

#AutoScalingNotificationSetObject

Parameters:

  • TotalCount:

    符合条件的通知数量。

  • AutoScalingNotificationSet:

    弹性伸缩事件通知详细信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2320
2321
2322
# File 'lib/v20180419/models.rb', line 2320

def AutoScalingNotificationSet
  @AutoScalingNotificationSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的通知数量。

  • AutoScalingNotificationSet:

    弹性伸缩事件通知详细信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2320
2321
2322
# File 'lib/v20180419/models.rb', line 2320

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的通知数量。

  • AutoScalingNotificationSet:

    弹性伸缩事件通知详细信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2320
2321
2322
# File 'lib/v20180419/models.rb', line 2320

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
# File 'lib/v20180419/models.rb', line 2328

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['AutoScalingNotificationSet'].nil?
    @AutoScalingNotificationSet = []
    params['AutoScalingNotificationSet'].each do |i|
      autoscalingnotification_tmp = AutoScalingNotification.new
      autoscalingnotification_tmp.deserialize(i)
      @AutoScalingNotificationSet << autoscalingnotification_tmp
    end
  end
  @RequestId = params['RequestId']
end