Class: TencentCloud::Scf::V20180416::GetProvisionedConcurrencyConfigResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::GetProvisionedConcurrencyConfigResponse
- Defined in:
- lib/v20180416/models.rb
Overview
GetProvisionedConcurrencyConfig返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(unallocatedconcurrencynum = nil, allocated = nil, requestid = nil) ⇒ GetProvisionedConcurrencyConfigResponse
constructor
A new instance of GetProvisionedConcurrencyConfigResponse.
Constructor Details
#initialize(unallocatedconcurrencynum = nil, allocated = nil, requestid = nil) ⇒ GetProvisionedConcurrencyConfigResponse
Returns a new instance of GetProvisionedConcurrencyConfigResponse.
2465 2466 2467 2468 2469 |
# File 'lib/v20180416/models.rb', line 2465 def initialize(unallocatedconcurrencynum=nil, allocated=nil, requestid=nil) @UnallocatedConcurrencyNum = unallocatedconcurrencynum @Allocated = allocated @RequestId = requestid end |
Instance Attribute Details
#Allocated ⇒ Object
2463 2464 2465 |
# File 'lib/v20180416/models.rb', line 2463 def Allocated @Allocated end |
#RequestId ⇒ Object
2463 2464 2465 |
# File 'lib/v20180416/models.rb', line 2463 def RequestId @RequestId end |
#UnallocatedConcurrencyNum ⇒ Object
2463 2464 2465 |
# File 'lib/v20180416/models.rb', line 2463 def UnallocatedConcurrencyNum @UnallocatedConcurrencyNum end |
Instance Method Details
#deserialize(params) ⇒ Object
2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 |
# File 'lib/v20180416/models.rb', line 2471 def deserialize(params) @UnallocatedConcurrencyNum = params['UnallocatedConcurrencyNum'] unless params['Allocated'].nil? @Allocated = [] params['Allocated'].each do |i| = VersionProvisionedConcurrencyInfo.new .deserialize(i) @Allocated << end end @RequestId = params['RequestId'] end |