Class: TencentCloud::Essbasic::V20210526::FlowDetailInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210526/models.rb

Overview

此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flowid = nil, flowname = nil, flowtype = nil, flowstatus = nil, flowmessage = nil, createon = nil, deadline = nil, customdata = nil, flowapproverinfos = nil, ccinfos = nil, needcreatereview = nil, userflowtype = nil, templateid = nil) ⇒ FlowDetailInfo

Returns a new instance of FlowDetailInfo.



9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
# File 'lib/v20210526/models.rb', line 9585

def initialize(flowid=nil, flowname=nil, flowtype=nil, flowstatus=nil, flowmessage=nil, createon=nil, deadline=nil, customdata=nil, flowapproverinfos=nil, ccinfos=nil, needcreatereview=nil, userflowtype=nil, templateid=nil)
  @FlowId = flowid
  @FlowName = flowname
  @FlowType = flowtype
  @FlowStatus = flowstatus
  @FlowMessage = flowmessage
  @CreateOn = createon
  @DeadLine = deadline
  @CustomData = customdata
  @FlowApproverInfos = flowapproverinfos
  @CcInfos = ccinfos
  @NeedCreateReview = needcreatereview
  @UserFlowType = userflowtype
  @TemplateId = templateid
end

Instance Attribute Details

#CcInfosObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def CcInfos
  @CcInfos
end

#CreateOnObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def CreateOn
  @CreateOn
end

#CustomDataObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def CustomData
  @CustomData
end

#DeadLineObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def DeadLine
  @DeadLine
end

#FlowApproverInfosObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def FlowApproverInfos
  @FlowApproverInfos
end

#FlowIdObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def FlowId
  @FlowId
end

#FlowMessageObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def FlowMessage
  @FlowMessage
end

#FlowNameObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def FlowName
  @FlowName
end

#FlowStatusObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def FlowStatus
  @FlowStatus
end

#FlowTypeObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def FlowType
  @FlowType
end

#NeedCreateReviewObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def NeedCreateReview
  @NeedCreateReview
end

#TemplateIdObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def TemplateId
  @TemplateId
end

#UserFlowTypeObject

自定义合同类型的位置,在下图所示地方: image

Parameters:

  • 发起模板时,使用的模板Id



9583
9584
9585
# File 'lib/v20210526/models.rb', line 9583

def UserFlowType
  @UserFlowType
end

Instance Method Details

#deserialize(params) ⇒ Object



9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
# File 'lib/v20210526/models.rb', line 9601

def deserialize(params)
  @FlowId = params['FlowId']
  @FlowName = params['FlowName']
  @FlowType = params['FlowType']
  @FlowStatus = params['FlowStatus']
  @FlowMessage = params['FlowMessage']
  @CreateOn = params['CreateOn']
  @DeadLine = params['DeadLine']
  @CustomData = params['CustomData']
  unless params['FlowApproverInfos'].nil?
    @FlowApproverInfos = []
    params['FlowApproverInfos'].each do |i|
      flowapproverdetail_tmp = FlowApproverDetail.new
      flowapproverdetail_tmp.deserialize(i)
      @FlowApproverInfos << flowapproverdetail_tmp
    end
  end
  unless params['CcInfos'].nil?
    @CcInfos = []
    params['CcInfos'].each do |i|
      flowapproverdetail_tmp = FlowApproverDetail.new
      flowapproverdetail_tmp.deserialize(i)
      @CcInfos << flowapproverdetail_tmp
    end
  end
  @NeedCreateReview = params['NeedCreateReview']
  unless params['UserFlowType'].nil?
    @UserFlowType = UserFlowType.new
    @UserFlowType.deserialize(params['UserFlowType'])
  end
  @TemplateId = params['TemplateId']
end