Class: TencentCloud::Iotcloud::V20180614::DescribeResourceTasksRequest

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

Overview

DescribeResourceTasks请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, name = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeResourceTasksRequest

Returns a new instance of DescribeResourceTasksRequest.



2438
2439
2440
2441
2442
2443
2444
# File 'lib/v20180614/models.rb', line 2438

def initialize(productid=nil, name=nil, offset=nil, limit=nil, filters=nil)
  @ProductID = productid
  @Name = name
  @Offset = offset
  @Limit = limit
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2436
2437
2438
# File 'lib/v20180614/models.rb', line 2436

def Filters
  @Filters
end

#LimitObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2436
2437
2438
# File 'lib/v20180614/models.rb', line 2436

def Limit
  @Limit
end

#NameObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2436
2437
2438
# File 'lib/v20180614/models.rb', line 2436

def Name
  @Name
end

#OffsetObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2436
2437
2438
# File 'lib/v20180614/models.rb', line 2436

def Offset
  @Offset
end

#ProductIDObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2436
2437
2438
# File 'lib/v20180614/models.rb', line 2436

def ProductID
  @ProductID
end

Instance Method Details

#deserialize(params) ⇒ Object



2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
# File 'lib/v20180614/models.rb', line 2446

def deserialize(params)
  @ProductID = params['ProductID']
  @Name = params['Name']
  @Offset = params['Offset']
  @Limit = params['Limit']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      searchkeyword_tmp = SearchKeyword.new
      searchkeyword_tmp.deserialize(i)
      @Filters << searchkeyword_tmp
    end
  end
end