tencentcloud-sdk-cme 1.0.302 → 1.0.303

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/v20191029/models.rb +52 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d094830e97f61907f74683cf3a2c0e7a90d57ed
4
- data.tar.gz: 3ba8c4079eb267288f541697a3d6d015003ddc8f
3
+ metadata.gz: ceb459bfbf871a7ab829f6f0d8dcefd08b0afdd0
4
+ data.tar.gz: ea561081615ca14b0724eadd9b6972c780d9f8f6
5
5
  SHA512:
6
- metadata.gz: 81fa8116d3a397f99abc6b1ab5e9d1758960c394cde4fda872def58dc495fe3e87ed947f1cccd62c3b3ca402489416f778ed6a1d40eb8814c20e5270b0476d29
7
- data.tar.gz: 58f6d0683c86ef602f059377647ee32f9509ff9e1b193a8a20f4a3971f7cb36b50b4338467df80a9796c90578a2f20be8fe03b5c3e2c85c66ec938108e69134e
6
+ metadata.gz: 572969a7b959d520871020f0a1697adfd49a5ee06ec1b484e134e9991a927c9e52ea482b47a1823190d55a3582b8b28cfe141a3fe2088a91cff0bbeef5a7dcfe
7
+ data.tar.gz: 2152727f814b761715a3971079ece6b8e9cd501be588be45f227132b6343c2f53945055db58ab2bfd996f9b1283b36d87ee531048a797372b19d3c032fc95569
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.302
1
+ 1.0.303
@@ -2134,7 +2134,8 @@ module TencentCloud
2134
2134
  # <li>Material.Deleted:媒体删除事件;</li>
2135
2135
  # <li>Class.Created:分类新增事件;</li>
2136
2136
  # <li>Class.Moved:分类移动事件;</li>
2137
- # <li>Class.Deleted:分类删除事件。</li>
2137
+ # <li>Class.Deleted:分类删除事件;</li>
2138
+ # <li>Task.VideoExportCompleted:视频导出完成事件。 </li>
2138
2139
  # @type EventType: String
2139
2140
  # @param Operator: 操作者,表示触发事件的操作者。如果是 `cmeid_system` 表示平台管理员操作。
2140
2141
  # @type Operator: String
@@ -2169,10 +2170,13 @@ module TencentCloud
2169
2170
  # @param ClassDeletedEvent: 分类删除事件。仅当 EventType 为 Class.Deleted 时有效。
2170
2171
  # 注意:此字段可能返回 null,表示取不到有效值。
2171
2172
  # @type ClassDeletedEvent: :class:`Tencentcloud::Cme.v20191029.models.ClassDeletedEvent`
2173
+ # @param VideoExportCompletedEvent: 视频导出完成事件。仅当 EventType 为 Task.VideoExportCompleted 时有效。
2174
+ # 注意:此字段可能返回 null,表示取不到有效值。
2175
+ # @type VideoExportCompletedEvent: :class:`Tencentcloud::Cme.v20191029.models.VideoExportCompletedEvent`
2172
2176
 
2173
- attr_accessor :EventType, :Operator, :StorageNewFileCreatedEvent, :ProjectStreamConnectStatusChangedEvent, :ProjectSwitcherStatusChangedEvent, :MaterialImportedEvent, :MaterialAddedEvent, :MaterialMovedEvent, :MaterialModifiedEvent, :MaterialDeletedEvent, :ClassCreatedEvent, :ClassMovedEvent, :ClassDeletedEvent
2177
+ attr_accessor :EventType, :Operator, :StorageNewFileCreatedEvent, :ProjectStreamConnectStatusChangedEvent, :ProjectSwitcherStatusChangedEvent, :MaterialImportedEvent, :MaterialAddedEvent, :MaterialMovedEvent, :MaterialModifiedEvent, :MaterialDeletedEvent, :ClassCreatedEvent, :ClassMovedEvent, :ClassDeletedEvent, :VideoExportCompletedEvent
2174
2178
 
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)
2179
+ 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, videoexportcompletedevent=nil)
2176
2180
  @EventType = eventtype
2177
2181
  @Operator = operator
2178
2182
  @StorageNewFileCreatedEvent = storagenewfilecreatedevent
@@ -2186,6 +2190,7 @@ module TencentCloud
2186
2190
  @ClassCreatedEvent = classcreatedevent
2187
2191
  @ClassMovedEvent = classmovedevent
2188
2192
  @ClassDeletedEvent = classdeletedevent
2193
+ @VideoExportCompletedEvent = videoexportcompletedevent
2189
2194
  end
2190
2195
 
2191
2196
  def deserialize(params)
@@ -2235,6 +2240,10 @@ module TencentCloud
2235
2240
  @ClassDeletedEvent = ClassDeletedEvent.new
2236
2241
  @ClassDeletedEvent.deserialize(params['ClassDeletedEvent'])
2237
2242
  end
2243
+ unless params['VideoExportCompletedEvent'].nil?
2244
+ @VideoExportCompletedEvent = VideoExportCompletedEvent.new
2245
+ @VideoExportCompletedEvent.deserialize(params['VideoExportCompletedEvent'])
2246
+ end
2238
2247
  end
2239
2248
  end
2240
2249
 
@@ -5823,6 +5832,46 @@ module TencentCloud
5823
5832
  end
5824
5833
  end
5825
5834
 
5835
+ # 视频导出完成事件。
5836
+ class VideoExportCompletedEvent < TencentCloud::Common::AbstractModel
5837
+ # @param TaskId: 任务 Id。
5838
+ # @type TaskId: String
5839
+ # @param Status: 任务状态,取值有:
5840
+ # <li>SUCCESS:成功;</li>
5841
+ # <li>FAIL:失败。</li>
5842
+ # @type Status: String
5843
+ # @param ErrCode: 错误码,取值有:
5844
+ # <li>0:成功;</li>
5845
+ # <li>其他值:失败。</li>
5846
+ # @type ErrCode: Integer
5847
+ # @param ErrMsg: 错误信息。
5848
+ # @type ErrMsg: String
5849
+ # @param Output: 任务输出。
5850
+ # 注意:此字段可能返回 null,表示取不到有效值。
5851
+ # @type Output: :class:`Tencentcloud::Cme.v20191029.models.VideoEditProjectOutput`
5852
+
5853
+ attr_accessor :TaskId, :Status, :ErrCode, :ErrMsg, :Output
5854
+
5855
+ def initialize(taskid=nil, status=nil, errcode=nil, errmsg=nil, output=nil)
5856
+ @TaskId = taskid
5857
+ @Status = status
5858
+ @ErrCode = errcode
5859
+ @ErrMsg = errmsg
5860
+ @Output = output
5861
+ end
5862
+
5863
+ def deserialize(params)
5864
+ @TaskId = params['TaskId']
5865
+ @Status = params['Status']
5866
+ @ErrCode = params['ErrCode']
5867
+ @ErrMsg = params['ErrMsg']
5868
+ unless params['Output'].nil?
5869
+ @Output = VideoEditProjectOutput.new
5870
+ @Output.deserialize(params['Output'])
5871
+ end
5872
+ end
5873
+ end
5874
+
5826
5875
  # 视频导出扩展参数
5827
5876
  class VideoExportExtensionArgs < TencentCloud::Common::AbstractModel
5828
5877
  # @param Container: 封装格式,可选值:
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.302
4
+ version: 1.0.303
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-04-20 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common