Class: TencentCloud::Iss::V20230517::ListGatewayDevicesData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ListGatewayDevicesData
- Defined in:
- lib/v20230517/models.rb
Overview
查询网关设备列表返回数据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil) ⇒ ListGatewayDevicesData
constructor
A new instance of ListGatewayDevicesData.
Constructor Details
#initialize(list = nil, totalcount = nil) ⇒ ListGatewayDevicesData
Returns a new instance of ListGatewayDevicesData.
4959 4960 4961 4962 |
# File 'lib/v20230517/models.rb', line 4959 def initialize(list=nil, totalcount=nil) @List = list @TotalCount = totalcount end |
Instance Attribute Details
#List ⇒ Object
4957 4958 4959 |
# File 'lib/v20230517/models.rb', line 4957 def List @List end |
#TotalCount ⇒ Object
4957 4958 4959 |
# File 'lib/v20230517/models.rb', line 4957 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 |
# File 'lib/v20230517/models.rb', line 4964 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| gatewaydevice_tmp = GatewayDevice.new gatewaydevice_tmp.deserialize(i) @List << gatewaydevice_tmp end end @TotalCount = params['TotalCount'] end |