tencentcloud-sdk-ess 1.0.363 → 1.0.364

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201111/models.rb +147 -147
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb8bca0a0edaece1c85d537dba7c278c7d98873f
4
- data.tar.gz: 7c3641e46d201e4b6e34f40e89de5b09e3baa1fd
3
+ metadata.gz: 397e27c4eff8b0973afe10e46b8d147958415ff4
4
+ data.tar.gz: f040451b97e0e6d211523d52c8e2681f3fecdb72
5
5
  SHA512:
6
- metadata.gz: 69e55b2c2814108a2c4948602628daba1555feda925cfec3e5fc66a00a7dedcc7d39713b3d835e550523bd513fbaa843ff5ad420ecc058fbb7e27df004e78bd3
7
- data.tar.gz: 4dea08870a5eb57c996997b9994cf4ea4338abfcdfca2ba9666cac5efe863987090f05d601a7395d15146e97edf00fa8d9942bd457f75407159fa18ceaadd545
6
+ metadata.gz: 6d596d84f2f7ced018aff19b87ba4e16dc8b35d4098b7864c33df160df4418826413a54a540aafb293c8b8aa0a818756790d34bfe7bf15381bcaa523bb51628d
7
+ data.tar.gz: 4ea68f5c49fd19a36253cb1ecba5ff3e36bc7a6bd848e1a24e889a1767c8700241eb452a2ad3bfc290662fb2b1933e2111ccb4675e6d304f36e957755a71b774
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.363
1
+ 1.0.364
@@ -128,31 +128,31 @@ module TencentCloud
128
128
 
129
129
  # CancelFlow请求参数结构体
130
130
  class CancelFlowRequest < TencentCloud::Common::AbstractModel
131
+ # @param Operator: 调用方用户信息,userId 必填
132
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
131
133
  # @param FlowId: 签署流程id
132
134
  # @type FlowId: String
133
135
  # @param CancelMessage: 撤销原因,最长200个字符;
134
136
  # @type CancelMessage: String
135
- # @param Operator: 操作用户id
136
- # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
137
137
  # @param Agent: 应用相关信息
138
138
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
139
139
 
140
- attr_accessor :FlowId, :CancelMessage, :Operator, :Agent
140
+ attr_accessor :Operator, :FlowId, :CancelMessage, :Agent
141
141
 
142
- def initialize(flowid=nil, cancelmessage=nil, operator=nil, agent=nil)
142
+ def initialize(operator=nil, flowid=nil, cancelmessage=nil, agent=nil)
143
+ @Operator = operator
143
144
  @FlowId = flowid
144
145
  @CancelMessage = cancelmessage
145
- @Operator = operator
146
146
  @Agent = agent
147
147
  end
148
148
 
149
149
  def deserialize(params)
150
- @FlowId = params['FlowId']
151
- @CancelMessage = params['CancelMessage']
152
150
  unless params['Operator'].nil?
153
151
  @Operator = UserInfo.new
154
152
  @Operator.deserialize(params['Operator'])
155
153
  end
154
+ @FlowId = params['FlowId']
155
+ @CancelMessage = params['CancelMessage']
156
156
  unless params['Agent'].nil?
157
157
  @Agent = Agent.new
158
158
  @Agent.deserialize(params['Agent'])
@@ -341,16 +341,14 @@ module TencentCloud
341
341
 
342
342
  # CreateDocument请求参数结构体
343
343
  class CreateDocumentRequest < TencentCloud::Common::AbstractModel
344
+ # @param Operator: 调用方用户信息,userId 必填
345
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
344
346
  # @param FlowId: 签署流程编号,由CreateFlow接口返回
345
347
  # @type FlowId: String
346
348
  # @param TemplateId: 用户上传的模板ID
347
349
  # @type TemplateId: String
348
350
  # @param FileNames: 文件名列表,单个文件名最大长度200个字符
349
351
  # @type FileNames: Array
350
- # @param Operator: 无
351
- # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
352
- # @param Agent: 应用相关信息
353
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
354
352
  # @param FormFields: 内容控件信息数组
355
353
  # @type FormFields: Array
356
354
  # @param NeedPreview: 是否需要生成预览文件 默认不生成;
