Class: TencentCloud::Mna::V20210119::GetL3ConnListResponse

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

Overview

GetL3ConnList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(l3connlist = nil, length = nil, totalpage = nil, requestid = nil) ⇒ GetL3ConnListResponse

Returns a new instance of GetL3ConnListResponse.



1686
1687
1688
1689
1690
1691
# File 'lib/v20210119/models.rb', line 1686

def initialize(l3connlist=nil, length=nil, totalpage=nil, requestid=nil)
  @L3ConnList = l3connlist
  @Length = length
  @TotalPage = totalpage
  @RequestId = requestid
end

Instance Attribute Details

#L3ConnListObject

Parameters:

  • L3ConnList:

    互通规则列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

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



1684
1685
1686
# File 'lib/v20210119/models.rb', line 1684

def L3ConnList
  @L3ConnList
end

#LengthObject

Parameters:

  • L3ConnList:

    互通规则列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

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



1684
1685
1686
# File 'lib/v20210119/models.rb', line 1684

def Length
  @Length
end

#RequestIdObject

Parameters:

  • L3ConnList:

    互通规则列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

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



1684
1685
1686
# File 'lib/v20210119/models.rb', line 1684

def RequestId
  @RequestId
end

#TotalPageObject

Parameters:

  • L3ConnList:

    互通规则列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

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



1684
1685
1686
# File 'lib/v20210119/models.rb', line 1684

def TotalPage
  @TotalPage
end

Instance Method Details

#deserialize(params) ⇒ Object



1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'lib/v20210119/models.rb', line 1693

def deserialize(params)
  unless params['L3ConnList'].nil?
    @L3ConnList = []
    params['L3ConnList'].each do |i|
      l3conninfo_tmp = L3ConnInfo.new
      l3conninfo_tmp.deserialize(i)
      @L3ConnList << l3conninfo_tmp
    end
  end
  @Length = params['Length']
  @TotalPage = params['TotalPage']
  @RequestId = params['RequestId']
end