Class: TencentCloud::Ess::V20201111::CreateFlowRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20201111/models.rb

Overview

CreateFlow请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, flowname = nil, approvers = nil, flowdescription = nil, flowtype = nil, clienttoken = nil, deadline = nil, remindedon = nil, userdata = nil, unordered = nil, customshowmap = nil, needsignreview = nil, agent = nil, ccinfos = nil, autosignscene = nil, relatedflowid = nil, callbackurl = nil, flowdisplaytype = nil) ⇒ CreateFlowRequest

Returns a new instance of CreateFlowRequest.



4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
# File 'lib/v20201111/models.rb', line 4988

def initialize(operator=nil, flowname=nil, approvers=nil, flowdescription=nil, flowtype=nil, clienttoken=nil, deadline=nil, remindedon=nil, userdata=nil, unordered=nil, customshowmap=nil, needsignreview=nil, agent=nil, ccinfos=nil, autosignscene=nil, relatedflowid=nil, callbackurl=nil, flowdisplaytype=nil)
  @Operator = operator
  @FlowName = flowname
  @Approvers = approvers
  @FlowDescription = flowdescription
  @FlowType = flowtype
  @ClientToken = clienttoken
  @DeadLine = deadline
  @RemindedOn = remindedon
  @UserData = userdata
  @Unordered = unordered
  @CustomShowMap = customshowmap
  @NeedSignReview = needsignreview
  @Agent = agent
  @CcInfos = ccinfos
  @AutoSignScene = autosignscene
  @RelatedFlowId = relatedflowid
  @CallbackUrl = callbackurl
  @FlowDisplayType = flowdisplaytype
end

Instance Attribute Details

#AgentObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def Agent
  @Agent
end

#ApproversObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def Approvers
  @Approvers
end

#AutoSignSceneObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def AutoSignScene
  @AutoSignScene
end

#CallbackUrlObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def CallbackUrl
  @CallbackUrl
end

#CcInfosObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def CcInfos
  @CcInfos
end

#ClientTokenObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def ClientToken
  @ClientToken
end

#CustomShowMapObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def CustomShowMap
  @CustomShowMap
end

#DeadLineObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def DeadLine
  @DeadLine
end

#FlowDescriptionObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def FlowDescription
  @FlowDescription
end

#FlowDisplayTypeObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def FlowDisplayType
  @FlowDisplayType
end

#FlowNameObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def FlowName
  @FlowName
end

#FlowTypeObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def FlowType
  @FlowType
end

#NeedSignReviewObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def NeedSignReview
  @NeedSignReview
end

#OperatorObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def Operator
  @Operator
end

#RelatedFlowIdObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def RelatedFlowId
  @RelatedFlowId
end

#RemindedOnObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def RemindedOn
  @RemindedOn
end

#UnorderedObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def Unordered
  @Unordered
end

#UserDataObject

效果如下: FlowDisplayType



4981
4982
4983
# File 'lib/v20201111/models.rb', line 4981

def UserData
  @UserData
end

Instance Method Details

#deserialize(params) ⇒ Object



5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
# File 'lib/v20201111/models.rb', line 5009

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @FlowName = params['FlowName']
  unless params['Approvers'].nil?
    @Approvers = []
    params['Approvers'].each do |i|
      flowcreateapprover_tmp = FlowCreateApprover.new
      flowcreateapprover_tmp.deserialize(i)
      @Approvers << flowcreateapprover_tmp
    end
  end
  @FlowDescription = params['FlowDescription']
  @FlowType = params['FlowType']
  @ClientToken = params['ClientToken']
  @DeadLine = params['DeadLine']
  @RemindedOn = params['RemindedOn']
  @UserData = params['UserData']
  @Unordered = params['Unordered']
  @CustomShowMap = params['CustomShowMap']
  @NeedSignReview = params['NeedSignReview']
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  unless params['CcInfos'].nil?
    @CcInfos = []
    params['CcInfos'].each do |i|
      ccinfo_tmp = CcInfo.new
      ccinfo_tmp.deserialize(i)
      @CcInfos << ccinfo_tmp
    end
  end
  @AutoSignScene = params['AutoSignScene']
  @RelatedFlowId = params['RelatedFlowId']
  @CallbackUrl = params['CallbackUrl']
  @FlowDisplayType = params['FlowDisplayType']
end