Class: TencentCloud::Weilingwith::V20230427::RuleDetailRes

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

Overview

规则详情查询结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ruleid = nil, rulename = nil, ruledesc = nil, validtype = nil, validperiod = nil, begindate = nil, enddate = nil, status = nil, eventrule = nil, eventinfoset = nil, actioninfoset = nil) ⇒ RuleDetailRes

Returns a new instance of RuleDetailRes.



6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
# File 'lib/v20230427/models.rb', line 6690

def initialize(ruleid=nil, rulename=nil, ruledesc=nil, validtype=nil, validperiod=nil, begindate=nil, enddate=nil, status=nil, eventrule=nil, eventinfoset=nil, actioninfoset=nil)
  @RuleId = ruleid
  @RuleName = rulename
  @RuleDesc = ruledesc
  @ValidType = validtype
  @ValidPeriod = validperiod
  @BeginDate = begindate
  @EndDate = enddate
  @Status = status
  @EventRule = eventrule
  @EventInfoSet = eventinfoset
  @ActionInfoSet = actioninfoset
end

Instance Attribute Details

#ActionInfoSetObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def ActionInfoSet
  @ActionInfoSet
end

#BeginDateObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def BeginDate
  @BeginDate
end

#EndDateObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def EndDate
  @EndDate
end

#EventInfoSetObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def EventInfoSet
  @EventInfoSet
end

#EventRuleObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def EventRule
  @EventRule
end

#RuleDescObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def RuleDesc
  @RuleDesc
end

#RuleIdObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def RuleId
  @RuleId
end

#RuleNameObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def RuleName
  @RuleName
end

#StatusObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def Status
  @Status
end

#ValidPeriodObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def ValidPeriod
  @ValidPeriod
end

#ValidTypeObject

Parameters:

  • RuleId:

    联动id

  • RuleName:

    联动名称

  • RuleDesc:

    联动说明

  • ValidType:

    1 全天有效,0:固定时间段有效

  • ValidPeriod:

    有效期,json字符串(全天有效时为空)

  • BeginDate:

    起始时间

  • EndDate:

    结束时间

  • Status:

    启用状态。1-启用,0-停用

  • EventRule:

    触发规则,事件的组合

  • EventInfoSet:

    事件对象集合

  • ActionInfoSet:

    动作对象集合



6688
6689
6690
# File 'lib/v20230427/models.rb', line 6688

def ValidType
  @ValidType
end

Instance Method Details

#deserialize(params) ⇒ Object



6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
# File 'lib/v20230427/models.rb', line 6704

def deserialize(params)
  @RuleId = params['RuleId']
  @RuleName = params['RuleName']
  @RuleDesc = params['RuleDesc']
  @ValidType = params['ValidType']
  @ValidPeriod = params['ValidPeriod']
  @BeginDate = params['BeginDate']
  @EndDate = params['EndDate']
  @Status = params['Status']
  @EventRule = params['EventRule']
  unless params['EventInfoSet'].nil?
    @EventInfoSet = []
    params['EventInfoSet'].each do |i|
      eventobj_tmp = EventObj.new
      eventobj_tmp.deserialize(i)
      @EventInfoSet << eventobj_tmp
    end
  end
  unless params['ActionInfoSet'].nil?
    @ActionInfoSet = []
    params['ActionInfoSet'].each do |i|
      actionobj_tmp = ActionObj.new
      actionobj_tmp.deserialize(i)
      @ActionInfoSet << actionobj_tmp
    end
  end
end