class TencentCloud::Tsf::V20180326::LaneRule
泳道规则
def deserialize(params)
def deserialize(params) @RuleId = params['RuleId'] @RuleName = params['RuleName'] @Priority = params['Priority'] @Remark = params['Remark'] unless params['RuleTagList'].nil? @RuleTagList = [] params['RuleTagList'].each do |i| laneruletag_tmp = LaneRuleTag.new laneruletag_tmp.deserialize(i) @RuleTagList << laneruletag_tmp end end @RuleTagRelationship = params['RuleTagRelationship'] @LaneId = params['LaneId'] @Enable = params['Enable'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end
def initialize(ruleid=nil, rulename=nil, priority=nil, remark=nil, ruletaglist=nil, ruletagrelationship=nil, laneid=nil, enable=nil, createtime=nil, updatetime=nil)
def initialize(ruleid=nil, rulename=nil, priority=nil, remark=nil, ruletaglist=nil, ruletagrelationship=nil, laneid=nil, enable=nil, createtime=nil, updatetime=nil) @RuleId = ruleid @RuleName = rulename @Priority = priority @Remark = remark @RuleTagList = ruletaglist @RuleTagRelationship = ruletagrelationship @LaneId = laneid @Enable = enable @CreateTime = createtime @UpdateTime = updatetime end