class TencentCloud::Ess::V20201111::CreateDynamicFlowApproverRequest
CreateDynamicFlowApprover请求参数结构体
def deserialize(params)
def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end @FlowId = params['FlowId'] unless params['Approvers'].nil? @Approvers = [] params['Approvers'].each do |i| approverinfo_tmp = ApproverInfo.new approverinfo_tmp.deserialize(i) @Approvers << approverinfo_tmp end end unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end @AutoSignScene = params['AutoSignScene'] end
def initialize(operator=nil, flowid=nil, approvers=nil, agent=nil, autosignscene=nil)
def initialize(operator=nil, flowid=nil, approvers=nil, agent=nil, autosignscene=nil) @Operator = operator @FlowId = flowid @Approvers = approvers @Agent = agent @AutoSignScene = autosignscene end