Class: TencentCloud::Cloudhsm::V20191112::DescribeVpcResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::DescribeVpcResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeVpc返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, vpclist = nil, requestid = nil) ⇒ DescribeVpcResponse
constructor
A new instance of DescribeVpcResponse.
Constructor Details
#initialize(totalcount = nil, vpclist = nil, requestid = nil) ⇒ DescribeVpcResponse
375 376 377 378 379 |
# File 'lib/v20191112/models.rb', line 375 def initialize(totalcount=nil, vpclist=nil, requestid=nil) @TotalCount = totalcount @VpcList = vpclist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
373 374 375 |
# File 'lib/v20191112/models.rb', line 373 def RequestId @RequestId end |
#TotalCount ⇒ Object
373 374 375 |
# File 'lib/v20191112/models.rb', line 373 def TotalCount @TotalCount end |
#VpcList ⇒ Object
373 374 375 |
# File 'lib/v20191112/models.rb', line 373 def VpcList @VpcList end |
Instance Method Details
#deserialize(params) ⇒ Object
381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/v20191112/models.rb', line 381 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VpcList'].nil? @VpcList = [] params['VpcList'].each do |i| vpc_tmp = Vpc.new vpc_tmp.deserialize(i) @VpcList << vpc_tmp end end @RequestId = params['RequestId'] end |