Class: TencentCloud::Gpm::V20200820::RuleInfo

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, createtime = nil, ruledesc = nil, rulescript = nil, tags = nil, matchcodelist = nil, rulecode = nil, region = nil, appid = nil, uin = nil, createuin = nil) ⇒ RuleInfo

Returns a new instance of RuleInfo.



1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
# File 'lib/v20200820/models.rb', line 1497

def initialize(rulename=nil, createtime=nil, ruledesc=nil, rulescript=nil, tags=nil, matchcodelist=nil, rulecode=nil, region=nil, appid=nil, uin=nil, createuin=nil)
  @RuleName = rulename
  @CreateTime = createtime
  @RuleDesc = ruledesc
  @RuleScript = rulescript
  @Tags = tags
  @MatchCodeList = matchcodelist
  @RuleCode = rulecode
  @Region = region
  @AppId = appid
  @Uin = uin
  @CreateUin = createuin
end

Instance Attribute Details

#AppIdObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def AppId
  @AppId
end

#CreateTimeObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def CreateTime
  @CreateTime
end

#CreateUinObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def CreateUin
  @CreateUin
end

#MatchCodeListObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def MatchCodeList
  @MatchCodeList
end

#RegionObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def Region
  @Region
end

#RuleCodeObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def RuleCode
  @RuleCode
end

#RuleDescObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def RuleDesc
  @RuleDesc
end

#RuleNameObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def RuleName
  @RuleName
end

#RuleScriptObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def RuleScript
  @RuleScript
end

#TagsObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def Tags
  @Tags
end

#UinObject

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

Parameters:

  • RuleName:

    规则名称 [a-zA-Z0-9-.]*

  • CreateTime:

    创建时间

  • RuleDesc:

    规则描述

  • RuleScript:

    规则脚本

  • Tags:

    标签

  • MatchCodeList:

    关联匹配

  • RuleCode:

    规则code

  • Region:

    地区

  • AppId:

    用户AppId

  • Uin:

    用户Uin

  • CreateUin:

    用户OwnerUin



1495
1496
1497
# File 'lib/v20200820/models.rb', line 1495

def Uin
  @Uin
end

Instance Method Details

#deserialize(params) ⇒ Object



1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
# File 'lib/v20200820/models.rb', line 1511

def deserialize(params)
  @RuleName = params['RuleName']
  @CreateTime = params['CreateTime']
  @RuleDesc = params['RuleDesc']
  @RuleScript = params['RuleScript']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      stringkv_tmp = StringKV.new
      stringkv_tmp.deserialize(i)
      @Tags << stringkv_tmp
    end
  end
  unless params['MatchCodeList'].nil?
    @MatchCodeList = []
    params['MatchCodeList'].each do |i|
      stringkv_tmp = StringKV.new
      stringkv_tmp.deserialize(i)
      @MatchCodeList << stringkv_tmp
    end
  end
  @RuleCode = params['RuleCode']
  @Region = params['Region']
  @AppId = params['AppId']
  @Uin = params['Uin']
  @CreateUin = params['CreateUin']
end