Class: TencentCloud::Gpm::V20200820::DescribeRulesResponse

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

Overview

DescribeRules返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ruleinfolist = nil, totalcount = nil, pagenumber = nil, pagesize = nil, searchtype = nil, keyword = nil, requestid = nil) ⇒ DescribeRulesResponse

Returns a new instance of DescribeRulesResponse.



702
703
704
705
706
707
708
709
710
# File 'lib/v20200820/models.rb', line 702

def initialize(ruleinfolist=nil, totalcount=nil, pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, requestid=nil)
  @RuleInfoList = ruleinfolist
  @TotalCount = totalcount
  @PageNumber = pagenumber
  @PageSize = pagesize
  @SearchType = searchtype
  @Keyword = keyword
  @RequestId = requestid
end

Instance Attribute Details

#KeywordObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def Keyword
  @Keyword
end

#PageNumberObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def PageNumber
  @PageNumber
end

#PageSizeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def PageSize
  @PageSize
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def RequestId
  @RequestId
end

#RuleInfoListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def RuleInfoList
  @RuleInfoList
end

#SearchTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def SearchType
  @SearchType
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleInfoList:

    规则信息列表

  • TotalCount:

    总记录数

  • PageNumber:

    当前页号

  • PageSize:

    单页大小

  • SearchType:

    查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value

  • Keyword:

    查询关键词(可选)

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



700
701
702
# File 'lib/v20200820/models.rb', line 700

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'lib/v20200820/models.rb', line 712

def deserialize(params)
  unless params['RuleInfoList'].nil?
    @RuleInfoList = []
    params['RuleInfoList'].each do |i|
      rulebriefinfo_tmp = RuleBriefInfo.new
      rulebriefinfo_tmp.deserialize(i)
      @RuleInfoList << rulebriefinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @SearchType = params['SearchType']
  @Keyword = params['Keyword']
  @RequestId = params['RequestId']
end