tencentcloud-sdk-pts 3.0.389 → 3.0.393

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210728/models.rb +33 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1eb46212c597bfc5982fe82a09d5382f0d059588
4
- data.tar.gz: 4099533582af847a52685cb6a6cbf05b7563bd7c
3
+ metadata.gz: 2c51ec515ab2293433f30c807408ecb3f8faf80e
4
+ data.tar.gz: 1f8f18f5ad6846c03d51ef0deb2ef36142d5db87
5
5
  SHA512:
6
- metadata.gz: 52b912c395323b7438c236879502b75d24504d37c4af1bad3271552f539a7216bdd8533fd6f8b05c263279b28488a88e8083318fa5f3b85f666502261a2f67ef
7
- data.tar.gz: 621be3a9d418c18d5f7c9ad560aad957a3c746b9f650db5d4eef9c0ebad295f6789c9d324d35b9691666f42d7b5047ee441f4e48dc303136423604f8fcd7e80d
6
+ metadata.gz: 8fbd4a5cc453a76eee3b72c2bac8a8de188073ba5beee375c1f53f672c0b3465eb6e43041ff7d38bbb3e94e76cde2b71b181efa65ec20ed6e0cce0c03f16dcb3
7
+ data.tar.gz: c2d1ae8948ad392d93b85ccc2b2cc5c2fdd6b8c528cc00809207738f13616af81c6adf0ddf25fd590d586390bfd0e4992f26d5242027ac13f0bf502b8ddf1bca
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.389
1
+ 3.0.393
@@ -3436,6 +3436,26 @@ module TencentCloud
3436
3436
  end
3437
3437
  end
3438
3438
 
3439
+ # 测试启动前后的消息通知
3440
+ class Notification < TencentCloud::Common::AbstractModel
3441
+ # @param Events: 发生事件
3442
+ # @type Events: Array
3443
+ # @param URL: webhook的网址
3444
+ # @type URL: String
3445
+
3446
+ attr_accessor :Events, :URL
3447
+
3448
+ def initialize(events=nil, url=nil)
3449
+ @Events = events
3450
+ @URL = url
3451
+ end
3452
+
3453
+ def deserialize(params)
3454
+ @Events = params['Events']
3455
+ @URL = params['URL']
3456
+ end
3457
+ end
3458
+
3439
3459
  # 项目
3440
3460
  class Project < TencentCloud::Common::AbstractModel
3441
3461
  # @param ProjectId: 项目ID
@@ -4639,10 +4659,12 @@ module TencentCloud
4639
4659
  # @type Plugins: Array
4640
4660
  # @param DomainNameConfig: 域名解析配置
4641
4661
  # @type DomainNameConfig: :class:`Tencentcloud::Pts.v20210728.models.DomainNameConfig`
4662
+ # @param NotificationHooks: WebHook请求配置
4663
+ # @type NotificationHooks: Array
4642
4664
 
4643
- attr_accessor :ScenarioId, :Name, :Description, :Type, :Load, :EncodedScripts, :Configs, :Datasets, :Extensions, :SLAId, :CronId, :Status, :ProjectId, :TestScripts, :Protocols, :RequestFiles, :SLAPolicy, :Plugins, :DomainNameConfig
4665
+ attr_accessor :ScenarioId, :Name, :Description, :Type, :Load, :EncodedScripts, :Configs, :Datasets, :Extensions, :SLAId, :CronId, :Status, :ProjectId, :TestScripts, :Protocols, :RequestFiles, :SLAPolicy, :Plugins, :DomainNameConfig, :NotificationHooks
4644
4666
 
4645
- def initialize(scenarioid=nil, name=nil, description=nil, type=nil, load=nil, encodedscripts=nil, configs=nil, datasets=nil, extensions=nil, slaid=nil, cronid=nil, status=nil, projectid=nil, testscripts=nil, protocols=nil, requestfiles=nil, slapolicy=nil, plugins=nil, domainnameconfig=nil)
4667
+ def initialize(scenarioid=nil, name=nil, description=nil, type=nil, load=nil, encodedscripts=nil, configs=nil, datasets=nil, extensions=nil, slaid=nil, cronid=nil, status=nil, projectid=nil, testscripts=nil, protocols=nil, requestfiles=nil, slapolicy=nil, plugins=nil, domainnameconfig=nil, notificationhooks=nil)
4646
4668
  @ScenarioId = scenarioid
4647
4669
  @Name = name
4648
4670
  @Description = description
@@ -4662,6 +4684,7 @@ module TencentCloud
4662
4684
  @SLAPolicy = slapolicy
4663
4685
  @Plugins = plugins
4664
4686
  @DomainNameConfig = domainnameconfig
4687
+ @NotificationHooks = notificationhooks
4665
4688
  end
4666
4689
 
4667
4690
  def deserialize(params)
@@ -4728,6 +4751,14 @@ module TencentCloud
4728
4751
  @DomainNameConfig = DomainNameConfig.new
4729
4752
  @DomainNameConfig.deserialize(params['DomainNameConfig'])
4730
4753
  end
4754
+ unless params['NotificationHooks'].nil?
4755
+ @NotificationHooks = []
4756
+ params['NotificationHooks'].each do |i|
4757
+ notification_tmp = Notification.new
4758
+ notification_tmp.deserialize(i)
4759
+ @NotificationHooks << notification_tmp
4760
+ end
4761
+ end
4731
4762
  end
4732
4763
  end
4733
4764
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-pts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.389
4
+ version: 3.0.393
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-08-17 00:00:00.000000000 Z
11
+ date: 2022-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common