@@ -358,32 +356,30 @@ module TencentCloud
358
356
  # @type NeedPreview: Boolean
359
357
  # @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
360
358
  # @type ClientToken: String
359
+ # @param Agent: 应用相关信息
360
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
361
361
 
362
- attr_accessor :FlowId, :TemplateId, :FileNames, :Operator, :Agent, :FormFields, :NeedPreview, :ClientToken
362
+ attr_accessor :Operator, :FlowId, :TemplateId, :FileNames, :FormFields, :NeedPreview, :ClientToken, :Agent
363
363
 
364
- def initialize(flowid=nil, templateid=nil, filenames=nil, operator=nil, agent=nil, formfields=nil, needpreview=nil, clienttoken=nil)
364
+ def initialize(operator=nil, flowid=nil, templateid=nil, filenames=nil, formfields=nil, needpreview=nil, clienttoken=nil, agent=nil)
365
+ @Operator = operator
365
366
  @FlowId = flowid
366
367
  @TemplateId = templateid
367
368
  @FileNames = filenames
368
- @Operator = operator
369
- @Agent = agent
370
369
  @FormFields = formfields
371
370
  @NeedPreview = needpreview
372
371
  @ClientToken = clienttoken
372
+ @Agent = agent
373
373
  end
374
374
 
375
375
  def deserialize(params)
376
- @FlowId = params['FlowId']
377
- @TemplateId = params['TemplateId']
378
- @FileNames = params['FileNames']
379
376
  unless params['Operator'].nil?
380
377
  @Operator = UserInfo.new
381
378
  @Operator.deserialize(params['Operator'])
382
379
  end
383
- unless params['Agent'].nil?
384
- @Agent = Agent.new
385
- @Agent.deserialize(params['Agent'])
386
- end
380
+ @FlowId = params['FlowId']
381
+ @TemplateId = params['TemplateId']
382
+ @FileNames = params['FileNames']
387
383
  unless params['FormFields'].nil?
388
384
  @FormFields = []
389
385
  params['FormFields'].each do |i|
@@ -394,6 +390,10 @@ module TencentCloud
394
390
  end
395
391
  @NeedPreview = params['NeedPreview']
396
392
  @ClientToken = params['ClientToken']
393
+ unless params['Agent'].nil?
394
+ @Agent = Agent.new
395
+ @Agent.deserialize(params['Agent'])
396
+ end
397
397
  end
398
398
  end
399
399
 
@@ -424,16 +424,16 @@ module TencentCloud
424
424
 
425
425
  # CreateFlowByFiles请求参数结构体
426
426
  class CreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
427
+ # @param Operator: 调用方用户信息,userId 必填
428
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
427
429
  # @param FlowName: 签署流程名称,最大长度200个字符
428
430
  # @type FlowName: String
429
431
  # @param Approvers: 签署参与者信息
430
432
  # @type Approvers: Array
431
433
  # @param FileIds: 签署pdf文件的资源编号列表,通过UploadFiles接口获取
432
434
  # @type FileIds: Array
433
- # @param Operator: 调用方用户信息
434
- # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
435
- # @param Agent: 应用号信息
436
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
435
+ # @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
436
+ # @type FlowType: String
437
437
  # @param Components: 经办人内容控件配置。可选类型为:
438
438
  # TEXT - 内容文本控件
439
439
  # MULTI_LINE_TEXT - 多行文本控件
@@ -441,6 +441,14 @@ module TencentCloud
441
441
  # ATTACHMENT - 附件
442
442
  # 注:默认字体大小为 字号12
443
443
  # @type Components: Array
444
+ # @param CcInfos: 被抄送人的信息列表。
445
+ # 注:此功能为白名单功能,若有需要,请联系电子签客服开白使用
446
+ # @type CcInfos: Array
447
+ # @param NeedPreview: 是否需要预览,true:预览模式,false:非预览(默认);
448
+ # 预览链接有效期300秒;
449
+ # @type NeedPreview: Boolean
450
+ # @param FlowDescription: 签署流程描述,最大长度1000个字符
451
+ # @type FlowDescription: String
444
452
  # @param Deadline: 签署流程的签署截止时间。
445
453
  # 值为unix时间戳,精确到秒,不传默认为当前时间一年后
446
454
  # @type Deadline: Integer
