class TencentCloud::Tsf::V20180326::CreateUnitRuleRequest
CreateUnitRule请求参数结构体
def deserialize(params)
def deserialize(params) @GatewayInstanceId = params['GatewayInstanceId'] @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(gatewayinstanceid=nil, name=nil, description=nil, unitruleitemlist=nil)
def initialize(gatewayinstanceid=nil, name=nil, description=nil, unitruleitemlist=nil) @GatewayInstanceId = gatewayinstanceid @Name = name @Description = description @UnitRuleItemList = unitruleitemlist end