Class: TencentCloud::Ess::V20201111::CreatePrepareFlowRequest

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

Overview

CreatePrepareFlow请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, resourceid = nil, flowname = nil, resourcetype = nil, unordered = nil, deadline = nil, userflowtypeid = nil, flowtype = nil, approvers = nil, intelligentstatus = nil, components = nil, flowoption = nil, needsignreview = nil, needcreatereview = nil, userdata = nil, ccinfos = nil, flowid = nil, agent = nil, initiatorcomponents = nil, flowdisplaytype = nil, signcomponentconfig = nil) ⇒ CreatePrepareFlowRequest

Returns a new instance of CreatePrepareFlowRequest.



7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
# File 'lib/v20201111/models.rb', line 7023

def initialize(operator=nil, resourceid=nil, flowname=nil, resourcetype=nil, unordered=nil, deadline=nil, userflowtypeid=nil, flowtype=nil, approvers=nil, intelligentstatus=nil, components=nil, flowoption=nil, needsignreview=nil, needcreatereview=nil, userdata=nil, ccinfos=nil, flowid=nil, agent=nil, initiatorcomponents=nil, flowdisplaytype=nil, signcomponentconfig=nil)
  @Operator = operator
  @ResourceId = resourceid
  @FlowName = flowname
  @ResourceType = resourcetype
  @Unordered = unordered
  @Deadline = deadline
  @UserFlowTypeId = userflowtypeid
  @FlowType = flowtype
  @Approvers = approvers
  @IntelligentStatus = intelligentstatus
  @Components = components
  @FlowOption = flowoption
  @NeedSignReview = needsignreview
  @NeedCreateReview = needcreatereview
  @UserData = userdata
  @CcInfos = ccinfos
  @FlowId = flowid
  @Agent = agent
  @InitiatorComponents = initiatorcomponents
  @FlowDisplayType = flowdisplaytype
  @SignComponentConfig = signcomponentconfig
end

Instance Attribute Details

#AgentObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def Agent
  @Agent
end

#ApproversObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def Approvers
  @Approvers
end

#CcInfosObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def CcInfos
  @CcInfos
end

#ComponentsObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def Components
  @Components
end

#DeadlineObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def Deadline
  @Deadline
end

#FlowDisplayTypeObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def FlowDisplayType
  @FlowDisplayType
end

#FlowIdObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def FlowId
  @FlowId
end

#FlowNameObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def FlowName
  @FlowName
end

#FlowOptionObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def FlowOption
  @FlowOption
end

#FlowTypeObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def FlowType
  @FlowType
end

#InitiatorComponentsObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def InitiatorComponents
  @InitiatorComponents
end

#IntelligentStatusObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def IntelligentStatus
  @IntelligentStatus
end

#NeedCreateReviewObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def NeedCreateReview
  @NeedCreateReview
end

#NeedSignReviewObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def NeedSignReview
  @NeedSignReview
end

#OperatorObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def Operator
  @Operator
end

#ResourceIdObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def ResourceId
  @ResourceId
end

#ResourceTypeObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def ResourceType
  @ResourceType
end

#SignComponentConfigObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def SignComponentConfig
  @SignComponentConfig
end

#UnorderedObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def Unordered
  @Unordered
end

#UserDataObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def UserData
  @UserData
end

#UserFlowTypeIdObject

  • 签署控件 是否默认展示日期.


7018
7019
7020
# File 'lib/v20201111/models.rb', line 7018

def UserFlowTypeId
  @UserFlowTypeId
end

Instance Method Details

#deserialize(params) ⇒ Object



7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
# File 'lib/v20201111/models.rb', line 7047

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @ResourceId = params['ResourceId']
  @FlowName = params['FlowName']
  @ResourceType = params['ResourceType']
  @Unordered = params['Unordered']
  @Deadline = params['Deadline']
  @UserFlowTypeId = params['UserFlowTypeId']
  @FlowType = params['FlowType']
  unless params['Approvers'].nil?
    @Approvers = []
    params['Approvers'].each do |i|
      flowcreateapprover_tmp = FlowCreateApprover.new
      flowcreateapprover_tmp.deserialize(i)
      @Approvers << flowcreateapprover_tmp
    end
  end
  @IntelligentStatus = params['IntelligentStatus']
  unless params['Components'].nil?
    @Components = Component.new
    @Components.deserialize(params['Components'])
  end
  unless params['FlowOption'].nil?
    @FlowOption = CreateFlowOption.new
    @FlowOption.deserialize(params['FlowOption'])
  end
  @NeedSignReview = params['NeedSignReview']
  @NeedCreateReview = params['NeedCreateReview']
  @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
  @FlowId = params['FlowId']
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  unless params['InitiatorComponents'].nil?
    @InitiatorComponents = []
    params['InitiatorComponents'].each do |i|
      component_tmp = Component.new
      component_tmp.deserialize(i)
      @InitiatorComponents << component_tmp
    end
  end
  @FlowDisplayType = params['FlowDisplayType']
  unless params['SignComponentConfig'].nil?
    @SignComponentConfig = SignComponentConfig.new
    @SignComponentConfig.deserialize(params['SignComponentConfig'])
  end
end