Class: TencentCloud::Ess::V20201111::CreateFlowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::CreateFlowRequest
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20201111/models.rb
Overview
CreateFlow请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
效果如下:
. -
#Approvers ⇒ Object
效果如下:
. -
#AutoSignScene ⇒ Object
效果如下:
. -
#CallbackUrl ⇒ Object
效果如下:
. -
#CcInfos ⇒ Object
效果如下:
. -
#ClientToken ⇒ Object
效果如下:
. -
#CustomShowMap ⇒ Object
效果如下:
. -
#DeadLine ⇒ Object
效果如下:
. -
#FlowDescription ⇒ Object
效果如下:
. -
#FlowDisplayType ⇒ Object
效果如下:
. -
#FlowName ⇒ Object
效果如下:
. -
#FlowType ⇒ Object
效果如下:
. -
#NeedSignReview ⇒ Object
效果如下:
. -
#Operator ⇒ Object
效果如下:
. -
#RelatedFlowId ⇒ Object
效果如下:
. -
#RemindedOn ⇒ Object
效果如下:
. -
#Unordered ⇒ Object
效果如下:
. -
#UserData ⇒ Object
效果如下:
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of CreateFlowRequest.
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, =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 = @CallbackUrl = callbackurl @FlowDisplayType = flowdisplaytype end |
Instance Attribute Details
#Agent ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def Agent @Agent end |
#Approvers ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def Approvers @Approvers end |
#AutoSignScene ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def AutoSignScene @AutoSignScene end |
#CallbackUrl ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def CallbackUrl @CallbackUrl end |
#CcInfos ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def CcInfos @CcInfos end |
#ClientToken ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def ClientToken @ClientToken end |
#CustomShowMap ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def CustomShowMap @CustomShowMap end |
#DeadLine ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def DeadLine @DeadLine end |
#FlowDescription ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def FlowDescription @FlowDescription end |
#FlowDisplayType ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def FlowDisplayType @FlowDisplayType end |
#FlowName ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def FlowName @FlowName end |
#FlowType ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def FlowType @FlowType end |
#NeedSignReview ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def NeedSignReview @NeedSignReview end |
#Operator ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def Operator @Operator end |
#RelatedFlowId ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def RelatedFlowId @RelatedFlowId end |
#RemindedOn ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def RemindedOn @RemindedOn end |
#Unordered ⇒ Object
效果如下:

4981 4982 4983 |
# File 'lib/v20201111/models.rb', line 4981 def Unordered @Unordered end |
#UserData ⇒ Object
效果如下:

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 |