Class: TencentCloud::Iotexplorer::V20190423::DescribeFenceBindListResponse

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

Overview

DescribeFenceBindList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, total = nil, requestid = nil) ⇒ DescribeFenceBindListResponse

Returns a new instance of DescribeFenceBindListResponse.



5554
5555
5556
5557
5558
# File 'lib/v20190423/models.rb', line 5554

def initialize(list=nil, total=nil, requestid=nil)
  @List = list
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • List:

    围栏绑定的产品设备列表

  • Total:

    围栏绑定的设备总数

  • RequestId:

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



5552
5553
5554
# File 'lib/v20190423/models.rb', line 5552

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    围栏绑定的产品设备列表

  • Total:

    围栏绑定的设备总数

  • RequestId:

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



5552
5553
5554
# File 'lib/v20190423/models.rb', line 5552

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • List:

    围栏绑定的产品设备列表

  • Total:

    围栏绑定的设备总数

  • RequestId:

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



5552
5553
5554
# File 'lib/v20190423/models.rb', line 5552

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
# File 'lib/v20190423/models.rb', line 5560

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      fencebindproductitem_tmp = FenceBindProductItem.new
      fencebindproductitem_tmp.deserialize(i)
      @List << fencebindproductitem_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end