@@ -449,38 +457,34 @@ module TencentCloud
449
457
  # false:有序签
450
458
  # 注:默认为false(有序签)
451
459
  # @type Unordered: Boolean
452
- # @param NeedPreview: 是否需要预览,true:预览模式,false:非预览(默认);
453
- # 预览链接有效期300秒;
454
- # @type NeedPreview: Boolean
455
- # @param FlowDescription: 签署流程描述,最大长度1000个字符
456
- # @type FlowDescription: String
457
- # @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
458
- # @type FlowType: String
459
- # @param CcInfos: 被抄送人的信息列表。
460
- # 注:此功能为白名单功能,若有需要,请联系电子签客服开白使用
461
- # @type CcInfos: Array
462
460
  # @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
463
461
  # @type CustomShowMap: String
462
+ # @param Agent: 应用号信息
463
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
464
464
 
465
- attr_accessor :FlowName, :Approvers, :FileIds, :Operator, :Agent, :Components, :Deadline, :Unordered, :NeedPreview, :FlowDescription, :FlowType, :CcInfos, :CustomShowMap
465
+ attr_accessor :Operator, :FlowName, :Approvers, :FileIds, :FlowType, :Components, :CcInfos, :NeedPreview, :FlowDescription, :Deadline, :Unordered, :CustomShowMap, :Agent
466
466
 
467
- def initialize(flowname=nil, approvers=nil, fileids=nil, operator=nil, agent=nil, components=nil, deadline=nil, unordered=nil, needpreview=nil, flowdescription=nil, flowtype=nil, ccinfos=nil, customshowmap=nil)
467
+ def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowtype=nil, components=nil, ccinfos=nil, needpreview=nil, flowdescription=nil, deadline=nil, unordered=nil, customshowmap=nil, agent=nil)
468
+ @Operator = operator
468
469
  @FlowName = flowname
469
470
  @Approvers = approvers
470
471
  @FileIds = fileids
471
- @Operator = operator
472
- @Agent = agent
472
+ @FlowType = flowtype
473
473
  @Components = components
474
- @Deadline = deadline
475
- @Unordered = unordered
474
+ @CcInfos = ccinfos
476
475
  @NeedPreview = needpreview
477
476
  @FlowDescription = flowdescription
478
- @FlowType = flowtype
479
- @CcInfos = ccinfos
477
+ @Deadline = deadline
478
+ @Unordered = unordered
480
479
  @CustomShowMap = customshowmap
480
+ @Agent = agent
481
481
  end
482
482
 
483
483
  def deserialize(params)
484
+ unless params['Operator'].nil?
485
+ @Operator = UserInfo.new
486
+ @Operator.deserialize(params['Operator'])
487
+ end
484
488
  @FlowName = params['FlowName']
485
489
  unless params['Approvers'].nil?
486
490
  @Approvers = []
@@ -491,14 +495,7 @@ module TencentCloud
491
495
  end
492
496
  end
493
497
  @FileIds = params['FileIds']
494
- unless params['Operator'].nil?
495
- @Operator = UserInfo.new
496
- @Operator.deserialize(params['Operator'])
497
- end
498
- unless params['Agent'].nil?
499
- @Agent = Agent.new
500
- @Agent.deserialize(params['Agent'])
501
- end
498
+ @FlowType = params['FlowType']
502
499
  unless params['Components'].nil?
503
500
  @Components = []
504
501
  params['Components'].each do |i|
@@ -507,11 +504,6 @@ module TencentCloud
507
504
  @Components << component_tmp
508
505
  end
509
506
  end
510
- @Deadline = params['Deadline']
511
- @Unordered = params['Unordered']
512
- @NeedPreview = params['NeedPreview']
513
- @FlowDescription = params['FlowDescription']
514
- @FlowType = params['FlowType']
515
507
  unless params['CcInfos'].nil?
516
508
  @CcInfos = []
517
509
  params['CcInfos'].each do |i|
@@ -520,7 +512,15 @@ module TencentCloud
520
512
  @CcInfos << ccinfo_tmp
521
513
  end
522
514
  end
