Class: TencentCloud::Iotcloud::V20210408::DescribeResourceTasksRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210408/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.



2452
2453
2454
2455
2456
2457
2458
# File 'lib/v20210408/models.rb', line 2452

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:

    搜索过滤条件



2450
2451
2452
# File 'lib/v20210408/models.rb', line 2450

def Filters
  @Filters
end

#LimitObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2450
2451
2452
# File 'lib/v20210408/models.rb', line 2450

def Limit
  @Limit
end

#NameObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2450
2451
2452
# File 'lib/v20210408/models.rb', line 2450

def Name
  @Name
end

#OffsetObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2450
2451
2452
# File 'lib/v20210408/models.rb', line 2450

def Offset
  @Offset
end

#ProductIDObject

Parameters:

  • ProductID:

    产品ID

  • Name:

    资源名称

  • Offset:

    查询偏移量

  • Limit:

    返回查询结果条数

  • Filters:

    搜索过滤条件



2450
2451
2452
# File 'lib/v20210408/models.rb', line 2450

def ProductID
  @ProductID
end

Instance Method Details

#deserialize(params) ⇒ Object



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'lib/v20210408/models.rb', line 2460

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