tencentcloud-sdk-live 3.0.943 → 3.0.944

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4eba0557533e39e9a0a2aef0138a03aeee678ea4
4
- data.tar.gz: f5746c54bd367f50d8b1a396935eb68cd2232ad9
3
+ metadata.gz: 6bde14f5e86b4594aa6433cd4298511baae33463
4
+ data.tar.gz: 36f55c9aa28e05f5dd5cba12218282645e4af733
5
5
  SHA512:
6
- metadata.gz: 8053ff6e146e8a25d325d660ae1bb37cf7d743aa9961ed169417a35a178657ebaeefa149a827fc0465609364adc71e3055da5beda97c0f00613b136aafac6efc
7
- data.tar.gz: b514cf8ea50a885fb8ddccfbcb97fa15cad3a9eaf5b1244ec34036dbae2d0900e5de73fc98affa59c34841cc6d887bf99f0eec130083a8e8c165bfefd54e42a8
6
+ metadata.gz: 9eb637ee2e810cb826a7c68c5f30c3dc24957863e697a2d7b4276e2a2ee7677351e4a6d485385b7bffb90979d2da25c0ab3d1c6a33c071f961ddd61483dd9c1d
7
+ data.tar.gz: 0406e2217449f6c7dcee0b2d55da1986595430d808d70e32b1af3f15a0b855a32233a2744aeeb82cf802f885b983574e3e5e8ddf988acd6c733556e35e5d8c28
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.943
1
+ 3.0.944
@@ -1320,6 +1320,78 @@ module TencentCloud
1320
1320
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1321
1321
  end
1322
1322
 
1323
+ # 该接口用来查询账号下所有的导播台列表
1324
+
1325
+ # @param request: Request instance for DescribeCasterList.
1326
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterListRequest`
1327
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterListResponse`
1328
+ def DescribeCasterList(request)
1329
+ body = send_request('DescribeCasterList', request.serialize)
1330
+ response = JSON.parse(body)
1331
+ if response['Response'].key?('Error') == false
1332
+ model = DescribeCasterListResponse.new
1333
+ model.deserialize(response['Response'])
1334
+ model
1335
+ else
1336
+ code = response['Response']['Error']['Code']
1337
+ message = response['Response']['Error']['Message']
1338
+ reqid = response['Response']['RequestId']
1339
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1340
+ end
1341
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1342
+ raise e
1343
+ rescue StandardError => e
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1345
+ end
1346
+
1347
+ # 该接口用来获取所有的转场名称及其对应的素材url。
1348
+
1349
+ # @param request: Request instance for DescribeCasterTransitionTypes.
1350
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterTransitionTypesRequest`
1351
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterTransitionTypesResponse`
1352
+ def DescribeCasterTransitionTypes(request)
1353
+ body = send_request('DescribeCasterTransitionTypes', request.serialize)
1354
+ response = JSON.parse(body)
1355
+ if response['Response'].key?('Error') == false
1356
+ model = DescribeCasterTransitionTypesResponse.new
1357
+ model.deserialize(response['Response'])
1358
+ model
1359
+ else
1360
+ code = response['Response']['Error']['Code']
1361
+ message = response['Response']['Error']['Message']
1362
+ reqid = response['Response']['RequestId']
1363
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1364
+ end
1365
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1366
+ raise e
1367
+ rescue StandardError => e
1368
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1369
+ end
1370
+
1371
+ # 本接口用来查询当前APPID导播台业务状态
1372
+
1373
+ # @param request: Request instance for DescribeCasterUserStatus.
1374
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterUserStatusRequest`
1375
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterUserStatusResponse`
1376
+ def DescribeCasterUserStatus(request)
1377
+ body = send_request('DescribeCasterUserStatus', request.serialize)
1378
+ response = JSON.parse(body)
1379
+ if response['Response'].key?('Error') == false
1380
+ model = DescribeCasterUserStatusResponse.new
1381
+ model.deserialize(response['Response'])
1382
+ model
1383
+ else
1384
+ code = response['Response']['Error']['Code']
1385
+ message = response['Response']['Error']['Message']
1386
+ reqid = response['Response']['RequestId']
1387
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1388
+ end
1389
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1390
+ raise e
1391
+ rescue StandardError => e
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1393
+ end
1394
+
1323
1395
  # 查询并发录制路数,对慢直播和普通直播适用。
1324
1396
 
1325
1397
  # @param request: Request instance for DescribeConcurrentRecordStreamNum.
@@ -664,6 +664,68 @@ module TencentCloud
664
664
  end
665
665
  end
666
666
 
