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.



7163
7164
7165
7166
7167
# File 'lib/v20190423/models.rb', line 7163

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。



7161
7162
7163
# File 'lib/v20190423/models.rb', line 7161

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • UnbindedDevices:

    未绑定的设备列表

  • Total:

    设备的总数量

  • RequestId:

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



7161
7162
7163
# File 'lib/v20190423/models.rb', line 7161

def Total
  @Total
end

#UnbindedDevicesObject

Parameters:

  • UnbindedDevices:

    未绑定的设备列表

  • Total:

    设备的总数量

  • RequestId:

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



7161
7162
7163
# File 'lib/v20190423/models.rb', line 7161

def UnbindedDevices
  @UnbindedDevices
end

Instance Method Details

#deserialize(params) ⇒ Object



7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
# File 'lib/v20190423/models.rb', line 7169

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