Class: TencentCloud::Iss::V20230517::ListGatewaysData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ListGatewaysData
- Defined in:
- lib/v20230517/models.rb
Overview
查询网关列表返回结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil) ⇒ ListGatewaysData
constructor
A new instance of ListGatewaysData.
Constructor Details
#initialize(list = nil, totalcount = nil) ⇒ ListGatewaysData
Returns a new instance of ListGatewaysData.
5033 5034 5035 5036 |
# File 'lib/v20230517/models.rb', line 5033 def initialize(list=nil, totalcount=nil) @List = list @TotalCount = totalcount end |
Instance Attribute Details
#List ⇒ Object
5031 5032 5033 |
# File 'lib/v20230517/models.rb', line 5031 def List @List end |
#TotalCount ⇒ Object
5031 5032 5033 |
# File 'lib/v20230517/models.rb', line 5031 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 |
# File 'lib/v20230517/models.rb', line 5038 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| gatewaysdata_tmp = GatewaysData.new gatewaysdata_tmp.deserialize(i) @List << gatewaysdata_tmp end end @TotalCount = params['TotalCount'] end |