667
+ # 导播台简略信息
668
+ class CasterBriefInfo < TencentCloud::Common::AbstractModel
669
+ # @param CasterId: 导播台ID
670
+ # @type CasterId: Integer
671
+ # @param CasterName: 导播台名称
672
+ # 注意:此字段可能返回 null,表示取不到有效值。
673
+ # @type CasterName: String
674
+ # @param Description: 导播台的描述
675
+ # 注意:此字段可能返回 null,表示取不到有效值。
676
+ # @type Description: String
677
+ # @param StartBillingTime: 开始计费时间,值为unix时间戳
678
+ # 注意:此字段可能返回 null,表示取不到有效值。
679
+ # @type StartBillingTime: Integer
680
+ # @param StopBillingTime: 结束计费时间,值为unix时间戳
681
+ # 注意:此字段可能返回 null,表示取不到有效值。
682
+ # @type StopBillingTime: Integer
683
+ # @param CreateTime: 创建时间,值为unix时间戳
684
+ # 注意:此字段可能返回 null,表示取不到有效值。
685
+ # @type CreateTime: Integer
686
+ # @param Status: 导播台状态
687
+ # 0:停止状态,无预监,无输出
688
+ # 1:无预监,有输出状态(非法状态)
689
+ # 2:有预监,无输出状态
690
+ # 3:有预监,有输出状态
691
+ # 注意:此字段可能返回 null,表示取不到有效值。
692
+ # @type Status: Integer
693
+ # @param ExpireTime: 导播台的过期时间,值为-1或unix时间戳。
694
+ # 当值为-1时,代表永不过期。
695
+ # 当值为特定unix时间戳时,代表过期时间为对应的时间,导播台在该时间自动停止。
696
+ # 注意:此字段可能返回 null,表示取不到有效值。
697
+ # @type ExpireTime: Integer
698
+ # @param FeeType: 计费字段,该字段暂无作用
699
+ # 注意:此字段可能返回 null,表示取不到有效值。
700
+ # @type FeeType: Integer
701
+
702
+ attr_accessor :CasterId, :CasterName, :Description, :StartBillingTime, :StopBillingTime, :CreateTime, :Status, :ExpireTime, :FeeType
703
+
704
+ def initialize(casterid=nil, castername=nil, description=nil, startbillingtime=nil, stopbillingtime=nil, createtime=nil, status=nil, expiretime=nil, feetype=nil)
705
+ @CasterId = casterid
706
+ @CasterName = castername
707
+ @Description = description
708
+ @StartBillingTime = startbillingtime
709
+ @StopBillingTime = stopbillingtime
710
+ @CreateTime = createtime
711
+ @Status = status
712
+ @ExpireTime = expiretime
713
+ @FeeType = feetype
714
+ end
715
+
716
+ def deserialize(params)
717
+ @CasterId = params['CasterId']
718
+ @CasterName = params['CasterName']
719
+ @Description = params['Description']
720
+ @StartBillingTime = params['StartBillingTime']
721
+ @StopBillingTime = params['StopBillingTime']
722
+ @CreateTime = params['CreateTime']
723
+ @Status = params['Status']
724
+ @ExpireTime = params['ExpireTime']
725
+ @FeeType = params['FeeType']
726
+ end
727
+ end
728
+
667
729
  # 下行播放统计指标
668
730
  class CdnPlayStatData < TencentCloud::Common::AbstractModel
669
731
  # @param Time: 时间点,
@@ -3807,6 +3869,123 @@ module TencentCloud
3807
3869
  end
3808
3870
  end
3809
3871
 
