Class: TencentCloud::As::V20180419::DescribeNotificationConfigurationsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::DescribeNotificationConfigurationsResponse
- Defined in:
- lib/v20180419/models.rb
Overview
DescribeNotificationConfigurations返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, autoscalingnotificationset = nil, requestid = nil) ⇒ DescribeNotificationConfigurationsResponse
constructor
A new instance of DescribeNotificationConfigurationsResponse.
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
#AutoScalingNotificationSet ⇒ Object
2320 2321 2322 |
# File 'lib/v20180419/models.rb', line 2320 def AutoScalingNotificationSet @AutoScalingNotificationSet end |
#RequestId ⇒ Object
2320 2321 2322 |
# File 'lib/v20180419/models.rb', line 2320 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |