tencentcloud-sdk-cme 1.0.250 → 1.0.251

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/v20191029/models.rb +377 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e196dfe91fa6cf73d6cea6e6d5fa652250dfbeb
4
- data.tar.gz: de70371ed13bf7a21fcd702654c7872217237911
3
+ metadata.gz: 9c1fcd1af95cf38573c159d00a1d8ba9ed5dc59d
4
+ data.tar.gz: 47af95499c1d43a37ed7a2fd21fdf562e4414c4c
5
5
  SHA512:
6
- metadata.gz: 160b581de02d756e3d644743243f2376bb5fcc6df3fa3ed6db2f04882f911d18ed30ec2af3e5b94e180413759d22bc1b7f0ff8ed48110ad7b327561a5d68749e
7
- data.tar.gz: 27bb79eb6fd98ae2ec5df32bb134b7d966cefaf76b2f567a1c065ef88a8c00dadff0bd01b29c619c20a8ce7d59b467fa01c42b0b9b9c60c49d124a4615afbc6e
6
+ metadata.gz: 747b2b9e4d6362ebdd257140c52e34d4b25678c3de95f56b5273e449071507eed7519ec52cdf62c4326b26814b499e4626683c0c916b624325c4840460f3c59b
7
+ data.tar.gz: 97f9812a07ef84b4b578f2717fba9250f702ab07c6271e22a415c31085311fcc21832222c41b5decd24d2e481943af722e5643015983f9951f78c4391dbd04db
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.250
1
+ 1.0.251
@@ -328,6 +328,52 @@ module TencentCloud
328
328
  end
329
329
  end
330
330
 
331
+ # 分类创建事件。
332
+ class ClassCreatedEvent < TencentCloud::Common::AbstractModel
333
+ # @param Owner: 分类归属。
334
+ # @type Owner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
335
+ # @param ClassPath: 分类路径。
336
+ # @type ClassPath: String
337
+
338
+ attr_accessor :Owner, :ClassPath
339
+
340
+ def initialize(owner=nil, classpath=nil)
341
+ @Owner = owner
342
+ @ClassPath = classpath
343
+ end
344
+
345
+ def deserialize(params)
346
+ unless params['Owner'].nil?
347
+ @Owner = Entity.new
348
+ @Owner.deserialize(params['Owner'])
349
+ end
350
+ @ClassPath = params['ClassPath']
351
+ end
352
+ end
353
+
354
+ # 分类删除事件。
355
+ class ClassDeletedEvent < TencentCloud::Common::AbstractModel
356
+ # @param Owner: 删除的分类归属。
357
+ # @type Owner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
358
+ # @param ClassPathSet: 删除的分类路径列表。
359
+ # @type ClassPathSet: Array
360
+
361
+ attr_accessor :Owner, :ClassPathSet
362
+
363
+ def initialize(owner=nil, classpathset=nil)
364
+ @Owner = owner
365
+ @ClassPathSet = classpathset
366
+ end
367
+
368
+ def deserialize(params)
369
+ unless params['Owner'].nil?
370
+ @Owner = Entity.new
371
+ @Owner.deserialize(params['Owner'])
372
+ end
373
+ @ClassPathSet = params['ClassPathSet']
374
+ end
375
+ end
376
+
331
377
  # 分类信息
332
378
  class ClassInfo < TencentCloud::Common::AbstractModel
333
379
  # @param Owner: 归属者。
@@ -351,6 +397,40 @@ module TencentCloud
351
397
  end
352
398
  end
353
399
 
