Class: TencentCloud::Essbasic::V20210526::ChannelCreatePrepareFlowRequest

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

Overview

ChannelCreatePrepareFlow请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourcetype = nil, flowinfo = nil, agent = nil, resourceid = nil, flowoption = nil, flowapproverlist = nil, flowid = nil, needpreview = nil, organization = nil, operator = nil, signcomponentconfig = nil) ⇒ ChannelCreatePrepareFlowRequest

Returns a new instance of ChannelCreatePrepareFlowRequest.



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/v20210526/models.rb', line 2890

def initialize(resourcetype=nil, flowinfo=nil, agent=nil, resourceid=nil, flowoption=nil, flowapproverlist=nil, flowid=nil, needpreview=nil, organization=nil, operator=nil, signcomponentconfig=nil)
  @ResourceType = resourcetype
  @FlowInfo = flowinfo
  @Agent = agent
  @ResourceId = resourceid
  @FlowOption = flowoption
  @FlowApproverList = flowapproverlist
  @FlowId = flowid
  @NeedPreview = needpreview
  @Organization = organization
  @Operator = operator
  @SignComponentConfig = signcomponentconfig
end

Instance Attribute Details

#AgentObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def Agent
  @Agent
end

#FlowApproverListObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def FlowApproverList
  @FlowApproverList
end

#FlowIdObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def FlowId
  @FlowId
end

#FlowInfoObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def FlowInfo
  @FlowInfo
end

#FlowOptionObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def FlowOption
  @FlowOption
end

#NeedPreviewObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def NeedPreview
  @NeedPreview
end

#OperatorObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def Operator
  @Operator
end

#OrganizationObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def Organization
  @Organization
end

#ResourceIdObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def ResourceId
  @ResourceId
end

#ResourceTypeObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def ResourceType
  @ResourceType
end

#SignComponentConfigObject

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


2877
2878
2879
# File 'lib/v20210526/models.rb', line 2877

def SignComponentConfig
  @SignComponentConfig
end

Instance Method Details

#deserialize(params) ⇒ Object



2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'lib/v20210526/models.rb', line 2904

def deserialize(params)
  @ResourceType = params['ResourceType']
  unless params['FlowInfo'].nil?
    @FlowInfo = BaseFlowInfo.new
    @FlowInfo.deserialize(params['FlowInfo'])
  end
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @ResourceId = params['ResourceId']
  unless params['FlowOption'].nil?
    @FlowOption = CreateFlowOption.new
    @FlowOption.deserialize(params['FlowOption'])
  end
  unless params['FlowApproverList'].nil?
    @FlowApproverList = []
    params['FlowApproverList'].each do |i|
      commonflowapprover_tmp = CommonFlowApprover.new
      commonflowapprover_tmp.deserialize(i)
      @FlowApproverList << commonflowapprover_tmp
    end
  end
  @FlowId = params['FlowId']
  @NeedPreview = params['NeedPreview']
  unless params['Organization'].nil?
    @Organization = OrganizationInfo.new
    @Organization.deserialize(params['Organization'])
  end
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  unless params['SignComponentConfig'].nil?
    @SignComponentConfig = SignComponentConfig.new
    @SignComponentConfig.deserialize(params['SignComponentConfig'])
  end
end