Class: TencentCloud::Tke::V20180525::DescribePostNodeResourcesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePostNodeResourcesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePostNodeResources返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(podset = nil, reservedinstanceset = nil, requestid = nil) ⇒ DescribePostNodeResourcesResponse
constructor
A new instance of DescribePostNodeResourcesResponse.
Constructor Details
#initialize(podset = nil, reservedinstanceset = nil, requestid = nil) ⇒ DescribePostNodeResourcesResponse
Returns a new instance of DescribePostNodeResourcesResponse.
8487 8488 8489 8490 8491 |
# File 'lib/v20180525/models.rb', line 8487 def initialize(podset=nil, reservedinstanceset=nil, requestid=nil) @PodSet = podset @ReservedInstanceSet = reservedinstanceset @RequestId = requestid end |
Instance Attribute Details
#PodSet ⇒ Object
8485 8486 8487 |
# File 'lib/v20180525/models.rb', line 8485 def PodSet @PodSet end |
#RequestId ⇒ Object
8485 8486 8487 |
# File 'lib/v20180525/models.rb', line 8485 def RequestId @RequestId end |
#ReservedInstanceSet ⇒ Object
8485 8486 8487 |
# File 'lib/v20180525/models.rb', line 8485 def ReservedInstanceSet @ReservedInstanceSet end |
Instance Method Details
#deserialize(params) ⇒ Object
8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 |
# File 'lib/v20180525/models.rb', line 8493 def deserialize(params) unless params['PodSet'].nil? @PodSet = [] params['PodSet'].each do |i| supernoderesource_tmp = SuperNodeResource.new supernoderesource_tmp.deserialize(i) @PodSet << supernoderesource_tmp end end unless params['ReservedInstanceSet'].nil? @ReservedInstanceSet = [] params['ReservedInstanceSet'].each do |i| supernoderesource_tmp = SuperNodeResource.new supernoderesource_tmp.deserialize(i) @ReservedInstanceSet << supernoderesource_tmp end end @RequestId = params['RequestId'] end |