400
+ # 分类移动事件。
401
+ class ClassMovedEvent < TencentCloud::Common::AbstractModel
402
+ # @param SourceOwner: 源分类归属。
403
+ # @type SourceOwner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
404
+ # @param SourceClassPathSet: 源分类路径列表。
405
+ # @type SourceClassPathSet: Array
406
+ # @param DestinationOwner: 目标分类归属。
407
+ # @type DestinationOwner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
408
+ # @param DestinationClassPath: 目标分类归属。
409
+ # @type DestinationClassPath: String
410
+
411
+ attr_accessor :SourceOwner, :SourceClassPathSet, :DestinationOwner, :DestinationClassPath
412
+
413
+ def initialize(sourceowner=nil, sourceclasspathset=nil, destinationowner=nil, destinationclasspath=nil)
414
+ @SourceOwner = sourceowner
415
+ @SourceClassPathSet = sourceclasspathset
416
+ @DestinationOwner = destinationowner
417
+ @DestinationClassPath = destinationclasspath
418
+ end
419
+
420
+ def deserialize(params)
421
+ unless params['SourceOwner'].nil?
422
+ @SourceOwner = Entity.new
423
+ @SourceOwner.deserialize(params['SourceOwner'])
424
+ end
425
+ @SourceClassPathSet = params['SourceClassPathSet']
426
+ unless params['DestinationOwner'].nil?
427
+ @DestinationOwner = Entity.new
428
+ @DestinationOwner.deserialize(params['DestinationOwner'])
429
+ end
430
+ @DestinationClassPath = params['DestinationClassPath']
431
+ end
432
+ end
433
+
354
434
  # CopyProject请求参数结构体
355
435
  class CopyProjectRequest < TencentCloud::Common::AbstractModel
356
436
  # @param Platform: 平台名称,指定访问的平台。
@@ -2043,25 +2123,74 @@ module TencentCloud
2043
2123
 
2044
2124
  # 回调事件内容。
2045
2125
  class EventContent < TencentCloud::Common::AbstractModel
2046
- # @param EventType: 事件类型,可取值为:
2047
- # <li>Storage.NewFileCreated:新文件产生;</li>
2048
- # <li>Project.StreamConnect.StatusChanged:云转推项目状态变更。</li>
2126
+ # @param EventType: 事件类型,可取值有:
2127
+ # <li>Storage.NewFileCreated:新文件产生事件;</li>
2128
+ # <li>Project.StreamConnect.StatusChanged:云转推项目状态变更事件;</li>
2129
+ # <li>Project.Switcher.StatusChanged:导播台项目状态变更事件;</li>
2130
+ # <li>Material.Imported:媒体导入事件;</li>
2131
+ # <li>Material.Added:媒体添加事件;</li>
2132
+ # <li>Material.Moved:媒体移动事件;</li>
2133
+ # <li>Material.Modified:媒体变更事件;</li>
2134
+ # <li>Material.Deleted:媒体删除事件;</li>
2135
+ # <li>Class.Created:分类新增事件;</li>
2136
+ # <li>Class.Moved:分类移动事件;</li>
2137
+ # <li>Class.Deleted:分类删除事件。</li>
2049
2138
  # @type EventType: String
2050
- # @param StorageNewFileCreatedEvent: 新文件产生事件信息。仅当 EventType 为 Storage.NewFileCreated 时有效。
2139
+ # @param Operator: 操作者,表示触发事件的操作者。如果是 `cmeid_system` 表示平台管理员操作。
2140
+ # @type Operator: String
2141
+ # @param StorageNewFileCreatedEvent: 新文件产生事件。仅当 EventType 为 Storage.NewFileCreated 时有效。
2051
2142
  # @type StorageNewFileCreatedEvent: :class:`Tencentcloud::Cme.v20191029.models.StorageNewFileCreatedEvent`
2052
- # @param ProjectStreamConnectStatusChangedEvent: 云转推项目状态变更事件信息。仅当 EventType 为 Project.StreamConnect.StatusChanged 时有效。
2143
+ # @param ProjectStreamConnectStatusChangedEvent: 云转推项目状态变更事件。仅当 EventType 为 Project.StreamConnect.StatusChanged 时有效。
2053
2144
  # @type ProjectStreamConnectStatusChangedEvent: :class:`Tencentcloud::Cme.v20191029.models.ProjectStreamConnectStatusChangedEvent`
2145
+ # @param ProjectSwitcherStatusChangedEvent: 导播台项目状态变更事件。仅当 EventType 为 Project.Switcher.StatusChanged 时有效。
2146
+ # 注意:此字段可能返回 null,表示取不到有效值。
2147
+ # @type ProjectSwitcherStatusChangedEvent: :class:`Tencentcloud::Cme.v20191029.models.ProjectSwitcherStatusChangedEvent`
2148
+ # @param MaterialImportedEvent: 媒体导入事件。仅当 EventType 为 Material.Imported 时有效。
2149
+ # 注意:此字段可能返回 null,表示取不到有效值。
2150
+ # @type MaterialImportedEvent: :class:`Tencentcloud::Cme.v20191029.models.MaterialImportedEvent`
2151
+ # @param MaterialAddedEvent: 媒体添加事件。仅当 EventType 为 Material.Added 时有效。
2152
+ # 注意:此字段可能返回 null,表示取不到有效值。
2153
+ # @type MaterialAddedEvent: :class:`Tencentcloud::Cme.v20191029.models.MaterialAddedEvent`
2154
+ # @param MaterialMovedEvent: 媒体移动事件。仅当 EventType 为 Material.Moved 时有效。
2155
+ # 注意:此字段可能返回 null,表示取不到有效值。
2156
+ # @type MaterialMovedEvent: :class:`Tencentcloud::Cme.v20191029.models.MaterialMovedEvent`
2157
+ # @param MaterialModifiedEvent: 媒体更新事件。仅当 EventType 为 Material.Modified 时有效。
2158
+ # 注意:此字段可能返回 null,表示取不到有效值。
2159
+ # @type MaterialModifiedEvent: :class:`Tencentcloud::Cme.v20191029.models.MaterialModifiedEvent`
2160
+ # @param MaterialDeletedEvent: 媒体删除事件。仅当 EventType 为 Material.Deleted 时有效。
2161
+ # 注意:此字段可能返回 null,表示取不到有效值。
2162
+ # @type MaterialDeletedEvent: :class:`Tencentcloud::Cme.v20191029.models.MaterialDeletedEvent`
2163
+ # @param ClassCreatedEvent: 分类创建事件。仅当 EventType 为 Class.Created 时有效。
2164
+ # 注意:此字段可能返回 null,表示取不到有效值。
2165
+ # @type ClassCreatedEvent: :class:`Tencentcloud::Cme.v20191029.models.ClassCreatedEvent`
2166
+ # @param ClassMovedEvent: 分类移动事件。仅当 EventType 为 Class.Moved 时有效。
2167
+ # 注意:此字段可能返回 null,表示取不到有效值。
2168
+ # @type ClassMovedEvent: :class:`Tencentcloud::Cme.v20191029.models.ClassMovedEvent`
2169
+ # @param ClassDeletedEvent: 分类删除事件。仅当 EventType 为 Class.Deleted 时有效。
2170
+ # 注意:此字段可能返回 null,表示取不到有效值。
2171
+ # @type ClassDeletedEvent: :class:`Tencentcloud::Cme.v20191029.models.ClassDeletedEvent`
2054
2172
 
2055
- attr_accessor :EventType, :StorageNewFileCreatedEvent, :ProjectStreamConnectStatusChangedEvent
2173
+ attr_accessor :EventType, :Operator, :StorageNewFileCreatedEvent, :ProjectStreamConnectStatusChangedEvent, :ProjectSwitcherStatusChangedEvent, :MaterialImportedEvent, :MaterialAddedEvent, :MaterialMovedEvent, :MaterialModifiedEvent, :MaterialDeletedEvent, :ClassCreatedEvent, :ClassMovedEvent, :ClassDeletedEvent
2056
2174
 
2057
- def initialize(eventtype=nil, storagenewfilecreatedevent=nil, projectstreamconnectstatuschangedevent=nil)
2175
+ def initialize(eventtype=nil, operator=nil, storagenewfilecreatedevent=nil, projectstreamconnectstatuschangedevent=nil, projectswitcherstatuschangedevent=nil, materialimportedevent=nil, materialaddedevent=nil, materialmovedevent=nil, materialmodifiedevent=nil, materialdeletedevent=nil, classcreatedevent=nil, classmovedevent=nil, classdeletedevent=nil)
2058
2176
  @EventType = eventtype
2177
+ @Operator = operator
2059
2178
  @StorageNewFileCreatedEvent = storagenewfilecreatedevent
2060
2179
  @ProjectStreamConnectStatusChangedEvent = projectstreamconnectstatuschangedevent
2180
+ @ProjectSwitcherStatusChangedEvent = projectswitcherstatuschangedevent
2181
+ @MaterialImportedEvent = materialimportedevent
2182
+ @MaterialAddedEvent = materialaddedevent
2183
+ @MaterialMovedEvent = materialmovedevent
2184
+ @MaterialModifiedEvent = materialmodifiedevent
2185
+ @MaterialDeletedEvent = materialdeletedevent
2186
+ @ClassCreatedEvent = classcreatedevent
2187
+ @ClassMovedEvent = classmovedevent
2188
+ @ClassDeletedEvent = classdeletedevent
2061
2189
  end
2062
2190
 
2063
2191
  def deserialize(params)
2064
2192
  @EventType = params['EventType']
2193
+ @Operator = params['Operator']
2065
2194
  unless params['StorageNewFileCreatedEvent'].nil?
2066
2195
  @StorageNewFileCreatedEvent = StorageNewFileCreatedEvent.new
2067
2196
  @StorageNewFileCreatedEvent.deserialize(params['StorageNewFileCreatedEvent'])
@@ -2070,6 +2199,42 @@ module TencentCloud
2070
2199
  @ProjectStreamConnectStatusChangedEvent = ProjectStreamConnectStatusChangedEvent.new
2071
2200
  @ProjectStreamConnectStatusChangedEvent.deserialize(params['ProjectStreamConnectStatusChangedEvent'])
2072
2201
  end
2202
+ unless params['ProjectSwitcherStatusChangedEvent'].nil?
2203
+ @ProjectSwitcherStatusChangedEvent = ProjectSwitcherStatusChangedEvent.new
2204
+ @ProjectSwitcherStatusChangedEvent.deserialize(params['ProjectSwitcherStatusChangedEvent'])
2205
+ end
2206
+ unless params['MaterialImportedEvent'].nil?
2207
+ @MaterialImportedEvent = MaterialImportedEvent.new
2208
+ @MaterialImportedEvent.deserialize(params['MaterialImportedEvent'])
2209
+ end
2210
+ unless params['MaterialAddedEvent'].nil?
2211
+ @MaterialAddedEvent = MaterialAddedEvent.new
2212
+ @MaterialAddedEvent.deserialize(params['MaterialAddedEvent'])
2213
+ end
2214
+ unless params['MaterialMovedEvent'].nil?
2215
+ @MaterialMovedEvent = MaterialMovedEvent.new
2216
+ @MaterialMovedEvent.deserialize(params['MaterialMovedEvent'])
2217
+ end
2218
+ unless params['MaterialModifiedEvent'].nil?
2219
+ @MaterialModifiedEvent = MaterialModifiedEvent.new
2220
+ @MaterialModifiedEvent.deserialize(params['MaterialModifiedEvent'])
2221
+ end
2222
+ unless params['MaterialDeletedEvent'].nil?
2223
+ @MaterialDeletedEvent = MaterialDeletedEvent.new
2224
+ @MaterialDeletedEvent.deserialize(params['MaterialDeletedEvent'])
2225
+ end
2226
+ unless params['ClassCreatedEvent'].nil?
2227
+ @ClassCreatedEvent = ClassCreatedEvent.new
2228
+ @ClassCreatedEvent.deserialize(params['ClassCreatedEvent'])
2229
+ end
2230
+ unless params['ClassMovedEvent'].nil?
2231
+ @ClassMovedEvent = ClassMovedEvent.new
2232
+ @ClassMovedEvent.deserialize(params['ClassMovedEvent'])
2233
+ end
2234
+ unless params['ClassDeletedEvent'].nil?
2235
+ @ClassDeletedEvent = ClassDeletedEvent.new
2236
+ @ClassDeletedEvent.deserialize(params['ClassDeletedEvent'])
2237
+ end
2073
2238
  end
2074
2239
  end
2075
2240
 
@@ -2799,6 +2964,26 @@ module TencentCloud
2799
2964
  end
2800
2965
  end
2801
2966
 
2967
+ # 导入媒资信息
2968
+ class ImportMediaInfo < TencentCloud::Common::AbstractModel
2969
+ # @param FileId: 云点播文件 FileId。
2970
+ # @type FileId: String
2971
+ # @param MaterialId: 媒体 Id。
2972
+ # @type MaterialId: String
2973
+
2974
+ attr_accessor :FileId, :MaterialId
2975
+
2976
+ def initialize(fileid=nil, materialid=nil)
2977
+ @FileId = fileid
2978
+ @MaterialId = materialid
2979
+ end
2980
+
2981
+ def deserialize(params)
2982
+ @FileId = params['FileId']
2983
+ @MaterialId = params['MaterialId']
2984
+ end
2985
+ end
2986
+
2802
2987
  # ImportMediaToProject请求参数结构体