515
+ @NeedPreview = params['NeedPreview']
516
+ @FlowDescription = params['FlowDescription']
517
+ @Deadline = params['Deadline']
518
+ @Unordered = params['Unordered']
523
519
  @CustomShowMap = params['CustomShowMap']
520
+ unless params['Agent'].nil?
521
+ @Agent = Agent.new
522
+ @Agent.deserialize(params['Agent'])
523
+ end
524
524
  end
525
525
  end
526
526
 
@@ -551,56 +551,60 @@ module TencentCloud
551
551
 
552
552
  # CreateFlow请求参数结构体
553
553
  class CreateFlowRequest < TencentCloud::Common::AbstractModel
554
+ # @param Operator: 调用方用户信息,userId 必填
555
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
554
556
  # @param FlowName: 签署流程名称,最大长度200个字符
555
557
  # @type FlowName: String
556
558
  # @param Approvers: 签署流程参与者信息
557
559
  # @type Approvers: Array
558
- # @param Operator: 操作人信息
559
- # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
560
- # @param Agent: 应用相关信息
561
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
562
- # @param Unordered: 发送类型:
563
- # true:无序签
564
- # false:有序签
565
- # 注:默认为false(有序签),请和模板中的配置保持一致
566
- # @type Unordered: Boolean
560
+ # @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
561
+ # @type FlowType: String
562
+ # @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
563
+ # @type ClientToken: String
564
+ # @param CallbackUrl: 暂未开放
565
+ # @type CallbackUrl: String
567
566
  # @param DeadLine: 签署流程的签署截止时间。
568
567
  # 值为unix时间戳,精确到秒,不传默认为当前时间一年后
569
568
  # @type DeadLine: Integer
570
- # @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
571
- # @type FlowType: String
572
569
  # @param UserData: 用户自定义字段(需进行base64 encode),回调的时候会进行透传, 长度需要小于20480
573
570
  # @type UserData: String
574
571
  # @param FlowDescription: 签署流程描述,最大长度1000个字符
575
572
  # @type FlowDescription: String
576
- # @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
577
- # @type ClientToken: String
573
+ # @param Unordered: 发送类型:
574
+ # true:无序签
575
+ # false:有序签
576
+ # 注:默认为false(有序签),请和模板中的配置保持一致
577
+ # @type Unordered: Boolean
578
578
  # @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
579
579
  # @type CustomShowMap: String
580
580
  # @param RelatedFlowId: 暂未开放
581
581
  # @type RelatedFlowId: String
582
- # @param CallbackUrl: 暂未开放
583
- # @type CallbackUrl: String
582
+ # @param Agent: 应用相关信息
583
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
584
584
 
585
- attr_accessor :FlowName, :Approvers, :Operator, :Agent, :Unordered, :DeadLine, :FlowType, :UserData, :FlowDescription, :ClientToken, :CustomShowMap, :RelatedFlowId, :CallbackUrl
585
+ attr_accessor :Operator, :FlowName, :Approvers, :FlowType, :ClientToken, :CallbackUrl, :DeadLine, :UserData, :FlowDescription, :Unordered, :CustomShowMap, :RelatedFlowId, :Agent
586
586
 
587
- def initialize(flowname=nil, approvers=nil, operator=nil, agent=nil, unordered=nil, deadline=nil, flowtype=nil, userdata=nil, flowdescription=nil, clienttoken=nil, customshowmap=nil, relatedflowid=nil, callbackurl=nil)
587
+ def initialize(operator=nil, flowname=nil, approvers=nil, flowtype=nil, clienttoken=nil, callbackurl=nil, deadline=nil, userdata=nil, flowdescription=nil, unordered=nil, customshowmap=nil, relatedflowid=nil, agent=nil)
588
+ @Operator = operator
588
589
  @FlowName = flowname
589
590
  @Approvers = approvers
590
- @Operator = operator
591
- @Agent = agent
592
- @Unordered = unordered
593
- @DeadLine = deadline
594
591
  @FlowType = flowtype
592
+ @ClientToken = clienttoken
593
+ @CallbackUrl = callbackurl
594
+ @DeadLine = deadline
595
595
  @UserData = userdata
596
596
  @FlowDescription = flowdescription
597
- @ClientToken = clienttoken
597
+ @Unordered = unordered
598
598
  @CustomShowMap = customshowmap
