Class: TencentCloud::Thpc::V20220401::DescribeAutoScalingConfigurationResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::DescribeAutoScalingConfigurationResponse
- Defined in:
- lib/v20220401/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.
928 929 930 931 932 933 934 |
# File 'lib/v20220401/models.rb', line 928 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
926 927 928 |
# File 'lib/v20220401/models.rb', line 926 def ClusterId @ClusterId end |
#ExpansionBusyTime ⇒ Object
926 927 928 |
# File 'lib/v20220401/models.rb', line 926 def ExpansionBusyTime @ExpansionBusyTime end |
#QueueConfigs ⇒ Object
926 927 928 |
# File 'lib/v20220401/models.rb', line 926 def QueueConfigs @QueueConfigs end |
#RequestId ⇒ Object
926 927 928 |
# File 'lib/v20220401/models.rb', line 926 def RequestId @RequestId end |
#ShrinkIdleTime ⇒ Object
926 927 928 |
# File 'lib/v20220401/models.rb', line 926 def ShrinkIdleTime @ShrinkIdleTime end |
Instance Method Details
#deserialize(params) ⇒ Object
936 937 938 939 940 941 942 943 944 945 946 947 948 949 |
# File 'lib/v20220401/models.rb', line 936 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 |