2803
2988
  class ImportMediaToProjectRequest < TencentCloud::Common::AbstractModel
2804
2989
  # @param Platform: 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
@@ -3166,6 +3351,33 @@ module TencentCloud
3166
3351
  end
3167
3352
  end
3168
3353
 
3354
+ # 媒体添加事件。
3355
+ class MaterialAddedEvent < TencentCloud::Common::AbstractModel
3356
+ # @param MaterialIdSet: 添加的媒体 Id 列表。
3357
+ # @type MaterialIdSet: Array
3358
+ # @param Owner: 添加的媒体归属。
3359
+ # @type Owner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
3360
+ # @param ClassPath: 添加的媒体分类路径。
3361
+ # @type ClassPath: String
3362
+
3363
+ attr_accessor :MaterialIdSet, :Owner, :ClassPath
3364
+
3365
+ def initialize(materialidset=nil, owner=nil, classpath=nil)
3366
+ @MaterialIdSet = materialidset
3367
+ @Owner = owner
3368
+ @ClassPath = classpath
3369
+ end
3370
+
3371
+ def deserialize(params)
3372
+ @MaterialIdSet = params['MaterialIdSet']
3373
+ unless params['Owner'].nil?
3374
+ @Owner = Entity.new
3375
+ @Owner.deserialize(params['Owner'])
3376
+ end
3377
+ @ClassPath = params['ClassPath']
3378
+ end
3379
+ end
3380
+
3169
3381
  # 媒体基本信息。
3170
3382
  class MaterialBasicInfo < TencentCloud::Common::AbstractModel
3171
3383
  # @param MaterialId: 媒体 Id。
@@ -3246,6 +3458,56 @@ module TencentCloud
3246
3458
  end
3247
3459
  end
3248
3460
 
3461
+ # 媒体删除事件。
3462
+ class MaterialDeletedEvent < TencentCloud::Common::AbstractModel
3463
+ # @param MaterialIdSet: 删除的媒体 Id 列表。
3464
+ # @type MaterialIdSet: Array
3465
+
3466
+ attr_accessor :MaterialIdSet
3467
+
3468
+ def initialize(materialidset=nil)
3469
+ @MaterialIdSet = materialidset
3470
+ end
3471
+
3472
+ def deserialize(params)
3473
+ @MaterialIdSet = params['MaterialIdSet']
3474
+ end
3475
+ end
3476
+
3477
+ # 媒体导入事件
3478
+ class MaterialImportedEvent < TencentCloud::Common::AbstractModel
3479
+ # @param MediaInfoSet: 导入的媒体信息列表。
3480
+ # @type MediaInfoSet: Array
3481
+ # @param Owner: 媒体归属。
3482
+ # @type Owner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
3483
+ # @param ClassPath: 媒体分类路径。
3484
+ # @type ClassPath: String
3485
+
3486
+ attr_accessor :MediaInfoSet, :Owner, :ClassPath
3487
+
3488
+ def initialize(mediainfoset=nil, owner=nil, classpath=nil)
3489
+ @MediaInfoSet = mediainfoset
3490
+ @Owner = owner
3491
+ @ClassPath = classpath
3492
+ end
3493
+
3494
+ def deserialize(params)
3495
+ unless params['MediaInfoSet'].nil?
3496
+ @MediaInfoSet = []
3497
+ params['MediaInfoSet'].each do |i|
3498
+ importmediainfo_tmp = ImportMediaInfo.new
3499
+ importmediainfo_tmp.deserialize(i)
3500
+ @MediaInfoSet << importmediainfo_tmp
3501
+ end
3502
+ end
3503
+ unless params['Owner'].nil?
3504
+ @Owner = Entity.new
3505
+ @Owner.deserialize(params['Owner'])
3506
+ end
3507
+ @ClassPath = params['ClassPath']
3508
+ end
3509
+ end
3510
+
3249
3511
  # 媒体详情信息
3250
3512
  class MaterialInfo < TencentCloud::Common::AbstractModel
3251
3513
  # @param BasicInfo: 媒体基本信息。
