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.



5542
5543
5544
5545
5546
# File 'lib/v20190423/models.rb', line 5542

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。



5540
5541
5542
# File 'lib/v20190423/models.rb', line 5540

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    围栏绑定的产品设备列表

  • Total:

    围栏绑定的设备总数

  • RequestId:

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



5540
5541
5542
# File 'lib/v20190423/models.rb', line 5540

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • List:

    围栏绑定的产品设备列表

  • Total:

    围栏绑定的设备总数

  • RequestId:

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



5540
5541
5542
# File 'lib/v20190423/models.rb', line 5540

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
# File 'lib/v20190423/models.rb', line 5548

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