Class: TencentCloud::Cfg::V20210820::DescribeActionLibraryListRequest

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

Overview

DescribeActionLibraryList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, objecttype = nil, filters = nil, attribute = nil, actionids = nil) ⇒ DescribeActionLibraryListRequest

Returns a new instance of DescribeActionLibraryListRequest.



586
587
588
589
590
591
592
593
# File 'lib/v20210820/models.rb', line 586

def initialize(limit=nil, offset=nil, objecttype=nil, filters=nil, attribute=nil, actionids=nil)
  @Limit = limit
  @Offset = offset
  @ObjectType = objecttype
  @Filters = filters
  @Attribute = attribute
  @ActionIds = actionids
end

Instance Attribute Details

#ActionIdsObject

Parameters:

  • Limit:

    0-100

  • Offset:

    默认值0

  • ObjectType:

    对象类型ID

  • Filters:

    Keyword取值“a_title”, “描述”: “a_desc”, “动作类型”: “a_type”, “创建时间”: “a_create_time”, “二级分类”: “a_resource_type”

  • Attribute:

    动作分类,1表示故障动作,2表示恢复动作

  • ActionIds:

    筛选项 -动作ID



584
585
586
# File 'lib/v20210820/models.rb', line 584

def ActionIds
  @ActionIds
end

#AttributeObject

Parameters:

  • Limit:

    0-100

  • Offset:

    默认值0

  • ObjectType:

    对象类型ID

  • Filters:

    Keyword取值“a_title”, “描述”: “a_desc”, “动作类型”: “a_type”, “创建时间”: “a_create_time”, “二级分类”: “a_resource_type”

  • Attribute:

    动作分类,1表示故障动作,2表示恢复动作

  • ActionIds:

    筛选项 -动作ID



584
585
586
# File 'lib/v20210820/models.rb', line 584

def Attribute
  @Attribute
end

#FiltersObject

Parameters:

  • Limit:

    0-100

  • Offset:

    默认值0

  • ObjectType:

    对象类型ID

  • Filters:

    Keyword取值“a_title”, “描述”: “a_desc”, “动作类型”: “a_type”, “创建时间”: “a_create_time”, “二级分类”: “a_resource_type”

  • Attribute:

    动作分类,1表示故障动作,2表示恢复动作

  • ActionIds:

    筛选项 -动作ID



584
585
586
# File 'lib/v20210820/models.rb', line 584

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Limit:

    0-100

  • Offset:

    默认值0

  • ObjectType:

    对象类型ID

  • Filters:

    Keyword取值“a_title”, “描述”: “a_desc”, “动作类型”: “a_type”, “创建时间”: “a_create_time”, “二级分类”: “a_resource_type”

  • Attribute:

    动作分类,1表示故障动作,2表示恢复动作

  • ActionIds:

    筛选项 -动作ID



584
585
586
# File 'lib/v20210820/models.rb', line 584

def Limit
  @Limit
end

#ObjectTypeObject

Parameters:

  • Limit:

    0-100

  • Offset:

    默认值0

  • ObjectType:

    对象类型ID

  • Filters:

    Keyword取值“a_title”, “描述”: “a_desc”, “动作类型”: “a_type”, “创建时间”: “a_create_time”, “二级分类”: “a_resource_type”

  • Attribute:

    动作分类,1表示故障动作,2表示恢复动作

  • ActionIds:

    筛选项 -动作ID



584
585
586
# File 'lib/v20210820/models.rb', line 584

def ObjectType
  @ObjectType
end

#OffsetObject

Parameters:

  • Limit:

    0-100

  • Offset:

    默认值0

  • ObjectType:

    对象类型ID

  • Filters:

    Keyword取值“a_title”, “描述”: “a_desc”, “动作类型”: “a_type”, “创建时间”: “a_create_time”, “二级分类”: “a_resource_type”

  • Attribute:

    动作分类,1表示故障动作,2表示恢复动作

  • ActionIds:

    筛选项 -动作ID



584
585
586
# File 'lib/v20210820/models.rb', line 584

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
# File 'lib/v20210820/models.rb', line 595

def deserialize(params)
  @Limit = params['Limit']
  @Offset = params['Offset']
  @ObjectType = params['ObjectType']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      actionfilter_tmp = ActionFilter.new
      actionfilter_tmp.deserialize(i)
      @Filters << actionfilter_tmp
    end
  end
  @Attribute = params['Attribute']
  @ActionIds = params['ActionIds']
end