599
599
  @RelatedFlowId = relatedflowid
600
- @CallbackUrl = callbackurl
600
+ @Agent = agent
601
601
  end
602
602
 
603
603
  def deserialize(params)
604
+ unless params['Operator'].nil?
605
+ @Operator = UserInfo.new
606
+ @Operator.deserialize(params['Operator'])
607
+ end
604
608
  @FlowName = params['FlowName']
605
609
  unless params['Approvers'].nil?
606
610
  @Approvers = []
@@ -610,23 +614,19 @@ module TencentCloud
610
614
  @Approvers << flowcreateapprover_tmp
611
615
  end
612
616
  end
613
- unless params['Operator'].nil?
614
- @Operator = UserInfo.new
615
- @Operator.deserialize(params['Operator'])
616
- end
617
- unless params['Agent'].nil?
618
- @Agent = Agent.new
619
- @Agent.deserialize(params['Agent'])
620
- end
621
- @Unordered = params['Unordered']
622
- @DeadLine = params['DeadLine']
623
617
  @FlowType = params['FlowType']
618
+ @ClientToken = params['ClientToken']
619
+ @CallbackUrl = params['CallbackUrl']
620
+ @DeadLine = params['DeadLine']
624
621
  @UserData = params['UserData']
625
622
  @FlowDescription = params['FlowDescription']
626
- @ClientToken = params['ClientToken']
623
+ @Unordered = params['Unordered']
627
624
  @CustomShowMap = params['CustomShowMap']
628
625
  @RelatedFlowId = params['RelatedFlowId']
629
- @CallbackUrl = params['CallbackUrl']
626
+ unless params['Agent'].nil?
627
+ @Agent = Agent.new
628
+ @Agent.deserialize(params['Agent'])
629
+ end
630
630
  end
631
631
  end
632
632
 
@@ -728,40 +728,40 @@ module TencentCloud
728
728
 
729
729
  # CreateSchemeUrl请求参数结构体
730
730
  class CreateSchemeUrlRequest < TencentCloud::Common::AbstractModel
731
- # @param Operator: 调用方用户信息,参考通用结构
731
+ # @param Operator: 调用方用户信息,userId 必填
732
732
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
733
- # @param Agent: 应用相关信息
734
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
733
+ # @param OrganizationName: 企业名称
734
+ # @type OrganizationName: String
735
+ # @param Name: 姓名,最大长度50个字符
736
+ # @type Name: String
737
+ # @param Mobile: 手机号,大陆手机号11位
738
+ # @type Mobile: String
735
739
  # @param EndPoint: 链接类型
736
740
  # HTTP:跳转电子签小程序的http_url,
737
741
  # APP:第三方APP或小程序跳转电子签小程序的path。
738
742
  # 默认为HTTP类型
739
743
  # @type EndPoint: String
740
- # @param Name: 姓名,最大长度50个字符
741
- # @type Name: String
742
- # @param Mobile: 手机号,大陆手机号11位
743
- # @type Mobile: String
744
- # @param OrganizationName: 企业名称
745
- # @type OrganizationName: String
746
744
  # @param FlowId: 签署流程编号 (PathType=1时必传)
747
745
  # @type FlowId: String
748
746
  # @param PathType: 跳转页面 1: 小程序合同详情 2: 小程序合同列表页 0: 不传, 默认主页
749
747
  # @type PathType: Integer
750
748
  # @param AutoJumpBack: 是否自动回跳 true:是, false:否。该参数只针对"APP" 类型的签署链接有效
751
749
  # @type AutoJumpBack: Boolean
750
+ # @param Agent: 应用相关信息
751
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
752
752
 
753
- attr_accessor :Operator, :Agent, :EndPoint, :Name, :Mobile, :OrganizationName, :FlowId, :PathType, :AutoJumpBack
753
+ attr_accessor :Operator, :OrganizationName, :Name, :Mobile, :EndPoint, :FlowId, :PathType, :AutoJumpBack, :Agent
754
754
 
755
- def initialize(operator=nil, agent=nil, endpoint=nil, name=nil, mobile=nil, organizationname=nil, flowid=nil, pathtype=nil, autojumpback=nil)
755
+ def initialize(operator=nil, organizationname=nil, name=nil, mobile=nil, endpoint=nil, flowid=nil, pathtype=nil, autojumpback=nil, agent=nil)
756
756
  @Operator = operator
