Class: TencentCloud::Ess::V20201111::FlowDetailInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201111/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, flowdescription = nil, createdon = nil, flowapproverinfos = nil, ccinfos = nil, creator = nil, userflowtype = nil, templateid = nil) ⇒ FlowDetailInfo

Returns a new instance of FlowDetailInfo.



13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
# File 'lib/v20201111/models.rb', line 13466

def initialize(flowid=nil, flowname=nil, flowtype=nil, flowstatus=nil, flowmessage=nil, flowdescription=nil, createdon=nil, flowapproverinfos=nil, ccinfos=nil, creator=nil, userflowtype=nil, templateid=nil)
  @FlowId = flowid
  @FlowName = flowname
  @FlowType = flowtype
  @FlowStatus = flowstatus
  @FlowMessage = flowmessage
  @FlowDescription = flowdescription
  @CreatedOn = createdon
  @FlowApproverInfos = flowapproverinfos
  @CcInfos = ccinfos
  @Creator = creator
  @UserFlowType = userflowtype
  @TemplateId = templateid
end

Instance Attribute Details

#CcInfosObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def CcInfos
  @CcInfos
end

#CreatedOnObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def CreatedOn
  @CreatedOn
end

#CreatorObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def Creator
  @Creator
end

#FlowApproverInfosObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowApproverInfos
  @FlowApproverInfos
end

#FlowDescriptionObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowDescription
  @FlowDescription
end

#FlowIdObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowId
  @FlowId
end

#FlowMessageObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowMessage
  @FlowMessage
end

#FlowNameObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowName
  @FlowName
end

#FlowStatusObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowStatus
  @FlowStatus
end

#FlowTypeObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def FlowType
  @FlowType
end

#TemplateIdObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def TemplateId
  @TemplateId
end

#UserFlowTypeObject

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

Parameters:

  • TemplateId:

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



13464
13465
13466
# File 'lib/v20201111/models.rb', line 13464

def UserFlowType
  @UserFlowType
end

Instance Method Details

#deserialize(params) ⇒ Object



13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
# File 'lib/v20201111/models.rb', line 13481

def deserialize(params)
  @FlowId = params['FlowId']
  @FlowName = params['FlowName']
  @FlowType = params['FlowType']
  @FlowStatus = params['FlowStatus']
  @FlowMessage = params['FlowMessage']
  @FlowDescription = params['FlowDescription']
  @CreatedOn = params['CreatedOn']
  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
  @Creator = params['Creator']
  unless params['UserFlowType'].nil?
    @UserFlowType = UserFlowType.new
    @UserFlowType.deserialize(params['UserFlowType'])
  end
  @TemplateId = params['TemplateId']
end