class TencentCloud::Tsf::V20180326::CreateTaskFlowRequest
CreateTaskFlow请求参数结构体
def deserialize(params)
def deserialize(params) @FlowName = params['FlowName'] unless params['TriggerRule'].nil? @TriggerRule = TaskRule.new @TriggerRule.deserialize(params['TriggerRule']) end unless params['FlowEdges'].nil? @FlowEdges = [] params['FlowEdges'].each do |i| taskflowedge_tmp = TaskFlowEdge.new taskflowedge_tmp.deserialize(i) @FlowEdges << taskflowedge_tmp end end @TimeOut = params['TimeOut'] @ProgramIdList = params['ProgramIdList'] end
def initialize(flowname=nil, triggerrule=nil, flowedges=nil, timeout=nil, programidlist=nil)
def initialize(flowname=nil, triggerrule=nil, flowedges=nil, timeout=nil, programidlist=nil) @FlowName = flowname @TriggerRule = triggerrule @FlowEdges = flowedges @TimeOut = timeout @ProgramIdList = programidlist end