Class: TencentCloud::Iotexplorer::V20190423::DescribeUnbindedDevicesResponse

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

Overview

DescribeUnbindedDevices返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unbindeddevices = nil, total = nil, requestid = nil) ⇒ DescribeUnbindedDevicesResponse

Returns a new instance of DescribeUnbindedDevicesResponse.



7175
7176
7177
7178
7179
# File 'lib/v20190423/models.rb', line 7175

def initialize(unbindeddevices=nil, total=nil, requestid=nil)
  @UnbindedDevices = unbindeddevices
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • UnbindedDevices:

    未绑定的设备列表

  • Total:

    设备的总数量

  • RequestId:

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



7173
7174
7175
# File 'lib/v20190423/models.rb', line 7173

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • UnbindedDevices:

    未绑定的设备列表

  • Total:

    设备的总数量

  • RequestId:

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



7173
7174
7175
# File 'lib/v20190423/models.rb', line 7173

def Total
  @Total
end

#UnbindedDevicesObject

Parameters:

  • UnbindedDevices:

    未绑定的设备列表

  • Total:

    设备的总数量

  • RequestId:

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



7173
7174
7175
# File 'lib/v20190423/models.rb', line 7173

def UnbindedDevices
  @UnbindedDevices
end

Instance Method Details

#deserialize(params) ⇒ Object



7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
# File 'lib/v20190423/models.rb', line 7181

def deserialize(params)
  unless params['UnbindedDevices'].nil?
    @UnbindedDevices = []
    params['UnbindedDevices'].each do |i|
      binddeviceinfo_tmp = BindDeviceInfo.new
      binddeviceinfo_tmp.deserialize(i)
      @UnbindedDevices << binddeviceinfo_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end