class TencentCloud::Ess::V20201111::CreateFlowApproversRequest
CreateFlowApprovers请求参数结构体
def deserialize(params)
def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end unless params['Approvers'].nil? @Approvers = [] params['Approvers'].each do |i| fillapproverinfo_tmp = FillApproverInfo.new fillapproverinfo_tmp.deserialize(i) @Approvers << fillapproverinfo_tmp end end @FlowId = params['FlowId'] @FillApproverType = params['FillApproverType'] @Initiator = params['Initiator'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end @FlowGroupId = params['FlowGroupId'] end
def initialize(operator=nil, approvers=nil, flowid=nil, fillapprovertype=nil, initiator=nil, agent=nil, flowgroupid=nil)
def initialize(operator=nil, approvers=nil, flowid=nil, fillapprovertype=nil, initiator=nil, agent=nil, flowgroupid=nil) @Operator = operator @Approvers = approvers @FlowId = flowid @FillApproverType = fillapprovertype @Initiator = initiator @Agent = agent @FlowGroupId = flowgroupid end