757
- @Agent = agent
758
- @EndPoint = endpoint
757
+ @OrganizationName = organizationname
759
758
  @Name = name
760
759
  @Mobile = mobile
761
- @OrganizationName = organizationname
760
+ @EndPoint = endpoint
762
761
  @FlowId = flowid
763
762
  @PathType = pathtype
764
763
  @AutoJumpBack = autojumpback
764
+ @Agent = agent
765
765
  end
766
766
 
767
767
  def deserialize(params)
@@ -769,17 +769,17 @@ module TencentCloud
769
769
  @Operator = UserInfo.new
770
770
  @Operator.deserialize(params['Operator'])
771
771
  end
772
- unless params['Agent'].nil?
773
- @Agent = Agent.new
774
- @Agent.deserialize(params['Agent'])
775
- end
776
- @EndPoint = params['EndPoint']
772
+ @OrganizationName = params['OrganizationName']
777
773
  @Name = params['Name']
778
774
  @Mobile = params['Mobile']
779
- @OrganizationName = params['OrganizationName']
775
+ @EndPoint = params['EndPoint']
780
776
  @FlowId = params['FlowId']
781
777
  @PathType = params['PathType']
782
778
  @AutoJumpBack = params['AutoJumpBack']
779
+ unless params['Agent'].nil?
780
+ @Agent = Agent.new
781
+ @Agent.deserialize(params['Agent'])
782
+ end
783
783
  end
784
784
  end
785
785
 
@@ -903,27 +903,27 @@ module TencentCloud
903
903
 
904
904
  # DescribeFlowBriefs请求参数结构体
905
905
  class DescribeFlowBriefsRequest < TencentCloud::Common::AbstractModel
906
+ # @param Operator: 调用方用户信息,userId 必填
907
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
906
908
  # @param FlowIds: 需要查询的流程ID列表
907
909
  # @type FlowIds: Array
908
- # @param Operator: 操作人信息
909
- # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
910
910
  # @param Agent: 应用相关信息
911
911
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
912
912
 
913
- attr_accessor :FlowIds, :Operator, :Agent
913
+ attr_accessor :Operator, :FlowIds, :Agent
914
914
 
915
- def initialize(flowids=nil, operator=nil, agent=nil)
916
- @FlowIds = flowids
915
+ def initialize(operator=nil, flowids=nil, agent=nil)
917
916
  @Operator = operator
917
+ @FlowIds = flowids
918
918
  @Agent = agent
919
919
  end
920
920
 
921
921
  def deserialize(params)
922
- @FlowIds = params['FlowIds']
923
922
  unless params['Operator'].nil?
924
923
  @Operator = UserInfo.new
925
924
  @Operator.deserialize(params['Operator'])
926
925
  end
926
+ @FlowIds = params['FlowIds']
927
927
  unless params['Agent'].nil?
928
928
  @Agent = Agent.new
929
929
  @Agent.deserialize(params['Agent'])
@@ -960,31 +960,31 @@ module TencentCloud
960
960
 
961
961
  # DescribeFlowTemplates请求参数结构体
962
962
  class DescribeFlowTemplatesRequest < TencentCloud::Common::AbstractModel
963
- # @param Operator: 操作人信息
963
+ # @param Operator: 调用方用户信息,userId 必填
964
964
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
965
- # @param Offset: 查询偏移位置,默认0
966
- # @type Offset: Integer
967
- # @param Limit: 查询个数,默认20,最大100
968
- # @type Limit: Integer
969
965
  # @param Filters: 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
970
966
  # @type Filters: Array
971
- # @param Agent: 应用相关信息
972
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
973
- # @param GenerateSource: 暂未开放
974
- # @type GenerateSource: Integer
967
+ # @param Limit: 查询个数,默认20,最大100
968
+ # @type Limit: Integer
969
+ # @param Offset: 查询偏移位置,默认0
970
+ # @type Offset: Integer
975
971
  # @param ContentType: 查询内容:0-模板列表及详情(默认),1-仅模板列表
976
972
  # @type ContentType: Integer
