Class: TencentCloud::Iotexplorer::V20190423::GetLoRaGatewayListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::GetLoRaGatewayListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
GetLoRaGatewayList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, gateways = nil, requestid = nil) ⇒ GetLoRaGatewayListResponse
constructor
A new instance of GetLoRaGatewayListResponse.
Constructor Details
#initialize(total = nil, gateways = nil, requestid = nil) ⇒ GetLoRaGatewayListResponse
Returns a new instance of GetLoRaGatewayListResponse.
8787 8788 8789 8790 8791 |
# File 'lib/v20190423/models.rb', line 8787 def initialize(total=nil, gateways=nil, requestid=nil) @Total = total @Gateways = gateways @RequestId = requestid end |
Instance Attribute Details
#Gateways ⇒ Object
8785 8786 8787 |
# File 'lib/v20190423/models.rb', line 8785 def Gateways @Gateways end |
#RequestId ⇒ Object
8785 8786 8787 |
# File 'lib/v20190423/models.rb', line 8785 def RequestId @RequestId end |
#Total ⇒ Object
8785 8786 8787 |
# File 'lib/v20190423/models.rb', line 8785 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 |
# File 'lib/v20190423/models.rb', line 8793 def deserialize(params) @Total = params['Total'] unless params['Gateways'].nil? @Gateways = [] params['Gateways'].each do |i| loragatewayitem_tmp = LoRaGatewayItem.new loragatewayitem_tmp.deserialize(i) @Gateways << loragatewayitem_tmp end end @RequestId = params['RequestId'] end |