Class: TencentCloud::Gpm::V20200820::RuleBriefInfo

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

Overview

规则简单信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rulename = nil, matchcodelist = nil, createtime = nil, rulecode = nil) ⇒ RuleBriefInfo

Returns a new instance of RuleBriefInfo.



1441
1442
1443
1444
1445
1446
# File 'lib/v20200820/models.rb', line 1441

def initialize(rulename=nil, matchcodelist=nil, createtime=nil, rulecode=nil)
  @RuleName = rulename
  @MatchCodeList = matchcodelist
  @CreateTime = createtime
  @RuleCode = rulecode
end

Instance Attribute Details

#CreateTimeObject

Parameters:

  • RuleName:

    规则名称 [a-zA-Zd-.]*

  • MatchCodeList:

    关联匹配

  • CreateTime:

    创建时间

  • RuleCode:

    规则code



1439
1440
1441
# File 'lib/v20200820/models.rb', line 1439

def CreateTime
  @CreateTime
end

#MatchCodeListObject

Parameters:

  • RuleName:

    规则名称 [a-zA-Zd-.]*

  • MatchCodeList:

    关联匹配

  • CreateTime:

    创建时间

  • RuleCode:

    规则code



1439
1440
1441
# File 'lib/v20200820/models.rb', line 1439

def MatchCodeList
  @MatchCodeList
end

#RuleCodeObject

Parameters:

  • RuleName:

    规则名称 [a-zA-Zd-.]*

  • MatchCodeList:

    关联匹配

  • CreateTime:

    创建时间

  • RuleCode:

    规则code



1439
1440
1441
# File 'lib/v20200820/models.rb', line 1439

def RuleCode
  @RuleCode
end

#RuleNameObject

Parameters:

  • RuleName:

    规则名称 [a-zA-Zd-.]*

  • MatchCodeList:

    关联匹配

  • CreateTime:

    创建时间

  • RuleCode:

    规则code



1439
1440
1441
# File 'lib/v20200820/models.rb', line 1439

def RuleName
  @RuleName
end

Instance Method Details

#deserialize(params) ⇒ Object



1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
# File 'lib/v20200820/models.rb', line 1448

def deserialize(params)
  @RuleName = params['RuleName']
  unless params['MatchCodeList'].nil?
    @MatchCodeList = []
    params['MatchCodeList'].each do |i|
      stringkv_tmp = StringKV.new
      stringkv_tmp.deserialize(i)
      @MatchCodeList << stringkv_tmp
    end
  end
  @CreateTime = params['CreateTime']
  @RuleCode = params['RuleCode']
end