973
+ # @param GenerateSource: 暂未开放
974
+ # @type GenerateSource: Integer
975
+ # @param Agent: 应用相关信息
976
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
977
977
 
978
- attr_accessor :Operator, :Offset, :Limit, :Filters, :Agent, :GenerateSource, :ContentType
978
+ attr_accessor :Operator, :Filters, :Limit, :Offset, :ContentType, :GenerateSource, :Agent
979
979
 
980
- def initialize(operator=nil, offset=nil, limit=nil, filters=nil, agent=nil, generatesource=nil, contenttype=nil)
980
+ def initialize(operator=nil, filters=nil, limit=nil, offset=nil, contenttype=nil, generatesource=nil, agent=nil)
981
981
  @Operator = operator
982
- @Offset = offset
983
- @Limit = limit
984
982
  @Filters = filters
985
- @Agent = agent
986
- @GenerateSource = generatesource
983
+ @Limit = limit
984
+ @Offset = offset
987
985
  @ContentType = contenttype
986
+ @GenerateSource = generatesource
987
+ @Agent = agent
988
988
  end
989
989
 
990
990
  def deserialize(params)
@@ -992,8 +992,6 @@ module TencentCloud
992
992
  @Operator = UserInfo.new
993
993
  @Operator.deserialize(params['Operator'])
994
994
  end
995
- @Offset = params['Offset']
996
- @Limit = params['Limit']
997
995
  unless params['Filters'].nil?
998
996
  @Filters = []
999
997
  params['Filters'].each do |i|
@@ -1002,12 +1000,14 @@ module TencentCloud
1002
1000
  @Filters << filter_tmp
1003
1001
  end
1004
1002
  end
1003
+ @Limit = params['Limit']
1004
+ @Offset = params['Offset']
1005
+ @ContentType = params['ContentType']
1006
+ @GenerateSource = params['GenerateSource']
1005
1007
  unless params['Agent'].nil?
1006
1008
  @Agent = Agent.new
1007
1009
  @Agent.deserialize(params['Agent'])
1008
1010
  end
1009
- @GenerateSource = params['GenerateSource']
1010
- @ContentType = params['ContentType']
1011
1011
  end
1012
1012
  end
1013
1013
 
@@ -1381,35 +1381,35 @@ module TencentCloud
1381
1381
 
1382
1382
  # StartFlow请求参数结构体
1383
1383
  class StartFlowRequest < TencentCloud::Common::AbstractModel
1384
+ # @param Operator: 调用方用户信息,userId 必填
1385
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1384
1386
  # @param FlowId: 签署流程编号,由CreateFlow接口返回
1385
1387
  # @type FlowId: String
1386
- # @param Operator: 用户信息
1387
- # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1388
- # @param Agent: 应用相关信息
1389
- # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1390
1388
  # @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
1391
1389
  # @type ClientToken: String
1390
+ # @param Agent: 应用相关信息
1391
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1392
1392
 
1393
- attr_accessor :FlowId, :Operator, :Agent, :ClientToken
1393
+ attr_accessor :Operator, :FlowId, :ClientToken, :Agent
1394
1394
 
1395
- def initialize(flowid=nil, operator=nil, agent=nil, clienttoken=nil)
1396
- @FlowId = flowid
1395
+ def initialize(operator=nil, flowid=nil, clienttoken=nil, agent=nil)
1397
1396
  @Operator = operator
1398
- @Agent = agent
1397
+ @FlowId = flowid
1399
1398
  @ClientToken = clienttoken
1399
+ @Agent = agent
1400
1400
  end
1401
1401
 
1402
1402
  def deserialize(params)
1403
- @FlowId = params['FlowId']
1404
1403
  unless params['Operator'].nil?
1405
1404
  @Operator = UserInfo.new
1406
1405
  @Operator.deserialize(params['Operator'])
1407
1406
  end
1407
+ @FlowId = params['FlowId']
1408
+ @ClientToken = params['ClientToken']
1408
1409
  unless params['Agent'].nil?
1409
1410
  @Agent = Agent.new
1410
1411
  @Agent.deserialize(params['Agent'])
1411
1412
  end
1412
- @ClientToken = params['ClientToken']
1413
1413
  end
1414
1414
  end
1415
1415
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.363
4
+ version: 1.0.364
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common