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.



2161
2162
2163
2164
# File 'lib/v20190423/models.rb', line 2161

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

Instance Attribute Details

#GatewayObject

Parameters:

  • Gateway:

    LoRa 网关信息

  • RequestId:

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



2159
2160
2161
# File 'lib/v20190423/models.rb', line 2159

def Gateway
  @Gateway
end

#RequestIdObject

Parameters:

  • Gateway:

    LoRa 网关信息

  • RequestId:

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



2159
2160
2161
# File 'lib/v20190423/models.rb', line 2159

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2166
2167
2168
2169
2170
2171
2172
# File 'lib/v20190423/models.rb', line 2166

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