Class: TencentCloud::Cfw::V20190904::DescribeNatFwInstancesInfoResponse

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

Overview

DescribeNatFwInstancesInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(natinslst = nil, total = nil, requestid = nil) ⇒ DescribeNatFwInstancesInfoResponse

Returns a new instance of DescribeNatFwInstancesInfoResponse.



4313
4314
4315
4316
4317
# File 'lib/v20190904/models.rb', line 4313

def initialize(natinslst=nil, total=nil, requestid=nil)
  @NatinsLst = natinslst
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#NatinsLstObject

Parameters:

  • NatinsLst:

    实例卡片信息数组

  • Total:

    nat 防火墙个数

  • RequestId:

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



4311
4312
4313
# File 'lib/v20190904/models.rb', line 4311

def NatinsLst
  @NatinsLst
end

#RequestIdObject

Parameters:

  • NatinsLst:

    实例卡片信息数组

  • Total:

    nat 防火墙个数

  • RequestId:

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



4311
4312
4313
# File 'lib/v20190904/models.rb', line 4311

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • NatinsLst:

    实例卡片信息数组

  • Total:

    nat 防火墙个数

  • RequestId:

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



4311
4312
4313
# File 'lib/v20190904/models.rb', line 4311

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
# File 'lib/v20190904/models.rb', line 4319

def deserialize(params)
  unless params['NatinsLst'].nil?
    @NatinsLst = []
    params['NatinsLst'].each do |i|
      natinstanceinfo_tmp = NatInstanceInfo.new
      natinstanceinfo_tmp.deserialize(i)
      @NatinsLst << natinstanceinfo_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end