Class: TencentCloud::Iotexplorer::V20190423::CreateLoRaGatewayResponse

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

Overview

CreateLoRaGateway返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gateway = nil, requestid = nil) ⇒ CreateLoRaGatewayResponse

Returns a new instance of CreateLoRaGatewayResponse.



2173
2174
2175
2176
# File 'lib/v20190423/models.rb', line 2173

def initialize(gateway=nil, requestid=nil)
  @Gateway = gateway
  @RequestId = requestid
end

Instance Attribute Details

#GatewayObject

Parameters:

  • Gateway:

    LoRa 网关信息

  • RequestId:

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



2171
2172
2173
# File 'lib/v20190423/models.rb', line 2171

def Gateway
  @Gateway
end

#RequestIdObject

Parameters:

  • Gateway:

    LoRa 网关信息

  • RequestId:

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



2171
2172
2173
# File 'lib/v20190423/models.rb', line 2171

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2178
2179
2180
2181
2182
2183
2184
# File 'lib/v20190423/models.rb', line 2178

def deserialize(params)
  unless params['Gateway'].nil?
    @Gateway = LoRaGatewayItem.new
    @Gateway.deserialize(params['Gateway'])
  end
  @RequestId = params['RequestId']
end