@@ -3313,6 +3575,72 @@ module TencentCloud
3313
3575
  end
3314
3576
  end
3315
3577
 
3578
+ # 媒体更新事件。
3579
+ class MaterialModifiedEvent < TencentCloud::Common::AbstractModel
3580
+ # @param MaterialId: 媒体 Id。
3581
+ # @type MaterialId: String
3582
+ # @param Name: 更新后的媒体名称。如未更新则为空。
3583
+ # @type Name: String
3584
+ # @param PresetTagIdSet: 更新后的媒体预置标签列表。如未更新媒体预置标签,则该字段为空数组。
3585
+ # @type PresetTagIdSet: Array
3586
+ # @param TagSet: 更新后的媒体自定义标签列表。如未更新媒体自定义标签,则该字段为空数组。
3587
+ # @type TagSet: Array
3588
+
3589
+ attr_accessor :MaterialId, :Name, :PresetTagIdSet, :TagSet
3590
+
3591
+ def initialize(materialid=nil, name=nil, presettagidset=nil, tagset=nil)
3592
+ @MaterialId = materialid
3593
+ @Name = name
3594
+ @PresetTagIdSet = presettagidset
3595
+ @TagSet = tagset
3596
+ end
3597
+
3598
+ def deserialize(params)
3599
+ @MaterialId = params['MaterialId']
3600
+ @Name = params['Name']
3601
+ @PresetTagIdSet = params['PresetTagIdSet']
3602
+ @TagSet = params['TagSet']
3603
+ end
3604
+ end
3605
+
3606
+ # 媒体移动事件
3607
+ class MaterialMovedEvent < TencentCloud::Common::AbstractModel
3608
+ # @param MaterialIdSet: 要移动的媒体 Id 列表。
3609
+ # @type MaterialIdSet: Array
3610
+ # @param SourceOwner: 源媒体归属。
3611
+ # @type SourceOwner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
3612
+ # @param SourceClassPath: 源媒体分类路径。
3613
+ # @type SourceClassPath: String
3614
+ # @param DestinationOwner: 目标媒体分类归属。
3615
+ # @type DestinationOwner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
3616
+ # @param DestinationClassPath: 目标媒体分类路径。
3617
+ # @type DestinationClassPath: String
3618
+
3619
+ attr_accessor :MaterialIdSet, :SourceOwner, :SourceClassPath, :DestinationOwner, :DestinationClassPath
3620
+
3621
+ def initialize(materialidset=nil, sourceowner=nil, sourceclasspath=nil, destinationowner=nil, destinationclasspath=nil)
3622
+ @MaterialIdSet = materialidset
3623
+ @SourceOwner = sourceowner
3624
+ @SourceClassPath = sourceclasspath
3625
+ @DestinationOwner = destinationowner
3626
+ @DestinationClassPath = destinationclasspath
3627
+ end
3628
+
3629
+ def deserialize(params)
3630
+ @MaterialIdSet = params['MaterialIdSet']
3631
+ unless params['SourceOwner'].nil?
3632
+ @SourceOwner = Entity.new
3633
+ @SourceOwner.deserialize(params['SourceOwner'])
3634
+ end
3635
+ @SourceClassPath = params['SourceClassPath']
3636
+ unless params['DestinationOwner'].nil?
3637
+ @DestinationOwner = Entity.new
3638
+ @DestinationOwner.deserialize(params['DestinationOwner'])
3639
+ end
3640
+ @DestinationClassPath = params['DestinationClassPath']
3641
+ end
3642
+ end
3643
+
3316
3644
  # 素材的状态,目前仅包含素材编辑可用状态。
3317
3645
  class MaterialStatus < TencentCloud::Common::AbstractModel
3318
3646
  # @param EditorUsableStatus: 素材编辑可用状态,取值有:
@@ -4236,6 +4564,32 @@ module TencentCloud
4236
4564
  end
4237
4565
  end
4238
4566
 
