Class: TencentCloud::Essbasic::V20210526::BaseFlowInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::BaseFlowInfo
- Defined in:
- lib/v20210526/models.rb
Overview
基础流程信息
Instance Attribute Summary collapse
- #Approvers ⇒ Object
- #CcInfos ⇒ Object
- #Components ⇒ Object
- #Deadline ⇒ Object
- #FileIds ⇒ Object
- #FlowDescription ⇒ Object
- #FlowDisplayType ⇒ Object
- #FlowName ⇒ Object
- #FlowType ⇒ Object
- #FormFields ⇒ Object
- #IntelligentStatus ⇒ Object
- #NeedCreateReview ⇒ Object
- #NeedSignReview ⇒ Object
- #Unordered ⇒ Object
- #UserData ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flowname = nil, deadline = nil, flowtype = nil, flowdescription = nil, unordered = nil, intelligentstatus = nil, formfields = nil, needsignreview = nil, userdata = nil, ccinfos = nil, needcreatereview = nil, components = nil, flowdisplaytype = nil, fileids = nil, approvers = nil) ⇒ BaseFlowInfo
constructor
A new instance of BaseFlowInfo.
Constructor Details
#initialize(flowname = nil, deadline = nil, flowtype = nil, flowdescription = nil, unordered = nil, intelligentstatus = nil, formfields = nil, needsignreview = nil, userdata = nil, ccinfos = nil, needcreatereview = nil, components = nil, flowdisplaytype = nil, fileids = nil, approvers = nil) ⇒ BaseFlowInfo
Returns a new instance of BaseFlowInfo.
463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'lib/v20210526/models.rb', line 463 def initialize(flowname=nil, deadline=nil, flowtype=nil, flowdescription=nil, unordered=nil, intelligentstatus=nil, formfields=nil, needsignreview=nil, userdata=nil, ccinfos=nil, needcreatereview=nil, components=nil, flowdisplaytype=nil, fileids=nil, approvers=nil) @FlowName = flowname @Deadline = deadline @FlowType = flowtype @FlowDescription = flowdescription @Unordered = unordered @IntelligentStatus = intelligentstatus @FormFields = formfields @NeedSignReview = needsignreview @UserData = userdata @CcInfos = ccinfos @NeedCreateReview = needcreatereview @Components = components @FlowDisplayType = flowdisplaytype @FileIds = fileids @Approvers = approvers end |
Instance Attribute Details
#Approvers ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def Approvers @Approvers end |
#CcInfos ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def CcInfos @CcInfos end |
#Components ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def Components @Components end |
#Deadline ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def Deadline @Deadline end |
#FileIds ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def FileIds @FileIds end |
#FlowDescription ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def FlowDescription @FlowDescription end |
#FlowDisplayType ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def FlowDisplayType @FlowDisplayType end |
#FlowName ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def FlowName @FlowName end |
#FlowType ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def FlowType @FlowType end |
#FormFields ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def FormFields @FormFields end |
#IntelligentStatus ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def IntelligentStatus @IntelligentStatus end |
#NeedCreateReview ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def NeedCreateReview @NeedCreateReview end |
#NeedSignReview ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def NeedSignReview @NeedSignReview end |
#Unordered ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def Unordered @Unordered end |
#UserData ⇒ Object
461 462 463 |
# File 'lib/v20210526/models.rb', line 461 def UserData @UserData end |
Instance Method Details
#deserialize(params) ⇒ Object
481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 |
# File 'lib/v20210526/models.rb', line 481 def deserialize(params) @FlowName = params['FlowName'] @Deadline = params['Deadline'] @FlowType = params['FlowType'] @FlowDescription = params['FlowDescription'] @Unordered = params['Unordered'] @IntelligentStatus = params['IntelligentStatus'] unless params['FormFields'].nil? @FormFields = [] params['FormFields'].each do |i| formfield_tmp = FormField.new formfield_tmp.deserialize(i) @FormFields << formfield_tmp end end @NeedSignReview = params['NeedSignReview'] @UserData = params['UserData'] unless params['CcInfos'].nil? @CcInfos = [] params['CcInfos'].each do |i| ccinfo_tmp = CcInfo.new ccinfo_tmp.deserialize(i) @CcInfos << ccinfo_tmp end end @NeedCreateReview = params['NeedCreateReview'] unless params['Components'].nil? @Components = [] params['Components'].each do |i| component_tmp = Component.new component_tmp.deserialize(i) @Components << component_tmp end end @FlowDisplayType = params['FlowDisplayType'] @FileIds = params['FileIds'] unless params['Approvers'].nil? @Approvers = [] params['Approvers'].each do |i| commonflowapprover_tmp = CommonFlowApprover.new commonflowapprover_tmp.deserialize(i) @Approvers << commonflowapprover_tmp end end end |