3872
+ # DescribeCasterList请求参数结构体
3873
+ class DescribeCasterListRequest < TencentCloud::Common::AbstractModel
3874
+
3875
+
3876
+ def initialize()
3877
+ end
3878
+
3879
+ def deserialize(params)
3880
+ end
3881
+ end
3882
+
3883
+ # DescribeCasterList返回参数结构体
3884
+ class DescribeCasterListResponse < TencentCloud::Common::AbstractModel
3885
+ # @param CasterList: 用户对应的导播台简要信息列表
3886
+ # 注意:此字段可能返回 null,表示取不到有效值。
3887
+ # @type CasterList: Array
3888
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3889
+ # @type RequestId: String
3890
+
3891
+ attr_accessor :CasterList, :RequestId
3892
+
3893
+ def initialize(casterlist=nil, requestid=nil)
3894
+ @CasterList = casterlist
3895
+ @RequestId = requestid
3896
+ end
3897
+
3898
+ def deserialize(params)
3899
+ unless params['CasterList'].nil?
3900
+ @CasterList = []
3901
+ params['CasterList'].each do |i|
3902
+ casterbriefinfo_tmp = CasterBriefInfo.new
3903
+ casterbriefinfo_tmp.deserialize(i)
3904
+ @CasterList << casterbriefinfo_tmp
3905
+ end
3906
+ end
3907
+ @RequestId = params['RequestId']
3908
+ end
3909
+ end
3910
+
3911
+ # DescribeCasterTransitionTypes请求参数结构体
3912
+ class DescribeCasterTransitionTypesRequest < TencentCloud::Common::AbstractModel
3913
+ # @param CasterId: 导播台ID
3914
+ # @type CasterId: Integer
3915
+
3916
+ attr_accessor :CasterId
3917
+
3918
+ def initialize(casterid=nil)
3919
+ @CasterId = casterid
3920
+ end
3921
+
3922
+ def deserialize(params)
3923
+ @CasterId = params['CasterId']
3924
+ end
3925
+ end
3926
+
3927
+ # DescribeCasterTransitionTypes返回参数结构体
3928
+ class DescribeCasterTransitionTypesResponse < TencentCloud::Common::AbstractModel
3929
+ # @param TransitionTypes: 转场信息列表
3930
+ # 注意:此字段可能返回 null,表示取不到有效值。
3931
+ # @type TransitionTypes: Array
3932
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3933
+ # @type RequestId: String
3934
+
3935
+ attr_accessor :TransitionTypes, :RequestId
3936
+
3937
+ def initialize(transitiontypes=nil, requestid=nil)
3938
+ @TransitionTypes = transitiontypes
3939
+ @RequestId = requestid
3940
+ end
3941
+
3942
+ def deserialize(params)
3943
+ unless params['TransitionTypes'].nil?
3944
+ @TransitionTypes = []
3945
+ params['TransitionTypes'].each do |i|
3946
+ transitiontypeinfo_tmp = TransitionTypeInfo.new
3947
+ transitiontypeinfo_tmp.deserialize(i)
3948
+ @TransitionTypes << transitiontypeinfo_tmp
3949
+ end
3950
+ end
3951
+ @RequestId = params['RequestId']
3952
+ end
3953
+ end
3954
+
3955
+ # DescribeCasterUserStatus请求参数结构体
3956
+ class DescribeCasterUserStatusRequest < TencentCloud::Common::AbstractModel
3957
+
3958
+
3959
+ def initialize()
3960
+ end
3961
+
3962
+ def deserialize(params)
3963
+ end
3964
+ end
3965
+
3966
+ # DescribeCasterUserStatus返回参数结构体
3967
+ class DescribeCasterUserStatusResponse < TencentCloud::Common::AbstractModel
3968
+ # @param UserStatus: 0: 未开通导播台
3969
+ # 1:开通了导播台,且处于正常状态
3970
+ # 2:开通了导播台,但处于欠费状态
3971
+ # 3:开通了导播台,但处于封禁状态
3972
+ # @type UserStatus: Integer
3973
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3974
+ # @type RequestId: String
3975
+
3976
+ attr_accessor :UserStatus, :RequestId
3977
+
3978
+ def initialize(userstatus=nil, requestid=nil)
3979
+ @UserStatus = userstatus
3980
+ @RequestId = requestid
3981
+ end
3982
+
3983
+ def deserialize(params)
3984
+ @UserStatus = params['UserStatus']
3985
+ @RequestId = params['RequestId']
3986
+ end
3987
+ end
3988
+
3810
3989
  # DescribeConcurrentRecordStreamNum请求参数结构体
3811
3990
  class DescribeConcurrentRecordStreamNumRequest < TencentCloud::Common::AbstractModel
3812
3991
  # @param LiveType: 直播类型,SlowLive:慢直播。
@@ -12729,6 +12908,33 @@ module TencentCloud
12729
12908
  end
12730
12909
  end
12731
12910
 
12911
+ # 转场信息
12912
+ class TransitionTypeInfo < TencentCloud::Common::AbstractModel
12913
+ # @param TransitionType: 转场名称
12914
+ # 注意:此字段可能返回 null,表示取不到有效值。
12915
+ # @type TransitionType: String
12916
+ # @param SourceUrl: 素材url
12917
+ # 注意:此字段可能返回 null,表示取不到有效值。
12918
+ # @type SourceUrl: String
12919
+ # @param Index: 转场的下标,可用来排序,从1开始递增
12920
+ # 注意:此字段可能返回 null,表示取不到有效值。
12921
+ # @type Index: Integer
12922
+
12923
+ attr_accessor :TransitionType, :SourceUrl, :Index
12924
+
12925
+ def initialize(transitiontype=nil, sourceurl=nil, index=nil)
12926
+ @TransitionType = transitiontype
12927
+ @SourceUrl = sourceurl
12928
+ @Index = index
12929
+ end
12930
+
12931
+ def deserialize(params)
12932
+ @TransitionType = params['TransitionType']
12933
+ @SourceUrl = params['SourceUrl']
12934
+ @Index = params['Index']
12935
+ end
12936
+ end
12937
+
12732
12938
  # UnBindLiveDomainCert请求参数结构体
12733
12939
  class UnBindLiveDomainCertRequest < TencentCloud::Common::AbstractModel
12734
12940
  # @param DomainName: 播放域名。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.943
4
+ version: 3.0.944
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common