4567
+ # 导播台项目状态变更事件
4568
+ class ProjectSwitcherStatusChangedEvent < TencentCloud::Common::AbstractModel
4569
+ # @param ProjectId: 导播台项目 Id。
4570
+ # @type ProjectId: String
4571
+ # @param Status: 导播台项目状态,可取值有:
4572
+ # <li>Started:导播台启动;</li>
4573
+ # <li>Stopped:导播台停止;</li>
4574
+ # <li>PvwStarted:导播台 PVW 开启;</li>
4575
+ # <li>PgmStarted:导播台 PGM 开启,输出推流开始;</li>
4576
+ # <li>PvwStopped:导播台 PVW 停止;</li>
4577
+ # <li>PgmStopped:导播台 PGM 停止,输出推流结束。</li>
4578
+ # @type Status: String
4579
+
4580
+ attr_accessor :ProjectId, :Status
4581
+
4582
+ def initialize(projectid=nil, status=nil)
4583
+ @ProjectId = projectid
4584
+ @Status = status
4585
+ end
4586
+
4587
+ def deserialize(params)
4588
+ @ProjectId = params['ProjectId']
4589
+ @Status = params['Status']
4590
+ end
4591
+ end
4592
+
4239
4593
  # 录制回放项目输入信息。
4240
4594
  class RecordReplayProjectInput < TencentCloud::Common::AbstractModel
4241
4595
  # @param PullStreamUrl: 录制拉流地址。
@@ -4648,27 +5002,35 @@ module TencentCloud
4648
5002
  # @type FileId: String
4649
5003
  # @param MaterialId: 媒体 Id。
4650
5004
  # @type MaterialId: String
4651
- # @param Operator: 操作者 Id
5005
+ # @param Operator: 操作者 Id。(废弃,请勿使用)
4652
5006
  # @type Operator: String
4653
- # @param OperationType: 操作类型,可取值为:
4654
- # <li>Upload:上传;</li>
5007
+ # @param OperationType: 操作类型,可取值有:
5008
+ # <li>Upload:本地上传;</li>
4655
5009
  # <li>PullUpload:拉取上传;</li>
4656
- # <li>Record:直播录制。</li>
5010
+ # <li>VideoEdit:视频剪辑;</li>
5011
+ # <li>LiveStreamClip:直播流剪辑;</li>
5012
+ # <li>LiveStreamRecord:直播流录制。</li>
4657
5013
  # @type OperationType: String
4658
5014
  # @param Owner: 媒体归属。
4659
5015
  # @type Owner: :class:`Tencentcloud::Cme.v20191029.models.Entity`
4660
5016
  # @param ClassPath: 媒体分类路径。
4661
5017
  # @type ClassPath: String
5018
+ # @param TaskId: 生成文件的任务 Id。当生成新文件是拉取上传、视频剪辑、直播流剪辑时为任务 Id。
5019
+ # @type TaskId: String
5020
+ # @param SourceContext: 来源上下文信息。视频剪辑生成新文件时此字段为项目 Id;直播流剪辑或者直播流录制生成新文件则为原始流地址。
5021
+ # @type SourceContext: String
4662
5022
 
4663
- attr_accessor :FileId, :MaterialId, :Operator, :OperationType, :Owner, :ClassPath
5023
+ attr_accessor :FileId, :MaterialId, :Operator, :OperationType, :Owner, :ClassPath, :TaskId, :SourceContext
4664
5024
 
4665
- def initialize(fileid=nil, materialid=nil, operator=nil, operationtype=nil, owner=nil, classpath=nil)
5025
+ def initialize(fileid=nil, materialid=nil, operator=nil, operationtype=nil, owner=nil, classpath=nil, taskid=nil, sourcecontext=nil)
4666
5026
  @FileId = fileid
4667
5027
  @MaterialId = materialid
4668
5028
  @Operator = operator
4669
5029
  @OperationType = operationtype
4670
5030
  @Owner = owner
4671
5031
  @ClassPath = classpath
5032
+ @TaskId = taskid
5033
+ @SourceContext = sourcecontext
4672
5034
  end
4673
5035
 
4674
5036
  def deserialize(params)
@@ -4681,6 +5043,8 @@ module TencentCloud
4681
5043
  @Owner.deserialize(params['Owner'])
4682
5044
  end
4683
5045
  @ClassPath = params['ClassPath']
5046
+ @TaskId = params['TaskId']
5047
+ @SourceContext = params['SourceContext']
4684
5048
  end
4685
5049
  end
4686
5050
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.250
4
+ version: 1.0.251
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-01-26 00:00:00.000000000 Z
11
+ date: 2022-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common