Class: TencentCloud::Cloudhsm::V20191112::DescribeVpcResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191112/models.rb

Overview

DescribeVpc返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject



373
374
375
# File 'lib/v20191112/models.rb', line 373

def RequestId
  @RequestId
end

#TotalCountObject



373
374
375
# File 'lib/v20191112/models.rb', line 373

def TotalCount
  @TotalCount
end

#VpcListObject



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