Class: TencentCloud::Thpc::V20230321::DescribeAutoScalingConfigurationResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeAutoScalingConfigurationResponse
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeAutoScalingConfiguration返回参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #ExpansionBusyTime ⇒ Object
- #QueueConfigs ⇒ Object
- #RequestId ⇒ Object
- #ShrinkIdleTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, expansionbusytime = nil, shrinkidletime = nil, queueconfigs = nil, requestid = nil) ⇒ DescribeAutoScalingConfigurationResponse
constructor
A new instance of DescribeAutoScalingConfigurationResponse.
Constructor Details
#initialize(clusterid = nil, expansionbusytime = nil, shrinkidletime = nil, queueconfigs = nil, requestid = nil) ⇒ DescribeAutoScalingConfigurationResponse
Returns a new instance of DescribeAutoScalingConfigurationResponse.
1120 1121 1122 1123 1124 1125 1126 |
# File 'lib/v20230321/models.rb', line 1120 def initialize(clusterid=nil, expansionbusytime=nil, shrinkidletime=nil, queueconfigs=nil, requestid=nil) @ClusterId = clusterid @ExpansionBusyTime = expansionbusytime @ShrinkIdleTime = shrinkidletime @QueueConfigs = queueconfigs @RequestId = requestid end |
Instance Attribute Details
#ClusterId ⇒ Object
1118 1119 1120 |
# File 'lib/v20230321/models.rb', line 1118 def ClusterId @ClusterId end |
#ExpansionBusyTime ⇒ Object
1118 1119 1120 |
# File 'lib/v20230321/models.rb', line 1118 def ExpansionBusyTime @ExpansionBusyTime end |
#QueueConfigs ⇒ Object
1118 1119 1120 |
# File 'lib/v20230321/models.rb', line 1118 def QueueConfigs @QueueConfigs end |
#RequestId ⇒ Object
1118 1119 1120 |
# File 'lib/v20230321/models.rb', line 1118 def RequestId @RequestId end |
#ShrinkIdleTime ⇒ Object
1118 1119 1120 |
# File 'lib/v20230321/models.rb', line 1118 def ShrinkIdleTime @ShrinkIdleTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 |
# File 'lib/v20230321/models.rb', line 1128 def deserialize(params) @ClusterId = params['ClusterId'] @ExpansionBusyTime = params['ExpansionBusyTime'] @ShrinkIdleTime = params['ShrinkIdleTime'] unless params['QueueConfigs'].nil? @QueueConfigs = [] params['QueueConfigs'].each do |i| queueconfigoverview_tmp = QueueConfigOverview.new queueconfigoverview_tmp.deserialize(i) @QueueConfigs << queueconfigoverview_tmp end end @RequestId = params['RequestId'] end |