Class: TencentCloud::Tdmq::V20200217::DescribeBindVpcsResponse

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

Overview

DescribeBindVpcs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, vpcsets = nil, requestid = nil) ⇒ DescribeBindVpcsResponse

Returns a new instance of DescribeBindVpcsResponse.



3610
3611
3612
3613
3614
# File 'lib/v20200217/models.rb', line 3610

def initialize(totalcount=nil, vpcsets=nil, requestid=nil)
  @TotalCount = totalcount
  @VpcSets = vpcsets
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    记录数。

  • VpcSets:

    Vpc集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3608
3609
3610
# File 'lib/v20200217/models.rb', line 3608

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    记录数。

  • VpcSets:

    Vpc集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3608
3609
3610
# File 'lib/v20200217/models.rb', line 3608

def TotalCount
  @TotalCount
end

#VpcSetsObject

Parameters:

  • TotalCount:

    记录数。

  • VpcSets:

    Vpc集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3608
3609
3610
# File 'lib/v20200217/models.rb', line 3608

def VpcSets
  @VpcSets
end

Instance Method Details

#deserialize(params) ⇒ Object



3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
# File 'lib/v20200217/models.rb', line 3616

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['VpcSets'].nil?
    @VpcSets = []
    params['VpcSets'].each do |i|
      vpcbindrecord_tmp = VpcBindRecord.new
      vpcbindrecord_tmp.deserialize(i)
      @VpcSets << vpcbindrecord_tmp
    end
  end
  @RequestId = params['RequestId']
end