class TencentCloud::Ess::V20201111::CreateFlowGroupByTemplatesRequest
CreateFlowGroupByTemplates请求参数结构体
def deserialize(params)
def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end @FlowGroupName = params['FlowGroupName'] unless params['FlowGroupInfos'].nil? @FlowGroupInfos = [] params['FlowGroupInfos'].each do |i| flowgroupinfo_tmp = FlowGroupInfo.new flowgroupinfo_tmp.deserialize(i) @FlowGroupInfos << flowgroupinfo_tmp end end unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end unless params['FlowGroupOptions'].nil? @FlowGroupOptions = FlowGroupOptions.new @FlowGroupOptions.deserialize(params['FlowGroupOptions']) end end
def initialize(operator=nil, flowgroupname=nil, flowgroupinfos=nil, agent=nil, flowgroupoptions=nil)
def initialize(operator=nil, flowgroupname=nil, flowgroupinfos=nil, agent=nil, flowgroupoptions=nil) @Operator = operator @FlowGroupName = flowgroupname @FlowGroupInfos = flowgroupinfos @Agent = agent @FlowGroupOptions = flowgroupoptions end