Class: TencentCloud::Iotexplorer::V20190423::ModifyLoRaGatewayResponse

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

Overview

ModifyLoRaGateway返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ModifyLoRaGatewayResponse.



11081
11082
11083
11084
# File 'lib/v20190423/models.rb', line 11081

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

Instance Attribute Details

#GatewayObject

Parameters:

  • Gateway:

    返回网关数据

  • RequestId:

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



11079
11080
11081
# File 'lib/v20190423/models.rb', line 11079

def Gateway
  @Gateway
end

#RequestIdObject

Parameters:

  • Gateway:

    返回网关数据

  • RequestId:

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



11079
11080
11081
# File 'lib/v20190423/models.rb', line 11079

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



11086
11087
11088
11089
11090
11091
11092
# File 'lib/v20190423/models.rb', line 11086

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