class TencentCloud::Tsf::V20180326::UpdateUnitRuleRequest
UpdateUnitRule请求参数结构体
def deserialize(params)
def deserialize(params) @Id = params['Id'] @Name = params['Name'] @Description = params['Description'] unless params['UnitRuleItemList'].nil? @UnitRuleItemList = [] params['UnitRuleItemList'].each do |i| unitruleitem_tmp = UnitRuleItem.new unitruleitem_tmp.deserialize(i) @UnitRuleItemList << unitruleitem_tmp end end end
def initialize(id=nil, name=nil, description=nil, unitruleitemlist=nil)
def initialize(id=nil, name=nil, description=nil, unitruleitemlist=nil) @Id = id @Name = name @Description = description @UnitRuleItemList = unitruleitemlist end