1// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//    http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package v20180801
16
17import (
18    "encoding/json"
19    tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors"
20    tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http"
21)
22
23type AddDelayLiveStreamRequest struct {
24	*tchttp.BaseRequest
25
26	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。
27	AppName *string `json:"AppName,omitempty" name:"AppName"`
28
29	// 推流域名。
30	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
31
32	// 流名称。
33	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
34
35	// 延播时间,单位:秒,上限:600秒。
36	DelayTime *uint64 `json:"DelayTime,omitempty" name:"DelayTime"`
37
38	// 延播设置的过期时间。UTC 格式,例如:2018-11-29T19:00:00Z。
39	// 注意:
40	// 1. 默认7天后过期,且最长支持7天内生效。
41	// 2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
42	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
43}
44
45func (r *AddDelayLiveStreamRequest) ToJsonString() string {
46    b, _ := json.Marshal(r)
47    return string(b)
48}
49
50// FromJsonString It is highly **NOT** recommended to use this function
51// because it has no param check, nor strict type check
52func (r *AddDelayLiveStreamRequest) FromJsonString(s string) error {
53	f := make(map[string]interface{})
54	if err := json.Unmarshal([]byte(s), &f); err != nil {
55		return err
56	}
57	delete(f, "AppName")
58	delete(f, "DomainName")
59	delete(f, "StreamName")
60	delete(f, "DelayTime")
61	delete(f, "ExpireTime")
62	if len(f) > 0 {
63		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddDelayLiveStreamRequest has unknown keys!", "")
64	}
65	return json.Unmarshal([]byte(s), &r)
66}
67
68type AddDelayLiveStreamResponse struct {
69	*tchttp.BaseResponse
70	Response *struct {
71
72		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
73		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
74	} `json:"Response"`
75}
76
77func (r *AddDelayLiveStreamResponse) ToJsonString() string {
78    b, _ := json.Marshal(r)
79    return string(b)
80}
81
82// FromJsonString It is highly **NOT** recommended to use this function
83// because it has no param check, nor strict type check
84func (r *AddDelayLiveStreamResponse) FromJsonString(s string) error {
85	return json.Unmarshal([]byte(s), &r)
86}
87
88type AddLiveDomainRequest struct {
89	*tchttp.BaseRequest
90
91	// 域名名称。
92	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
93
94	// 域名类型,
95	// 0:推流域名,
96	// 1:播放域名。
97	DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"`
98
99	// 拉流域名类型:
100	// 1:国内,
101	// 2:全球,
102	// 3:境外。
103	// 默认值:1。
104	PlayType *uint64 `json:"PlayType,omitempty" name:"PlayType"`
105
106	// 是否是慢直播:
107	// 0: 普通直播,
108	// 1 :慢直播 。
109	// 默认值: 0。
110	IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"`
111
112	// 是否是小程序直播:
113	// 0: 标准直播,
114	// 1 :小程序直播 。
115	// 默认值: 0。
116	IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"`
117}
118
119func (r *AddLiveDomainRequest) ToJsonString() string {
120    b, _ := json.Marshal(r)
121    return string(b)
122}
123
124// FromJsonString It is highly **NOT** recommended to use this function
125// because it has no param check, nor strict type check
126func (r *AddLiveDomainRequest) FromJsonString(s string) error {
127	f := make(map[string]interface{})
128	if err := json.Unmarshal([]byte(s), &f); err != nil {
129		return err
130	}
131	delete(f, "DomainName")
132	delete(f, "DomainType")
133	delete(f, "PlayType")
134	delete(f, "IsDelayLive")
135	delete(f, "IsMiniProgramLive")
136	if len(f) > 0 {
137		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddLiveDomainRequest has unknown keys!", "")
138	}
139	return json.Unmarshal([]byte(s), &r)
140}
141
142type AddLiveDomainResponse struct {
143	*tchttp.BaseResponse
144	Response *struct {
145
146		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
147		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
148	} `json:"Response"`
149}
150
151func (r *AddLiveDomainResponse) ToJsonString() string {
152    b, _ := json.Marshal(r)
153    return string(b)
154}
155
156// FromJsonString It is highly **NOT** recommended to use this function
157// because it has no param check, nor strict type check
158func (r *AddLiveDomainResponse) FromJsonString(s string) error {
159	return json.Unmarshal([]byte(s), &r)
160}
161
162type AddLiveWatermarkRequest struct {
163	*tchttp.BaseRequest
164
165	// 水印图片 URL。
166	// URL中禁止包含的字符:
167	//  ;(){}$>`#"\'|
168	PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"`
169
170	// 水印名称。
171	// 最长16字节。
172	WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"`
173
174	// 显示位置,X轴偏移,单位是百分比,默认 0。
175	XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"`
176
177	// 显示位置,Y轴偏移,单位是百分比,默认 0。
178	YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"`
179
180	// 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
181	Width *int64 `json:"Width,omitempty" name:"Width"`
182
183	// 水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
184	Height *int64 `json:"Height,omitempty" name:"Height"`
185}
186
187func (r *AddLiveWatermarkRequest) ToJsonString() string {
188    b, _ := json.Marshal(r)
189    return string(b)
190}
191
192// FromJsonString It is highly **NOT** recommended to use this function
193// because it has no param check, nor strict type check
194func (r *AddLiveWatermarkRequest) FromJsonString(s string) error {
195	f := make(map[string]interface{})
196	if err := json.Unmarshal([]byte(s), &f); err != nil {
197		return err
198	}
199	delete(f, "PictureUrl")
200	delete(f, "WatermarkName")
201	delete(f, "XPosition")
202	delete(f, "YPosition")
203	delete(f, "Width")
204	delete(f, "Height")
205	if len(f) > 0 {
206		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddLiveWatermarkRequest has unknown keys!", "")
207	}
208	return json.Unmarshal([]byte(s), &r)
209}
210
211type AddLiveWatermarkResponse struct {
212	*tchttp.BaseResponse
213	Response *struct {
214
215		// 水印ID。
216		WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
217
218		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
219		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
220	} `json:"Response"`
221}
222
223func (r *AddLiveWatermarkResponse) ToJsonString() string {
224    b, _ := json.Marshal(r)
225    return string(b)
226}
227
228// FromJsonString It is highly **NOT** recommended to use this function
229// because it has no param check, nor strict type check
230func (r *AddLiveWatermarkResponse) FromJsonString(s string) error {
231	return json.Unmarshal([]byte(s), &r)
232}
233
234type BandwidthInfo struct {
235
236	// 返回格式:
237	// yyyy-mm-dd HH:MM:SS
238	// 根据粒度会有不同程度的缩减。
239	Time *string `json:"Time,omitempty" name:"Time"`
240
241	// 带宽。
242	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
243}
244
245type BillAreaInfo struct {
246
247	// 大区名称
248	Name *string `json:"Name,omitempty" name:"Name"`
249
250	// 国家明细数据
251	Countrys []*BillCountryInfo `json:"Countrys,omitempty" name:"Countrys"`
252}
253
254type BillCountryInfo struct {
255
256	// 国家名称
257	Name *string `json:"Name,omitempty" name:"Name"`
258
259	// 带宽明细数据信息。
260	BandInfoList []*BillDataInfo `json:"BandInfoList,omitempty" name:"BandInfoList"`
261}
262
263type BillDataInfo struct {
264
265	// 时间点,格式: yyyy-mm-dd HH:MM:SS。
266	Time *string `json:"Time,omitempty" name:"Time"`
267
268	// 带宽,单位是 Mbps。
269	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
270
271	// 流量,单位是 MB。
272	Flux *float64 `json:"Flux,omitempty" name:"Flux"`
273
274	// 峰值时间点,格式: yyyy-mm-dd HH:MM:SS,原始数据为5分钟粒度,如果查询小时和天粒度数据,则返回对应粒度内的带宽峰值时间点。
275	PeakTime *string `json:"PeakTime,omitempty" name:"PeakTime"`
276}
277
278type BindLiveDomainCertRequest struct {
279	*tchttp.BaseRequest
280
281	// 证书Id。使用添加证书接口获取证书Id。
282	CertId *int64 `json:"CertId,omitempty" name:"CertId"`
283
284	// 播放域名。
285	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
286
287	// HTTPS开启状态,0: 关闭  1:打开。
288	Status *int64 `json:"Status,omitempty" name:"Status"`
289}
290
291func (r *BindLiveDomainCertRequest) ToJsonString() string {
292    b, _ := json.Marshal(r)
293    return string(b)
294}
295
296// FromJsonString It is highly **NOT** recommended to use this function
297// because it has no param check, nor strict type check
298func (r *BindLiveDomainCertRequest) FromJsonString(s string) error {
299	f := make(map[string]interface{})
300	if err := json.Unmarshal([]byte(s), &f); err != nil {
301		return err
302	}
303	delete(f, "CertId")
304	delete(f, "DomainName")
305	delete(f, "Status")
306	if len(f) > 0 {
307		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "BindLiveDomainCertRequest has unknown keys!", "")
308	}
309	return json.Unmarshal([]byte(s), &r)
310}
311
312type BindLiveDomainCertResponse struct {
313	*tchttp.BaseResponse
314	Response *struct {
315
316		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
317		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
318	} `json:"Response"`
319}
320
321func (r *BindLiveDomainCertResponse) ToJsonString() string {
322    b, _ := json.Marshal(r)
323    return string(b)
324}
325
326// FromJsonString It is highly **NOT** recommended to use this function
327// because it has no param check, nor strict type check
328func (r *BindLiveDomainCertResponse) FromJsonString(s string) error {
329	return json.Unmarshal([]byte(s), &r)
330}
331
332type CallBackRuleInfo struct {
333
334	// 规则创建时间。
335	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
336
337	// 规则更新时间。
338	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
339
340	// 模板 ID。
341	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
342
343	// 推流域名。
344	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
345
346	// 推流路径。
347	AppName *string `json:"AppName,omitempty" name:"AppName"`
348}
349
350type CallBackTemplateInfo struct {
351
352	// 模板 ID。
353	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
354
355	// 模板名称。
356	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
357
358	// 描述信息。
359	Description *string `json:"Description,omitempty" name:"Description"`
360
361	// 开播回调 URL。
362	StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"`
363
364	// 混流回调 URL。(参数已弃用)。
365	StreamMixNotifyUrl *string `json:"StreamMixNotifyUrl,omitempty" name:"StreamMixNotifyUrl"`
366
367	// 断流回调 URL。
368	StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"`
369
370	// 录制回调 URL。
371	RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"`
372
373	// 截图回调 URL。
374	SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"`
375
376	// 鉴黄回调 URL。
377	PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"`
378
379	// 回调的鉴权 key。
380	CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"`
381}
382
383type CallbackEventInfo struct {
384
385	// 事件时间
386	EventTime *string `json:"EventTime,omitempty" name:"EventTime"`
387
388	// 事件类型
389	EventType *uint64 `json:"EventType,omitempty" name:"EventType"`
390
391	// 回调请求
392	Request *string `json:"Request,omitempty" name:"Request"`
393
394	// 回调响应
395	Response *string `json:"Response,omitempty" name:"Response"`
396
397	// 客户接口响应时间
398	ResponseTime *string `json:"ResponseTime,omitempty" name:"ResponseTime"`
399
400	// 回调结果
401	ResultCode *uint64 `json:"ResultCode,omitempty" name:"ResultCode"`
402
403	// 流名称
404	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`
405}
406
407type CancelCommonMixStreamRequest struct {
408	*tchttp.BaseRequest
409
410	// 混流会话(申请混流开始到取消混流结束)标识 ID。
411	// 该值与CreateCommonMixStream中的MixStreamSessionId保持一致。
412	MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"`
413}
414
415func (r *CancelCommonMixStreamRequest) ToJsonString() string {
416    b, _ := json.Marshal(r)
417    return string(b)
418}
419
420// FromJsonString It is highly **NOT** recommended to use this function
421// because it has no param check, nor strict type check
422func (r *CancelCommonMixStreamRequest) FromJsonString(s string) error {
423	f := make(map[string]interface{})
424	if err := json.Unmarshal([]byte(s), &f); err != nil {
425		return err
426	}
427	delete(f, "MixStreamSessionId")
428	if len(f) > 0 {
429		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CancelCommonMixStreamRequest has unknown keys!", "")
430	}
431	return json.Unmarshal([]byte(s), &r)
432}
433
434type CancelCommonMixStreamResponse struct {
435	*tchttp.BaseResponse
436	Response *struct {
437
438		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
439		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
440	} `json:"Response"`
441}
442
443func (r *CancelCommonMixStreamResponse) ToJsonString() string {
444    b, _ := json.Marshal(r)
445    return string(b)
446}
447
448// FromJsonString It is highly **NOT** recommended to use this function
449// because it has no param check, nor strict type check
450func (r *CancelCommonMixStreamResponse) FromJsonString(s string) error {
451	return json.Unmarshal([]byte(s), &r)
452}
453
454type CdnPlayStatData struct {
455
456	// 时间点,格式: yyyy-mm-dd HH:MM:SS。
457	Time *string `json:"Time,omitempty" name:"Time"`
458
459	// 带宽,单位: Mbps。
460	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
461
462	// 流量,单位: MB。
463	Flux *float64 `json:"Flux,omitempty" name:"Flux"`
464
465	// 新增请求数。
466	Request *uint64 `json:"Request,omitempty" name:"Request"`
467
468	// 并发连接数。
469	Online *uint64 `json:"Online,omitempty" name:"Online"`
470}
471
472type CertInfo struct {
473
474	// 证书 ID。
475	CertId *int64 `json:"CertId,omitempty" name:"CertId"`
476
477	// 证书名称。
478	CertName *string `json:"CertName,omitempty" name:"CertName"`
479
480	// 描述信息。
481	Description *string `json:"Description,omitempty" name:"Description"`
482
483	// 创建时间,UTC 格式。
484	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
485
486	// 证书内容。
487	HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"`
488
489	// 证书类型。
490	// 0:用户添加证书,
491	// 1:腾讯云托管证书。
492	CertType *int64 `json:"CertType,omitempty" name:"CertType"`
493
494	// 证书过期时间,UTC 格式。
495	CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"`
496
497	// 使用此证书的域名列表。
498	DomainList []*string `json:"DomainList,omitempty" name:"DomainList"`
499}
500
501type ClientIpPlaySumInfo struct {
502
503	// 客户端 IP,点分型。
504	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
505
506	// 客户端所在省份。
507	Province *string `json:"Province,omitempty" name:"Province"`
508
509	// 总流量。
510	TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
511
512	// 总请求数。
513	TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"`
514
515	// 总失败请求数。
516	TotalFailedRequest *uint64 `json:"TotalFailedRequest,omitempty" name:"TotalFailedRequest"`
517
518	// 客户端所在国家。
519	CountryArea *string `json:"CountryArea,omitempty" name:"CountryArea"`
520}
521
522type CommonMixControlParams struct {
523
524	// 取值范围[0,1]。
525	// 填1时,当参数中图层分辨率参数与视频实际分辨率不一致时,自动从视频中按图层设置的分辨率比例进行裁剪。
526	UseMixCropCenter *int64 `json:"UseMixCropCenter,omitempty" name:"UseMixCropCenter"`
527
528	// 取值范围[0,1]
529	// 填1时,当InputStreamList中个数为1时,且OutputParams.OutputStreamType为1时,不执行取消操作,执行拷贝流操作
530	AllowCopy *int64 `json:"AllowCopy,omitempty" name:"AllowCopy"`
531
532	// 取值范围[0,1]
533	// 填1时,透传原始流的sei
534	PassInputSei *int64 `json:"PassInputSei,omitempty" name:"PassInputSei"`
535}
536
537type CommonMixCropParams struct {
538
539	// 裁剪的宽度。取值范围[0,2000]。
540	CropWidth *float64 `json:"CropWidth,omitempty" name:"CropWidth"`
541
542	// 裁剪的高度。取值范围[0,2000]。
543	CropHeight *float64 `json:"CropHeight,omitempty" name:"CropHeight"`
544
545	// 裁剪的起始X坐标。取值范围[0,2000]。
546	CropStartLocationX *float64 `json:"CropStartLocationX,omitempty" name:"CropStartLocationX"`
547
548	// 裁剪的起始Y坐标。取值范围[0,2000]。
549	CropStartLocationY *float64 `json:"CropStartLocationY,omitempty" name:"CropStartLocationY"`
550}
551
552type CommonMixInputParam struct {
553
554	// 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。
555	// 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。
556	// 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。
557	InputStreamName *string `json:"InputStreamName,omitempty" name:"InputStreamName"`
558
559	// 输入流布局参数。
560	LayoutParams *CommonMixLayoutParams `json:"LayoutParams,omitempty" name:"LayoutParams"`
561
562	// 输入流裁剪参数。
563	CropParams *CommonMixCropParams `json:"CropParams,omitempty" name:"CropParams"`
564}
565
566type CommonMixLayoutParams struct {
567
568	// 输入图层。取值范围[1,16]。
569	// 1)背景流(即大主播画面或画布)的 image_layer 填1。
570	// 2)纯音频混流,该参数也需填。
571	ImageLayer *int64 `json:"ImageLayer,omitempty" name:"ImageLayer"`
572
573	// 输入类型。取值范围[0,5]。
574	// 不填默认为0。
575	// 0表示输入流为音视频。
576	// 2表示输入流为图片。
577	// 3表示输入流为画布。
578	// 4表示输入流为音频。
579	// 5表示输入流为纯视频。
580	InputType *int64 `json:"InputType,omitempty" name:"InputType"`
581
582	// 输入画面在输出时的高度。取值范围:
583	// 像素:[0,2000]
584	// 百分比:[0.01,0.99]
585	// 不填默认为输入流的高度。
586	// 使用百分比时,期望输出为(百分比 * 背景高)。
587	ImageHeight *float64 `json:"ImageHeight,omitempty" name:"ImageHeight"`
588
589	// 输入画面在输出时的宽度。取值范围:
590	// 像素:[0,2000]
591	// 百分比:[0.01,0.99]
592	// 不填默认为输入流的宽度。
593	// 使用百分比时,期望输出为(百分比 * 背景宽)。
594	ImageWidth *float64 `json:"ImageWidth,omitempty" name:"ImageWidth"`
595
596	// 输入在输出画面的X偏移。取值范围:
597	// 像素:[0,2000]
598	// 百分比:[0.01,0.99]
599	// 不填默认为0。
600	// 相对于大主播背景画面左上角的横向偏移。
601	// 使用百分比时,期望输出为(百分比 * 背景宽)。
602	LocationX *float64 `json:"LocationX,omitempty" name:"LocationX"`
603
604	// 输入在输出画面的Y偏移。取值范围:
605	// 像素:[0,2000]
606	// 百分比:[0.01,0.99]
607	// 不填默认为0。
608	// 相对于大主播背景画面左上角的纵向偏移。
609	// 使用百分比时,期望输出为(百分比 * 背景宽)
610	LocationY *float64 `json:"LocationY,omitempty" name:"LocationY"`
611
612	// 当InputType为3(画布)时,该值表示画布的颜色。
613	// 常用的颜色有:
614	// 红色:0xcc0033。
615	// 黄色:0xcc9900。
616	// 绿色:0xcccc33。
617	// 蓝色:0x99CCFF。
618	// 黑色:0x000000。
619	// 白色:0xFFFFFF。
620	// 灰色:0x999999。
621	Color *string `json:"Color,omitempty" name:"Color"`
622
623	// 当InputType为2(图片)时,该值是水印ID。
624	WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
625}
626
627type CommonMixOutputParams struct {
628
629	// 输出流名称。
630	OutputStreamName *string `json:"OutputStreamName,omitempty" name:"OutputStreamName"`
631
632	// 输出流类型,取值范围[0,1]。
633	// 不填默认为0。
634	// 当输出流为输入流 list 中的一条时,填写0。
635	// 当期望生成的混流结果成为一条新流时,该值填为1。
636	// 该值为1时,output_stream_id 不能出现在 input_stram_list 中,且直播后台中,不能存在相同 ID 的流。
637	OutputStreamType *int64 `json:"OutputStreamType,omitempty" name:"OutputStreamType"`
638
639	// 输出流比特率。取值范围[1,50000]。
640	// 不填的情况下,系统会自动判断。
641	OutputStreamBitRate *int64 `json:"OutputStreamBitRate,omitempty" name:"OutputStreamBitRate"`
642
643	// 输出流GOP大小。取值范围[1,10]。
644	// 不填的情况下,系统会自动判断。
645	OutputStreamGop *int64 `json:"OutputStreamGop,omitempty" name:"OutputStreamGop"`
646
647	// 输出流帧率大小。取值范围[1,60]。
648	// 不填的情况下,系统会自动判断。
649	OutputStreamFrameRate *int64 `json:"OutputStreamFrameRate,omitempty" name:"OutputStreamFrameRate"`
650
651	// 输出流音频比特率。取值范围[1,500]
652	// 不填的情况下,系统会自动判断。
653	OutputAudioBitRate *int64 `json:"OutputAudioBitRate,omitempty" name:"OutputAudioBitRate"`
654
655	// 输出流音频采样率。取值范围[96000, 88200, 64000, 48000, 44100, 32000,24000, 22050, 16000, 12000, 11025, 8000]。
656	// 不填的情况下,系统会自动判断。
657	OutputAudioSampleRate *int64 `json:"OutputAudioSampleRate,omitempty" name:"OutputAudioSampleRate"`
658
659	// 输出流音频声道数。取值范围[1,2]。
660	// 不填的情况下,系统会自动判断。
661	OutputAudioChannels *int64 `json:"OutputAudioChannels,omitempty" name:"OutputAudioChannels"`
662
663	// 输出流中的sei信息。如果无特殊需要,不填。
664	MixSei *string `json:"MixSei,omitempty" name:"MixSei"`
665}
666
667type ConcurrentRecordStreamNum struct {
668
669	// 时间点。
670	Time *string `json:"Time,omitempty" name:"Time"`
671
672	// 路数。
673	Num *uint64 `json:"Num,omitempty" name:"Num"`
674}
675
676type CreateCommonMixStreamRequest struct {
677	*tchttp.BaseRequest
678
679	// 混流会话(申请混流开始到取消混流结束)标识 ID。
680	MixStreamSessionId *string `json:"MixStreamSessionId,omitempty" name:"MixStreamSessionId"`
681
682	// 混流输入流列表。
683	InputStreamList []*CommonMixInputParam `json:"InputStreamList,omitempty" name:"InputStreamList"`
684
685	// 混流输出流参数。
686	OutputParams *CommonMixOutputParams `json:"OutputParams,omitempty" name:"OutputParams"`
687
688	// 输入模板 ID,若设置该参数,将按默认模板布局输出,无需填入自定义位置参数。
689	// 不填默认为0。
690	// 两输入源支持10,20,30,40,50。
691	// 三输入源支持310,390,391。
692	// 四输入源支持410。
693	// 五输入源支持510,590。
694	// 六输入源支持610。
695	MixStreamTemplateId *int64 `json:"MixStreamTemplateId,omitempty" name:"MixStreamTemplateId"`
696
697	// 混流的特殊控制参数。如无特殊需求,无需填写。
698	ControlParams *CommonMixControlParams `json:"ControlParams,omitempty" name:"ControlParams"`
699}
700
701func (r *CreateCommonMixStreamRequest) ToJsonString() string {
702    b, _ := json.Marshal(r)
703    return string(b)
704}
705
706// FromJsonString It is highly **NOT** recommended to use this function
707// because it has no param check, nor strict type check
708func (r *CreateCommonMixStreamRequest) FromJsonString(s string) error {
709	f := make(map[string]interface{})
710	if err := json.Unmarshal([]byte(s), &f); err != nil {
711		return err
712	}
713	delete(f, "MixStreamSessionId")
714	delete(f, "InputStreamList")
715	delete(f, "OutputParams")
716	delete(f, "MixStreamTemplateId")
717	delete(f, "ControlParams")
718	if len(f) > 0 {
719		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCommonMixStreamRequest has unknown keys!", "")
720	}
721	return json.Unmarshal([]byte(s), &r)
722}
723
724type CreateCommonMixStreamResponse struct {
725	*tchttp.BaseResponse
726	Response *struct {
727
728		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
729		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
730	} `json:"Response"`
731}
732
733func (r *CreateCommonMixStreamResponse) ToJsonString() string {
734    b, _ := json.Marshal(r)
735    return string(b)
736}
737
738// FromJsonString It is highly **NOT** recommended to use this function
739// because it has no param check, nor strict type check
740func (r *CreateCommonMixStreamResponse) FromJsonString(s string) error {
741	return json.Unmarshal([]byte(s), &r)
742}
743
744type CreateLiveCallbackRuleRequest struct {
745	*tchttp.BaseRequest
746
747	// 推流域名。
748	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
749
750	// 推流路径,与推流和播放地址中的AppName保持一致,默认为live。
751	AppName *string `json:"AppName,omitempty" name:"AppName"`
752
753	// 模板ID。
754	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
755}
756
757func (r *CreateLiveCallbackRuleRequest) ToJsonString() string {
758    b, _ := json.Marshal(r)
759    return string(b)
760}
761
762// FromJsonString It is highly **NOT** recommended to use this function
763// because it has no param check, nor strict type check
764func (r *CreateLiveCallbackRuleRequest) FromJsonString(s string) error {
765	f := make(map[string]interface{})
766	if err := json.Unmarshal([]byte(s), &f); err != nil {
767		return err
768	}
769	delete(f, "DomainName")
770	delete(f, "AppName")
771	delete(f, "TemplateId")
772	if len(f) > 0 {
773		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveCallbackRuleRequest has unknown keys!", "")
774	}
775	return json.Unmarshal([]byte(s), &r)
776}
777
778type CreateLiveCallbackRuleResponse struct {
779	*tchttp.BaseResponse
780	Response *struct {
781
782		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
783		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
784	} `json:"Response"`
785}
786
787func (r *CreateLiveCallbackRuleResponse) ToJsonString() string {
788    b, _ := json.Marshal(r)
789    return string(b)
790}
791
792// FromJsonString It is highly **NOT** recommended to use this function
793// because it has no param check, nor strict type check
794func (r *CreateLiveCallbackRuleResponse) FromJsonString(s string) error {
795	return json.Unmarshal([]byte(s), &r)
796}
797
798type CreateLiveCallbackTemplateRequest struct {
799	*tchttp.BaseRequest
800
801	// 模板名称。
802	// 长度上限:255字节。
803	// 仅支持中文、英文、数字、_、-。
804	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
805
806	// 描述信息。
807	// 长度上限:1024字节。
808	// 仅支持中文、英文、数字、_、-。
809	Description *string `json:"Description,omitempty" name:"Description"`
810
811	// 开播回调 URL,
812	// 相关协议文档:[事件消息通知](/document/product/267/32744)。
813	StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"`
814
815	// 断流回调 URL,
816	// 相关协议文档:[事件消息通知](/document/product/267/32744)。
817	StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"`
818
819	// 录制回调 URL,
820	// 相关协议文档:[事件消息通知](/document/product/267/32744)。
821	RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"`
822
823	// 截图回调 URL,
824	// 相关协议文档:[事件消息通知](/document/product/267/32744)。
825	SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"`
826
827	// 鉴黄回调 URL,
828	// 相关协议文档:[事件消息通知](/document/product/267/32741)。
829	PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"`
830
831	// 回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。
832	// [事件消息通知](/document/product/267/32744)。
833	CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"`
834
835	// 参数已弃用。
836	StreamMixNotifyUrl *string `json:"StreamMixNotifyUrl,omitempty" name:"StreamMixNotifyUrl"`
837}
838
839func (r *CreateLiveCallbackTemplateRequest) ToJsonString() string {
840    b, _ := json.Marshal(r)
841    return string(b)
842}
843
844// FromJsonString It is highly **NOT** recommended to use this function
845// because it has no param check, nor strict type check
846func (r *CreateLiveCallbackTemplateRequest) FromJsonString(s string) error {
847	f := make(map[string]interface{})
848	if err := json.Unmarshal([]byte(s), &f); err != nil {
849		return err
850	}
851	delete(f, "TemplateName")
852	delete(f, "Description")
853	delete(f, "StreamBeginNotifyUrl")
854	delete(f, "StreamEndNotifyUrl")
855	delete(f, "RecordNotifyUrl")
856	delete(f, "SnapshotNotifyUrl")
857	delete(f, "PornCensorshipNotifyUrl")
858	delete(f, "CallbackKey")
859	delete(f, "StreamMixNotifyUrl")
860	if len(f) > 0 {
861		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveCallbackTemplateRequest has unknown keys!", "")
862	}
863	return json.Unmarshal([]byte(s), &r)
864}
865
866type CreateLiveCallbackTemplateResponse struct {
867	*tchttp.BaseResponse
868	Response *struct {
869
870		// 模板ID。
871		TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
872
873		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
874		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
875	} `json:"Response"`
876}
877
878func (r *CreateLiveCallbackTemplateResponse) ToJsonString() string {
879    b, _ := json.Marshal(r)
880    return string(b)
881}
882
883// FromJsonString It is highly **NOT** recommended to use this function
884// because it has no param check, nor strict type check
885func (r *CreateLiveCallbackTemplateResponse) FromJsonString(s string) error {
886	return json.Unmarshal([]byte(s), &r)
887}
888
889type CreateLiveCertRequest struct {
890	*tchttp.BaseRequest
891
892	// 证书类型。0-用户添加证书;1-腾讯云托管证书。
893	// 注意:当证书类型为0时,HttpsCrt和HttpsKey必选;
894	// 当证书类型为1时,优先使用CloudCertId对应证书,若CloudCertId为空则使用HttpsCrt和HttpsKey。
895	CertType *uint64 `json:"CertType,omitempty" name:"CertType"`
896
897	// 证书名称。
898	CertName *string `json:"CertName,omitempty" name:"CertName"`
899
900	// 证书内容,即公钥。
901	HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"`
902
903	// 私钥。
904	HttpsKey *string `json:"HttpsKey,omitempty" name:"HttpsKey"`
905
906	// 描述。
907	Description *string `json:"Description,omitempty" name:"Description"`
908
909	// 腾讯云证书托管ID。
910	CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"`
911}
912
913func (r *CreateLiveCertRequest) ToJsonString() string {
914    b, _ := json.Marshal(r)
915    return string(b)
916}
917
918// FromJsonString It is highly **NOT** recommended to use this function
919// because it has no param check, nor strict type check
920func (r *CreateLiveCertRequest) FromJsonString(s string) error {
921	f := make(map[string]interface{})
922	if err := json.Unmarshal([]byte(s), &f); err != nil {
923		return err
924	}
925	delete(f, "CertType")
926	delete(f, "CertName")
927	delete(f, "HttpsCrt")
928	delete(f, "HttpsKey")
929	delete(f, "Description")
930	delete(f, "CloudCertId")
931	if len(f) > 0 {
932		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveCertRequest has unknown keys!", "")
933	}
934	return json.Unmarshal([]byte(s), &r)
935}
936
937type CreateLiveCertResponse struct {
938	*tchttp.BaseResponse
939	Response *struct {
940
941		// 证书ID
942		CertId *int64 `json:"CertId,omitempty" name:"CertId"`
943
944		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
945		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
946	} `json:"Response"`
947}
948
949func (r *CreateLiveCertResponse) ToJsonString() string {
950    b, _ := json.Marshal(r)
951    return string(b)
952}
953
954// FromJsonString It is highly **NOT** recommended to use this function
955// because it has no param check, nor strict type check
956func (r *CreateLiveCertResponse) FromJsonString(s string) error {
957	return json.Unmarshal([]byte(s), &r)
958}
959
960type CreateLivePullStreamTaskRequest struct {
961	*tchttp.BaseRequest
962
963	// 拉流源的类型:
964	// PullLivePushLive -直播,
965	// PullVodPushLive -点播。
966	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`
967
968	// 拉流源 url 列表。
969	// SourceType 为直播(PullLivePushLive)只可以填1个,
970	// SourceType 为点播(PullVodPushLive)可以填多个,上限30个。
971	// 当前支持的文件格式:flv,mp4,hls。
972	// 当前支持的拉流协议:http,https,rtmp。
973	// 注意:
974	// 1. 建议优先使用 flv 文件,对于 mp4 未交织好的文件轮播推流易产生卡顿,可通过点播转码进行重新交织后再轮播。
975	// 2. 拒绝内网域名等攻击性拉流地址,如有使用,则做账号封禁处理。
976	// 3. 源文件请保持时间戳正常交织递增,避免因源文件异常影响推流及播放。
977	// 4. 视频编码格式仅支持: H264, H265。
978	// 5. 音频编码格式仅支持: AAC。
979	// 6. 点播源请使用小文件,尽量时长保持在1小时内,较大文件打开和续播耗时较久,耗时超过15秒会有无法正常转推风险。
980	SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"`
981
982	// 推流域名。
983	// 将拉取过来的流推到该域名。
984	// 注意:请使用已在云直播配置的推流域名。
985	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
986
987	// 推流路径。
988	// 将拉取过来的流推到该路径。
989	AppName *string `json:"AppName,omitempty" name:"AppName"`
990
991	// 推流名称。
992	// 将拉取过来的流推到该流名称。
993	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
994
995	// 开始时间。
996	// 使用 UTC 格式时间,
997	// 例如:2019-01-08T10:00:00Z。
998	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
999	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
1000
1001	// 结束时间,注意:
1002	// 1. 结束时间必须大于开始时间;
1003	// 2. 结束时间和开始时间必须大于当前时间;
1004	// 3. 结束时间 和 开始时间 间隔必须小于七天。
1005	// 使用 UTC 格式时间,
1006	// 例如:2019-01-08T10:00:00Z。
1007	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
1008	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
1009
1010	// 任务操作人备注。
1011	Operator *string `json:"Operator,omitempty" name:"Operator"`
1012
1013	// 推流参数。
1014	// 推流时携带自定义参数。
1015	// 示例:
1016	// bak=1&test=2 。
1017	PushArgs *string `json:"PushArgs,omitempty" name:"PushArgs"`
1018
1019	// 选择需要回调的事件(不填则回调全部):
1020	// TaskStart:任务启动回调,
1021	// TaskExit:任务停止回调,
1022	// VodSourceFileStart:从点播源文件开始拉流回调,
1023	// VodSourceFileFinish:从点播源文件拉流结束回调,
1024	// ResetTaskConfig:任务更新回调。
1025	CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"`
1026
1027	// 点播拉流转推循环次数。默认:-1。
1028	// -1:无限循环,直到任务结束。
1029	// 0:不循环。
1030	// >0:具体循环次数。次数和时间以先结束的为准。
1031	// 注意:该配置仅对拉流源为点播时生效。
1032	VodLoopTimes *string `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"`
1033
1034	// 点播更新SourceUrls后的播放方式:
1035	// ImmediateNewSource:立即播放新的拉流源内容;
1036	// ContinueBreakPoint:播放完当前正在播放的点播 url 后再使用新的拉流源播放。(旧拉流源未播放的点播 url 不会再播放)
1037	//
1038	// 注意:该配置生效仅对变更前拉流源为点播时生效。
1039	VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"`
1040
1041	// 自定义回调地址。
1042	// 拉流转推任务相关事件会回调到该地址。
1043	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`
1044
1045	// 其他参数。
1046	// 示例: ignore_region  用于忽略传入地域, 内部按负载分配。
1047	ExtraCmd *string `json:"ExtraCmd,omitempty" name:"ExtraCmd"`
1048
1049	// 任务描述,限制 512 字节。
1050	Comment *string `json:"Comment,omitempty" name:"Comment"`
1051}
1052
1053func (r *CreateLivePullStreamTaskRequest) ToJsonString() string {
1054    b, _ := json.Marshal(r)
1055    return string(b)
1056}
1057
1058// FromJsonString It is highly **NOT** recommended to use this function
1059// because it has no param check, nor strict type check
1060func (r *CreateLivePullStreamTaskRequest) FromJsonString(s string) error {
1061	f := make(map[string]interface{})
1062	if err := json.Unmarshal([]byte(s), &f); err != nil {
1063		return err
1064	}
1065	delete(f, "SourceType")
1066	delete(f, "SourceUrls")
1067	delete(f, "DomainName")
1068	delete(f, "AppName")
1069	delete(f, "StreamName")
1070	delete(f, "StartTime")
1071	delete(f, "EndTime")
1072	delete(f, "Operator")
1073	delete(f, "PushArgs")
1074	delete(f, "CallbackEvents")
1075	delete(f, "VodLoopTimes")
1076	delete(f, "VodRefreshType")
1077	delete(f, "CallbackUrl")
1078	delete(f, "ExtraCmd")
1079	delete(f, "Comment")
1080	if len(f) > 0 {
1081		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLivePullStreamTaskRequest has unknown keys!", "")
1082	}
1083	return json.Unmarshal([]byte(s), &r)
1084}
1085
1086type CreateLivePullStreamTaskResponse struct {
1087	*tchttp.BaseResponse
1088	Response *struct {
1089
1090		// 任务 Id 。
1091		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
1092
1093		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1094		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1095	} `json:"Response"`
1096}
1097
1098func (r *CreateLivePullStreamTaskResponse) ToJsonString() string {
1099    b, _ := json.Marshal(r)
1100    return string(b)
1101}
1102
1103// FromJsonString It is highly **NOT** recommended to use this function
1104// because it has no param check, nor strict type check
1105func (r *CreateLivePullStreamTaskResponse) FromJsonString(s string) error {
1106	return json.Unmarshal([]byte(s), &r)
1107}
1108
1109type CreateLiveRecordRequest struct {
1110	*tchttp.BaseRequest
1111
1112	// 流名称。
1113	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1114
1115	// 推流路径,与推流和播放地址中的 AppName保持一致,默认为 live。
1116	AppName *string `json:"AppName,omitempty" name:"AppName"`
1117
1118	// 推流域名。多域名推流必须设置。
1119	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1120
1121	// 录制开始时间。中国标准时间,需要 URLEncode(rfc3986)。如 2017-01-01 10:10:01,编码为:2017-01-01+10%3a10%3a01。
1122	// 定时录制模式,必须设置该字段;实时视频录制模式,忽略该字段。
1123	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
1124
1125	// 录制结束时间。中国标准时间,需要 URLEncode(rfc3986)。如 2017-01-01 10:30:01,编码为:2017-01-01+10%3a30%3a01。
1126	// 定时录制模式,必须设置该字段;实时录制模式,为可选字段。如果通过Highlight参数,设置录制为实时视频录制模式,其设置的结束时间不应超过当前时间+30分钟,如果设置的结束时间超过当前时间+30分钟或者小于当前时间或者不设置该参数,则实际结束时间为当前时间+30分钟。
1127	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
1128
1129	// 录制类型。
1130	// “video” : 音视频录制【默认】。
1131	// “audio” : 纯音频录制。
1132	// 在定时录制模式或实时视频录制模式下,该参数均有效,不区分大小写。
1133	RecordType *string `json:"RecordType,omitempty" name:"RecordType"`
1134
1135	// 录制文件格式。其值为:
1136	// “flv”【默认】,“hls”,”mp4”,“aac”,”mp3”。
1137	// 在定时录制模式或实时视频录制模式下,该参数均有效,不区分大小写。
1138	FileFormat *string `json:"FileFormat,omitempty" name:"FileFormat"`
1139
1140	// 开启实时视频录制模式标志。
1141	// 0:不开启实时视频录制模式,即定时录制模式【默认】。见[示例一](#.E7.A4.BA.E4.BE.8B1-.E5.88.9B.E5.BB.BA.E5.AE.9A.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1)。
1142	// 1:开启实时视频录制模式。见[示例二](#.E7.A4.BA.E4.BE.8B2-.E5.88.9B.E5.BB.BA.E5.AE.9E.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1)。
1143	Highlight *int64 `json:"Highlight,omitempty" name:"Highlight"`
1144
1145	// 开启 A+B=C混流C流录制标志。
1146	// 0:不开启 A+B=C混流C流录制【默认】。
1147	// 1:开启 A+B=C混流C流录制。
1148	// 在定时录制模式或实时视频录制模式下,该参数均有效。
1149	MixStream *int64 `json:"MixStream,omitempty" name:"MixStream"`
1150
1151	// 录制流参数。当前支持以下参数:
1152	// record_interval - 录制分片时长,单位 秒,1800 - 7200。
1153	// storage_time - 录制文件存储时长,单位 秒。
1154	// eg. record_interval=3600&storage_time=2592000。
1155	// 注:参数需要url encode。
1156	// 在定时录制模式或实时视频录制模式下,该参数均有效。
1157	StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"`
1158}
1159
1160func (r *CreateLiveRecordRequest) ToJsonString() string {
1161    b, _ := json.Marshal(r)
1162    return string(b)
1163}
1164
1165// FromJsonString It is highly **NOT** recommended to use this function
1166// because it has no param check, nor strict type check
1167func (r *CreateLiveRecordRequest) FromJsonString(s string) error {
1168	f := make(map[string]interface{})
1169	if err := json.Unmarshal([]byte(s), &f); err != nil {
1170		return err
1171	}
1172	delete(f, "StreamName")
1173	delete(f, "AppName")
1174	delete(f, "DomainName")
1175	delete(f, "StartTime")
1176	delete(f, "EndTime")
1177	delete(f, "RecordType")
1178	delete(f, "FileFormat")
1179	delete(f, "Highlight")
1180	delete(f, "MixStream")
1181	delete(f, "StreamParam")
1182	if len(f) > 0 {
1183		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveRecordRequest has unknown keys!", "")
1184	}
1185	return json.Unmarshal([]byte(s), &r)
1186}
1187
1188type CreateLiveRecordResponse struct {
1189	*tchttp.BaseResponse
1190	Response *struct {
1191
1192		// 任务 ID,全局唯一标识录制任务。
1193		TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
1194
1195		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1196		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1197	} `json:"Response"`
1198}
1199
1200func (r *CreateLiveRecordResponse) ToJsonString() string {
1201    b, _ := json.Marshal(r)
1202    return string(b)
1203}
1204
1205// FromJsonString It is highly **NOT** recommended to use this function
1206// because it has no param check, nor strict type check
1207func (r *CreateLiveRecordResponse) FromJsonString(s string) error {
1208	return json.Unmarshal([]byte(s), &r)
1209}
1210
1211type CreateLiveRecordRuleRequest struct {
1212	*tchttp.BaseRequest
1213
1214	// 推流域名。
1215	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1216
1217	// 模板 ID。
1218	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1219
1220	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
1221	AppName *string `json:"AppName,omitempty" name:"AppName"`
1222
1223	// 流名称。
1224	// 注:如果本参数设置为非空字符串,规则将只对此推流起作用。
1225	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1226}
1227
1228func (r *CreateLiveRecordRuleRequest) ToJsonString() string {
1229    b, _ := json.Marshal(r)
1230    return string(b)
1231}
1232
1233// FromJsonString It is highly **NOT** recommended to use this function
1234// because it has no param check, nor strict type check
1235func (r *CreateLiveRecordRuleRequest) FromJsonString(s string) error {
1236	f := make(map[string]interface{})
1237	if err := json.Unmarshal([]byte(s), &f); err != nil {
1238		return err
1239	}
1240	delete(f, "DomainName")
1241	delete(f, "TemplateId")
1242	delete(f, "AppName")
1243	delete(f, "StreamName")
1244	if len(f) > 0 {
1245		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveRecordRuleRequest has unknown keys!", "")
1246	}
1247	return json.Unmarshal([]byte(s), &r)
1248}
1249
1250type CreateLiveRecordRuleResponse struct {
1251	*tchttp.BaseResponse
1252	Response *struct {
1253
1254		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1255		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1256	} `json:"Response"`
1257}
1258
1259func (r *CreateLiveRecordRuleResponse) ToJsonString() string {
1260    b, _ := json.Marshal(r)
1261    return string(b)
1262}
1263
1264// FromJsonString It is highly **NOT** recommended to use this function
1265// because it has no param check, nor strict type check
1266func (r *CreateLiveRecordRuleResponse) FromJsonString(s string) error {
1267	return json.Unmarshal([]byte(s), &r)
1268}
1269
1270type CreateLiveRecordTemplateRequest struct {
1271	*tchttp.BaseRequest
1272
1273	// 模板名。仅支持中文、英文、数字、_、-。
1274	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
1275
1276	// 描述信息。
1277	Description *string `json:"Description,omitempty" name:"Description"`
1278
1279	// Flv录制参数,开启Flv录制时设置。
1280	FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"`
1281
1282	// Hls录制参数,开启hls录制时设置。
1283	HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"`
1284
1285	// Mp4录制参数,开启Mp4录制时设置。
1286	Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"`
1287
1288	// Aac录制参数,开启Aac录制时设置。
1289	AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"`
1290
1291	// 直播类型,默认 0。
1292	// 0:普通直播,
1293	// 1:慢直播。
1294	IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"`
1295
1296	// HLS专属录制参数。
1297	HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"`
1298
1299	// Mp3录制参数,开启Mp3录制时设置。
1300	Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"`
1301}
1302
1303func (r *CreateLiveRecordTemplateRequest) ToJsonString() string {
1304    b, _ := json.Marshal(r)
1305    return string(b)
1306}
1307
1308// FromJsonString It is highly **NOT** recommended to use this function
1309// because it has no param check, nor strict type check
1310func (r *CreateLiveRecordTemplateRequest) FromJsonString(s string) error {
1311	f := make(map[string]interface{})
1312	if err := json.Unmarshal([]byte(s), &f); err != nil {
1313		return err
1314	}
1315	delete(f, "TemplateName")
1316	delete(f, "Description")
1317	delete(f, "FlvParam")
1318	delete(f, "HlsParam")
1319	delete(f, "Mp4Param")
1320	delete(f, "AacParam")
1321	delete(f, "IsDelayLive")
1322	delete(f, "HlsSpecialParam")
1323	delete(f, "Mp3Param")
1324	if len(f) > 0 {
1325		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveRecordTemplateRequest has unknown keys!", "")
1326	}
1327	return json.Unmarshal([]byte(s), &r)
1328}
1329
1330type CreateLiveRecordTemplateResponse struct {
1331	*tchttp.BaseResponse
1332	Response *struct {
1333
1334		// 模板Id。
1335		TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1336
1337		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1338		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1339	} `json:"Response"`
1340}
1341
1342func (r *CreateLiveRecordTemplateResponse) ToJsonString() string {
1343    b, _ := json.Marshal(r)
1344    return string(b)
1345}
1346
1347// FromJsonString It is highly **NOT** recommended to use this function
1348// because it has no param check, nor strict type check
1349func (r *CreateLiveRecordTemplateResponse) FromJsonString(s string) error {
1350	return json.Unmarshal([]byte(s), &r)
1351}
1352
1353type CreateLiveSnapshotRuleRequest struct {
1354	*tchttp.BaseRequest
1355
1356	// 推流域名。
1357	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1358
1359	// 模板 ID。
1360	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1361
1362	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。
1363	AppName *string `json:"AppName,omitempty" name:"AppName"`
1364
1365	// 流名称。
1366	// 注:如果本参数设置为非空字符串,规则将只对此推流起作用。
1367	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1368}
1369
1370func (r *CreateLiveSnapshotRuleRequest) ToJsonString() string {
1371    b, _ := json.Marshal(r)
1372    return string(b)
1373}
1374
1375// FromJsonString It is highly **NOT** recommended to use this function
1376// because it has no param check, nor strict type check
1377func (r *CreateLiveSnapshotRuleRequest) FromJsonString(s string) error {
1378	f := make(map[string]interface{})
1379	if err := json.Unmarshal([]byte(s), &f); err != nil {
1380		return err
1381	}
1382	delete(f, "DomainName")
1383	delete(f, "TemplateId")
1384	delete(f, "AppName")
1385	delete(f, "StreamName")
1386	if len(f) > 0 {
1387		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveSnapshotRuleRequest has unknown keys!", "")
1388	}
1389	return json.Unmarshal([]byte(s), &r)
1390}
1391
1392type CreateLiveSnapshotRuleResponse struct {
1393	*tchttp.BaseResponse
1394	Response *struct {
1395
1396		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1397		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1398	} `json:"Response"`
1399}
1400
1401func (r *CreateLiveSnapshotRuleResponse) ToJsonString() string {
1402    b, _ := json.Marshal(r)
1403    return string(b)
1404}
1405
1406// FromJsonString It is highly **NOT** recommended to use this function
1407// because it has no param check, nor strict type check
1408func (r *CreateLiveSnapshotRuleResponse) FromJsonString(s string) error {
1409	return json.Unmarshal([]byte(s), &r)
1410}
1411
1412type CreateLiveSnapshotTemplateRequest struct {
1413	*tchttp.BaseRequest
1414
1415	// 模板名称。
1416	// 长度上限:255字节。
1417	// 仅支持中文、英文、数字、_、-。
1418	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
1419
1420	// Cos 应用 ID。
1421	CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"`
1422
1423	// Cos Bucket名称。
1424	// 注:CosBucket参数值不能包含-[appid] 部分。
1425	CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"`
1426
1427	// Cos地区。
1428	CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"`
1429
1430	// 描述信息。
1431	// 长度上限:1024字节。
1432	// 仅支持中文、英文、数字、_、-。
1433	Description *string `json:"Description,omitempty" name:"Description"`
1434
1435	// 截图间隔,单位s,默认10s。
1436	// 范围: 5s ~ 300s。
1437	SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"`
1438
1439	// 截图宽度。默认:0(原始宽)。
1440	// 范围:0-3000 。
1441	Width *int64 `json:"Width,omitempty" name:"Width"`
1442
1443	// 截图高度。默认:0(原始高)。
1444	// 范围:0-2000 。
1445	Height *int64 `json:"Height,omitempty" name:"Height"`
1446
1447	// 是否开启鉴黄,0:不开启,1:开启。默认:0。
1448	PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"`
1449
1450	// Cos Bucket文件夹前缀。
1451	// 如不传,实际按默认值
1452	// /{Year}-{Month}-{Day}
1453	// 生效
1454	CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"`
1455
1456	// Cos 文件名称。
1457	// 如不传,实际按默认值
1458	// {StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}
1459	// 生效
1460	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
1461}
1462
1463func (r *CreateLiveSnapshotTemplateRequest) ToJsonString() string {
1464    b, _ := json.Marshal(r)
1465    return string(b)
1466}
1467
1468// FromJsonString It is highly **NOT** recommended to use this function
1469// because it has no param check, nor strict type check
1470func (r *CreateLiveSnapshotTemplateRequest) FromJsonString(s string) error {
1471	f := make(map[string]interface{})
1472	if err := json.Unmarshal([]byte(s), &f); err != nil {
1473		return err
1474	}
1475	delete(f, "TemplateName")
1476	delete(f, "CosAppId")
1477	delete(f, "CosBucket")
1478	delete(f, "CosRegion")
1479	delete(f, "Description")
1480	delete(f, "SnapshotInterval")
1481	delete(f, "Width")
1482	delete(f, "Height")
1483	delete(f, "PornFlag")
1484	delete(f, "CosPrefix")
1485	delete(f, "CosFileName")
1486	if len(f) > 0 {
1487		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveSnapshotTemplateRequest has unknown keys!", "")
1488	}
1489	return json.Unmarshal([]byte(s), &r)
1490}
1491
1492type CreateLiveSnapshotTemplateResponse struct {
1493	*tchttp.BaseResponse
1494	Response *struct {
1495
1496		// 模板Id。
1497		TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1498
1499		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1500		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1501	} `json:"Response"`
1502}
1503
1504func (r *CreateLiveSnapshotTemplateResponse) ToJsonString() string {
1505    b, _ := json.Marshal(r)
1506    return string(b)
1507}
1508
1509// FromJsonString It is highly **NOT** recommended to use this function
1510// because it has no param check, nor strict type check
1511func (r *CreateLiveSnapshotTemplateResponse) FromJsonString(s string) error {
1512	return json.Unmarshal([]byte(s), &r)
1513}
1514
1515type CreateLiveTranscodeRuleRequest struct {
1516	*tchttp.BaseRequest
1517
1518	// 播放域名。
1519	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1520
1521	// 推流路径,与推流和播放地址中的AppName保持一致。如果只绑定域名,则此处填空。
1522	AppName *string `json:"AppName,omitempty" name:"AppName"`
1523
1524	// 流名称。如果只绑定域名或路径,则此处填空。
1525	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1526
1527	// 指定已有的模板Id。
1528	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1529}
1530
1531func (r *CreateLiveTranscodeRuleRequest) ToJsonString() string {
1532    b, _ := json.Marshal(r)
1533    return string(b)
1534}
1535
1536// FromJsonString It is highly **NOT** recommended to use this function
1537// because it has no param check, nor strict type check
1538func (r *CreateLiveTranscodeRuleRequest) FromJsonString(s string) error {
1539	f := make(map[string]interface{})
1540	if err := json.Unmarshal([]byte(s), &f); err != nil {
1541		return err
1542	}
1543	delete(f, "DomainName")
1544	delete(f, "AppName")
1545	delete(f, "StreamName")
1546	delete(f, "TemplateId")
1547	if len(f) > 0 {
1548		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveTranscodeRuleRequest has unknown keys!", "")
1549	}
1550	return json.Unmarshal([]byte(s), &r)
1551}
1552
1553type CreateLiveTranscodeRuleResponse struct {
1554	*tchttp.BaseResponse
1555	Response *struct {
1556
1557		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1558		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1559	} `json:"Response"`
1560}
1561
1562func (r *CreateLiveTranscodeRuleResponse) ToJsonString() string {
1563    b, _ := json.Marshal(r)
1564    return string(b)
1565}
1566
1567// FromJsonString It is highly **NOT** recommended to use this function
1568// because it has no param check, nor strict type check
1569func (r *CreateLiveTranscodeRuleResponse) FromJsonString(s string) error {
1570	return json.Unmarshal([]byte(s), &r)
1571}
1572
1573type CreateLiveTranscodeTemplateRequest struct {
1574	*tchttp.BaseRequest
1575
1576	// 模板名称,例: 900p 仅支持字母和数字的组合。
1577	// 长度限制:
1578	//   标准转码:1-10个字符
1579	//   极速高清转码:3-10个字符
1580	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
1581
1582	// 视频码率。范围:0kbps - 8000kbps。
1583	// 0为保持原始码率。
1584	// 注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。
1585	VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"`
1586
1587	// 音频编码:aac,默认aac。
1588	// 注意:当前该参数未生效,待后续支持!
1589	Acodec *string `json:"Acodec,omitempty" name:"Acodec"`
1590
1591	// 音频码率,默认0。
1592	// 范围:0-500。
1593	AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"`
1594
1595	// 视频编码:h264/h265/origin,默认origin。
1596	//
1597	// origin: 保持原始编码格式
1598	Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"`
1599
1600	// 模板描述。
1601	Description *string `json:"Description,omitempty" name:"Description"`
1602
1603	// 是否保留视频,0:否,1:是。默认1。
1604	NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"`
1605
1606	// 宽,默认0。
1607	// 范围[0-3000]
1608	// 数值必须是2的倍数,0是原始宽度
1609	Width *int64 `json:"Width,omitempty" name:"Width"`
1610
1611	// 是否保留音频,0:否,1:是。默认1。
1612	NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"`
1613
1614	// 高,默认0。
1615	// 范围[0-3000]
1616	// 数值必须是2的倍数,0是原始高度。
1617	Height *int64 `json:"Height,omitempty" name:"Height"`
1618
1619	// 帧率,默认0。
1620	// 范围0-60fps
1621	Fps *int64 `json:"Fps,omitempty" name:"Fps"`
1622
1623	// 关键帧间隔,单位:秒。
1624	// 默认原始的间隔
1625	// 范围2-6
1626	Gop *int64 `json:"Gop,omitempty" name:"Gop"`
1627
1628	// 旋转角度,默认0。
1629	// 可取值:0,90,180,270
1630	Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"`
1631
1632	// 编码质量:
1633	// baseline/main/high。默认baseline
1634	Profile *string `json:"Profile,omitempty" name:"Profile"`
1635
1636	// 当设置的码率>原始码率时,是否以原始码率为准。
1637	// 0:否, 1:是
1638	// 默认 0。
1639	BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"`
1640
1641	// 当设置的高度>原始高度时,是否以原始高度为准。
1642	// 0:否, 1:是
1643	// 默认 0。
1644	HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"`
1645
1646	// 当设置的帧率>原始帧率时,是否以原始帧率为准。
1647	// 0:否, 1:是
1648	// 默认 0。
1649	FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"`
1650
1651	// 是否是极速高清模板,0:否,1:是。默认0。
1652	AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"`
1653
1654	// 极速高清视频码率压缩比。
1655	// 极速高清目标码率=VideoBitrate * (1-AdaptBitratePercent)
1656	//
1657	// 取值范围:0.0到0.5
1658	AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"`
1659
1660	// 是否以短边作为高度,0:否,1:是。默认0。
1661	ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"`
1662}
1663
1664func (r *CreateLiveTranscodeTemplateRequest) ToJsonString() string {
1665    b, _ := json.Marshal(r)
1666    return string(b)
1667}
1668
1669// FromJsonString It is highly **NOT** recommended to use this function
1670// because it has no param check, nor strict type check
1671func (r *CreateLiveTranscodeTemplateRequest) FromJsonString(s string) error {
1672	f := make(map[string]interface{})
1673	if err := json.Unmarshal([]byte(s), &f); err != nil {
1674		return err
1675	}
1676	delete(f, "TemplateName")
1677	delete(f, "VideoBitrate")
1678	delete(f, "Acodec")
1679	delete(f, "AudioBitrate")
1680	delete(f, "Vcodec")
1681	delete(f, "Description")
1682	delete(f, "NeedVideo")
1683	delete(f, "Width")
1684	delete(f, "NeedAudio")
1685	delete(f, "Height")
1686	delete(f, "Fps")
1687	delete(f, "Gop")
1688	delete(f, "Rotate")
1689	delete(f, "Profile")
1690	delete(f, "BitrateToOrig")
1691	delete(f, "HeightToOrig")
1692	delete(f, "FpsToOrig")
1693	delete(f, "AiTransCode")
1694	delete(f, "AdaptBitratePercent")
1695	delete(f, "ShortEdgeAsHeight")
1696	if len(f) > 0 {
1697		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveTranscodeTemplateRequest has unknown keys!", "")
1698	}
1699	return json.Unmarshal([]byte(s), &r)
1700}
1701
1702type CreateLiveTranscodeTemplateResponse struct {
1703	*tchttp.BaseResponse
1704	Response *struct {
1705
1706		// 模板Id。
1707		TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1708
1709		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1710		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1711	} `json:"Response"`
1712}
1713
1714func (r *CreateLiveTranscodeTemplateResponse) ToJsonString() string {
1715    b, _ := json.Marshal(r)
1716    return string(b)
1717}
1718
1719// FromJsonString It is highly **NOT** recommended to use this function
1720// because it has no param check, nor strict type check
1721func (r *CreateLiveTranscodeTemplateResponse) FromJsonString(s string) error {
1722	return json.Unmarshal([]byte(s), &r)
1723}
1724
1725type CreateLiveWatermarkRuleRequest struct {
1726	*tchttp.BaseRequest
1727
1728	// 推流域名。
1729	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1730
1731	// 推流路径,与推流和播放地址中的AppName保持一致,默认为live。
1732	AppName *string `json:"AppName,omitempty" name:"AppName"`
1733
1734	// 流名称。
1735	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1736
1737	// 水印Id,即调用[AddLiveWatermark](/document/product/267/30154)接口返回的WatermarkId。
1738	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
1739}
1740
1741func (r *CreateLiveWatermarkRuleRequest) ToJsonString() string {
1742    b, _ := json.Marshal(r)
1743    return string(b)
1744}
1745
1746// FromJsonString It is highly **NOT** recommended to use this function
1747// because it has no param check, nor strict type check
1748func (r *CreateLiveWatermarkRuleRequest) FromJsonString(s string) error {
1749	f := make(map[string]interface{})
1750	if err := json.Unmarshal([]byte(s), &f); err != nil {
1751		return err
1752	}
1753	delete(f, "DomainName")
1754	delete(f, "AppName")
1755	delete(f, "StreamName")
1756	delete(f, "TemplateId")
1757	if len(f) > 0 {
1758		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLiveWatermarkRuleRequest has unknown keys!", "")
1759	}
1760	return json.Unmarshal([]byte(s), &r)
1761}
1762
1763type CreateLiveWatermarkRuleResponse struct {
1764	*tchttp.BaseResponse
1765	Response *struct {
1766
1767		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1768		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1769	} `json:"Response"`
1770}
1771
1772func (r *CreateLiveWatermarkRuleResponse) ToJsonString() string {
1773    b, _ := json.Marshal(r)
1774    return string(b)
1775}
1776
1777// FromJsonString It is highly **NOT** recommended to use this function
1778// because it has no param check, nor strict type check
1779func (r *CreateLiveWatermarkRuleResponse) FromJsonString(s string) error {
1780	return json.Unmarshal([]byte(s), &r)
1781}
1782
1783type CreatePullStreamConfigRequest struct {
1784	*tchttp.BaseRequest
1785
1786	// 源 Url ,用于拉流的地址。目前可支持直播流及点播文件。
1787	// 注意:
1788	// 1. 多个点播url之间使用空格拼接。
1789	// 2. 目前上限支持10个url。
1790	// 3. 支持拉流文件格式:flv,rtmp,hls,mp4。
1791	FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"`
1792
1793	// 目的 Url ,用于推流的地址,目前限制该目标地址为腾讯域名。
1794	// 仅支持:rtmp 协议。
1795	ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"`
1796
1797	// 选择完成转拉推的服务所在区域:
1798	// 1-深圳,
1799	// 2-上海,
1800	// 3-天津,
1801	// 4-中国香港。
1802	AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"`
1803
1804	// 选择完成转拉推服务使用的运营商网络:
1805	// 1-电信,
1806	// 2-移动,
1807	// 3-联通,
1808	// 4-其他。
1809	// 注:AreaId 为4的时候,IspId 只能为其他。
1810	IspId *int64 `json:"IspId,omitempty" name:"IspId"`
1811
1812	// 开始时间。
1813	// 使用 UTC 格式时间,
1814	// 例如:2019-01-08T10:00:00Z。
1815	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
1816	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
1817
1818	// 结束时间,注意:
1819	// 1. 结束时间必须大于开始时间;
1820	// 2. 结束时间和开始时间必须大于当前时间;
1821	// 3. 结束时间 和 开始时间 间隔必须小于七天。
1822	// 使用 UTC 格式时间,
1823	// 例如:2019-01-08T10:00:00Z。
1824	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
1825	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
1826}
1827
1828func (r *CreatePullStreamConfigRequest) ToJsonString() string {
1829    b, _ := json.Marshal(r)
1830    return string(b)
1831}
1832
1833// FromJsonString It is highly **NOT** recommended to use this function
1834// because it has no param check, nor strict type check
1835func (r *CreatePullStreamConfigRequest) FromJsonString(s string) error {
1836	f := make(map[string]interface{})
1837	if err := json.Unmarshal([]byte(s), &f); err != nil {
1838		return err
1839	}
1840	delete(f, "FromUrl")
1841	delete(f, "ToUrl")
1842	delete(f, "AreaId")
1843	delete(f, "IspId")
1844	delete(f, "StartTime")
1845	delete(f, "EndTime")
1846	if len(f) > 0 {
1847		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreatePullStreamConfigRequest has unknown keys!", "")
1848	}
1849	return json.Unmarshal([]byte(s), &r)
1850}
1851
1852type CreatePullStreamConfigResponse struct {
1853	*tchttp.BaseResponse
1854	Response *struct {
1855
1856		// 配置成功后的 ID。
1857		ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"`
1858
1859		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1860		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1861	} `json:"Response"`
1862}
1863
1864func (r *CreatePullStreamConfigResponse) ToJsonString() string {
1865    b, _ := json.Marshal(r)
1866    return string(b)
1867}
1868
1869// FromJsonString It is highly **NOT** recommended to use this function
1870// because it has no param check, nor strict type check
1871func (r *CreatePullStreamConfigResponse) FromJsonString(s string) error {
1872	return json.Unmarshal([]byte(s), &r)
1873}
1874
1875type CreateRecordTaskRequest struct {
1876	*tchttp.BaseRequest
1877
1878	// 流名称。
1879	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1880
1881	// 推流域名。
1882	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1883
1884	// 推流路径。
1885	AppName *string `json:"AppName,omitempty" name:"AppName"`
1886
1887	// 录制任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且EndTime - StartTime不能超过24小时。
1888	EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`
1889
1890	// 录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。StartTime不能超过当前时间+6天。
1891	StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"`
1892
1893	// 推流类型,默认0。取值:
1894	// 0-直播推流。
1895	// 1-合成流,即 A+B=C 类型混流。
1896	StreamType *uint64 `json:"StreamType,omitempty" name:"StreamType"`
1897
1898	// 录制模板ID,CreateLiveRecordTemplate 返回值。如果不填或者传入错误ID,则默认录制HLS格式、永久存储。
1899	TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"`
1900
1901	// 扩展字段,暂无定义。默认为空。
1902	Extension *string `json:"Extension,omitempty" name:"Extension"`
1903}
1904
1905func (r *CreateRecordTaskRequest) ToJsonString() string {
1906    b, _ := json.Marshal(r)
1907    return string(b)
1908}
1909
1910// FromJsonString It is highly **NOT** recommended to use this function
1911// because it has no param check, nor strict type check
1912func (r *CreateRecordTaskRequest) FromJsonString(s string) error {
1913	f := make(map[string]interface{})
1914	if err := json.Unmarshal([]byte(s), &f); err != nil {
1915		return err
1916	}
1917	delete(f, "StreamName")
1918	delete(f, "DomainName")
1919	delete(f, "AppName")
1920	delete(f, "EndTime")
1921	delete(f, "StartTime")
1922	delete(f, "StreamType")
1923	delete(f, "TemplateId")
1924	delete(f, "Extension")
1925	if len(f) > 0 {
1926		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRecordTaskRequest has unknown keys!", "")
1927	}
1928	return json.Unmarshal([]byte(s), &r)
1929}
1930
1931type CreateRecordTaskResponse struct {
1932	*tchttp.BaseResponse
1933	Response *struct {
1934
1935		// 任务ID,全局唯一标识录制任务。返回TaskId字段说明录制任务创建成功。
1936		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
1937
1938		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1939		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
1940	} `json:"Response"`
1941}
1942
1943func (r *CreateRecordTaskResponse) ToJsonString() string {
1944    b, _ := json.Marshal(r)
1945    return string(b)
1946}
1947
1948// FromJsonString It is highly **NOT** recommended to use this function
1949// because it has no param check, nor strict type check
1950func (r *CreateRecordTaskResponse) FromJsonString(s string) error {
1951	return json.Unmarshal([]byte(s), &r)
1952}
1953
1954type DayStreamPlayInfo struct {
1955
1956	// 数据时间点,格式:yyyy-mm-dd HH:MM:SS。
1957	Time *string `json:"Time,omitempty" name:"Time"`
1958
1959	// 带宽(单位Mbps)。
1960	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
1961
1962	// 流量 (单位MB)。
1963	Flux *float64 `json:"Flux,omitempty" name:"Flux"`
1964
1965	// 请求数。
1966	Request *uint64 `json:"Request,omitempty" name:"Request"`
1967
1968	// 在线人数。
1969	Online *uint64 `json:"Online,omitempty" name:"Online"`
1970}
1971
1972type DelayInfo struct {
1973
1974	// 推流域名。
1975	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
1976
1977	// 推流路径,与推流和播放地址中的
1978	//  AppName 保持一致,默认为 live。
1979	AppName *string `json:"AppName,omitempty" name:"AppName"`
1980
1981	// 流名称。
1982	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
1983
1984	// 延播时间,单位:秒。
1985	DelayInterval *uint64 `json:"DelayInterval,omitempty" name:"DelayInterval"`
1986
1987	// 创建时间,UTC 时间。
1988	// 注意:UTC时间和北京时间相差8小时。
1989	// 例如:2019-06-18T12:00:00Z(为北京时间 2019 年 6 月 18 日 20 点 0 分 0 秒)。
1990	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
1991
1992	// 过期时间,UTC 时间。
1993	// 注意:UTC时间和北京时间相差8小时。
1994	// 例如:2019-06-18T12:00:00Z(为北京时间 2019 年 6 月 18 日 20 点 0 分 0 秒)。
1995	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
1996
1997	// 当前状态:
1998	// -1:已过期。
1999	// 1: 生效中。
2000	Status *int64 `json:"Status,omitempty" name:"Status"`
2001}
2002
2003type DeleteLiveCallbackRuleRequest struct {
2004	*tchttp.BaseRequest
2005
2006	// 推流域名。
2007	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
2008
2009	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。
2010	AppName *string `json:"AppName,omitempty" name:"AppName"`
2011}
2012
2013func (r *DeleteLiveCallbackRuleRequest) ToJsonString() string {
2014    b, _ := json.Marshal(r)
2015    return string(b)
2016}
2017
2018// FromJsonString It is highly **NOT** recommended to use this function
2019// because it has no param check, nor strict type check
2020func (r *DeleteLiveCallbackRuleRequest) FromJsonString(s string) error {
2021	f := make(map[string]interface{})
2022	if err := json.Unmarshal([]byte(s), &f); err != nil {
2023		return err
2024	}
2025	delete(f, "DomainName")
2026	delete(f, "AppName")
2027	if len(f) > 0 {
2028		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveCallbackRuleRequest has unknown keys!", "")
2029	}
2030	return json.Unmarshal([]byte(s), &r)
2031}
2032
2033type DeleteLiveCallbackRuleResponse struct {
2034	*tchttp.BaseResponse
2035	Response *struct {
2036
2037		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2038		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2039	} `json:"Response"`
2040}
2041
2042func (r *DeleteLiveCallbackRuleResponse) ToJsonString() string {
2043    b, _ := json.Marshal(r)
2044    return string(b)
2045}
2046
2047// FromJsonString It is highly **NOT** recommended to use this function
2048// because it has no param check, nor strict type check
2049func (r *DeleteLiveCallbackRuleResponse) FromJsonString(s string) error {
2050	return json.Unmarshal([]byte(s), &r)
2051}
2052
2053type DeleteLiveCallbackTemplateRequest struct {
2054	*tchttp.BaseRequest
2055
2056	// 模板 ID。
2057	// 1. 在创建回调模板接口 [CreateLiveCallbackTemplate](/document/product/267/32637) 调用的返回值中获取模板 ID。
2058	// 2. 可以从接口 [DescribeLiveCallbackTemplates](/document/product/267/32632) 查询已经创建的过的模板列表。
2059	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
2060}
2061
2062func (r *DeleteLiveCallbackTemplateRequest) ToJsonString() string {
2063    b, _ := json.Marshal(r)
2064    return string(b)
2065}
2066
2067// FromJsonString It is highly **NOT** recommended to use this function
2068// because it has no param check, nor strict type check
2069func (r *DeleteLiveCallbackTemplateRequest) FromJsonString(s string) error {
2070	f := make(map[string]interface{})
2071	if err := json.Unmarshal([]byte(s), &f); err != nil {
2072		return err
2073	}
2074	delete(f, "TemplateId")
2075	if len(f) > 0 {
2076		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveCallbackTemplateRequest has unknown keys!", "")
2077	}
2078	return json.Unmarshal([]byte(s), &r)
2079}
2080
2081type DeleteLiveCallbackTemplateResponse struct {
2082	*tchttp.BaseResponse
2083	Response *struct {
2084
2085		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2086		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2087	} `json:"Response"`
2088}
2089
2090func (r *DeleteLiveCallbackTemplateResponse) ToJsonString() string {
2091    b, _ := json.Marshal(r)
2092    return string(b)
2093}
2094
2095// FromJsonString It is highly **NOT** recommended to use this function
2096// because it has no param check, nor strict type check
2097func (r *DeleteLiveCallbackTemplateResponse) FromJsonString(s string) error {
2098	return json.Unmarshal([]byte(s), &r)
2099}
2100
2101type DeleteLiveCertRequest struct {
2102	*tchttp.BaseRequest
2103
2104	// DescribeLiveCerts接口获取到的证书Id。
2105	CertId *int64 `json:"CertId,omitempty" name:"CertId"`
2106}
2107
2108func (r *DeleteLiveCertRequest) ToJsonString() string {
2109    b, _ := json.Marshal(r)
2110    return string(b)
2111}
2112
2113// FromJsonString It is highly **NOT** recommended to use this function
2114// because it has no param check, nor strict type check
2115func (r *DeleteLiveCertRequest) FromJsonString(s string) error {
2116	f := make(map[string]interface{})
2117	if err := json.Unmarshal([]byte(s), &f); err != nil {
2118		return err
2119	}
2120	delete(f, "CertId")
2121	if len(f) > 0 {
2122		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveCertRequest has unknown keys!", "")
2123	}
2124	return json.Unmarshal([]byte(s), &r)
2125}
2126
2127type DeleteLiveCertResponse struct {
2128	*tchttp.BaseResponse
2129	Response *struct {
2130
2131		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2132		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2133	} `json:"Response"`
2134}
2135
2136func (r *DeleteLiveCertResponse) ToJsonString() string {
2137    b, _ := json.Marshal(r)
2138    return string(b)
2139}
2140
2141// FromJsonString It is highly **NOT** recommended to use this function
2142// because it has no param check, nor strict type check
2143func (r *DeleteLiveCertResponse) FromJsonString(s string) error {
2144	return json.Unmarshal([]byte(s), &r)
2145}
2146
2147type DeleteLiveDomainRequest struct {
2148	*tchttp.BaseRequest
2149
2150	// 要删除的域名
2151	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
2152
2153	// 类型。0-推流,1-播放
2154	DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"`
2155}
2156
2157func (r *DeleteLiveDomainRequest) ToJsonString() string {
2158    b, _ := json.Marshal(r)
2159    return string(b)
2160}
2161
2162// FromJsonString It is highly **NOT** recommended to use this function
2163// because it has no param check, nor strict type check
2164func (r *DeleteLiveDomainRequest) FromJsonString(s string) error {
2165	f := make(map[string]interface{})
2166	if err := json.Unmarshal([]byte(s), &f); err != nil {
2167		return err
2168	}
2169	delete(f, "DomainName")
2170	delete(f, "DomainType")
2171	if len(f) > 0 {
2172		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveDomainRequest has unknown keys!", "")
2173	}
2174	return json.Unmarshal([]byte(s), &r)
2175}
2176
2177type DeleteLiveDomainResponse struct {
2178	*tchttp.BaseResponse
2179	Response *struct {
2180
2181		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2182		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2183	} `json:"Response"`
2184}
2185
2186func (r *DeleteLiveDomainResponse) ToJsonString() string {
2187    b, _ := json.Marshal(r)
2188    return string(b)
2189}
2190
2191// FromJsonString It is highly **NOT** recommended to use this function
2192// because it has no param check, nor strict type check
2193func (r *DeleteLiveDomainResponse) FromJsonString(s string) error {
2194	return json.Unmarshal([]byte(s), &r)
2195}
2196
2197type DeleteLivePullStreamTaskRequest struct {
2198	*tchttp.BaseRequest
2199
2200	// 任务 Id。
2201	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
2202
2203	// 操作人姓名。
2204	Operator *string `json:"Operator,omitempty" name:"Operator"`
2205}
2206
2207func (r *DeleteLivePullStreamTaskRequest) ToJsonString() string {
2208    b, _ := json.Marshal(r)
2209    return string(b)
2210}
2211
2212// FromJsonString It is highly **NOT** recommended to use this function
2213// because it has no param check, nor strict type check
2214func (r *DeleteLivePullStreamTaskRequest) FromJsonString(s string) error {
2215	f := make(map[string]interface{})
2216	if err := json.Unmarshal([]byte(s), &f); err != nil {
2217		return err
2218	}
2219	delete(f, "TaskId")
2220	delete(f, "Operator")
2221	if len(f) > 0 {
2222		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLivePullStreamTaskRequest has unknown keys!", "")
2223	}
2224	return json.Unmarshal([]byte(s), &r)
2225}
2226
2227type DeleteLivePullStreamTaskResponse struct {
2228	*tchttp.BaseResponse
2229	Response *struct {
2230
2231		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2232		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2233	} `json:"Response"`
2234}
2235
2236func (r *DeleteLivePullStreamTaskResponse) ToJsonString() string {
2237    b, _ := json.Marshal(r)
2238    return string(b)
2239}
2240
2241// FromJsonString It is highly **NOT** recommended to use this function
2242// because it has no param check, nor strict type check
2243func (r *DeleteLivePullStreamTaskResponse) FromJsonString(s string) error {
2244	return json.Unmarshal([]byte(s), &r)
2245}
2246
2247type DeleteLiveRecordRequest struct {
2248	*tchttp.BaseRequest
2249
2250	// 流名称。
2251	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
2252
2253	// 任务ID,由CreateLiveRecord接口返回。
2254	TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`
2255}
2256
2257func (r *DeleteLiveRecordRequest) ToJsonString() string {
2258    b, _ := json.Marshal(r)
2259    return string(b)
2260}
2261
2262// FromJsonString It is highly **NOT** recommended to use this function
2263// because it has no param check, nor strict type check
2264func (r *DeleteLiveRecordRequest) FromJsonString(s string) error {
2265	f := make(map[string]interface{})
2266	if err := json.Unmarshal([]byte(s), &f); err != nil {
2267		return err
2268	}
2269	delete(f, "StreamName")
2270	delete(f, "TaskId")
2271	if len(f) > 0 {
2272		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveRecordRequest has unknown keys!", "")
2273	}
2274	return json.Unmarshal([]byte(s), &r)
2275}
2276
2277type DeleteLiveRecordResponse struct {
2278	*tchttp.BaseResponse
2279	Response *struct {
2280
2281		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2282		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2283	} `json:"Response"`
2284}
2285
2286func (r *DeleteLiveRecordResponse) ToJsonString() string {
2287    b, _ := json.Marshal(r)
2288    return string(b)
2289}
2290
2291// FromJsonString It is highly **NOT** recommended to use this function
2292// because it has no param check, nor strict type check
2293func (r *DeleteLiveRecordResponse) FromJsonString(s string) error {
2294	return json.Unmarshal([]byte(s), &r)
2295}
2296
2297type DeleteLiveRecordRuleRequest struct {
2298	*tchttp.BaseRequest
2299
2300	// 推流域名。
2301	// 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2302	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
2303
2304	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
2305	// 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2306	AppName *string `json:"AppName,omitempty" name:"AppName"`
2307
2308	// 流名称。
2309	// 域名+AppName+StreamName唯一标识单个转码规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2310	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
2311}
2312
2313func (r *DeleteLiveRecordRuleRequest) ToJsonString() string {
2314    b, _ := json.Marshal(r)
2315    return string(b)
2316}
2317
2318// FromJsonString It is highly **NOT** recommended to use this function
2319// because it has no param check, nor strict type check
2320func (r *DeleteLiveRecordRuleRequest) FromJsonString(s string) error {
2321	f := make(map[string]interface{})
2322	if err := json.Unmarshal([]byte(s), &f); err != nil {
2323		return err
2324	}
2325	delete(f, "DomainName")
2326	delete(f, "AppName")
2327	delete(f, "StreamName")
2328	if len(f) > 0 {
2329		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveRecordRuleRequest has unknown keys!", "")
2330	}
2331	return json.Unmarshal([]byte(s), &r)
2332}
2333
2334type DeleteLiveRecordRuleResponse struct {
2335	*tchttp.BaseResponse
2336	Response *struct {
2337
2338		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2339		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2340	} `json:"Response"`
2341}
2342
2343func (r *DeleteLiveRecordRuleResponse) ToJsonString() string {
2344    b, _ := json.Marshal(r)
2345    return string(b)
2346}
2347
2348// FromJsonString It is highly **NOT** recommended to use this function
2349// because it has no param check, nor strict type check
2350func (r *DeleteLiveRecordRuleResponse) FromJsonString(s string) error {
2351	return json.Unmarshal([]byte(s), &r)
2352}
2353
2354type DeleteLiveRecordTemplateRequest struct {
2355	*tchttp.BaseRequest
2356
2357	// DescribeRecordTemplates接口获取到的模板 ID。
2358	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
2359}
2360
2361func (r *DeleteLiveRecordTemplateRequest) ToJsonString() string {
2362    b, _ := json.Marshal(r)
2363    return string(b)
2364}
2365
2366// FromJsonString It is highly **NOT** recommended to use this function
2367// because it has no param check, nor strict type check
2368func (r *DeleteLiveRecordTemplateRequest) FromJsonString(s string) error {
2369	f := make(map[string]interface{})
2370	if err := json.Unmarshal([]byte(s), &f); err != nil {
2371		return err
2372	}
2373	delete(f, "TemplateId")
2374	if len(f) > 0 {
2375		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveRecordTemplateRequest has unknown keys!", "")
2376	}
2377	return json.Unmarshal([]byte(s), &r)
2378}
2379
2380type DeleteLiveRecordTemplateResponse struct {
2381	*tchttp.BaseResponse
2382	Response *struct {
2383
2384		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2385		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2386	} `json:"Response"`
2387}
2388
2389func (r *DeleteLiveRecordTemplateResponse) ToJsonString() string {
2390    b, _ := json.Marshal(r)
2391    return string(b)
2392}
2393
2394// FromJsonString It is highly **NOT** recommended to use this function
2395// because it has no param check, nor strict type check
2396func (r *DeleteLiveRecordTemplateResponse) FromJsonString(s string) error {
2397	return json.Unmarshal([]byte(s), &r)
2398}
2399
2400type DeleteLiveSnapshotRuleRequest struct {
2401	*tchttp.BaseRequest
2402
2403	// 推流域名。
2404	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
2405
2406	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。
2407	AppName *string `json:"AppName,omitempty" name:"AppName"`
2408
2409	// 流名称。
2410	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
2411}
2412
2413func (r *DeleteLiveSnapshotRuleRequest) ToJsonString() string {
2414    b, _ := json.Marshal(r)
2415    return string(b)
2416}
2417
2418// FromJsonString It is highly **NOT** recommended to use this function
2419// because it has no param check, nor strict type check
2420func (r *DeleteLiveSnapshotRuleRequest) FromJsonString(s string) error {
2421	f := make(map[string]interface{})
2422	if err := json.Unmarshal([]byte(s), &f); err != nil {
2423		return err
2424	}
2425	delete(f, "DomainName")
2426	delete(f, "AppName")
2427	delete(f, "StreamName")
2428	if len(f) > 0 {
2429		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveSnapshotRuleRequest has unknown keys!", "")
2430	}
2431	return json.Unmarshal([]byte(s), &r)
2432}
2433
2434type DeleteLiveSnapshotRuleResponse struct {
2435	*tchttp.BaseResponse
2436	Response *struct {
2437
2438		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2439		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2440	} `json:"Response"`
2441}
2442
2443func (r *DeleteLiveSnapshotRuleResponse) ToJsonString() string {
2444    b, _ := json.Marshal(r)
2445    return string(b)
2446}
2447
2448// FromJsonString It is highly **NOT** recommended to use this function
2449// because it has no param check, nor strict type check
2450func (r *DeleteLiveSnapshotRuleResponse) FromJsonString(s string) error {
2451	return json.Unmarshal([]byte(s), &r)
2452}
2453
2454type DeleteLiveSnapshotTemplateRequest struct {
2455	*tchttp.BaseRequest
2456
2457	// 模板 ID。
2458	// 1. 在创建截图模板接口 [CreateLiveSnapshotTemplate](/document/product/267/32624) 调用的返回值中获取。
2459	// 2. 可以从接口 [DescribeLiveSnapshotTemplates](/document/product/267/32619) 中查询已创建的截图模板列表。
2460	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
2461}
2462
2463func (r *DeleteLiveSnapshotTemplateRequest) ToJsonString() string {
2464    b, _ := json.Marshal(r)
2465    return string(b)
2466}
2467
2468// FromJsonString It is highly **NOT** recommended to use this function
2469// because it has no param check, nor strict type check
2470func (r *DeleteLiveSnapshotTemplateRequest) FromJsonString(s string) error {
2471	f := make(map[string]interface{})
2472	if err := json.Unmarshal([]byte(s), &f); err != nil {
2473		return err
2474	}
2475	delete(f, "TemplateId")
2476	if len(f) > 0 {
2477		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveSnapshotTemplateRequest has unknown keys!", "")
2478	}
2479	return json.Unmarshal([]byte(s), &r)
2480}
2481
2482type DeleteLiveSnapshotTemplateResponse struct {
2483	*tchttp.BaseResponse
2484	Response *struct {
2485
2486		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2487		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2488	} `json:"Response"`
2489}
2490
2491func (r *DeleteLiveSnapshotTemplateResponse) ToJsonString() string {
2492    b, _ := json.Marshal(r)
2493    return string(b)
2494}
2495
2496// FromJsonString It is highly **NOT** recommended to use this function
2497// because it has no param check, nor strict type check
2498func (r *DeleteLiveSnapshotTemplateResponse) FromJsonString(s string) error {
2499	return json.Unmarshal([]byte(s), &r)
2500}
2501
2502type DeleteLiveTranscodeRuleRequest struct {
2503	*tchttp.BaseRequest
2504
2505	// 播放域名。
2506	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
2507
2508	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
2509	AppName *string `json:"AppName,omitempty" name:"AppName"`
2510
2511	// 流名称。
2512	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
2513
2514	// 模板ID。
2515	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
2516}
2517
2518func (r *DeleteLiveTranscodeRuleRequest) ToJsonString() string {
2519    b, _ := json.Marshal(r)
2520    return string(b)
2521}
2522
2523// FromJsonString It is highly **NOT** recommended to use this function
2524// because it has no param check, nor strict type check
2525func (r *DeleteLiveTranscodeRuleRequest) FromJsonString(s string) error {
2526	f := make(map[string]interface{})
2527	if err := json.Unmarshal([]byte(s), &f); err != nil {
2528		return err
2529	}
2530	delete(f, "DomainName")
2531	delete(f, "AppName")
2532	delete(f, "StreamName")
2533	delete(f, "TemplateId")
2534	if len(f) > 0 {
2535		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveTranscodeRuleRequest has unknown keys!", "")
2536	}
2537	return json.Unmarshal([]byte(s), &r)
2538}
2539
2540type DeleteLiveTranscodeRuleResponse struct {
2541	*tchttp.BaseResponse
2542	Response *struct {
2543
2544		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2545		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2546	} `json:"Response"`
2547}
2548
2549func (r *DeleteLiveTranscodeRuleResponse) ToJsonString() string {
2550    b, _ := json.Marshal(r)
2551    return string(b)
2552}
2553
2554// FromJsonString It is highly **NOT** recommended to use this function
2555// because it has no param check, nor strict type check
2556func (r *DeleteLiveTranscodeRuleResponse) FromJsonString(s string) error {
2557	return json.Unmarshal([]byte(s), &r)
2558}
2559
2560type DeleteLiveTranscodeTemplateRequest struct {
2561	*tchttp.BaseRequest
2562
2563	// 模板 ID。
2564	// 1. 在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 ID。
2565	// 2. 可以从接口 [DescribeLiveTranscodeTemplates](/document/product/267/32641) 查询已经创建的过的模板列表。
2566	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
2567}
2568
2569func (r *DeleteLiveTranscodeTemplateRequest) ToJsonString() string {
2570    b, _ := json.Marshal(r)
2571    return string(b)
2572}
2573
2574// FromJsonString It is highly **NOT** recommended to use this function
2575// because it has no param check, nor strict type check
2576func (r *DeleteLiveTranscodeTemplateRequest) FromJsonString(s string) error {
2577	f := make(map[string]interface{})
2578	if err := json.Unmarshal([]byte(s), &f); err != nil {
2579		return err
2580	}
2581	delete(f, "TemplateId")
2582	if len(f) > 0 {
2583		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveTranscodeTemplateRequest has unknown keys!", "")
2584	}
2585	return json.Unmarshal([]byte(s), &r)
2586}
2587
2588type DeleteLiveTranscodeTemplateResponse struct {
2589	*tchttp.BaseResponse
2590	Response *struct {
2591
2592		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2593		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2594	} `json:"Response"`
2595}
2596
2597func (r *DeleteLiveTranscodeTemplateResponse) ToJsonString() string {
2598    b, _ := json.Marshal(r)
2599    return string(b)
2600}
2601
2602// FromJsonString It is highly **NOT** recommended to use this function
2603// because it has no param check, nor strict type check
2604func (r *DeleteLiveTranscodeTemplateResponse) FromJsonString(s string) error {
2605	return json.Unmarshal([]byte(s), &r)
2606}
2607
2608type DeleteLiveWatermarkRequest struct {
2609	*tchttp.BaseRequest
2610
2611	// 水印 ID。
2612	// 在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
2613	// 或DescribeLiveWatermarks接口返回的水印ID。
2614	WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
2615}
2616
2617func (r *DeleteLiveWatermarkRequest) ToJsonString() string {
2618    b, _ := json.Marshal(r)
2619    return string(b)
2620}
2621
2622// FromJsonString It is highly **NOT** recommended to use this function
2623// because it has no param check, nor strict type check
2624func (r *DeleteLiveWatermarkRequest) FromJsonString(s string) error {
2625	f := make(map[string]interface{})
2626	if err := json.Unmarshal([]byte(s), &f); err != nil {
2627		return err
2628	}
2629	delete(f, "WatermarkId")
2630	if len(f) > 0 {
2631		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveWatermarkRequest has unknown keys!", "")
2632	}
2633	return json.Unmarshal([]byte(s), &r)
2634}
2635
2636type DeleteLiveWatermarkResponse struct {
2637	*tchttp.BaseResponse
2638	Response *struct {
2639
2640		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2641		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2642	} `json:"Response"`
2643}
2644
2645func (r *DeleteLiveWatermarkResponse) ToJsonString() string {
2646    b, _ := json.Marshal(r)
2647    return string(b)
2648}
2649
2650// FromJsonString It is highly **NOT** recommended to use this function
2651// because it has no param check, nor strict type check
2652func (r *DeleteLiveWatermarkResponse) FromJsonString(s string) error {
2653	return json.Unmarshal([]byte(s), &r)
2654}
2655
2656type DeleteLiveWatermarkRuleRequest struct {
2657	*tchttp.BaseRequest
2658
2659	// 推流域名。
2660	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
2661
2662	// 推流路径。与推流和播放地址中的 AppName 保持一致,默认为live。
2663	AppName *string `json:"AppName,omitempty" name:"AppName"`
2664
2665	// 流名称。
2666	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
2667}
2668
2669func (r *DeleteLiveWatermarkRuleRequest) ToJsonString() string {
2670    b, _ := json.Marshal(r)
2671    return string(b)
2672}
2673
2674// FromJsonString It is highly **NOT** recommended to use this function
2675// because it has no param check, nor strict type check
2676func (r *DeleteLiveWatermarkRuleRequest) FromJsonString(s string) error {
2677	f := make(map[string]interface{})
2678	if err := json.Unmarshal([]byte(s), &f); err != nil {
2679		return err
2680	}
2681	delete(f, "DomainName")
2682	delete(f, "AppName")
2683	delete(f, "StreamName")
2684	if len(f) > 0 {
2685		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLiveWatermarkRuleRequest has unknown keys!", "")
2686	}
2687	return json.Unmarshal([]byte(s), &r)
2688}
2689
2690type DeleteLiveWatermarkRuleResponse struct {
2691	*tchttp.BaseResponse
2692	Response *struct {
2693
2694		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2695		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2696	} `json:"Response"`
2697}
2698
2699func (r *DeleteLiveWatermarkRuleResponse) ToJsonString() string {
2700    b, _ := json.Marshal(r)
2701    return string(b)
2702}
2703
2704// FromJsonString It is highly **NOT** recommended to use this function
2705// because it has no param check, nor strict type check
2706func (r *DeleteLiveWatermarkRuleResponse) FromJsonString(s string) error {
2707	return json.Unmarshal([]byte(s), &r)
2708}
2709
2710type DeletePullStreamConfigRequest struct {
2711	*tchttp.BaseRequest
2712
2713	// 配置 ID。
2714	// 1. 在添加拉流配置接口 [CreatePullStreamConfig](/document/api/267/30159) 调用返回值中获取配置 ID。
2715	// 2. 可以从接口 [DescribePullStreamConfigs](/document/api/267/30158) 中查询已创建过的拉流配置列表。
2716	ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"`
2717}
2718
2719func (r *DeletePullStreamConfigRequest) ToJsonString() string {
2720    b, _ := json.Marshal(r)
2721    return string(b)
2722}
2723
2724// FromJsonString It is highly **NOT** recommended to use this function
2725// because it has no param check, nor strict type check
2726func (r *DeletePullStreamConfigRequest) FromJsonString(s string) error {
2727	f := make(map[string]interface{})
2728	if err := json.Unmarshal([]byte(s), &f); err != nil {
2729		return err
2730	}
2731	delete(f, "ConfigId")
2732	if len(f) > 0 {
2733		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeletePullStreamConfigRequest has unknown keys!", "")
2734	}
2735	return json.Unmarshal([]byte(s), &r)
2736}
2737
2738type DeletePullStreamConfigResponse struct {
2739	*tchttp.BaseResponse
2740	Response *struct {
2741
2742		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2743		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2744	} `json:"Response"`
2745}
2746
2747func (r *DeletePullStreamConfigResponse) ToJsonString() string {
2748    b, _ := json.Marshal(r)
2749    return string(b)
2750}
2751
2752// FromJsonString It is highly **NOT** recommended to use this function
2753// because it has no param check, nor strict type check
2754func (r *DeletePullStreamConfigResponse) FromJsonString(s string) error {
2755	return json.Unmarshal([]byte(s), &r)
2756}
2757
2758type DeleteRecordTaskRequest struct {
2759	*tchttp.BaseRequest
2760
2761	// 任务ID,CreateRecordTask返回。删除TaskId指定的录制任务。
2762	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
2763}
2764
2765func (r *DeleteRecordTaskRequest) ToJsonString() string {
2766    b, _ := json.Marshal(r)
2767    return string(b)
2768}
2769
2770// FromJsonString It is highly **NOT** recommended to use this function
2771// because it has no param check, nor strict type check
2772func (r *DeleteRecordTaskRequest) FromJsonString(s string) error {
2773	f := make(map[string]interface{})
2774	if err := json.Unmarshal([]byte(s), &f); err != nil {
2775		return err
2776	}
2777	delete(f, "TaskId")
2778	if len(f) > 0 {
2779		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteRecordTaskRequest has unknown keys!", "")
2780	}
2781	return json.Unmarshal([]byte(s), &r)
2782}
2783
2784type DeleteRecordTaskResponse struct {
2785	*tchttp.BaseResponse
2786	Response *struct {
2787
2788		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2789		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2790	} `json:"Response"`
2791}
2792
2793func (r *DeleteRecordTaskResponse) ToJsonString() string {
2794    b, _ := json.Marshal(r)
2795    return string(b)
2796}
2797
2798// FromJsonString It is highly **NOT** recommended to use this function
2799// because it has no param check, nor strict type check
2800func (r *DeleteRecordTaskResponse) FromJsonString(s string) error {
2801	return json.Unmarshal([]byte(s), &r)
2802}
2803
2804type DescribeAllStreamPlayInfoListRequest struct {
2805	*tchttp.BaseRequest
2806
2807	// 查询时间点,精确到分钟粒度,支持最近1个月的数据查询,数据延迟为5分钟左右,如果要查询实时的数据,建议传递5分钟前的时间点,格式为yyyy-mm-dd HH:MM:00。(只精确至分钟,秒数填00)。
2808	QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"`
2809
2810	// 播放域名列表,若不填,表示总体数据。
2811	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
2812}
2813
2814func (r *DescribeAllStreamPlayInfoListRequest) ToJsonString() string {
2815    b, _ := json.Marshal(r)
2816    return string(b)
2817}
2818
2819// FromJsonString It is highly **NOT** recommended to use this function
2820// because it has no param check, nor strict type check
2821func (r *DescribeAllStreamPlayInfoListRequest) FromJsonString(s string) error {
2822	f := make(map[string]interface{})
2823	if err := json.Unmarshal([]byte(s), &f); err != nil {
2824		return err
2825	}
2826	delete(f, "QueryTime")
2827	delete(f, "PlayDomains")
2828	if len(f) > 0 {
2829		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAllStreamPlayInfoListRequest has unknown keys!", "")
2830	}
2831	return json.Unmarshal([]byte(s), &r)
2832}
2833
2834type DescribeAllStreamPlayInfoListResponse struct {
2835	*tchttp.BaseResponse
2836	Response *struct {
2837
2838		// 查询时间点,回传的输入参数中的查询时间。
2839		QueryTime *string `json:"QueryTime,omitempty" name:"QueryTime"`
2840
2841		// 数据信息列表。
2842		DataInfoList []*MonitorStreamPlayInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
2843
2844		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2845		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2846	} `json:"Response"`
2847}
2848
2849func (r *DescribeAllStreamPlayInfoListResponse) ToJsonString() string {
2850    b, _ := json.Marshal(r)
2851    return string(b)
2852}
2853
2854// FromJsonString It is highly **NOT** recommended to use this function
2855// because it has no param check, nor strict type check
2856func (r *DescribeAllStreamPlayInfoListResponse) FromJsonString(s string) error {
2857	return json.Unmarshal([]byte(s), &r)
2858}
2859
2860type DescribeAreaBillBandwidthAndFluxListRequest struct {
2861	*tchttp.BaseRequest
2862
2863	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
2864	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
2865
2866	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过1天。
2867	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
2868
2869	// 直播播放域名,若不填,表示总体数据。
2870	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
2871}
2872
2873func (r *DescribeAreaBillBandwidthAndFluxListRequest) ToJsonString() string {
2874    b, _ := json.Marshal(r)
2875    return string(b)
2876}
2877
2878// FromJsonString It is highly **NOT** recommended to use this function
2879// because it has no param check, nor strict type check
2880func (r *DescribeAreaBillBandwidthAndFluxListRequest) FromJsonString(s string) error {
2881	f := make(map[string]interface{})
2882	if err := json.Unmarshal([]byte(s), &f); err != nil {
2883		return err
2884	}
2885	delete(f, "StartTime")
2886	delete(f, "EndTime")
2887	delete(f, "PlayDomains")
2888	if len(f) > 0 {
2889		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAreaBillBandwidthAndFluxListRequest has unknown keys!", "")
2890	}
2891	return json.Unmarshal([]byte(s), &r)
2892}
2893
2894type DescribeAreaBillBandwidthAndFluxListResponse struct {
2895	*tchttp.BaseResponse
2896	Response *struct {
2897
2898		// 明细数据信息。
2899		DataInfoList []*BillAreaInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
2900
2901		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2902		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2903	} `json:"Response"`
2904}
2905
2906func (r *DescribeAreaBillBandwidthAndFluxListResponse) ToJsonString() string {
2907    b, _ := json.Marshal(r)
2908    return string(b)
2909}
2910
2911// FromJsonString It is highly **NOT** recommended to use this function
2912// because it has no param check, nor strict type check
2913func (r *DescribeAreaBillBandwidthAndFluxListResponse) FromJsonString(s string) error {
2914	return json.Unmarshal([]byte(s), &r)
2915}
2916
2917type DescribeBillBandwidthAndFluxListRequest struct {
2918	*tchttp.BaseRequest
2919
2920	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
2921	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
2922
2923	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。支持最近3年的数据查询
2924	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
2925
2926	// 直播播放域名,若不填,表示总体数据。
2927	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
2928
2929	// 可选值:
2930	// Mainland:查询国内数据,
2931	// Oversea:则查询国外数据,
2932	// 默认:查询国内+国外的数据。
2933	// 注:LEB(快直播)只支持国内+国外数据查询。
2934	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
2935
2936	// 数据粒度,支持如下粒度:
2937	// 5:5分钟粒度,(跨度不支持超过1天),
2938	// 60:1小时粒度(跨度不支持超过一个月),
2939	// 1440:天粒度(跨度不支持超过一个月)。
2940	// 默认值:5。
2941	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
2942
2943	// 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
2944	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
2945}
2946
2947func (r *DescribeBillBandwidthAndFluxListRequest) ToJsonString() string {
2948    b, _ := json.Marshal(r)
2949    return string(b)
2950}
2951
2952// FromJsonString It is highly **NOT** recommended to use this function
2953// because it has no param check, nor strict type check
2954func (r *DescribeBillBandwidthAndFluxListRequest) FromJsonString(s string) error {
2955	f := make(map[string]interface{})
2956	if err := json.Unmarshal([]byte(s), &f); err != nil {
2957		return err
2958	}
2959	delete(f, "StartTime")
2960	delete(f, "EndTime")
2961	delete(f, "PlayDomains")
2962	delete(f, "MainlandOrOversea")
2963	delete(f, "Granularity")
2964	delete(f, "ServiceName")
2965	if len(f) > 0 {
2966		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBillBandwidthAndFluxListRequest has unknown keys!", "")
2967	}
2968	return json.Unmarshal([]byte(s), &r)
2969}
2970
2971type DescribeBillBandwidthAndFluxListResponse struct {
2972	*tchttp.BaseResponse
2973	Response *struct {
2974
2975		// 峰值带宽所在时间点,格式为yyyy-mm-dd HH:MM:SS。
2976		PeakBandwidthTime *string `json:"PeakBandwidthTime,omitempty" name:"PeakBandwidthTime"`
2977
2978		// 峰值带宽,单位是Mbps。
2979		PeakBandwidth *float64 `json:"PeakBandwidth,omitempty" name:"PeakBandwidth"`
2980
2981		// 95峰值带宽所在时间点,格式为yyyy-mm-dd HH:MM:SS。
2982		P95PeakBandwidthTime *string `json:"P95PeakBandwidthTime,omitempty" name:"P95PeakBandwidthTime"`
2983
2984		// 95峰值带宽,单位是Mbps。
2985		P95PeakBandwidth *float64 `json:"P95PeakBandwidth,omitempty" name:"P95PeakBandwidth"`
2986
2987		// 总流量,单位是MB。
2988		SumFlux *float64 `json:"SumFlux,omitempty" name:"SumFlux"`
2989
2990		// 明细数据信息。
2991		DataInfoList []*BillDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
2992
2993		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2994		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
2995	} `json:"Response"`
2996}
2997
2998func (r *DescribeBillBandwidthAndFluxListResponse) ToJsonString() string {
2999    b, _ := json.Marshal(r)
3000    return string(b)
3001}
3002
3003// FromJsonString It is highly **NOT** recommended to use this function
3004// because it has no param check, nor strict type check
3005func (r *DescribeBillBandwidthAndFluxListResponse) FromJsonString(s string) error {
3006	return json.Unmarshal([]byte(s), &r)
3007}
3008
3009type DescribeCallbackRecordsListRequest struct {
3010	*tchttp.BaseRequest
3011
3012	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
3013	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
3014
3015	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过1天。
3016	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
3017
3018	// 流名称,精确匹配。
3019	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
3020
3021	// 页码
3022	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
3023
3024	// 每页条数
3025	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
3026
3027	// 事件类型。
3028	// 0: "断流",
3029	// 1: "推流",
3030	// 100: "录制"
3031	EventType *uint64 `json:"EventType,omitempty" name:"EventType"`
3032
3033	// 回调结果。0为成功,其他为失败
3034	ResultCode *uint64 `json:"ResultCode,omitempty" name:"ResultCode"`
3035}
3036
3037func (r *DescribeCallbackRecordsListRequest) ToJsonString() string {
3038    b, _ := json.Marshal(r)
3039    return string(b)
3040}
3041
3042// FromJsonString It is highly **NOT** recommended to use this function
3043// because it has no param check, nor strict type check
3044func (r *DescribeCallbackRecordsListRequest) FromJsonString(s string) error {
3045	f := make(map[string]interface{})
3046	if err := json.Unmarshal([]byte(s), &f); err != nil {
3047		return err
3048	}
3049	delete(f, "StartTime")
3050	delete(f, "EndTime")
3051	delete(f, "StreamName")
3052	delete(f, "PageNum")
3053	delete(f, "PageSize")
3054	delete(f, "EventType")
3055	delete(f, "ResultCode")
3056	if len(f) > 0 {
3057		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCallbackRecordsListRequest has unknown keys!", "")
3058	}
3059	return json.Unmarshal([]byte(s), &r)
3060}
3061
3062type DescribeCallbackRecordsListResponse struct {
3063	*tchttp.BaseResponse
3064	Response *struct {
3065
3066		// 回调事件列表
3067		DataInfoList []*CallbackEventInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
3068
3069		// 页码
3070		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
3071
3072		// 每页条数
3073		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
3074
3075		// 总条数
3076		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
3077
3078		// 总页数
3079		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
3080
3081		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3082		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3083	} `json:"Response"`
3084}
3085
3086func (r *DescribeCallbackRecordsListResponse) ToJsonString() string {
3087    b, _ := json.Marshal(r)
3088    return string(b)
3089}
3090
3091// FromJsonString It is highly **NOT** recommended to use this function
3092// because it has no param check, nor strict type check
3093func (r *DescribeCallbackRecordsListResponse) FromJsonString(s string) error {
3094	return json.Unmarshal([]byte(s), &r)
3095}
3096
3097type DescribeConcurrentRecordStreamNumRequest struct {
3098	*tchttp.BaseRequest
3099
3100	// 直播类型,SlowLive:慢直播。
3101	// NormalLive:普通直播。
3102	LiveType *string `json:"LiveType,omitempty" name:"LiveType"`
3103
3104	// 起始时间,格式:yyyy-mm-dd HH:MM:SS。
3105	// 可以查询最近180天的数据。
3106	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
3107
3108	// 结束时间,格式:yyyy-mm-dd HH:MM:SS。
3109	// 时间跨度最大支持31天。
3110	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
3111
3112	// 如果为空,查询所有地区数据;如果为“Mainland”,查询国内数据;如果为“Oversea”,则查询国外数据。
3113	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
3114
3115	// 推流域名列表,不填表示总体数据。
3116	PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"`
3117}
3118
3119func (r *DescribeConcurrentRecordStreamNumRequest) ToJsonString() string {
3120    b, _ := json.Marshal(r)
3121    return string(b)
3122}
3123
3124// FromJsonString It is highly **NOT** recommended to use this function
3125// because it has no param check, nor strict type check
3126func (r *DescribeConcurrentRecordStreamNumRequest) FromJsonString(s string) error {
3127	f := make(map[string]interface{})
3128	if err := json.Unmarshal([]byte(s), &f); err != nil {
3129		return err
3130	}
3131	delete(f, "LiveType")
3132	delete(f, "StartTime")
3133	delete(f, "EndTime")
3134	delete(f, "MainlandOrOversea")
3135	delete(f, "PushDomains")
3136	if len(f) > 0 {
3137		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeConcurrentRecordStreamNumRequest has unknown keys!", "")
3138	}
3139	return json.Unmarshal([]byte(s), &r)
3140}
3141
3142type DescribeConcurrentRecordStreamNumResponse struct {
3143	*tchttp.BaseResponse
3144	Response *struct {
3145
3146		// 统计信息列表。
3147		DataInfoList []*ConcurrentRecordStreamNum `json:"DataInfoList,omitempty" name:"DataInfoList"`
3148
3149		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3150		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3151	} `json:"Response"`
3152}
3153
3154func (r *DescribeConcurrentRecordStreamNumResponse) ToJsonString() string {
3155    b, _ := json.Marshal(r)
3156    return string(b)
3157}
3158
3159// FromJsonString It is highly **NOT** recommended to use this function
3160// because it has no param check, nor strict type check
3161func (r *DescribeConcurrentRecordStreamNumResponse) FromJsonString(s string) error {
3162	return json.Unmarshal([]byte(s), &r)
3163}
3164
3165type DescribeDeliverBandwidthListRequest struct {
3166	*tchttp.BaseRequest
3167
3168	// 起始时间,格式为%Y-%m-%d %H:%M:%S。
3169	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
3170
3171	// 结束时间,格式为%Y-%m-%d %H:%M:%S,支持最近三个月的数据查询,时间跨度最大是1个月。
3172	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
3173}
3174
3175func (r *DescribeDeliverBandwidthListRequest) ToJsonString() string {
3176    b, _ := json.Marshal(r)
3177    return string(b)
3178}
3179
3180// FromJsonString It is highly **NOT** recommended to use this function
3181// because it has no param check, nor strict type check
3182func (r *DescribeDeliverBandwidthListRequest) FromJsonString(s string) error {
3183	f := make(map[string]interface{})
3184	if err := json.Unmarshal([]byte(s), &f); err != nil {
3185		return err
3186	}
3187	delete(f, "StartTime")
3188	delete(f, "EndTime")
3189	if len(f) > 0 {
3190		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeliverBandwidthListRequest has unknown keys!", "")
3191	}
3192	return json.Unmarshal([]byte(s), &r)
3193}
3194
3195type DescribeDeliverBandwidthListResponse struct {
3196	*tchttp.BaseResponse
3197	Response *struct {
3198
3199		// 转推计费带宽数据
3200		DataInfoList []*BandwidthInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
3201
3202		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3203		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3204	} `json:"Response"`
3205}
3206
3207func (r *DescribeDeliverBandwidthListResponse) ToJsonString() string {
3208    b, _ := json.Marshal(r)
3209    return string(b)
3210}
3211
3212// FromJsonString It is highly **NOT** recommended to use this function
3213// because it has no param check, nor strict type check
3214func (r *DescribeDeliverBandwidthListResponse) FromJsonString(s string) error {
3215	return json.Unmarshal([]byte(s), &r)
3216}
3217
3218type DescribeGroupProIspPlayInfoListRequest struct {
3219	*tchttp.BaseRequest
3220
3221	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
3222	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
3223
3224	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS
3225	// 时间跨度在(0,3小时],支持最近1个月数据查询。
3226	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
3227
3228	// 播放域名,默认为不填,表示求总体数据。
3229	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
3230
3231	// 省份列表,默认不填,则返回各省份的数据。
3232	ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames"`
3233
3234	// 运营商列表,默认不填,则返回整个运营商的数据。
3235	IspNames []*string `json:"IspNames,omitempty" name:"IspNames"`
3236
3237	// 国内还是国外,如果为空,查询所有地区数据;如果为“Mainland”,查询国内数据;如果为“Oversea”,则查询国外数据。
3238	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
3239}
3240
3241func (r *DescribeGroupProIspPlayInfoListRequest) ToJsonString() string {
3242    b, _ := json.Marshal(r)
3243    return string(b)
3244}
3245
3246// FromJsonString It is highly **NOT** recommended to use this function
3247// because it has no param check, nor strict type check
3248func (r *DescribeGroupProIspPlayInfoListRequest) FromJsonString(s string) error {
3249	f := make(map[string]interface{})
3250	if err := json.Unmarshal([]byte(s), &f); err != nil {
3251		return err
3252	}
3253	delete(f, "StartTime")
3254	delete(f, "EndTime")
3255	delete(f, "PlayDomains")
3256	delete(f, "ProvinceNames")
3257	delete(f, "IspNames")
3258	delete(f, "MainlandOrOversea")
3259	if len(f) > 0 {
3260		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupProIspPlayInfoListRequest has unknown keys!", "")
3261	}
3262	return json.Unmarshal([]byte(s), &r)
3263}
3264
3265type DescribeGroupProIspPlayInfoListResponse struct {
3266	*tchttp.BaseResponse
3267	Response *struct {
3268
3269		// 数据内容。
3270		DataInfoList []*GroupProIspDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
3271
3272		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3273		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3274	} `json:"Response"`
3275}
3276
3277func (r *DescribeGroupProIspPlayInfoListResponse) ToJsonString() string {
3278    b, _ := json.Marshal(r)
3279    return string(b)
3280}
3281
3282// FromJsonString It is highly **NOT** recommended to use this function
3283// because it has no param check, nor strict type check
3284func (r *DescribeGroupProIspPlayInfoListResponse) FromJsonString(s string) error {
3285	return json.Unmarshal([]byte(s), &r)
3286}
3287
3288type DescribeHttpStatusInfoListRequest struct {
3289	*tchttp.BaseRequest
3290
3291	// 起始时间,北京时间,
3292	// 格式:yyyy-mm-dd HH:MM:SS。
3293	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
3294
3295	// 结束时间,北京时间,
3296	// 格式:yyyy-mm-dd HH:MM:SS。
3297	// 注:最大时间跨度支持1天,支持最近3个月的数据查询。
3298	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
3299
3300	// 播放域名列表。
3301	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
3302}
3303
3304func (r *DescribeHttpStatusInfoListRequest) ToJsonString() string {
3305    b, _ := json.Marshal(r)
3306    return string(b)
3307}
3308
3309// FromJsonString It is highly **NOT** recommended to use this function
3310// because it has no param check, nor strict type check
3311func (r *DescribeHttpStatusInfoListRequest) FromJsonString(s string) error {
3312	f := make(map[string]interface{})
3313	if err := json.Unmarshal([]byte(s), &f); err != nil {
3314		return err
3315	}
3316	delete(f, "StartTime")
3317	delete(f, "EndTime")
3318	delete(f, "PlayDomains")
3319	if len(f) > 0 {
3320		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeHttpStatusInfoListRequest has unknown keys!", "")
3321	}
3322	return json.Unmarshal([]byte(s), &r)
3323}
3324
3325type DescribeHttpStatusInfoListResponse struct {
3326	*tchttp.BaseResponse
3327	Response *struct {
3328
3329		// 播放状态码列表。
3330		DataInfoList []*HttpStatusData `json:"DataInfoList,omitempty" name:"DataInfoList"`
3331
3332		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3333		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3334	} `json:"Response"`
3335}
3336
3337func (r *DescribeHttpStatusInfoListResponse) ToJsonString() string {
3338    b, _ := json.Marshal(r)
3339    return string(b)
3340}
3341
3342// FromJsonString It is highly **NOT** recommended to use this function
3343// because it has no param check, nor strict type check
3344func (r *DescribeHttpStatusInfoListResponse) FromJsonString(s string) error {
3345	return json.Unmarshal([]byte(s), &r)
3346}
3347
3348type DescribeLiveCallbackRulesRequest struct {
3349	*tchttp.BaseRequest
3350}
3351
3352func (r *DescribeLiveCallbackRulesRequest) ToJsonString() string {
3353    b, _ := json.Marshal(r)
3354    return string(b)
3355}
3356
3357// FromJsonString It is highly **NOT** recommended to use this function
3358// because it has no param check, nor strict type check
3359func (r *DescribeLiveCallbackRulesRequest) FromJsonString(s string) error {
3360	f := make(map[string]interface{})
3361	if err := json.Unmarshal([]byte(s), &f); err != nil {
3362		return err
3363	}
3364	if len(f) > 0 {
3365		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveCallbackRulesRequest has unknown keys!", "")
3366	}
3367	return json.Unmarshal([]byte(s), &r)
3368}
3369
3370type DescribeLiveCallbackRulesResponse struct {
3371	*tchttp.BaseResponse
3372	Response *struct {
3373
3374		// 规则信息列表。
3375		Rules []*CallBackRuleInfo `json:"Rules,omitempty" name:"Rules"`
3376
3377		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3378		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3379	} `json:"Response"`
3380}
3381
3382func (r *DescribeLiveCallbackRulesResponse) ToJsonString() string {
3383    b, _ := json.Marshal(r)
3384    return string(b)
3385}
3386
3387// FromJsonString It is highly **NOT** recommended to use this function
3388// because it has no param check, nor strict type check
3389func (r *DescribeLiveCallbackRulesResponse) FromJsonString(s string) error {
3390	return json.Unmarshal([]byte(s), &r)
3391}
3392
3393type DescribeLiveCallbackTemplateRequest struct {
3394	*tchttp.BaseRequest
3395
3396	// 模板 ID。
3397	// 1. 在创建回调模板接口 [CreateLiveCallbackTemplate](/document/product/267/32637) 调用的返回值中获取模板 ID。
3398	// 2. 可以从接口 [DescribeLiveCallbackTemplates](/document/product/267/32632) 查询已经创建的过的模板列表。
3399	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
3400}
3401
3402func (r *DescribeLiveCallbackTemplateRequest) ToJsonString() string {
3403    b, _ := json.Marshal(r)
3404    return string(b)
3405}
3406
3407// FromJsonString It is highly **NOT** recommended to use this function
3408// because it has no param check, nor strict type check
3409func (r *DescribeLiveCallbackTemplateRequest) FromJsonString(s string) error {
3410	f := make(map[string]interface{})
3411	if err := json.Unmarshal([]byte(s), &f); err != nil {
3412		return err
3413	}
3414	delete(f, "TemplateId")
3415	if len(f) > 0 {
3416		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveCallbackTemplateRequest has unknown keys!", "")
3417	}
3418	return json.Unmarshal([]byte(s), &r)
3419}
3420
3421type DescribeLiveCallbackTemplateResponse struct {
3422	*tchttp.BaseResponse
3423	Response *struct {
3424
3425		// 回调模板信息。
3426		Template *CallBackTemplateInfo `json:"Template,omitempty" name:"Template"`
3427
3428		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3429		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3430	} `json:"Response"`
3431}
3432
3433func (r *DescribeLiveCallbackTemplateResponse) ToJsonString() string {
3434    b, _ := json.Marshal(r)
3435    return string(b)
3436}
3437
3438// FromJsonString It is highly **NOT** recommended to use this function
3439// because it has no param check, nor strict type check
3440func (r *DescribeLiveCallbackTemplateResponse) FromJsonString(s string) error {
3441	return json.Unmarshal([]byte(s), &r)
3442}
3443
3444type DescribeLiveCallbackTemplatesRequest struct {
3445	*tchttp.BaseRequest
3446}
3447
3448func (r *DescribeLiveCallbackTemplatesRequest) ToJsonString() string {
3449    b, _ := json.Marshal(r)
3450    return string(b)
3451}
3452
3453// FromJsonString It is highly **NOT** recommended to use this function
3454// because it has no param check, nor strict type check
3455func (r *DescribeLiveCallbackTemplatesRequest) FromJsonString(s string) error {
3456	f := make(map[string]interface{})
3457	if err := json.Unmarshal([]byte(s), &f); err != nil {
3458		return err
3459	}
3460	if len(f) > 0 {
3461		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveCallbackTemplatesRequest has unknown keys!", "")
3462	}
3463	return json.Unmarshal([]byte(s), &r)
3464}
3465
3466type DescribeLiveCallbackTemplatesResponse struct {
3467	*tchttp.BaseResponse
3468	Response *struct {
3469
3470		// 模板信息列表。
3471		Templates []*CallBackTemplateInfo `json:"Templates,omitempty" name:"Templates"`
3472
3473		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3474		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3475	} `json:"Response"`
3476}
3477
3478func (r *DescribeLiveCallbackTemplatesResponse) ToJsonString() string {
3479    b, _ := json.Marshal(r)
3480    return string(b)
3481}
3482
3483// FromJsonString It is highly **NOT** recommended to use this function
3484// because it has no param check, nor strict type check
3485func (r *DescribeLiveCallbackTemplatesResponse) FromJsonString(s string) error {
3486	return json.Unmarshal([]byte(s), &r)
3487}
3488
3489type DescribeLiveCertRequest struct {
3490	*tchttp.BaseRequest
3491
3492	// DescribeLiveCerts接口获取到的证书Id。
3493	CertId *int64 `json:"CertId,omitempty" name:"CertId"`
3494}
3495
3496func (r *DescribeLiveCertRequest) ToJsonString() string {
3497    b, _ := json.Marshal(r)
3498    return string(b)
3499}
3500
3501// FromJsonString It is highly **NOT** recommended to use this function
3502// because it has no param check, nor strict type check
3503func (r *DescribeLiveCertRequest) FromJsonString(s string) error {
3504	f := make(map[string]interface{})
3505	if err := json.Unmarshal([]byte(s), &f); err != nil {
3506		return err
3507	}
3508	delete(f, "CertId")
3509	if len(f) > 0 {
3510		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveCertRequest has unknown keys!", "")
3511	}
3512	return json.Unmarshal([]byte(s), &r)
3513}
3514
3515type DescribeLiveCertResponse struct {
3516	*tchttp.BaseResponse
3517	Response *struct {
3518
3519		// 证书信息。
3520		CertInfo *CertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
3521
3522		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3523		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3524	} `json:"Response"`
3525}
3526
3527func (r *DescribeLiveCertResponse) ToJsonString() string {
3528    b, _ := json.Marshal(r)
3529    return string(b)
3530}
3531
3532// FromJsonString It is highly **NOT** recommended to use this function
3533// because it has no param check, nor strict type check
3534func (r *DescribeLiveCertResponse) FromJsonString(s string) error {
3535	return json.Unmarshal([]byte(s), &r)
3536}
3537
3538type DescribeLiveCertsRequest struct {
3539	*tchttp.BaseRequest
3540}
3541
3542func (r *DescribeLiveCertsRequest) ToJsonString() string {
3543    b, _ := json.Marshal(r)
3544    return string(b)
3545}
3546
3547// FromJsonString It is highly **NOT** recommended to use this function
3548// because it has no param check, nor strict type check
3549func (r *DescribeLiveCertsRequest) FromJsonString(s string) error {
3550	f := make(map[string]interface{})
3551	if err := json.Unmarshal([]byte(s), &f); err != nil {
3552		return err
3553	}
3554	if len(f) > 0 {
3555		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveCertsRequest has unknown keys!", "")
3556	}
3557	return json.Unmarshal([]byte(s), &r)
3558}
3559
3560type DescribeLiveCertsResponse struct {
3561	*tchttp.BaseResponse
3562	Response *struct {
3563
3564		// 证书信息列表。
3565		CertInfoSet []*CertInfo `json:"CertInfoSet,omitempty" name:"CertInfoSet"`
3566
3567		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3568		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3569	} `json:"Response"`
3570}
3571
3572func (r *DescribeLiveCertsResponse) ToJsonString() string {
3573    b, _ := json.Marshal(r)
3574    return string(b)
3575}
3576
3577// FromJsonString It is highly **NOT** recommended to use this function
3578// because it has no param check, nor strict type check
3579func (r *DescribeLiveCertsResponse) FromJsonString(s string) error {
3580	return json.Unmarshal([]byte(s), &r)
3581}
3582
3583type DescribeLiveDelayInfoListRequest struct {
3584	*tchttp.BaseRequest
3585}
3586
3587func (r *DescribeLiveDelayInfoListRequest) ToJsonString() string {
3588    b, _ := json.Marshal(r)
3589    return string(b)
3590}
3591
3592// FromJsonString It is highly **NOT** recommended to use this function
3593// because it has no param check, nor strict type check
3594func (r *DescribeLiveDelayInfoListRequest) FromJsonString(s string) error {
3595	f := make(map[string]interface{})
3596	if err := json.Unmarshal([]byte(s), &f); err != nil {
3597		return err
3598	}
3599	if len(f) > 0 {
3600		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveDelayInfoListRequest has unknown keys!", "")
3601	}
3602	return json.Unmarshal([]byte(s), &r)
3603}
3604
3605type DescribeLiveDelayInfoListResponse struct {
3606	*tchttp.BaseResponse
3607	Response *struct {
3608
3609		// 延播信息列表。
3610		DelayInfoList []*DelayInfo `json:"DelayInfoList,omitempty" name:"DelayInfoList"`
3611
3612		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3613		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3614	} `json:"Response"`
3615}
3616
3617func (r *DescribeLiveDelayInfoListResponse) ToJsonString() string {
3618    b, _ := json.Marshal(r)
3619    return string(b)
3620}
3621
3622// FromJsonString It is highly **NOT** recommended to use this function
3623// because it has no param check, nor strict type check
3624func (r *DescribeLiveDelayInfoListResponse) FromJsonString(s string) error {
3625	return json.Unmarshal([]byte(s), &r)
3626}
3627
3628type DescribeLiveDomainCertRequest struct {
3629	*tchttp.BaseRequest
3630
3631	// 播放域名。
3632	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
3633}
3634
3635func (r *DescribeLiveDomainCertRequest) ToJsonString() string {
3636    b, _ := json.Marshal(r)
3637    return string(b)
3638}
3639
3640// FromJsonString It is highly **NOT** recommended to use this function
3641// because it has no param check, nor strict type check
3642func (r *DescribeLiveDomainCertRequest) FromJsonString(s string) error {
3643	f := make(map[string]interface{})
3644	if err := json.Unmarshal([]byte(s), &f); err != nil {
3645		return err
3646	}
3647	delete(f, "DomainName")
3648	if len(f) > 0 {
3649		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveDomainCertRequest has unknown keys!", "")
3650	}
3651	return json.Unmarshal([]byte(s), &r)
3652}
3653
3654type DescribeLiveDomainCertResponse struct {
3655	*tchttp.BaseResponse
3656	Response *struct {
3657
3658		// 证书信息。
3659		DomainCertInfo *DomainCertInfo `json:"DomainCertInfo,omitempty" name:"DomainCertInfo"`
3660
3661		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3662		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3663	} `json:"Response"`
3664}
3665
3666func (r *DescribeLiveDomainCertResponse) ToJsonString() string {
3667    b, _ := json.Marshal(r)
3668    return string(b)
3669}
3670
3671// FromJsonString It is highly **NOT** recommended to use this function
3672// because it has no param check, nor strict type check
3673func (r *DescribeLiveDomainCertResponse) FromJsonString(s string) error {
3674	return json.Unmarshal([]byte(s), &r)
3675}
3676
3677type DescribeLiveDomainPlayInfoListRequest struct {
3678	*tchttp.BaseRequest
3679
3680	// 播放域名列表。
3681	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
3682}
3683
3684func (r *DescribeLiveDomainPlayInfoListRequest) ToJsonString() string {
3685    b, _ := json.Marshal(r)
3686    return string(b)
3687}
3688
3689// FromJsonString It is highly **NOT** recommended to use this function
3690// because it has no param check, nor strict type check
3691func (r *DescribeLiveDomainPlayInfoListRequest) FromJsonString(s string) error {
3692	f := make(map[string]interface{})
3693	if err := json.Unmarshal([]byte(s), &f); err != nil {
3694		return err
3695	}
3696	delete(f, "PlayDomains")
3697	if len(f) > 0 {
3698		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveDomainPlayInfoListRequest has unknown keys!", "")
3699	}
3700	return json.Unmarshal([]byte(s), &r)
3701}
3702
3703type DescribeLiveDomainPlayInfoListResponse struct {
3704	*tchttp.BaseResponse
3705	Response *struct {
3706
3707		// 数据时间,格式为yyyy-mm-dd HH:MM:SS。
3708		Time *string `json:"Time,omitempty" name:"Time"`
3709
3710		// 实时总带宽。
3711		TotalBandwidth *float64 `json:"TotalBandwidth,omitempty" name:"TotalBandwidth"`
3712
3713		// 实时总流量。
3714		TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
3715
3716		// 总请求数。
3717		TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"`
3718
3719		// 实时总连接数。
3720		TotalOnline *uint64 `json:"TotalOnline,omitempty" name:"TotalOnline"`
3721
3722		// 分域名的数据情况。
3723		DomainInfoList []*DomainInfoList `json:"DomainInfoList,omitempty" name:"DomainInfoList"`
3724
3725		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3726		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3727	} `json:"Response"`
3728}
3729
3730func (r *DescribeLiveDomainPlayInfoListResponse) ToJsonString() string {
3731    b, _ := json.Marshal(r)
3732    return string(b)
3733}
3734
3735// FromJsonString It is highly **NOT** recommended to use this function
3736// because it has no param check, nor strict type check
3737func (r *DescribeLiveDomainPlayInfoListResponse) FromJsonString(s string) error {
3738	return json.Unmarshal([]byte(s), &r)
3739}
3740
3741type DescribeLiveDomainRefererRequest struct {
3742	*tchttp.BaseRequest
3743
3744	// 播放域名。
3745	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
3746}
3747
3748func (r *DescribeLiveDomainRefererRequest) ToJsonString() string {
3749    b, _ := json.Marshal(r)
3750    return string(b)
3751}
3752
3753// FromJsonString It is highly **NOT** recommended to use this function
3754// because it has no param check, nor strict type check
3755func (r *DescribeLiveDomainRefererRequest) FromJsonString(s string) error {
3756	f := make(map[string]interface{})
3757	if err := json.Unmarshal([]byte(s), &f); err != nil {
3758		return err
3759	}
3760	delete(f, "DomainName")
3761	if len(f) > 0 {
3762		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveDomainRefererRequest has unknown keys!", "")
3763	}
3764	return json.Unmarshal([]byte(s), &r)
3765}
3766
3767type DescribeLiveDomainRefererResponse struct {
3768	*tchttp.BaseResponse
3769	Response *struct {
3770
3771		// 域名 Referer 黑白名单配置。
3772		RefererAuthConfig *RefererAuthConfig `json:"RefererAuthConfig,omitempty" name:"RefererAuthConfig"`
3773
3774		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3775		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3776	} `json:"Response"`
3777}
3778
3779func (r *DescribeLiveDomainRefererResponse) ToJsonString() string {
3780    b, _ := json.Marshal(r)
3781    return string(b)
3782}
3783
3784// FromJsonString It is highly **NOT** recommended to use this function
3785// because it has no param check, nor strict type check
3786func (r *DescribeLiveDomainRefererResponse) FromJsonString(s string) error {
3787	return json.Unmarshal([]byte(s), &r)
3788}
3789
3790type DescribeLiveDomainRequest struct {
3791	*tchttp.BaseRequest
3792
3793	// 域名。
3794	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
3795}
3796
3797func (r *DescribeLiveDomainRequest) ToJsonString() string {
3798    b, _ := json.Marshal(r)
3799    return string(b)
3800}
3801
3802// FromJsonString It is highly **NOT** recommended to use this function
3803// because it has no param check, nor strict type check
3804func (r *DescribeLiveDomainRequest) FromJsonString(s string) error {
3805	f := make(map[string]interface{})
3806	if err := json.Unmarshal([]byte(s), &f); err != nil {
3807		return err
3808	}
3809	delete(f, "DomainName")
3810	if len(f) > 0 {
3811		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveDomainRequest has unknown keys!", "")
3812	}
3813	return json.Unmarshal([]byte(s), &r)
3814}
3815
3816type DescribeLiveDomainResponse struct {
3817	*tchttp.BaseResponse
3818	Response *struct {
3819
3820		// 域名信息。
3821	// 注意:此字段可能返回 null,表示取不到有效值。
3822		DomainInfo *DomainInfo `json:"DomainInfo,omitempty" name:"DomainInfo"`
3823
3824		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3825		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3826	} `json:"Response"`
3827}
3828
3829func (r *DescribeLiveDomainResponse) ToJsonString() string {
3830    b, _ := json.Marshal(r)
3831    return string(b)
3832}
3833
3834// FromJsonString It is highly **NOT** recommended to use this function
3835// because it has no param check, nor strict type check
3836func (r *DescribeLiveDomainResponse) FromJsonString(s string) error {
3837	return json.Unmarshal([]byte(s), &r)
3838}
3839
3840type DescribeLiveDomainsRequest struct {
3841	*tchttp.BaseRequest
3842
3843	// 域名状态过滤。0-停用,1-启用。
3844	DomainStatus *uint64 `json:"DomainStatus,omitempty" name:"DomainStatus"`
3845
3846	// 域名类型过滤。0-推流,1-播放。
3847	DomainType *uint64 `json:"DomainType,omitempty" name:"DomainType"`
3848
3849	// 分页大小,范围:10~100。默认10。
3850	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
3851
3852	// 取第几页,范围:1~100000。默认1。
3853	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
3854
3855	// 0 普通直播 1慢直播 默认0。
3856	IsDelayLive *uint64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"`
3857
3858	// 域名前缀。
3859	DomainPrefix *string `json:"DomainPrefix,omitempty" name:"DomainPrefix"`
3860}
3861
3862func (r *DescribeLiveDomainsRequest) ToJsonString() string {
3863    b, _ := json.Marshal(r)
3864    return string(b)
3865}
3866
3867// FromJsonString It is highly **NOT** recommended to use this function
3868// because it has no param check, nor strict type check
3869func (r *DescribeLiveDomainsRequest) FromJsonString(s string) error {
3870	f := make(map[string]interface{})
3871	if err := json.Unmarshal([]byte(s), &f); err != nil {
3872		return err
3873	}
3874	delete(f, "DomainStatus")
3875	delete(f, "DomainType")
3876	delete(f, "PageSize")
3877	delete(f, "PageNum")
3878	delete(f, "IsDelayLive")
3879	delete(f, "DomainPrefix")
3880	if len(f) > 0 {
3881		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveDomainsRequest has unknown keys!", "")
3882	}
3883	return json.Unmarshal([]byte(s), &r)
3884}
3885
3886type DescribeLiveDomainsResponse struct {
3887	*tchttp.BaseResponse
3888	Response *struct {
3889
3890		// 总记录数。
3891		AllCount *uint64 `json:"AllCount,omitempty" name:"AllCount"`
3892
3893		// 域名详细信息列表。
3894		DomainList []*DomainInfo `json:"DomainList,omitempty" name:"DomainList"`
3895
3896		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3897		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3898	} `json:"Response"`
3899}
3900
3901func (r *DescribeLiveDomainsResponse) ToJsonString() string {
3902    b, _ := json.Marshal(r)
3903    return string(b)
3904}
3905
3906// FromJsonString It is highly **NOT** recommended to use this function
3907// because it has no param check, nor strict type check
3908func (r *DescribeLiveDomainsResponse) FromJsonString(s string) error {
3909	return json.Unmarshal([]byte(s), &r)
3910}
3911
3912type DescribeLiveForbidStreamListRequest struct {
3913	*tchttp.BaseRequest
3914
3915	// 取得第几页,默认1。
3916	PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`
3917
3918	// 每页大小,最大100。
3919	// 取值:1~100之前的任意整数。
3920	// 默认值:10。
3921	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
3922
3923	// 搜索的推流 id 名称。
3924	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
3925}
3926
3927func (r *DescribeLiveForbidStreamListRequest) ToJsonString() string {
3928    b, _ := json.Marshal(r)
3929    return string(b)
3930}
3931
3932// FromJsonString It is highly **NOT** recommended to use this function
3933// because it has no param check, nor strict type check
3934func (r *DescribeLiveForbidStreamListRequest) FromJsonString(s string) error {
3935	f := make(map[string]interface{})
3936	if err := json.Unmarshal([]byte(s), &f); err != nil {
3937		return err
3938	}
3939	delete(f, "PageNum")
3940	delete(f, "PageSize")
3941	delete(f, "StreamName")
3942	if len(f) > 0 {
3943		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveForbidStreamListRequest has unknown keys!", "")
3944	}
3945	return json.Unmarshal([]byte(s), &r)
3946}
3947
3948type DescribeLiveForbidStreamListResponse struct {
3949	*tchttp.BaseResponse
3950	Response *struct {
3951
3952		// 符合条件的总个数。
3953		TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"`
3954
3955		// 总页数。
3956		TotalPage *int64 `json:"TotalPage,omitempty" name:"TotalPage"`
3957
3958		// 分页的页码。
3959		PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`
3960
3961		// 每页显示的条数。
3962		PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
3963
3964		// 禁推流列表。
3965		ForbidStreamList []*ForbidStreamInfo `json:"ForbidStreamList,omitempty" name:"ForbidStreamList"`
3966
3967		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3968		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
3969	} `json:"Response"`
3970}
3971
3972func (r *DescribeLiveForbidStreamListResponse) ToJsonString() string {
3973    b, _ := json.Marshal(r)
3974    return string(b)
3975}
3976
3977// FromJsonString It is highly **NOT** recommended to use this function
3978// because it has no param check, nor strict type check
3979func (r *DescribeLiveForbidStreamListResponse) FromJsonString(s string) error {
3980	return json.Unmarshal([]byte(s), &r)
3981}
3982
3983type DescribeLivePackageInfoRequest struct {
3984	*tchttp.BaseRequest
3985
3986	// 包类型,可选值:
3987	// 0:流量包;
3988	// 1:转码包。
3989	// 2: 连麦包。
3990	PackageType *int64 `json:"PackageType,omitempty" name:"PackageType"`
3991
3992	// 排序规则:
3993	// 1. BuyTimeDesc: 最新购买的排在最前面
3994	// 2. BuyTimeAsc: 最老购买的排在最前面
3995	// 3. ExpireTimeDesc: 最后过期的排在最前面
3996	// 4. ExpireTimeAsc:最先过期的排在最前面
3997	//
3998	// 注意:
3999	// 1. PackageType 为 2(连麦包) 的时候,不支持 3、4 排序
4000	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`
4001
4002	// 取得第几页的数据,和 PageSize 同时传递才会生效。
4003	PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`
4004
4005	// 分页大小,和 PageNum 同时传递才会生效。
4006	// 取值:10 ~ 100 之间的任意整数
4007	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
4008}
4009
4010func (r *DescribeLivePackageInfoRequest) ToJsonString() string {
4011    b, _ := json.Marshal(r)
4012    return string(b)
4013}
4014
4015// FromJsonString It is highly **NOT** recommended to use this function
4016// because it has no param check, nor strict type check
4017func (r *DescribeLivePackageInfoRequest) FromJsonString(s string) error {
4018	f := make(map[string]interface{})
4019	if err := json.Unmarshal([]byte(s), &f); err != nil {
4020		return err
4021	}
4022	delete(f, "PackageType")
4023	delete(f, "OrderBy")
4024	delete(f, "PageNum")
4025	delete(f, "PageSize")
4026	if len(f) > 0 {
4027		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLivePackageInfoRequest has unknown keys!", "")
4028	}
4029	return json.Unmarshal([]byte(s), &r)
4030}
4031
4032type DescribeLivePackageInfoResponse struct {
4033	*tchttp.BaseResponse
4034	Response *struct {
4035
4036		// 套餐包信息。
4037	// 注意:此字段可能返回 null,表示取不到有效值。
4038		LivePackageInfoList []*LivePackageInfo `json:"LivePackageInfoList,omitempty" name:"LivePackageInfoList"`
4039
4040		// 套餐包当前计费方式:
4041	// -1: 无计费方式或获取失败
4042	// 0: 无计费方式
4043	// 201: 月结带宽
4044	// 202: 月结流量
4045	// 203: 日结带宽
4046	// 204: 日结流量
4047	// 205: 日结时长
4048	// 206: 月结时长
4049	// 304: 日结流量
4050	// 注意:此字段可能返回 null,表示取不到有效值。
4051		PackageBillMode *int64 `json:"PackageBillMode,omitempty" name:"PackageBillMode"`
4052
4053		// 总页数
4054	// 注意:此字段可能返回 null,表示取不到有效值。
4055		TotalPage *int64 `json:"TotalPage,omitempty" name:"TotalPage"`
4056
4057		// 数据总条数
4058	// 注意:此字段可能返回 null,表示取不到有效值。
4059		TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"`
4060
4061		// 当前页数
4062	// 注意:此字段可能返回 null,表示取不到有效值。
4063		PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`
4064
4065		// 当前每页数量
4066	// 注意:此字段可能返回 null,表示取不到有效值。
4067		PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
4068
4069		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4070		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4071	} `json:"Response"`
4072}
4073
4074func (r *DescribeLivePackageInfoResponse) ToJsonString() string {
4075    b, _ := json.Marshal(r)
4076    return string(b)
4077}
4078
4079// FromJsonString It is highly **NOT** recommended to use this function
4080// because it has no param check, nor strict type check
4081func (r *DescribeLivePackageInfoResponse) FromJsonString(s string) error {
4082	return json.Unmarshal([]byte(s), &r)
4083}
4084
4085type DescribeLivePlayAuthKeyRequest struct {
4086	*tchttp.BaseRequest
4087
4088	// 域名。
4089	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
4090}
4091
4092func (r *DescribeLivePlayAuthKeyRequest) ToJsonString() string {
4093    b, _ := json.Marshal(r)
4094    return string(b)
4095}
4096
4097// FromJsonString It is highly **NOT** recommended to use this function
4098// because it has no param check, nor strict type check
4099func (r *DescribeLivePlayAuthKeyRequest) FromJsonString(s string) error {
4100	f := make(map[string]interface{})
4101	if err := json.Unmarshal([]byte(s), &f); err != nil {
4102		return err
4103	}
4104	delete(f, "DomainName")
4105	if len(f) > 0 {
4106		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLivePlayAuthKeyRequest has unknown keys!", "")
4107	}
4108	return json.Unmarshal([]byte(s), &r)
4109}
4110
4111type DescribeLivePlayAuthKeyResponse struct {
4112	*tchttp.BaseResponse
4113	Response *struct {
4114
4115		// 播放鉴权key信息。
4116		PlayAuthKeyInfo *PlayAuthKeyInfo `json:"PlayAuthKeyInfo,omitempty" name:"PlayAuthKeyInfo"`
4117
4118		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4119		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4120	} `json:"Response"`
4121}
4122
4123func (r *DescribeLivePlayAuthKeyResponse) ToJsonString() string {
4124    b, _ := json.Marshal(r)
4125    return string(b)
4126}
4127
4128// FromJsonString It is highly **NOT** recommended to use this function
4129// because it has no param check, nor strict type check
4130func (r *DescribeLivePlayAuthKeyResponse) FromJsonString(s string) error {
4131	return json.Unmarshal([]byte(s), &r)
4132}
4133
4134type DescribeLivePullStreamTasksRequest struct {
4135	*tchttp.BaseRequest
4136
4137	// 任务 ID。
4138	// 来源:调用 CreateLivePullStreamTask 接口时返回。
4139	// 不填默认查询所有任务,按更新时间倒序排序。
4140	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
4141
4142	// 取得第几页,默认值:1。
4143	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4144
4145	// 分页大小,默认值:10。
4146	// 取值范围:1~20 之前的任意整数。
4147	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4148}
4149
4150func (r *DescribeLivePullStreamTasksRequest) ToJsonString() string {
4151    b, _ := json.Marshal(r)
4152    return string(b)
4153}
4154
4155// FromJsonString It is highly **NOT** recommended to use this function
4156// because it has no param check, nor strict type check
4157func (r *DescribeLivePullStreamTasksRequest) FromJsonString(s string) error {
4158	f := make(map[string]interface{})
4159	if err := json.Unmarshal([]byte(s), &f); err != nil {
4160		return err
4161	}
4162	delete(f, "TaskId")
4163	delete(f, "PageNum")
4164	delete(f, "PageSize")
4165	if len(f) > 0 {
4166		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLivePullStreamTasksRequest has unknown keys!", "")
4167	}
4168	return json.Unmarshal([]byte(s), &r)
4169}
4170
4171type DescribeLivePullStreamTasksResponse struct {
4172	*tchttp.BaseResponse
4173	Response *struct {
4174
4175		// 直播拉流任务信息列表。
4176		TaskInfos []*PullStreamTaskInfo `json:"TaskInfos,omitempty" name:"TaskInfos"`
4177
4178		// 分页的页码。
4179		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4180
4181		// 每页大小。
4182		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4183
4184		// 符合条件的总个数。
4185		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
4186
4187		// 总页数。
4188		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
4189
4190		// 限制可创建的最大任务数。
4191		LimitTaskNum *uint64 `json:"LimitTaskNum,omitempty" name:"LimitTaskNum"`
4192
4193		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4194		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4195	} `json:"Response"`
4196}
4197
4198func (r *DescribeLivePullStreamTasksResponse) ToJsonString() string {
4199    b, _ := json.Marshal(r)
4200    return string(b)
4201}
4202
4203// FromJsonString It is highly **NOT** recommended to use this function
4204// because it has no param check, nor strict type check
4205func (r *DescribeLivePullStreamTasksResponse) FromJsonString(s string) error {
4206	return json.Unmarshal([]byte(s), &r)
4207}
4208
4209type DescribeLivePushAuthKeyRequest struct {
4210	*tchttp.BaseRequest
4211
4212	// 推流域名。
4213	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
4214}
4215
4216func (r *DescribeLivePushAuthKeyRequest) ToJsonString() string {
4217    b, _ := json.Marshal(r)
4218    return string(b)
4219}
4220
4221// FromJsonString It is highly **NOT** recommended to use this function
4222// because it has no param check, nor strict type check
4223func (r *DescribeLivePushAuthKeyRequest) FromJsonString(s string) error {
4224	f := make(map[string]interface{})
4225	if err := json.Unmarshal([]byte(s), &f); err != nil {
4226		return err
4227	}
4228	delete(f, "DomainName")
4229	if len(f) > 0 {
4230		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLivePushAuthKeyRequest has unknown keys!", "")
4231	}
4232	return json.Unmarshal([]byte(s), &r)
4233}
4234
4235type DescribeLivePushAuthKeyResponse struct {
4236	*tchttp.BaseResponse
4237	Response *struct {
4238
4239		// 推流鉴权key信息。
4240		PushAuthKeyInfo *PushAuthKeyInfo `json:"PushAuthKeyInfo,omitempty" name:"PushAuthKeyInfo"`
4241
4242		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4243		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4244	} `json:"Response"`
4245}
4246
4247func (r *DescribeLivePushAuthKeyResponse) ToJsonString() string {
4248    b, _ := json.Marshal(r)
4249    return string(b)
4250}
4251
4252// FromJsonString It is highly **NOT** recommended to use this function
4253// because it has no param check, nor strict type check
4254func (r *DescribeLivePushAuthKeyResponse) FromJsonString(s string) error {
4255	return json.Unmarshal([]byte(s), &r)
4256}
4257
4258type DescribeLiveRecordRulesRequest struct {
4259	*tchttp.BaseRequest
4260}
4261
4262func (r *DescribeLiveRecordRulesRequest) ToJsonString() string {
4263    b, _ := json.Marshal(r)
4264    return string(b)
4265}
4266
4267// FromJsonString It is highly **NOT** recommended to use this function
4268// because it has no param check, nor strict type check
4269func (r *DescribeLiveRecordRulesRequest) FromJsonString(s string) error {
4270	f := make(map[string]interface{})
4271	if err := json.Unmarshal([]byte(s), &f); err != nil {
4272		return err
4273	}
4274	if len(f) > 0 {
4275		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordRulesRequest has unknown keys!", "")
4276	}
4277	return json.Unmarshal([]byte(s), &r)
4278}
4279
4280type DescribeLiveRecordRulesResponse struct {
4281	*tchttp.BaseResponse
4282	Response *struct {
4283
4284		// 规则列表。
4285		Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"`
4286
4287		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4288		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4289	} `json:"Response"`
4290}
4291
4292func (r *DescribeLiveRecordRulesResponse) ToJsonString() string {
4293    b, _ := json.Marshal(r)
4294    return string(b)
4295}
4296
4297// FromJsonString It is highly **NOT** recommended to use this function
4298// because it has no param check, nor strict type check
4299func (r *DescribeLiveRecordRulesResponse) FromJsonString(s string) error {
4300	return json.Unmarshal([]byte(s), &r)
4301}
4302
4303type DescribeLiveRecordTemplateRequest struct {
4304	*tchttp.BaseRequest
4305
4306	// [DescribeLiveRecordTemplates](/document/product/267/32609)接口获取到的模板 ID。
4307	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
4308}
4309
4310func (r *DescribeLiveRecordTemplateRequest) ToJsonString() string {
4311    b, _ := json.Marshal(r)
4312    return string(b)
4313}
4314
4315// FromJsonString It is highly **NOT** recommended to use this function
4316// because it has no param check, nor strict type check
4317func (r *DescribeLiveRecordTemplateRequest) FromJsonString(s string) error {
4318	f := make(map[string]interface{})
4319	if err := json.Unmarshal([]byte(s), &f); err != nil {
4320		return err
4321	}
4322	delete(f, "TemplateId")
4323	if len(f) > 0 {
4324		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordTemplateRequest has unknown keys!", "")
4325	}
4326	return json.Unmarshal([]byte(s), &r)
4327}
4328
4329type DescribeLiveRecordTemplateResponse struct {
4330	*tchttp.BaseResponse
4331	Response *struct {
4332
4333		// 录制模板信息。
4334		Template *RecordTemplateInfo `json:"Template,omitempty" name:"Template"`
4335
4336		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4337		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4338	} `json:"Response"`
4339}
4340
4341func (r *DescribeLiveRecordTemplateResponse) ToJsonString() string {
4342    b, _ := json.Marshal(r)
4343    return string(b)
4344}
4345
4346// FromJsonString It is highly **NOT** recommended to use this function
4347// because it has no param check, nor strict type check
4348func (r *DescribeLiveRecordTemplateResponse) FromJsonString(s string) error {
4349	return json.Unmarshal([]byte(s), &r)
4350}
4351
4352type DescribeLiveRecordTemplatesRequest struct {
4353	*tchttp.BaseRequest
4354
4355	// 是否属于慢直播模板,默认:0。
4356	// 0: 标准直播。
4357	// 1:慢直播。
4358	IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"`
4359}
4360
4361func (r *DescribeLiveRecordTemplatesRequest) ToJsonString() string {
4362    b, _ := json.Marshal(r)
4363    return string(b)
4364}
4365
4366// FromJsonString It is highly **NOT** recommended to use this function
4367// because it has no param check, nor strict type check
4368func (r *DescribeLiveRecordTemplatesRequest) FromJsonString(s string) error {
4369	f := make(map[string]interface{})
4370	if err := json.Unmarshal([]byte(s), &f); err != nil {
4371		return err
4372	}
4373	delete(f, "IsDelayLive")
4374	if len(f) > 0 {
4375		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordTemplatesRequest has unknown keys!", "")
4376	}
4377	return json.Unmarshal([]byte(s), &r)
4378}
4379
4380type DescribeLiveRecordTemplatesResponse struct {
4381	*tchttp.BaseResponse
4382	Response *struct {
4383
4384		// 录制模板信息列表。
4385		Templates []*RecordTemplateInfo `json:"Templates,omitempty" name:"Templates"`
4386
4387		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4388		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4389	} `json:"Response"`
4390}
4391
4392func (r *DescribeLiveRecordTemplatesResponse) ToJsonString() string {
4393    b, _ := json.Marshal(r)
4394    return string(b)
4395}
4396
4397// FromJsonString It is highly **NOT** recommended to use this function
4398// because it has no param check, nor strict type check
4399func (r *DescribeLiveRecordTemplatesResponse) FromJsonString(s string) error {
4400	return json.Unmarshal([]byte(s), &r)
4401}
4402
4403type DescribeLiveSnapshotRulesRequest struct {
4404	*tchttp.BaseRequest
4405}
4406
4407func (r *DescribeLiveSnapshotRulesRequest) ToJsonString() string {
4408    b, _ := json.Marshal(r)
4409    return string(b)
4410}
4411
4412// FromJsonString It is highly **NOT** recommended to use this function
4413// because it has no param check, nor strict type check
4414func (r *DescribeLiveSnapshotRulesRequest) FromJsonString(s string) error {
4415	f := make(map[string]interface{})
4416	if err := json.Unmarshal([]byte(s), &f); err != nil {
4417		return err
4418	}
4419	if len(f) > 0 {
4420		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveSnapshotRulesRequest has unknown keys!", "")
4421	}
4422	return json.Unmarshal([]byte(s), &r)
4423}
4424
4425type DescribeLiveSnapshotRulesResponse struct {
4426	*tchttp.BaseResponse
4427	Response *struct {
4428
4429		// 规则列表。
4430		Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"`
4431
4432		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4433		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4434	} `json:"Response"`
4435}
4436
4437func (r *DescribeLiveSnapshotRulesResponse) ToJsonString() string {
4438    b, _ := json.Marshal(r)
4439    return string(b)
4440}
4441
4442// FromJsonString It is highly **NOT** recommended to use this function
4443// because it has no param check, nor strict type check
4444func (r *DescribeLiveSnapshotRulesResponse) FromJsonString(s string) error {
4445	return json.Unmarshal([]byte(s), &r)
4446}
4447
4448type DescribeLiveSnapshotTemplateRequest struct {
4449	*tchttp.BaseRequest
4450
4451	// 模板 ID。
4452	// 调用 [CreateLiveSnapshotTemplate](/document/product/267/32624) 时返回的模板 ID。
4453	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
4454}
4455
4456func (r *DescribeLiveSnapshotTemplateRequest) ToJsonString() string {
4457    b, _ := json.Marshal(r)
4458    return string(b)
4459}
4460
4461// FromJsonString It is highly **NOT** recommended to use this function
4462// because it has no param check, nor strict type check
4463func (r *DescribeLiveSnapshotTemplateRequest) FromJsonString(s string) error {
4464	f := make(map[string]interface{})
4465	if err := json.Unmarshal([]byte(s), &f); err != nil {
4466		return err
4467	}
4468	delete(f, "TemplateId")
4469	if len(f) > 0 {
4470		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveSnapshotTemplateRequest has unknown keys!", "")
4471	}
4472	return json.Unmarshal([]byte(s), &r)
4473}
4474
4475type DescribeLiveSnapshotTemplateResponse struct {
4476	*tchttp.BaseResponse
4477	Response *struct {
4478
4479		// 截图模板信息。
4480		Template *SnapshotTemplateInfo `json:"Template,omitempty" name:"Template"`
4481
4482		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4483		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4484	} `json:"Response"`
4485}
4486
4487func (r *DescribeLiveSnapshotTemplateResponse) ToJsonString() string {
4488    b, _ := json.Marshal(r)
4489    return string(b)
4490}
4491
4492// FromJsonString It is highly **NOT** recommended to use this function
4493// because it has no param check, nor strict type check
4494func (r *DescribeLiveSnapshotTemplateResponse) FromJsonString(s string) error {
4495	return json.Unmarshal([]byte(s), &r)
4496}
4497
4498type DescribeLiveSnapshotTemplatesRequest struct {
4499	*tchttp.BaseRequest
4500}
4501
4502func (r *DescribeLiveSnapshotTemplatesRequest) ToJsonString() string {
4503    b, _ := json.Marshal(r)
4504    return string(b)
4505}
4506
4507// FromJsonString It is highly **NOT** recommended to use this function
4508// because it has no param check, nor strict type check
4509func (r *DescribeLiveSnapshotTemplatesRequest) FromJsonString(s string) error {
4510	f := make(map[string]interface{})
4511	if err := json.Unmarshal([]byte(s), &f); err != nil {
4512		return err
4513	}
4514	if len(f) > 0 {
4515		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveSnapshotTemplatesRequest has unknown keys!", "")
4516	}
4517	return json.Unmarshal([]byte(s), &r)
4518}
4519
4520type DescribeLiveSnapshotTemplatesResponse struct {
4521	*tchttp.BaseResponse
4522	Response *struct {
4523
4524		// 截图模板列表。
4525		Templates []*SnapshotTemplateInfo `json:"Templates,omitempty" name:"Templates"`
4526
4527		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4528		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4529	} `json:"Response"`
4530}
4531
4532func (r *DescribeLiveSnapshotTemplatesResponse) ToJsonString() string {
4533    b, _ := json.Marshal(r)
4534    return string(b)
4535}
4536
4537// FromJsonString It is highly **NOT** recommended to use this function
4538// because it has no param check, nor strict type check
4539func (r *DescribeLiveSnapshotTemplatesResponse) FromJsonString(s string) error {
4540	return json.Unmarshal([]byte(s), &r)
4541}
4542
4543type DescribeLiveStreamEventListRequest struct {
4544	*tchttp.BaseRequest
4545
4546	// 起始时间。
4547	// UTC 格式,例如:2018-12-29T19:00:00Z。
4548	// 支持查询60天内的历史记录。
4549	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
4550
4551	// 结束时间。
4552	// UTC 格式,例如:2018-12-29T20:00:00Z。
4553	// 不超过当前时间,且和起始时间相差不得超过30天。
4554	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
4555
4556	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
4557	AppName *string `json:"AppName,omitempty" name:"AppName"`
4558
4559	// 推流域名。
4560	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
4561
4562	// 流名称,不支持通配符(*)查询,默认模糊匹配。
4563	// 可使用IsStrict字段改为精确查询。
4564	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
4565
4566	// 取得第几页。
4567	// 默认值:1。
4568	// 注: 目前只支持10000条内的查询。
4569	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4570
4571	// 分页大小。
4572	// 最大值:100。
4573	// 取值范围:1~100 之间的任意整数。
4574	// 默认值:10。
4575	// 注: 目前只支持10000条内的查询。
4576	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4577
4578	// 是否过滤,默认不过滤。
4579	// 0:不进行任何过滤。
4580	// 1:过滤掉开播失败的,只返回开播成功的。
4581	IsFilter *int64 `json:"IsFilter,omitempty" name:"IsFilter"`
4582
4583	// 是否精确查询,默认模糊匹配。
4584	// 0:模糊匹配。
4585	// 1:精确查询。
4586	// 注:使用StreamName时该参数生效。
4587	IsStrict *int64 `json:"IsStrict,omitempty" name:"IsStrict"`
4588
4589	// 是否按结束时间正序显示,默认逆序。
4590	// 0:逆序。
4591	// 1:正序。
4592	IsAsc *int64 `json:"IsAsc,omitempty" name:"IsAsc"`
4593}
4594
4595func (r *DescribeLiveStreamEventListRequest) ToJsonString() string {
4596    b, _ := json.Marshal(r)
4597    return string(b)
4598}
4599
4600// FromJsonString It is highly **NOT** recommended to use this function
4601// because it has no param check, nor strict type check
4602func (r *DescribeLiveStreamEventListRequest) FromJsonString(s string) error {
4603	f := make(map[string]interface{})
4604	if err := json.Unmarshal([]byte(s), &f); err != nil {
4605		return err
4606	}
4607	delete(f, "StartTime")
4608	delete(f, "EndTime")
4609	delete(f, "AppName")
4610	delete(f, "DomainName")
4611	delete(f, "StreamName")
4612	delete(f, "PageNum")
4613	delete(f, "PageSize")
4614	delete(f, "IsFilter")
4615	delete(f, "IsStrict")
4616	delete(f, "IsAsc")
4617	if len(f) > 0 {
4618		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamEventListRequest has unknown keys!", "")
4619	}
4620	return json.Unmarshal([]byte(s), &r)
4621}
4622
4623type DescribeLiveStreamEventListResponse struct {
4624	*tchttp.BaseResponse
4625	Response *struct {
4626
4627		// 推断流事件列表。
4628		EventList []*StreamEventInfo `json:"EventList,omitempty" name:"EventList"`
4629
4630		// 分页的页码。
4631		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4632
4633		// 每页大小。
4634		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4635
4636		// 符合条件的总个数。
4637		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
4638
4639		// 总页数。
4640		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
4641
4642		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4643		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4644	} `json:"Response"`
4645}
4646
4647func (r *DescribeLiveStreamEventListResponse) ToJsonString() string {
4648    b, _ := json.Marshal(r)
4649    return string(b)
4650}
4651
4652// FromJsonString It is highly **NOT** recommended to use this function
4653// because it has no param check, nor strict type check
4654func (r *DescribeLiveStreamEventListResponse) FromJsonString(s string) error {
4655	return json.Unmarshal([]byte(s), &r)
4656}
4657
4658type DescribeLiveStreamOnlineListRequest struct {
4659	*tchttp.BaseRequest
4660
4661	// 推流域名。多域名用户需要填写 DomainName。
4662	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
4663
4664	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。多路径用户需要填写 AppName。
4665	AppName *string `json:"AppName,omitempty" name:"AppName"`
4666
4667	// 取得第几页,默认1。
4668	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4669
4670	// 每页大小,最大100。
4671	// 取值:10~100之间的任意整数。
4672	// 默认值:10。
4673	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4674
4675	// 流名称,用于精确查询。
4676	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
4677}
4678
4679func (r *DescribeLiveStreamOnlineListRequest) ToJsonString() string {
4680    b, _ := json.Marshal(r)
4681    return string(b)
4682}
4683
4684// FromJsonString It is highly **NOT** recommended to use this function
4685// because it has no param check, nor strict type check
4686func (r *DescribeLiveStreamOnlineListRequest) FromJsonString(s string) error {
4687	f := make(map[string]interface{})
4688	if err := json.Unmarshal([]byte(s), &f); err != nil {
4689		return err
4690	}
4691	delete(f, "DomainName")
4692	delete(f, "AppName")
4693	delete(f, "PageNum")
4694	delete(f, "PageSize")
4695	delete(f, "StreamName")
4696	if len(f) > 0 {
4697		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamOnlineListRequest has unknown keys!", "")
4698	}
4699	return json.Unmarshal([]byte(s), &r)
4700}
4701
4702type DescribeLiveStreamOnlineListResponse struct {
4703	*tchttp.BaseResponse
4704	Response *struct {
4705
4706		// 符合条件的总个数。
4707		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
4708
4709		// 总页数。
4710		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
4711
4712		// 分页的页码。
4713		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4714
4715		// 每页显示的条数。
4716		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4717
4718		// 正在推送流的信息列表。
4719		OnlineInfo []*StreamOnlineInfo `json:"OnlineInfo,omitempty" name:"OnlineInfo"`
4720
4721		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4722		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4723	} `json:"Response"`
4724}
4725
4726func (r *DescribeLiveStreamOnlineListResponse) ToJsonString() string {
4727    b, _ := json.Marshal(r)
4728    return string(b)
4729}
4730
4731// FromJsonString It is highly **NOT** recommended to use this function
4732// because it has no param check, nor strict type check
4733func (r *DescribeLiveStreamOnlineListResponse) FromJsonString(s string) error {
4734	return json.Unmarshal([]byte(s), &r)
4735}
4736
4737type DescribeLiveStreamPublishedListRequest struct {
4738	*tchttp.BaseRequest
4739
4740	// 您的推流域名。
4741	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
4742
4743	// 结束时间。
4744	// UTC 格式,例如:2016-06-30T19:00:00Z。
4745	// 不超过当前时间。
4746	// 注意:EndTime和StartTime相差不可超过30天。
4747	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
4748
4749	// 起始时间。
4750	// UTC 格式,例如:2016-06-29T19:00:00Z。
4751	// 最长支持查询60天内数据。
4752	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
4753
4754	// 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。不支持模糊匹配。
4755	AppName *string `json:"AppName,omitempty" name:"AppName"`
4756
4757	// 取得第几页。
4758	// 默认值:1。
4759	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4760
4761	// 分页大小。
4762	// 最大值:100。
4763	// 取值范围:10~100 之前的任意整数。
4764	// 默认值:10。
4765	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4766
4767	// 流名称,支持模糊匹配。
4768	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
4769}
4770
4771func (r *DescribeLiveStreamPublishedListRequest) ToJsonString() string {
4772    b, _ := json.Marshal(r)
4773    return string(b)
4774}
4775
4776// FromJsonString It is highly **NOT** recommended to use this function
4777// because it has no param check, nor strict type check
4778func (r *DescribeLiveStreamPublishedListRequest) FromJsonString(s string) error {
4779	f := make(map[string]interface{})
4780	if err := json.Unmarshal([]byte(s), &f); err != nil {
4781		return err
4782	}
4783	delete(f, "DomainName")
4784	delete(f, "EndTime")
4785	delete(f, "StartTime")
4786	delete(f, "AppName")
4787	delete(f, "PageNum")
4788	delete(f, "PageSize")
4789	delete(f, "StreamName")
4790	if len(f) > 0 {
4791		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamPublishedListRequest has unknown keys!", "")
4792	}
4793	return json.Unmarshal([]byte(s), &r)
4794}
4795
4796type DescribeLiveStreamPublishedListResponse struct {
4797	*tchttp.BaseResponse
4798	Response *struct {
4799
4800		// 推流记录信息。
4801		PublishInfo []*StreamName `json:"PublishInfo,omitempty" name:"PublishInfo"`
4802
4803		// 分页的页码。
4804		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4805
4806		// 每页大小
4807		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4808
4809		// 符合条件的总个数。
4810		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
4811
4812		// 总页数。
4813		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
4814
4815		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4816		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4817	} `json:"Response"`
4818}
4819
4820func (r *DescribeLiveStreamPublishedListResponse) ToJsonString() string {
4821    b, _ := json.Marshal(r)
4822    return string(b)
4823}
4824
4825// FromJsonString It is highly **NOT** recommended to use this function
4826// because it has no param check, nor strict type check
4827func (r *DescribeLiveStreamPublishedListResponse) FromJsonString(s string) error {
4828	return json.Unmarshal([]byte(s), &r)
4829}
4830
4831type DescribeLiveStreamPushInfoListRequest struct {
4832	*tchttp.BaseRequest
4833
4834	// 推流域名。
4835	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`
4836
4837	// 推流路径,与推流和播放地址中的AppName保持一致,默认为live。
4838	AppName *string `json:"AppName,omitempty" name:"AppName"`
4839
4840	// 页数,
4841	// 范围[1,10000],
4842	// 默认值:1。
4843	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4844
4845	// 每页个数,
4846	// 范围:[1,1000],
4847	// 默认值: 200。
4848	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4849}
4850
4851func (r *DescribeLiveStreamPushInfoListRequest) ToJsonString() string {
4852    b, _ := json.Marshal(r)
4853    return string(b)
4854}
4855
4856// FromJsonString It is highly **NOT** recommended to use this function
4857// because it has no param check, nor strict type check
4858func (r *DescribeLiveStreamPushInfoListRequest) FromJsonString(s string) error {
4859	f := make(map[string]interface{})
4860	if err := json.Unmarshal([]byte(s), &f); err != nil {
4861		return err
4862	}
4863	delete(f, "PushDomain")
4864	delete(f, "AppName")
4865	delete(f, "PageNum")
4866	delete(f, "PageSize")
4867	if len(f) > 0 {
4868		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamPushInfoListRequest has unknown keys!", "")
4869	}
4870	return json.Unmarshal([]byte(s), &r)
4871}
4872
4873type DescribeLiveStreamPushInfoListResponse struct {
4874	*tchttp.BaseResponse
4875	Response *struct {
4876
4877		// 直播流的统计信息列表。
4878		DataInfoList []*PushDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
4879
4880		// 所有在线流的总数量。
4881		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
4882
4883		// 总页数。
4884		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
4885
4886		// 当前数据所在页码。
4887		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4888
4889		// 每页的在线流的个数。
4890		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4891
4892		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4893		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4894	} `json:"Response"`
4895}
4896
4897func (r *DescribeLiveStreamPushInfoListResponse) ToJsonString() string {
4898    b, _ := json.Marshal(r)
4899    return string(b)
4900}
4901
4902// FromJsonString It is highly **NOT** recommended to use this function
4903// because it has no param check, nor strict type check
4904func (r *DescribeLiveStreamPushInfoListResponse) FromJsonString(s string) error {
4905	return json.Unmarshal([]byte(s), &r)
4906}
4907
4908type DescribeLiveStreamStateRequest struct {
4909	*tchttp.BaseRequest
4910
4911	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
4912	AppName *string `json:"AppName,omitempty" name:"AppName"`
4913
4914	// 您的推流域名。
4915	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
4916
4917	// 流名称。
4918	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
4919}
4920
4921func (r *DescribeLiveStreamStateRequest) ToJsonString() string {
4922    b, _ := json.Marshal(r)
4923    return string(b)
4924}
4925
4926// FromJsonString It is highly **NOT** recommended to use this function
4927// because it has no param check, nor strict type check
4928func (r *DescribeLiveStreamStateRequest) FromJsonString(s string) error {
4929	f := make(map[string]interface{})
4930	if err := json.Unmarshal([]byte(s), &f); err != nil {
4931		return err
4932	}
4933	delete(f, "AppName")
4934	delete(f, "DomainName")
4935	delete(f, "StreamName")
4936	if len(f) > 0 {
4937		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamStateRequest has unknown keys!", "")
4938	}
4939	return json.Unmarshal([]byte(s), &r)
4940}
4941
4942type DescribeLiveStreamStateResponse struct {
4943	*tchttp.BaseResponse
4944	Response *struct {
4945
4946		// 流状态,
4947	// active:活跃,
4948	// inactive:非活跃,
4949	// forbid:禁播。
4950		StreamState *string `json:"StreamState,omitempty" name:"StreamState"`
4951
4952		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4953		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
4954	} `json:"Response"`
4955}
4956
4957func (r *DescribeLiveStreamStateResponse) ToJsonString() string {
4958    b, _ := json.Marshal(r)
4959    return string(b)
4960}
4961
4962// FromJsonString It is highly **NOT** recommended to use this function
4963// because it has no param check, nor strict type check
4964func (r *DescribeLiveStreamStateResponse) FromJsonString(s string) error {
4965	return json.Unmarshal([]byte(s), &r)
4966}
4967
4968type DescribeLiveTranscodeDetailInfoRequest struct {
4969	*tchttp.BaseRequest
4970
4971	// 推流域名。
4972	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`
4973
4974	// 流名称。
4975	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
4976
4977	// 查询时间,北京时间,
4978	// 格式:yyyymmdd。
4979	// 注意:支持查询近1个月内某天的详细数据,截止到昨天。
4980	DayTime *string `json:"DayTime,omitempty" name:"DayTime"`
4981
4982	// 页数,默认1,
4983	// 不超过100页。
4984	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
4985
4986	// 每页个数,默认20,
4987	// 范围:[10,1000]。
4988	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
4989
4990	// 起始天时间,北京时间,
4991	// 格式:yyyymmdd。
4992	// 注意:支持查询近1个月内的详细数据。
4993	StartDayTime *string `json:"StartDayTime,omitempty" name:"StartDayTime"`
4994
4995	// 结束天时间,北京时间,
4996	// 格式:yyyymmdd。
4997	// 注意:支持查询近1个月内的详细数据,截止到昨天,注意DayTime 与(StartDayTime,EndDayTime)必须要传一个,如果都传,会以DayTime为准 。
4998	EndDayTime *string `json:"EndDayTime,omitempty" name:"EndDayTime"`
4999}
5000
5001func (r *DescribeLiveTranscodeDetailInfoRequest) ToJsonString() string {
5002    b, _ := json.Marshal(r)
5003    return string(b)
5004}
5005
5006// FromJsonString It is highly **NOT** recommended to use this function
5007// because it has no param check, nor strict type check
5008func (r *DescribeLiveTranscodeDetailInfoRequest) FromJsonString(s string) error {
5009	f := make(map[string]interface{})
5010	if err := json.Unmarshal([]byte(s), &f); err != nil {
5011		return err
5012	}
5013	delete(f, "PushDomain")
5014	delete(f, "StreamName")
5015	delete(f, "DayTime")
5016	delete(f, "PageNum")
5017	delete(f, "PageSize")
5018	delete(f, "StartDayTime")
5019	delete(f, "EndDayTime")
5020	if len(f) > 0 {
5021		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveTranscodeDetailInfoRequest has unknown keys!", "")
5022	}
5023	return json.Unmarshal([]byte(s), &r)
5024}
5025
5026type DescribeLiveTranscodeDetailInfoResponse struct {
5027	*tchttp.BaseResponse
5028	Response *struct {
5029
5030		// 统计数据列表。
5031		DataInfoList []*TranscodeDetailInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
5032
5033		// 页码。
5034		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
5035
5036		// 每页个数。
5037		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
5038
5039		// 总个数。
5040		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
5041
5042		// 总页数。
5043		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
5044
5045		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5046		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5047	} `json:"Response"`
5048}
5049
5050func (r *DescribeLiveTranscodeDetailInfoResponse) ToJsonString() string {
5051    b, _ := json.Marshal(r)
5052    return string(b)
5053}
5054
5055// FromJsonString It is highly **NOT** recommended to use this function
5056// because it has no param check, nor strict type check
5057func (r *DescribeLiveTranscodeDetailInfoResponse) FromJsonString(s string) error {
5058	return json.Unmarshal([]byte(s), &r)
5059}
5060
5061type DescribeLiveTranscodeRulesRequest struct {
5062	*tchttp.BaseRequest
5063
5064	// 要筛选的模板ID数组。
5065	TemplateIds []*int64 `json:"TemplateIds,omitempty" name:"TemplateIds"`
5066
5067	// 要筛选的域名数组。
5068	DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`
5069}
5070
5071func (r *DescribeLiveTranscodeRulesRequest) ToJsonString() string {
5072    b, _ := json.Marshal(r)
5073    return string(b)
5074}
5075
5076// FromJsonString It is highly **NOT** recommended to use this function
5077// because it has no param check, nor strict type check
5078func (r *DescribeLiveTranscodeRulesRequest) FromJsonString(s string) error {
5079	f := make(map[string]interface{})
5080	if err := json.Unmarshal([]byte(s), &f); err != nil {
5081		return err
5082	}
5083	delete(f, "TemplateIds")
5084	delete(f, "DomainNames")
5085	if len(f) > 0 {
5086		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveTranscodeRulesRequest has unknown keys!", "")
5087	}
5088	return json.Unmarshal([]byte(s), &r)
5089}
5090
5091type DescribeLiveTranscodeRulesResponse struct {
5092	*tchttp.BaseResponse
5093	Response *struct {
5094
5095		// 转码规则列表。
5096		Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"`
5097
5098		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5099		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5100	} `json:"Response"`
5101}
5102
5103func (r *DescribeLiveTranscodeRulesResponse) ToJsonString() string {
5104    b, _ := json.Marshal(r)
5105    return string(b)
5106}
5107
5108// FromJsonString It is highly **NOT** recommended to use this function
5109// because it has no param check, nor strict type check
5110func (r *DescribeLiveTranscodeRulesResponse) FromJsonString(s string) error {
5111	return json.Unmarshal([]byte(s), &r)
5112}
5113
5114type DescribeLiveTranscodeTemplateRequest struct {
5115	*tchttp.BaseRequest
5116
5117	// 模板 ID。
5118	// 注意:在创建转码模板接口 [CreateLiveTranscodeTemplate](/document/product/267/32646) 调用的返回值中获取模板 ID。
5119	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
5120}
5121
5122func (r *DescribeLiveTranscodeTemplateRequest) ToJsonString() string {
5123    b, _ := json.Marshal(r)
5124    return string(b)
5125}
5126
5127// FromJsonString It is highly **NOT** recommended to use this function
5128// because it has no param check, nor strict type check
5129func (r *DescribeLiveTranscodeTemplateRequest) FromJsonString(s string) error {
5130	f := make(map[string]interface{})
5131	if err := json.Unmarshal([]byte(s), &f); err != nil {
5132		return err
5133	}
5134	delete(f, "TemplateId")
5135	if len(f) > 0 {
5136		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveTranscodeTemplateRequest has unknown keys!", "")
5137	}
5138	return json.Unmarshal([]byte(s), &r)
5139}
5140
5141type DescribeLiveTranscodeTemplateResponse struct {
5142	*tchttp.BaseResponse
5143	Response *struct {
5144
5145		// 模板信息。
5146		Template *TemplateInfo `json:"Template,omitempty" name:"Template"`
5147
5148		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5149		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5150	} `json:"Response"`
5151}
5152
5153func (r *DescribeLiveTranscodeTemplateResponse) ToJsonString() string {
5154    b, _ := json.Marshal(r)
5155    return string(b)
5156}
5157
5158// FromJsonString It is highly **NOT** recommended to use this function
5159// because it has no param check, nor strict type check
5160func (r *DescribeLiveTranscodeTemplateResponse) FromJsonString(s string) error {
5161	return json.Unmarshal([]byte(s), &r)
5162}
5163
5164type DescribeLiveTranscodeTemplatesRequest struct {
5165	*tchttp.BaseRequest
5166}
5167
5168func (r *DescribeLiveTranscodeTemplatesRequest) ToJsonString() string {
5169    b, _ := json.Marshal(r)
5170    return string(b)
5171}
5172
5173// FromJsonString It is highly **NOT** recommended to use this function
5174// because it has no param check, nor strict type check
5175func (r *DescribeLiveTranscodeTemplatesRequest) FromJsonString(s string) error {
5176	f := make(map[string]interface{})
5177	if err := json.Unmarshal([]byte(s), &f); err != nil {
5178		return err
5179	}
5180	if len(f) > 0 {
5181		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveTranscodeTemplatesRequest has unknown keys!", "")
5182	}
5183	return json.Unmarshal([]byte(s), &r)
5184}
5185
5186type DescribeLiveTranscodeTemplatesResponse struct {
5187	*tchttp.BaseResponse
5188	Response *struct {
5189
5190		// 转码模板列表。
5191		Templates []*TemplateInfo `json:"Templates,omitempty" name:"Templates"`
5192
5193		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5194		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5195	} `json:"Response"`
5196}
5197
5198func (r *DescribeLiveTranscodeTemplatesResponse) ToJsonString() string {
5199    b, _ := json.Marshal(r)
5200    return string(b)
5201}
5202
5203// FromJsonString It is highly **NOT** recommended to use this function
5204// because it has no param check, nor strict type check
5205func (r *DescribeLiveTranscodeTemplatesResponse) FromJsonString(s string) error {
5206	return json.Unmarshal([]byte(s), &r)
5207}
5208
5209type DescribeLiveTranscodeTotalInfoRequest struct {
5210	*tchttp.BaseRequest
5211
5212	// 开始时间,北京时间。
5213	// 格式:yyyy-mm-dd HH:MM:SS。
5214	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5215
5216	// 结束时间,北京时间。
5217	// 格式:yyyy-mm-dd HH:MM:SS。
5218	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5219
5220	// 推流域名列表,若不填,表示查询所有域名总体数据。
5221	// 指定域名时返回1小时粒度数据。
5222	PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"`
5223
5224	// 可选值:
5225	// Mainland:查询中国大陆(境内)数据,
5226	// Oversea:则查询国际/港澳台(境外)数据,
5227	// 默认:查询全球地区(境内+境外)的数据。
5228	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
5229}
5230
5231func (r *DescribeLiveTranscodeTotalInfoRequest) ToJsonString() string {
5232    b, _ := json.Marshal(r)
5233    return string(b)
5234}
5235
5236// FromJsonString It is highly **NOT** recommended to use this function
5237// because it has no param check, nor strict type check
5238func (r *DescribeLiveTranscodeTotalInfoRequest) FromJsonString(s string) error {
5239	f := make(map[string]interface{})
5240	if err := json.Unmarshal([]byte(s), &f); err != nil {
5241		return err
5242	}
5243	delete(f, "StartTime")
5244	delete(f, "EndTime")
5245	delete(f, "PushDomains")
5246	delete(f, "MainlandOrOversea")
5247	if len(f) > 0 {
5248		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveTranscodeTotalInfoRequest has unknown keys!", "")
5249	}
5250	return json.Unmarshal([]byte(s), &r)
5251}
5252
5253type DescribeLiveTranscodeTotalInfoResponse struct {
5254	*tchttp.BaseResponse
5255	Response *struct {
5256
5257		// 统计数据列表。
5258	// 注意:此字段可能返回 null,表示取不到有效值。
5259		DataInfoList []*TranscodeTotalInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
5260
5261		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5262		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5263	} `json:"Response"`
5264}
5265
5266func (r *DescribeLiveTranscodeTotalInfoResponse) ToJsonString() string {
5267    b, _ := json.Marshal(r)
5268    return string(b)
5269}
5270
5271// FromJsonString It is highly **NOT** recommended to use this function
5272// because it has no param check, nor strict type check
5273func (r *DescribeLiveTranscodeTotalInfoResponse) FromJsonString(s string) error {
5274	return json.Unmarshal([]byte(s), &r)
5275}
5276
5277type DescribeLiveWatermarkRequest struct {
5278	*tchttp.BaseRequest
5279
5280	// DescribeLiveWatermarks接口返回的水印 ID。
5281	WatermarkId *uint64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
5282}
5283
5284func (r *DescribeLiveWatermarkRequest) ToJsonString() string {
5285    b, _ := json.Marshal(r)
5286    return string(b)
5287}
5288
5289// FromJsonString It is highly **NOT** recommended to use this function
5290// because it has no param check, nor strict type check
5291func (r *DescribeLiveWatermarkRequest) FromJsonString(s string) error {
5292	f := make(map[string]interface{})
5293	if err := json.Unmarshal([]byte(s), &f); err != nil {
5294		return err
5295	}
5296	delete(f, "WatermarkId")
5297	if len(f) > 0 {
5298		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveWatermarkRequest has unknown keys!", "")
5299	}
5300	return json.Unmarshal([]byte(s), &r)
5301}
5302
5303type DescribeLiveWatermarkResponse struct {
5304	*tchttp.BaseResponse
5305	Response *struct {
5306
5307		// 水印信息。
5308		Watermark *WatermarkInfo `json:"Watermark,omitempty" name:"Watermark"`
5309
5310		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5311		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5312	} `json:"Response"`
5313}
5314
5315func (r *DescribeLiveWatermarkResponse) ToJsonString() string {
5316    b, _ := json.Marshal(r)
5317    return string(b)
5318}
5319
5320// FromJsonString It is highly **NOT** recommended to use this function
5321// because it has no param check, nor strict type check
5322func (r *DescribeLiveWatermarkResponse) FromJsonString(s string) error {
5323	return json.Unmarshal([]byte(s), &r)
5324}
5325
5326type DescribeLiveWatermarkRulesRequest struct {
5327	*tchttp.BaseRequest
5328}
5329
5330func (r *DescribeLiveWatermarkRulesRequest) ToJsonString() string {
5331    b, _ := json.Marshal(r)
5332    return string(b)
5333}
5334
5335// FromJsonString It is highly **NOT** recommended to use this function
5336// because it has no param check, nor strict type check
5337func (r *DescribeLiveWatermarkRulesRequest) FromJsonString(s string) error {
5338	f := make(map[string]interface{})
5339	if err := json.Unmarshal([]byte(s), &f); err != nil {
5340		return err
5341	}
5342	if len(f) > 0 {
5343		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveWatermarkRulesRequest has unknown keys!", "")
5344	}
5345	return json.Unmarshal([]byte(s), &r)
5346}
5347
5348type DescribeLiveWatermarkRulesResponse struct {
5349	*tchttp.BaseResponse
5350	Response *struct {
5351
5352		// 水印规则列表。
5353		Rules []*RuleInfo `json:"Rules,omitempty" name:"Rules"`
5354
5355		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5356		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5357	} `json:"Response"`
5358}
5359
5360func (r *DescribeLiveWatermarkRulesResponse) ToJsonString() string {
5361    b, _ := json.Marshal(r)
5362    return string(b)
5363}
5364
5365// FromJsonString It is highly **NOT** recommended to use this function
5366// because it has no param check, nor strict type check
5367func (r *DescribeLiveWatermarkRulesResponse) FromJsonString(s string) error {
5368	return json.Unmarshal([]byte(s), &r)
5369}
5370
5371type DescribeLiveWatermarksRequest struct {
5372	*tchttp.BaseRequest
5373}
5374
5375func (r *DescribeLiveWatermarksRequest) ToJsonString() string {
5376    b, _ := json.Marshal(r)
5377    return string(b)
5378}
5379
5380// FromJsonString It is highly **NOT** recommended to use this function
5381// because it has no param check, nor strict type check
5382func (r *DescribeLiveWatermarksRequest) FromJsonString(s string) error {
5383	f := make(map[string]interface{})
5384	if err := json.Unmarshal([]byte(s), &f); err != nil {
5385		return err
5386	}
5387	if len(f) > 0 {
5388		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveWatermarksRequest has unknown keys!", "")
5389	}
5390	return json.Unmarshal([]byte(s), &r)
5391}
5392
5393type DescribeLiveWatermarksResponse struct {
5394	*tchttp.BaseResponse
5395	Response *struct {
5396
5397		// 水印总个数。
5398		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
5399
5400		// 水印信息列表。
5401		WatermarkList []*WatermarkInfo `json:"WatermarkList,omitempty" name:"WatermarkList"`
5402
5403		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5404		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5405	} `json:"Response"`
5406}
5407
5408func (r *DescribeLiveWatermarksResponse) ToJsonString() string {
5409    b, _ := json.Marshal(r)
5410    return string(b)
5411}
5412
5413// FromJsonString It is highly **NOT** recommended to use this function
5414// because it has no param check, nor strict type check
5415func (r *DescribeLiveWatermarksResponse) FromJsonString(s string) error {
5416	return json.Unmarshal([]byte(s), &r)
5417}
5418
5419type DescribeLogDownloadListRequest struct {
5420	*tchttp.BaseRequest
5421
5422	// 开始时间,北京时间。
5423	// 格式:yyyy-mm-dd HH:MM:SS。
5424	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5425
5426	// 结束时间,北京时间。
5427	// 格式:yyyy-mm-dd HH:MM:SS。
5428	// 注意:结束时间 - 开始时间 <=7天。
5429	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5430
5431	// 域名列表。
5432	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
5433}
5434
5435func (r *DescribeLogDownloadListRequest) ToJsonString() string {
5436    b, _ := json.Marshal(r)
5437    return string(b)
5438}
5439
5440// FromJsonString It is highly **NOT** recommended to use this function
5441// because it has no param check, nor strict type check
5442func (r *DescribeLogDownloadListRequest) FromJsonString(s string) error {
5443	f := make(map[string]interface{})
5444	if err := json.Unmarshal([]byte(s), &f); err != nil {
5445		return err
5446	}
5447	delete(f, "StartTime")
5448	delete(f, "EndTime")
5449	delete(f, "PlayDomains")
5450	if len(f) > 0 {
5451		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLogDownloadListRequest has unknown keys!", "")
5452	}
5453	return json.Unmarshal([]byte(s), &r)
5454}
5455
5456type DescribeLogDownloadListResponse struct {
5457	*tchttp.BaseResponse
5458	Response *struct {
5459
5460		// 日志信息列表。
5461		LogInfoList []*LogInfo `json:"LogInfoList,omitempty" name:"LogInfoList"`
5462
5463		// 总条数。
5464		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
5465
5466		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5467		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5468	} `json:"Response"`
5469}
5470
5471func (r *DescribeLogDownloadListResponse) ToJsonString() string {
5472    b, _ := json.Marshal(r)
5473    return string(b)
5474}
5475
5476// FromJsonString It is highly **NOT** recommended to use this function
5477// because it has no param check, nor strict type check
5478func (r *DescribeLogDownloadListResponse) FromJsonString(s string) error {
5479	return json.Unmarshal([]byte(s), &r)
5480}
5481
5482type DescribePlayErrorCodeDetailInfoListRequest struct {
5483	*tchttp.BaseRequest
5484
5485	// 起始时间,北京时间,
5486	// 格式:yyyy-mm-dd HH:MM:SS。
5487	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5488
5489	// 结束时间,北京时间,
5490	// 格式:yyyy-mm-dd HH:MM:SS。
5491	// 注:EndTime 和 StartTime 只支持最近1天的数据查询。
5492	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5493
5494	// 查询粒度:
5495	// 1-1分钟粒度。
5496	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
5497
5498	// 是,可选值包括”4xx”,”5xx”,支持”4xx,5xx”等这种混合模式。
5499	StatType *string `json:"StatType,omitempty" name:"StatType"`
5500
5501	// 播放域名列表。
5502	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
5503
5504	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
5505	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
5506}
5507
5508func (r *DescribePlayErrorCodeDetailInfoListRequest) ToJsonString() string {
5509    b, _ := json.Marshal(r)
5510    return string(b)
5511}
5512
5513// FromJsonString It is highly **NOT** recommended to use this function
5514// because it has no param check, nor strict type check
5515func (r *DescribePlayErrorCodeDetailInfoListRequest) FromJsonString(s string) error {
5516	f := make(map[string]interface{})
5517	if err := json.Unmarshal([]byte(s), &f); err != nil {
5518		return err
5519	}
5520	delete(f, "StartTime")
5521	delete(f, "EndTime")
5522	delete(f, "Granularity")
5523	delete(f, "StatType")
5524	delete(f, "PlayDomains")
5525	delete(f, "MainlandOrOversea")
5526	if len(f) > 0 {
5527		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribePlayErrorCodeDetailInfoListRequest has unknown keys!", "")
5528	}
5529	return json.Unmarshal([]byte(s), &r)
5530}
5531
5532type DescribePlayErrorCodeDetailInfoListResponse struct {
5533	*tchttp.BaseResponse
5534	Response *struct {
5535
5536		// 统计信息列表。
5537		HttpCodeList []*HttpCodeInfo `json:"HttpCodeList,omitempty" name:"HttpCodeList"`
5538
5539		// 统计类型。
5540		StatType *string `json:"StatType,omitempty" name:"StatType"`
5541
5542		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5543		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5544	} `json:"Response"`
5545}
5546
5547func (r *DescribePlayErrorCodeDetailInfoListResponse) ToJsonString() string {
5548    b, _ := json.Marshal(r)
5549    return string(b)
5550}
5551
5552// FromJsonString It is highly **NOT** recommended to use this function
5553// because it has no param check, nor strict type check
5554func (r *DescribePlayErrorCodeDetailInfoListResponse) FromJsonString(s string) error {
5555	return json.Unmarshal([]byte(s), &r)
5556}
5557
5558type DescribePlayErrorCodeSumInfoListRequest struct {
5559	*tchttp.BaseRequest
5560
5561	// 起始时间点,北京时间。
5562	// 格式:yyyy-mm-dd HH:MM:SS。
5563	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5564
5565	// 结束时间点,北京时间。
5566	// 格式:yyyy-mm-dd HH:MM:SS。
5567	// 注:EndTime 和 StartTime 只支持最近1天的数据查询。
5568	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5569
5570	// 播放域名列表,不填表示总体数据。
5571	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
5572
5573	// 页数,范围[1,1000],默认值是1。
5574	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
5575
5576	// 每页个数,范围:[1,1000],默认值是20。
5577	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
5578
5579	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
5580	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
5581
5582	// 分组参数,可选值:CountryProIsp(默认值),Country(国家),默认是按照国家+省份+运营商来进行分组;目前国外的省份和运营商暂时无法识别。
5583	GroupType *string `json:"GroupType,omitempty" name:"GroupType"`
5584
5585	// 输出字段使用的语言,可选值:Chinese(默认值),English,目前国家,省份和运营商支持多语言。
5586	OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"`
5587}
5588
5589func (r *DescribePlayErrorCodeSumInfoListRequest) ToJsonString() string {
5590    b, _ := json.Marshal(r)
5591    return string(b)
5592}
5593
5594// FromJsonString It is highly **NOT** recommended to use this function
5595// because it has no param check, nor strict type check
5596func (r *DescribePlayErrorCodeSumInfoListRequest) FromJsonString(s string) error {
5597	f := make(map[string]interface{})
5598	if err := json.Unmarshal([]byte(s), &f); err != nil {
5599		return err
5600	}
5601	delete(f, "StartTime")
5602	delete(f, "EndTime")
5603	delete(f, "PlayDomains")
5604	delete(f, "PageNum")
5605	delete(f, "PageSize")
5606	delete(f, "MainlandOrOversea")
5607	delete(f, "GroupType")
5608	delete(f, "OutLanguage")
5609	if len(f) > 0 {
5610		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribePlayErrorCodeSumInfoListRequest has unknown keys!", "")
5611	}
5612	return json.Unmarshal([]byte(s), &r)
5613}
5614
5615type DescribePlayErrorCodeSumInfoListResponse struct {
5616	*tchttp.BaseResponse
5617	Response *struct {
5618
5619		// 分省份分运营商错误码为2或3或4或5开头的状态码数据信息。
5620		ProIspInfoList []*ProIspPlayCodeDataInfo `json:"ProIspInfoList,omitempty" name:"ProIspInfoList"`
5621
5622		// 所有状态码的加和的次数。
5623		TotalCodeAll *uint64 `json:"TotalCodeAll,omitempty" name:"TotalCodeAll"`
5624
5625		// 状态码为4开头的总次数。
5626		TotalCode4xx *uint64 `json:"TotalCode4xx,omitempty" name:"TotalCode4xx"`
5627
5628		// 状态码为5开头的总次数。
5629		TotalCode5xx *uint64 `json:"TotalCode5xx,omitempty" name:"TotalCode5xx"`
5630
5631		// 各状态码的总次数。
5632		TotalCodeList []*PlayCodeTotalInfo `json:"TotalCodeList,omitempty" name:"TotalCodeList"`
5633
5634		// 页号。
5635		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
5636
5637		// 每页大小。
5638		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
5639
5640		// 总页数。
5641		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
5642
5643		// 总记录数。
5644		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
5645
5646		// 状态码为2开头的总次数。
5647		TotalCode2xx *uint64 `json:"TotalCode2xx,omitempty" name:"TotalCode2xx"`
5648
5649		// 状态码为3开头的总次数。
5650		TotalCode3xx *uint64 `json:"TotalCode3xx,omitempty" name:"TotalCode3xx"`
5651
5652		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5653		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5654	} `json:"Response"`
5655}
5656
5657func (r *DescribePlayErrorCodeSumInfoListResponse) ToJsonString() string {
5658    b, _ := json.Marshal(r)
5659    return string(b)
5660}
5661
5662// FromJsonString It is highly **NOT** recommended to use this function
5663// because it has no param check, nor strict type check
5664func (r *DescribePlayErrorCodeSumInfoListResponse) FromJsonString(s string) error {
5665	return json.Unmarshal([]byte(s), &r)
5666}
5667
5668type DescribeProIspPlaySumInfoListRequest struct {
5669	*tchttp.BaseRequest
5670
5671	// 起始时间,北京时间,
5672	// 格式:yyyy-mm-dd HH:MM:SS。
5673	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5674
5675	// 结束时间,北京时间,
5676	// 格式:yyyy-mm-dd HH:MM:SS。
5677	// 注:EndTime 和 StartTime 只支持最近1天的数据查询。
5678	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5679
5680	// 统计的类型,可选值:”Province”(省份),”Isp”(运营商),“CountryOrArea”(国家或地区)。
5681	StatType *string `json:"StatType,omitempty" name:"StatType"`
5682
5683	// 播放域名列表,不填则为全部。
5684	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
5685
5686	// 页号,范围是[1,1000],默认值是1。
5687	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
5688
5689	// 每页个数,范围是[1,1000],默认值是20。
5690	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
5691
5692	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
5693	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
5694
5695	// 输出字段使用的语言,可选值:Chinese(默认值),English;目前国家,省份和运营商支持多语言。
5696	OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"`
5697}
5698
5699func (r *DescribeProIspPlaySumInfoListRequest) ToJsonString() string {
5700    b, _ := json.Marshal(r)
5701    return string(b)
5702}
5703
5704// FromJsonString It is highly **NOT** recommended to use this function
5705// because it has no param check, nor strict type check
5706func (r *DescribeProIspPlaySumInfoListRequest) FromJsonString(s string) error {
5707	f := make(map[string]interface{})
5708	if err := json.Unmarshal([]byte(s), &f); err != nil {
5709		return err
5710	}
5711	delete(f, "StartTime")
5712	delete(f, "EndTime")
5713	delete(f, "StatType")
5714	delete(f, "PlayDomains")
5715	delete(f, "PageNum")
5716	delete(f, "PageSize")
5717	delete(f, "MainlandOrOversea")
5718	delete(f, "OutLanguage")
5719	if len(f) > 0 {
5720		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProIspPlaySumInfoListRequest has unknown keys!", "")
5721	}
5722	return json.Unmarshal([]byte(s), &r)
5723}
5724
5725type DescribeProIspPlaySumInfoListResponse struct {
5726	*tchttp.BaseResponse
5727	Response *struct {
5728
5729		// 总流量。
5730		TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
5731
5732		// 总请求数。
5733		TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"`
5734
5735		// 统计的类型。
5736		StatType *string `json:"StatType,omitempty" name:"StatType"`
5737
5738		// 每页的记录数。
5739		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
5740
5741		// 页号。
5742		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
5743
5744		// 总记录数。
5745		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
5746
5747		// 总页数。
5748		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
5749
5750		// 省份,运营商,国家或地区汇总数据列表。
5751		DataInfoList []*ProIspPlaySumInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
5752
5753		// 下载速度,单位:MB/s,计算方式:总流量/总时长。
5754		AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"`
5755
5756		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5757		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5758	} `json:"Response"`
5759}
5760
5761func (r *DescribeProIspPlaySumInfoListResponse) ToJsonString() string {
5762    b, _ := json.Marshal(r)
5763    return string(b)
5764}
5765
5766// FromJsonString It is highly **NOT** recommended to use this function
5767// because it has no param check, nor strict type check
5768func (r *DescribeProIspPlaySumInfoListResponse) FromJsonString(s string) error {
5769	return json.Unmarshal([]byte(s), &r)
5770}
5771
5772type DescribeProvinceIspPlayInfoListRequest struct {
5773	*tchttp.BaseRequest
5774
5775	// 起始时间点,当前使用北京时间,
5776	// 例:2019-02-21 10:00:00。
5777	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5778
5779	// 结束时间点,当前使用北京时间,
5780	// 例:2019-02-21 12:00:00。
5781	// 注:EndTime 和 StartTime 只支持最近1天的数据查询。
5782	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5783
5784	// 支持如下粒度:
5785	// 1:1分钟粒度(跨度不支持超过1天)
5786	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
5787
5788	// 统计指标类型:
5789	// “Bandwidth”:带宽
5790	// “FluxPerSecond”:平均流量
5791	// “Flux”:流量
5792	// “Request”:请求数
5793	// “Online”:并发连接数
5794	StatType *string `json:"StatType,omitempty" name:"StatType"`
5795
5796	// 播放域名列表。
5797	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
5798
5799	// 要查询的省份(地区)英文名称列表,如 Beijing。
5800	ProvinceNames []*string `json:"ProvinceNames,omitempty" name:"ProvinceNames"`
5801
5802	// 要查询的运营商英文名称列表,如 China Mobile ,如果为空,查询所有运营商的数据。
5803	IspNames []*string `json:"IspNames,omitempty" name:"IspNames"`
5804
5805	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
5806	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
5807
5808	// ip类型:
5809	// “Ipv6”:Ipv6数据
5810	// 如果为空,查询总的数据;
5811	IpType *string `json:"IpType,omitempty" name:"IpType"`
5812}
5813
5814func (r *DescribeProvinceIspPlayInfoListRequest) ToJsonString() string {
5815    b, _ := json.Marshal(r)
5816    return string(b)
5817}
5818
5819// FromJsonString It is highly **NOT** recommended to use this function
5820// because it has no param check, nor strict type check
5821func (r *DescribeProvinceIspPlayInfoListRequest) FromJsonString(s string) error {
5822	f := make(map[string]interface{})
5823	if err := json.Unmarshal([]byte(s), &f); err != nil {
5824		return err
5825	}
5826	delete(f, "StartTime")
5827	delete(f, "EndTime")
5828	delete(f, "Granularity")
5829	delete(f, "StatType")
5830	delete(f, "PlayDomains")
5831	delete(f, "ProvinceNames")
5832	delete(f, "IspNames")
5833	delete(f, "MainlandOrOversea")
5834	delete(f, "IpType")
5835	if len(f) > 0 {
5836		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProvinceIspPlayInfoListRequest has unknown keys!", "")
5837	}
5838	return json.Unmarshal([]byte(s), &r)
5839}
5840
5841type DescribeProvinceIspPlayInfoListResponse struct {
5842	*tchttp.BaseResponse
5843	Response *struct {
5844
5845		// 播放信息列表。
5846		DataInfoList []*PlayStatInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
5847
5848		// 统计的类型,和输入参数保持一致。
5849		StatType *string `json:"StatType,omitempty" name:"StatType"`
5850
5851		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5852		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5853	} `json:"Response"`
5854}
5855
5856func (r *DescribeProvinceIspPlayInfoListResponse) ToJsonString() string {
5857    b, _ := json.Marshal(r)
5858    return string(b)
5859}
5860
5861// FromJsonString It is highly **NOT** recommended to use this function
5862// because it has no param check, nor strict type check
5863func (r *DescribeProvinceIspPlayInfoListResponse) FromJsonString(s string) error {
5864	return json.Unmarshal([]byte(s), &r)
5865}
5866
5867type DescribePullStreamConfigsRequest struct {
5868	*tchttp.BaseRequest
5869
5870	// 配置 ID。
5871	// 获取途径:从 CreatePullStreamConfig 接口返回值获取。
5872	ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"`
5873}
5874
5875func (r *DescribePullStreamConfigsRequest) ToJsonString() string {
5876    b, _ := json.Marshal(r)
5877    return string(b)
5878}
5879
5880// FromJsonString It is highly **NOT** recommended to use this function
5881// because it has no param check, nor strict type check
5882func (r *DescribePullStreamConfigsRequest) FromJsonString(s string) error {
5883	f := make(map[string]interface{})
5884	if err := json.Unmarshal([]byte(s), &f); err != nil {
5885		return err
5886	}
5887	delete(f, "ConfigId")
5888	if len(f) > 0 {
5889		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribePullStreamConfigsRequest has unknown keys!", "")
5890	}
5891	return json.Unmarshal([]byte(s), &r)
5892}
5893
5894type DescribePullStreamConfigsResponse struct {
5895	*tchttp.BaseResponse
5896	Response *struct {
5897
5898		// 拉流配置。
5899		PullStreamConfigs []*PullStreamConfig `json:"PullStreamConfigs,omitempty" name:"PullStreamConfigs"`
5900
5901		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5902		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5903	} `json:"Response"`
5904}
5905
5906func (r *DescribePullStreamConfigsResponse) ToJsonString() string {
5907    b, _ := json.Marshal(r)
5908    return string(b)
5909}
5910
5911// FromJsonString It is highly **NOT** recommended to use this function
5912// because it has no param check, nor strict type check
5913func (r *DescribePullStreamConfigsResponse) FromJsonString(s string) error {
5914	return json.Unmarshal([]byte(s), &r)
5915}
5916
5917type DescribePushBandwidthAndFluxListRequest struct {
5918	*tchttp.BaseRequest
5919
5920	// 起始时间点,格式为 yyyy-mm-dd HH:MM:SS。
5921	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
5922
5923	// 结束时间点,格式为 yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。
5924	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
5925
5926	// 域名,可以填多个,若不填,表示总体数据。
5927	PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"`
5928
5929	// 可选值:
5930	// Mainland:查询中国大陆(境内)数据,
5931	// Oversea:则查询国际/港澳台(境外)数据,
5932	// 不填则默认查询全球地区(境内+境外)的数据。
5933	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
5934
5935	// 数据粒度,支持如下粒度:
5936	// 5:5分钟粒度,(跨度不支持超过1天),
5937	// 60:1小时粒度(跨度不支持超过一个月),
5938	// 1440:天粒度(跨度不支持超过一个月)。
5939	// 默认值:5。
5940	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
5941}
5942
5943func (r *DescribePushBandwidthAndFluxListRequest) ToJsonString() string {
5944    b, _ := json.Marshal(r)
5945    return string(b)
5946}
5947
5948// FromJsonString It is highly **NOT** recommended to use this function
5949// because it has no param check, nor strict type check
5950func (r *DescribePushBandwidthAndFluxListRequest) FromJsonString(s string) error {
5951	f := make(map[string]interface{})
5952	if err := json.Unmarshal([]byte(s), &f); err != nil {
5953		return err
5954	}
5955	delete(f, "StartTime")
5956	delete(f, "EndTime")
5957	delete(f, "PushDomains")
5958	delete(f, "MainlandOrOversea")
5959	delete(f, "Granularity")
5960	if len(f) > 0 {
5961		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribePushBandwidthAndFluxListRequest has unknown keys!", "")
5962	}
5963	return json.Unmarshal([]byte(s), &r)
5964}
5965
5966type DescribePushBandwidthAndFluxListResponse struct {
5967	*tchttp.BaseResponse
5968	Response *struct {
5969
5970		// 峰值带宽所在时间点,格式为 yyyy-mm-dd HH:MM:SS。
5971		PeakBandwidthTime *string `json:"PeakBandwidthTime,omitempty" name:"PeakBandwidthTime"`
5972
5973		// 峰值带宽,单位是 Mbps。
5974		PeakBandwidth *float64 `json:"PeakBandwidth,omitempty" name:"PeakBandwidth"`
5975
5976		// 95峰值带宽所在时间点,格式为 yyyy-mm-dd HH:MM:SS。
5977		P95PeakBandwidthTime *string `json:"P95PeakBandwidthTime,omitempty" name:"P95PeakBandwidthTime"`
5978
5979		// 95峰值带宽,单位是 Mbps。
5980		P95PeakBandwidth *float64 `json:"P95PeakBandwidth,omitempty" name:"P95PeakBandwidth"`
5981
5982		// 总流量,单位是 MB。
5983		SumFlux *float64 `json:"SumFlux,omitempty" name:"SumFlux"`
5984
5985		// 明细数据信息。
5986		DataInfoList []*BillDataInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
5987
5988		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5989		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
5990	} `json:"Response"`
5991}
5992
5993func (r *DescribePushBandwidthAndFluxListResponse) ToJsonString() string {
5994    b, _ := json.Marshal(r)
5995    return string(b)
5996}
5997
5998// FromJsonString It is highly **NOT** recommended to use this function
5999// because it has no param check, nor strict type check
6000func (r *DescribePushBandwidthAndFluxListResponse) FromJsonString(s string) error {
6001	return json.Unmarshal([]byte(s), &r)
6002}
6003
6004type DescribeRecordTaskRequest struct {
6005	*tchttp.BaseRequest
6006
6007	// 查询任务开始时间,Unix 时间戳。设置时间不早于当前时间之前90天的时间,且查询时间跨度不超过一周。
6008	StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"`
6009
6010	// 查询任务结束时间,Unix 时间戳。EndTime 必须大于 StartTime,设置时间不早于当前时间之前90天的时间,且查询时间跨度不超过一周。(注意:任务开始结束时间必须在查询时间范围内)。
6011	EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`
6012
6013	// 流名称。
6014	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
6015
6016	// 推流域名。
6017	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
6018
6019	// 推流路径。
6020	AppName *string `json:"AppName,omitempty" name:"AppName"`
6021
6022	// 翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。
6023	ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"`
6024}
6025
6026func (r *DescribeRecordTaskRequest) ToJsonString() string {
6027    b, _ := json.Marshal(r)
6028    return string(b)
6029}
6030
6031// FromJsonString It is highly **NOT** recommended to use this function
6032// because it has no param check, nor strict type check
6033func (r *DescribeRecordTaskRequest) FromJsonString(s string) error {
6034	f := make(map[string]interface{})
6035	if err := json.Unmarshal([]byte(s), &f); err != nil {
6036		return err
6037	}
6038	delete(f, "StartTime")
6039	delete(f, "EndTime")
6040	delete(f, "StreamName")
6041	delete(f, "DomainName")
6042	delete(f, "AppName")
6043	delete(f, "ScrollToken")
6044	if len(f) > 0 {
6045		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordTaskRequest has unknown keys!", "")
6046	}
6047	return json.Unmarshal([]byte(s), &r)
6048}
6049
6050type DescribeRecordTaskResponse struct {
6051	*tchttp.BaseResponse
6052	Response *struct {
6053
6054		// 翻页标识,当请求未返回所有数据,该字段表示下一条记录的 Token。当该字段为空,说明已无更多数据。
6055		ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"`
6056
6057		// 录制任务列表。当该字段为空,说明已返回所有数据。
6058		TaskList []*RecordTask `json:"TaskList,omitempty" name:"TaskList"`
6059
6060		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6061		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6062	} `json:"Response"`
6063}
6064
6065func (r *DescribeRecordTaskResponse) ToJsonString() string {
6066    b, _ := json.Marshal(r)
6067    return string(b)
6068}
6069
6070// FromJsonString It is highly **NOT** recommended to use this function
6071// because it has no param check, nor strict type check
6072func (r *DescribeRecordTaskResponse) FromJsonString(s string) error {
6073	return json.Unmarshal([]byte(s), &r)
6074}
6075
6076type DescribeScreenShotSheetNumListRequest struct {
6077	*tchttp.BaseRequest
6078
6079	// utc起始时间,格式为yyyy-mm-ddTHH:MM:SSZ
6080	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
6081
6082	// utc结束时间,格式为yyyy-mm-ddTHH:MM:SSZ,支持查询最近1年数据。
6083	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
6084
6085	// 地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
6086	Zone *string `json:"Zone,omitempty" name:"Zone"`
6087
6088	// 推流域名(支持查询2019年11 月1日之后的域名维度数据)。
6089	PushDomains []*string `json:"PushDomains,omitempty" name:"PushDomains"`
6090
6091	// 数据维度,数据延迟1个半小时,可选值包括:1、Minute(5分钟粒度,最大支持查询时间范围是31天),2、Day(天粒度,默认值,最大支持查询时间范围是186天当天)。
6092	Granularity *string `json:"Granularity,omitempty" name:"Granularity"`
6093}
6094
6095func (r *DescribeScreenShotSheetNumListRequest) ToJsonString() string {
6096    b, _ := json.Marshal(r)
6097    return string(b)
6098}
6099
6100// FromJsonString It is highly **NOT** recommended to use this function
6101// because it has no param check, nor strict type check
6102func (r *DescribeScreenShotSheetNumListRequest) FromJsonString(s string) error {
6103	f := make(map[string]interface{})
6104	if err := json.Unmarshal([]byte(s), &f); err != nil {
6105		return err
6106	}
6107	delete(f, "StartTime")
6108	delete(f, "EndTime")
6109	delete(f, "Zone")
6110	delete(f, "PushDomains")
6111	delete(f, "Granularity")
6112	if len(f) > 0 {
6113		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeScreenShotSheetNumListRequest has unknown keys!", "")
6114	}
6115	return json.Unmarshal([]byte(s), &r)
6116}
6117
6118type DescribeScreenShotSheetNumListResponse struct {
6119	*tchttp.BaseResponse
6120	Response *struct {
6121
6122		// 数据信息列表。
6123		DataInfoList []*TimeValue `json:"DataInfoList,omitempty" name:"DataInfoList"`
6124
6125		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6126		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6127	} `json:"Response"`
6128}
6129
6130func (r *DescribeScreenShotSheetNumListResponse) ToJsonString() string {
6131    b, _ := json.Marshal(r)
6132    return string(b)
6133}
6134
6135// FromJsonString It is highly **NOT** recommended to use this function
6136// because it has no param check, nor strict type check
6137func (r *DescribeScreenShotSheetNumListResponse) FromJsonString(s string) error {
6138	return json.Unmarshal([]byte(s), &r)
6139}
6140
6141type DescribeStreamDayPlayInfoListRequest struct {
6142	*tchttp.BaseRequest
6143
6144	// 日期,格式:YYYY-mm-dd。
6145	// 第二天凌晨3点出昨天的数据,建议在这个时间点之后查询最新数据。支持最近3个月的数据查询。
6146	DayTime *string `json:"DayTime,omitempty" name:"DayTime"`
6147
6148	// 播放域名。
6149	PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"`
6150
6151	// 页号,范围[1,1000],默认值是1。
6152	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
6153
6154	// 每页个数,范围[100,1000],默认值是1000。
6155	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
6156
6157	// 可选值:
6158	// Mainland:查询国内数据,
6159	// Oversea:则查询国外数据,
6160	// 默认:查询国内+国外的数据。
6161	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
6162
6163	// 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
6164	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
6165}
6166
6167func (r *DescribeStreamDayPlayInfoListRequest) ToJsonString() string {
6168    b, _ := json.Marshal(r)
6169    return string(b)
6170}
6171
6172// FromJsonString It is highly **NOT** recommended to use this function
6173// because it has no param check, nor strict type check
6174func (r *DescribeStreamDayPlayInfoListRequest) FromJsonString(s string) error {
6175	f := make(map[string]interface{})
6176	if err := json.Unmarshal([]byte(s), &f); err != nil {
6177		return err
6178	}
6179	delete(f, "DayTime")
6180	delete(f, "PlayDomain")
6181	delete(f, "PageNum")
6182	delete(f, "PageSize")
6183	delete(f, "MainlandOrOversea")
6184	delete(f, "ServiceName")
6185	if len(f) > 0 {
6186		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStreamDayPlayInfoListRequest has unknown keys!", "")
6187	}
6188	return json.Unmarshal([]byte(s), &r)
6189}
6190
6191type DescribeStreamDayPlayInfoListResponse struct {
6192	*tchttp.BaseResponse
6193	Response *struct {
6194
6195		// 播放数据信息列表。
6196		DataInfoList []*PlayDataInfoByStream `json:"DataInfoList,omitempty" name:"DataInfoList"`
6197
6198		// 总数量。
6199		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
6200
6201		// 总页数。
6202		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
6203
6204		// 当前数据所处页码。
6205		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
6206
6207		// 每页个数。
6208		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
6209
6210		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6211		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6212	} `json:"Response"`
6213}
6214
6215func (r *DescribeStreamDayPlayInfoListResponse) ToJsonString() string {
6216    b, _ := json.Marshal(r)
6217    return string(b)
6218}
6219
6220// FromJsonString It is highly **NOT** recommended to use this function
6221// because it has no param check, nor strict type check
6222func (r *DescribeStreamDayPlayInfoListResponse) FromJsonString(s string) error {
6223	return json.Unmarshal([]byte(s), &r)
6224}
6225
6226type DescribeStreamPlayInfoListRequest struct {
6227	*tchttp.BaseRequest
6228
6229	// 开始时间,北京时间,格式为yyyy-mm-dd HH:MM:SS
6230	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
6231
6232	// 结束时间,北京时间,格式为yyyy-mm-dd HH:MM:SS,
6233	// 结束时间 和 开始时间跨度不支持超过24小时,支持距当前时间30天内的数据查询。
6234	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
6235
6236	// 播放域名,
6237	// 若不填,则为查询所有播放域名的在线流数据。
6238	PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"`
6239
6240	// 流名称,精确匹配。
6241	// 若不填,则为查询总体播放数据。
6242	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
6243
6244	// 推流路径,与播放地址中的AppName保持一致,会精确匹配,在同时传递了StreamName时生效。
6245	// 若不填,则为查询总体播放数据。
6246	// 注意:按AppName查询请先联系工单申请,开通后配置生效预计需要5个工作日左右,具体时间以最终回复为准。
6247	AppName *string `json:"AppName,omitempty" name:"AppName"`
6248
6249	// 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
6250	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
6251}
6252
6253func (r *DescribeStreamPlayInfoListRequest) ToJsonString() string {
6254    b, _ := json.Marshal(r)
6255    return string(b)
6256}
6257
6258// FromJsonString It is highly **NOT** recommended to use this function
6259// because it has no param check, nor strict type check
6260func (r *DescribeStreamPlayInfoListRequest) FromJsonString(s string) error {
6261	f := make(map[string]interface{})
6262	if err := json.Unmarshal([]byte(s), &f); err != nil {
6263		return err
6264	}
6265	delete(f, "StartTime")
6266	delete(f, "EndTime")
6267	delete(f, "PlayDomain")
6268	delete(f, "StreamName")
6269	delete(f, "AppName")
6270	delete(f, "ServiceName")
6271	if len(f) > 0 {
6272		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStreamPlayInfoListRequest has unknown keys!", "")
6273	}
6274	return json.Unmarshal([]byte(s), &r)
6275}
6276
6277type DescribeStreamPlayInfoListResponse struct {
6278	*tchttp.BaseResponse
6279	Response *struct {
6280
6281		// 统计信息列表,时间粒度是1分钟。
6282		DataInfoList []*DayStreamPlayInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
6283
6284		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6285		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6286	} `json:"Response"`
6287}
6288
6289func (r *DescribeStreamPlayInfoListResponse) ToJsonString() string {
6290    b, _ := json.Marshal(r)
6291    return string(b)
6292}
6293
6294// FromJsonString It is highly **NOT** recommended to use this function
6295// because it has no param check, nor strict type check
6296func (r *DescribeStreamPlayInfoListResponse) FromJsonString(s string) error {
6297	return json.Unmarshal([]byte(s), &r)
6298}
6299
6300type DescribeStreamPushInfoListRequest struct {
6301	*tchttp.BaseRequest
6302
6303	// 流名称。
6304	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
6305
6306	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
6307	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
6308
6309	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS,最大时间跨度支持6小时,支持最近6天数据查询。
6310	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
6311
6312	// 推流域名。
6313	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`
6314
6315	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
6316	AppName *string `json:"AppName,omitempty" name:"AppName"`
6317}
6318
6319func (r *DescribeStreamPushInfoListRequest) ToJsonString() string {
6320    b, _ := json.Marshal(r)
6321    return string(b)
6322}
6323
6324// FromJsonString It is highly **NOT** recommended to use this function
6325// because it has no param check, nor strict type check
6326func (r *DescribeStreamPushInfoListRequest) FromJsonString(s string) error {
6327	f := make(map[string]interface{})
6328	if err := json.Unmarshal([]byte(s), &f); err != nil {
6329		return err
6330	}
6331	delete(f, "StreamName")
6332	delete(f, "StartTime")
6333	delete(f, "EndTime")
6334	delete(f, "PushDomain")
6335	delete(f, "AppName")
6336	if len(f) > 0 {
6337		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStreamPushInfoListRequest has unknown keys!", "")
6338	}
6339	return json.Unmarshal([]byte(s), &r)
6340}
6341
6342type DescribeStreamPushInfoListResponse struct {
6343	*tchttp.BaseResponse
6344	Response *struct {
6345
6346		// 返回的数据列表。
6347		DataInfoList []*PushQualityData `json:"DataInfoList,omitempty" name:"DataInfoList"`
6348
6349		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6350		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6351	} `json:"Response"`
6352}
6353
6354func (r *DescribeStreamPushInfoListResponse) ToJsonString() string {
6355    b, _ := json.Marshal(r)
6356    return string(b)
6357}
6358
6359// FromJsonString It is highly **NOT** recommended to use this function
6360// because it has no param check, nor strict type check
6361func (r *DescribeStreamPushInfoListResponse) FromJsonString(s string) error {
6362	return json.Unmarshal([]byte(s), &r)
6363}
6364
6365type DescribeTopClientIpSumInfoListRequest struct {
6366	*tchttp.BaseRequest
6367
6368	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
6369	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
6370
6371	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS
6372	// 时间跨度在[0,4小时],支持最近1天数据查询。
6373	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
6374
6375	// 播放域名,默认为不填,表示求总体数据。
6376	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
6377
6378	// 页号,范围是[1,1000],默认值是1。
6379	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
6380
6381	// 每页个数,范围是[1,1000],默认值是20。
6382	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
6383
6384	// 排序指标,可选值包括TotalRequest(默认值),FailedRequest,TotalFlux。
6385	OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"`
6386
6387	// 地域,可选值:Mainland,Oversea,China,Foreign,Global(默认值);如果为空,查询总的数据;如果为“Mainland”,查询中国大陆的数据;如果为“Oversea”,则查询中国大陆以外的数据;如果为China,查询中国的数据(包括港澳台);如果为Foreign,查询国外的数据(不包括港澳台)。
6388	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
6389
6390	// 输出字段使用的语言,可选值:Chinese(默认值),English;目前国家,省份和运营商支持多语言。
6391	OutLanguage *string `json:"OutLanguage,omitempty" name:"OutLanguage"`
6392}
6393
6394func (r *DescribeTopClientIpSumInfoListRequest) ToJsonString() string {
6395    b, _ := json.Marshal(r)
6396    return string(b)
6397}
6398
6399// FromJsonString It is highly **NOT** recommended to use this function
6400// because it has no param check, nor strict type check
6401func (r *DescribeTopClientIpSumInfoListRequest) FromJsonString(s string) error {
6402	f := make(map[string]interface{})
6403	if err := json.Unmarshal([]byte(s), &f); err != nil {
6404		return err
6405	}
6406	delete(f, "StartTime")
6407	delete(f, "EndTime")
6408	delete(f, "PlayDomains")
6409	delete(f, "PageNum")
6410	delete(f, "PageSize")
6411	delete(f, "OrderParam")
6412	delete(f, "MainlandOrOversea")
6413	delete(f, "OutLanguage")
6414	if len(f) > 0 {
6415		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTopClientIpSumInfoListRequest has unknown keys!", "")
6416	}
6417	return json.Unmarshal([]byte(s), &r)
6418}
6419
6420type DescribeTopClientIpSumInfoListResponse struct {
6421	*tchttp.BaseResponse
6422	Response *struct {
6423
6424		// 页号,范围是[1,1000],默认值是1。
6425		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
6426
6427		// 每页个数,范围是[1,1000],默认值是20。
6428		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
6429
6430		// 排序指标,可选值包括”TotalRequest”,”FailedRequest”,“TotalFlux”。
6431		OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"`
6432
6433		// 记录总数。
6434		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
6435
6436		// 记录总页数。
6437		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
6438
6439		// 数据内容。
6440		DataInfoList []*ClientIpPlaySumInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
6441
6442		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6443		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6444	} `json:"Response"`
6445}
6446
6447func (r *DescribeTopClientIpSumInfoListResponse) ToJsonString() string {
6448    b, _ := json.Marshal(r)
6449    return string(b)
6450}
6451
6452// FromJsonString It is highly **NOT** recommended to use this function
6453// because it has no param check, nor strict type check
6454func (r *DescribeTopClientIpSumInfoListResponse) FromJsonString(s string) error {
6455	return json.Unmarshal([]byte(s), &r)
6456}
6457
6458type DescribeUploadStreamNumsRequest struct {
6459	*tchttp.BaseRequest
6460
6461	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
6462	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
6463
6464	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS,起始和结束时间跨度不支持超过31天。支持最近31天的数据查询
6465	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
6466
6467	// 直播域名,若不填,表示总体数据。
6468	Domains []*string `json:"Domains,omitempty" name:"Domains"`
6469
6470	// 数据粒度,支持如下粒度:
6471	// 5:5分钟粒度,(跨度不支持超过1天),
6472	// 1440:天粒度(跨度不支持超过一个月)。
6473	// 默认值:5。
6474	Granularity *uint64 `json:"Granularity,omitempty" name:"Granularity"`
6475}
6476
6477func (r *DescribeUploadStreamNumsRequest) ToJsonString() string {
6478    b, _ := json.Marshal(r)
6479    return string(b)
6480}
6481
6482// FromJsonString It is highly **NOT** recommended to use this function
6483// because it has no param check, nor strict type check
6484func (r *DescribeUploadStreamNumsRequest) FromJsonString(s string) error {
6485	f := make(map[string]interface{})
6486	if err := json.Unmarshal([]byte(s), &f); err != nil {
6487		return err
6488	}
6489	delete(f, "StartTime")
6490	delete(f, "EndTime")
6491	delete(f, "Domains")
6492	delete(f, "Granularity")
6493	if len(f) > 0 {
6494		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeUploadStreamNumsRequest has unknown keys!", "")
6495	}
6496	return json.Unmarshal([]byte(s), &r)
6497}
6498
6499type DescribeUploadStreamNumsResponse struct {
6500	*tchttp.BaseResponse
6501	Response *struct {
6502
6503		// 明细数据信息
6504		DataInfoList []*ConcurrentRecordStreamNum `json:"DataInfoList,omitempty" name:"DataInfoList"`
6505
6506		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6507		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6508	} `json:"Response"`
6509}
6510
6511func (r *DescribeUploadStreamNumsResponse) ToJsonString() string {
6512    b, _ := json.Marshal(r)
6513    return string(b)
6514}
6515
6516// FromJsonString It is highly **NOT** recommended to use this function
6517// because it has no param check, nor strict type check
6518func (r *DescribeUploadStreamNumsResponse) FromJsonString(s string) error {
6519	return json.Unmarshal([]byte(s), &r)
6520}
6521
6522type DescribeVisitTopSumInfoListRequest struct {
6523	*tchttp.BaseRequest
6524
6525	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
6526	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
6527
6528	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS
6529	// 时间跨度在(0,4小时],支持最近1天数据查询。
6530	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
6531
6532	// 峰值指标,可选值包括”Domain”,”StreamId”。
6533	TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"`
6534
6535	// 播放域名,默认为不填,表示求总体数据。
6536	PlayDomains []*string `json:"PlayDomains,omitempty" name:"PlayDomains"`
6537
6538	// 页号,
6539	// 范围是[1,1000],
6540	// 默认值是1。
6541	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
6542
6543	// 每页个数,范围是[1,1000],
6544	// 默认值是20。
6545	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
6546
6547	// 排序指标,可选值包括” AvgFluxPerSecond”,”TotalRequest”(默认),“TotalFlux”。
6548	OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"`
6549}
6550
6551func (r *DescribeVisitTopSumInfoListRequest) ToJsonString() string {
6552    b, _ := json.Marshal(r)
6553    return string(b)
6554}
6555
6556// FromJsonString It is highly **NOT** recommended to use this function
6557// because it has no param check, nor strict type check
6558func (r *DescribeVisitTopSumInfoListRequest) FromJsonString(s string) error {
6559	f := make(map[string]interface{})
6560	if err := json.Unmarshal([]byte(s), &f); err != nil {
6561		return err
6562	}
6563	delete(f, "StartTime")
6564	delete(f, "EndTime")
6565	delete(f, "TopIndex")
6566	delete(f, "PlayDomains")
6567	delete(f, "PageNum")
6568	delete(f, "PageSize")
6569	delete(f, "OrderParam")
6570	if len(f) > 0 {
6571		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeVisitTopSumInfoListRequest has unknown keys!", "")
6572	}
6573	return json.Unmarshal([]byte(s), &r)
6574}
6575
6576type DescribeVisitTopSumInfoListResponse struct {
6577	*tchttp.BaseResponse
6578	Response *struct {
6579
6580		// 页号,
6581	// 范围是[1,1000],
6582	// 默认值是1。
6583		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
6584
6585		// 每页个数,范围是[1,1000],
6586	// 默认值是20。
6587		PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
6588
6589		// 峰值指标,可选值包括”Domain”,”StreamId”。
6590		TopIndex *string `json:"TopIndex,omitempty" name:"TopIndex"`
6591
6592		// 排序指标,可选值包括” AvgFluxPerSecond”(按每秒平均流量排序),”TotalRequest”(默认,按总请求数排序),“TotalFlux”(按总流量排序)。
6593		OrderParam *string `json:"OrderParam,omitempty" name:"OrderParam"`
6594
6595		// 记录总数。
6596		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
6597
6598		// 记录总页数。
6599		TotalPage *uint64 `json:"TotalPage,omitempty" name:"TotalPage"`
6600
6601		// 数据内容。
6602		DataInfoList []*PlaySumStatInfo `json:"DataInfoList,omitempty" name:"DataInfoList"`
6603
6604		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6605		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6606	} `json:"Response"`
6607}
6608
6609func (r *DescribeVisitTopSumInfoListResponse) ToJsonString() string {
6610    b, _ := json.Marshal(r)
6611    return string(b)
6612}
6613
6614// FromJsonString It is highly **NOT** recommended to use this function
6615// because it has no param check, nor strict type check
6616func (r *DescribeVisitTopSumInfoListResponse) FromJsonString(s string) error {
6617	return json.Unmarshal([]byte(s), &r)
6618}
6619
6620type DomainCertInfo struct {
6621
6622	// 证书Id。
6623	CertId *int64 `json:"CertId,omitempty" name:"CertId"`
6624
6625	// 证书名称。
6626	CertName *string `json:"CertName,omitempty" name:"CertName"`
6627
6628	// 描述信息。
6629	Description *string `json:"Description,omitempty" name:"Description"`
6630
6631	// 创建时间,UTC格式。
6632	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
6633
6634	// 证书内容。
6635	HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"`
6636
6637	// 证书类型。
6638	// 0:用户添加证书,
6639	// 1:腾讯云托管证书。
6640	CertType *int64 `json:"CertType,omitempty" name:"CertType"`
6641
6642	// 证书过期时间,UTC格式。
6643	CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"`
6644
6645	// 使用此证书的域名名称。
6646	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
6647
6648	// 证书状态。
6649	Status *int64 `json:"Status,omitempty" name:"Status"`
6650
6651	// 证书本身标识的域名列表。
6652	// 比如: ["*.x.com"]
6653	// 注意:此字段可能返回 null,表示取不到有效值。
6654	CertDomains []*string `json:"CertDomains,omitempty" name:"CertDomains"`
6655
6656	// 腾讯云ssl的证书Id
6657	// 注意:此字段可能返回 null,表示取不到有效值。
6658	CloudCertId *string `json:"CloudCertId,omitempty" name:"CloudCertId"`
6659}
6660
6661type DomainDetailInfo struct {
6662
6663	// 国内还是国外:
6664	// Mainland: 表示国内数据。
6665	// Oversea: 表示国外数据。
6666	MainlandOrOversea *string `json:"MainlandOrOversea,omitempty" name:"MainlandOrOversea"`
6667
6668	// 带宽,单位: Mbps。
6669	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
6670
6671	// 流量,单位: MB。
6672	Flux *float64 `json:"Flux,omitempty" name:"Flux"`
6673
6674	// 人数。
6675	Online *uint64 `json:"Online,omitempty" name:"Online"`
6676
6677	// 请求数。
6678	Request *uint64 `json:"Request,omitempty" name:"Request"`
6679}
6680
6681type DomainInfo struct {
6682
6683	// 直播域名。
6684	Name *string `json:"Name,omitempty" name:"Name"`
6685
6686	// 域名类型:
6687	// 0: 推流。
6688	// 1: 播放。
6689	Type *uint64 `json:"Type,omitempty" name:"Type"`
6690
6691	// 域名状态:
6692	// 0: 停用。
6693	// 1: 启用。
6694	Status *uint64 `json:"Status,omitempty" name:"Status"`
6695
6696	// 添加时间。
6697	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
6698
6699	// 是否有 CName 到固定规则域名:
6700	// 0: 否。
6701	// 1: 是。
6702	BCName *uint64 `json:"BCName,omitempty" name:"BCName"`
6703
6704	// cname 对应的域名。
6705	TargetDomain *string `json:"TargetDomain,omitempty" name:"TargetDomain"`
6706
6707	// 播放区域,只在 Type=1 时该参数有意义。
6708	// 1: 国内。
6709	// 2: 全球。
6710	// 3: 海外。
6711	PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"`
6712
6713	// 是否慢直播:
6714	// 0: 普通直播。
6715	// 1: 慢直播。
6716	IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"`
6717
6718	// 当前客户使用的 cname 信息。
6719	CurrentCName *string `json:"CurrentCName,omitempty" name:"CurrentCName"`
6720
6721	// 失效参数,可忽略。
6722	RentTag *int64 `json:"RentTag,omitempty" name:"RentTag"`
6723
6724	// 失效参数,可忽略。
6725	RentExpireTime *string `json:"RentExpireTime,omitempty" name:"RentExpireTime"`
6726
6727	// 0: 标准直播。
6728	// 1: 小程序直播。
6729	// 注意:此字段可能返回 null,表示取不到有效值。
6730	IsMiniProgramLive *int64 `json:"IsMiniProgramLive,omitempty" name:"IsMiniProgramLive"`
6731}
6732
6733type DomainInfoList struct {
6734
6735	// 域名。
6736	Domain *string `json:"Domain,omitempty" name:"Domain"`
6737
6738	// 明细信息。
6739	DetailInfoList []*DomainDetailInfo `json:"DetailInfoList,omitempty" name:"DetailInfoList"`
6740}
6741
6742type DropLiveStreamRequest struct {
6743	*tchttp.BaseRequest
6744
6745	// 流名称。
6746	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
6747
6748	// 您的推流域名。
6749	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
6750
6751	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
6752	AppName *string `json:"AppName,omitempty" name:"AppName"`
6753}
6754
6755func (r *DropLiveStreamRequest) ToJsonString() string {
6756    b, _ := json.Marshal(r)
6757    return string(b)
6758}
6759
6760// FromJsonString It is highly **NOT** recommended to use this function
6761// because it has no param check, nor strict type check
6762func (r *DropLiveStreamRequest) FromJsonString(s string) error {
6763	f := make(map[string]interface{})
6764	if err := json.Unmarshal([]byte(s), &f); err != nil {
6765		return err
6766	}
6767	delete(f, "StreamName")
6768	delete(f, "DomainName")
6769	delete(f, "AppName")
6770	if len(f) > 0 {
6771		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DropLiveStreamRequest has unknown keys!", "")
6772	}
6773	return json.Unmarshal([]byte(s), &r)
6774}
6775
6776type DropLiveStreamResponse struct {
6777	*tchttp.BaseResponse
6778	Response *struct {
6779
6780		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6781		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6782	} `json:"Response"`
6783}
6784
6785func (r *DropLiveStreamResponse) ToJsonString() string {
6786    b, _ := json.Marshal(r)
6787    return string(b)
6788}
6789
6790// FromJsonString It is highly **NOT** recommended to use this function
6791// because it has no param check, nor strict type check
6792func (r *DropLiveStreamResponse) FromJsonString(s string) error {
6793	return json.Unmarshal([]byte(s), &r)
6794}
6795
6796type EnableLiveDomainRequest struct {
6797	*tchttp.BaseRequest
6798
6799	// 待启用的直播域名。
6800	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
6801}
6802
6803func (r *EnableLiveDomainRequest) ToJsonString() string {
6804    b, _ := json.Marshal(r)
6805    return string(b)
6806}
6807
6808// FromJsonString It is highly **NOT** recommended to use this function
6809// because it has no param check, nor strict type check
6810func (r *EnableLiveDomainRequest) FromJsonString(s string) error {
6811	f := make(map[string]interface{})
6812	if err := json.Unmarshal([]byte(s), &f); err != nil {
6813		return err
6814	}
6815	delete(f, "DomainName")
6816	if len(f) > 0 {
6817		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "EnableLiveDomainRequest has unknown keys!", "")
6818	}
6819	return json.Unmarshal([]byte(s), &r)
6820}
6821
6822type EnableLiveDomainResponse struct {
6823	*tchttp.BaseResponse
6824	Response *struct {
6825
6826		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6827		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6828	} `json:"Response"`
6829}
6830
6831func (r *EnableLiveDomainResponse) ToJsonString() string {
6832    b, _ := json.Marshal(r)
6833    return string(b)
6834}
6835
6836// FromJsonString It is highly **NOT** recommended to use this function
6837// because it has no param check, nor strict type check
6838func (r *EnableLiveDomainResponse) FromJsonString(s string) error {
6839	return json.Unmarshal([]byte(s), &r)
6840}
6841
6842type ForbidLiveDomainRequest struct {
6843	*tchttp.BaseRequest
6844
6845	// 待停用的直播域名。
6846	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
6847}
6848
6849func (r *ForbidLiveDomainRequest) ToJsonString() string {
6850    b, _ := json.Marshal(r)
6851    return string(b)
6852}
6853
6854// FromJsonString It is highly **NOT** recommended to use this function
6855// because it has no param check, nor strict type check
6856func (r *ForbidLiveDomainRequest) FromJsonString(s string) error {
6857	f := make(map[string]interface{})
6858	if err := json.Unmarshal([]byte(s), &f); err != nil {
6859		return err
6860	}
6861	delete(f, "DomainName")
6862	if len(f) > 0 {
6863		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ForbidLiveDomainRequest has unknown keys!", "")
6864	}
6865	return json.Unmarshal([]byte(s), &r)
6866}
6867
6868type ForbidLiveDomainResponse struct {
6869	*tchttp.BaseResponse
6870	Response *struct {
6871
6872		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6873		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6874	} `json:"Response"`
6875}
6876
6877func (r *ForbidLiveDomainResponse) ToJsonString() string {
6878    b, _ := json.Marshal(r)
6879    return string(b)
6880}
6881
6882// FromJsonString It is highly **NOT** recommended to use this function
6883// because it has no param check, nor strict type check
6884func (r *ForbidLiveDomainResponse) FromJsonString(s string) error {
6885	return json.Unmarshal([]byte(s), &r)
6886}
6887
6888type ForbidLiveStreamRequest struct {
6889	*tchttp.BaseRequest
6890
6891	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
6892	AppName *string `json:"AppName,omitempty" name:"AppName"`
6893
6894	// 您的推流域名。
6895	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
6896
6897	// 流名称。
6898	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
6899
6900	// 恢复流的时间。UTC 格式,例如:2018-11-29T19:00:00Z。
6901	// 注意:
6902	// 1. 默认禁播7天,且最长支持禁播90天。
6903	// 2. 北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
6904	ResumeTime *string `json:"ResumeTime,omitempty" name:"ResumeTime"`
6905
6906	// 禁推原因。
6907	// 注明:请务必填写禁推原因,防止误操作。
6908	// 长度限制:2048字节。
6909	Reason *string `json:"Reason,omitempty" name:"Reason"`
6910}
6911
6912func (r *ForbidLiveStreamRequest) ToJsonString() string {
6913    b, _ := json.Marshal(r)
6914    return string(b)
6915}
6916
6917// FromJsonString It is highly **NOT** recommended to use this function
6918// because it has no param check, nor strict type check
6919func (r *ForbidLiveStreamRequest) FromJsonString(s string) error {
6920	f := make(map[string]interface{})
6921	if err := json.Unmarshal([]byte(s), &f); err != nil {
6922		return err
6923	}
6924	delete(f, "AppName")
6925	delete(f, "DomainName")
6926	delete(f, "StreamName")
6927	delete(f, "ResumeTime")
6928	delete(f, "Reason")
6929	if len(f) > 0 {
6930		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ForbidLiveStreamRequest has unknown keys!", "")
6931	}
6932	return json.Unmarshal([]byte(s), &r)
6933}
6934
6935type ForbidLiveStreamResponse struct {
6936	*tchttp.BaseResponse
6937	Response *struct {
6938
6939		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6940		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
6941	} `json:"Response"`
6942}
6943
6944func (r *ForbidLiveStreamResponse) ToJsonString() string {
6945    b, _ := json.Marshal(r)
6946    return string(b)
6947}
6948
6949// FromJsonString It is highly **NOT** recommended to use this function
6950// because it has no param check, nor strict type check
6951func (r *ForbidLiveStreamResponse) FromJsonString(s string) error {
6952	return json.Unmarshal([]byte(s), &r)
6953}
6954
6955type ForbidStreamInfo struct {
6956
6957	// 流名称。
6958	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
6959
6960	// 创建时间。
6961	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
6962
6963	// 禁推过期时间。
6964	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
6965}
6966
6967type GroupProIspDataInfo struct {
6968
6969	// 省份。
6970	ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"`
6971
6972	// 运营商。
6973	IspName *string `json:"IspName,omitempty" name:"IspName"`
6974
6975	// 分钟维度的明细数据。
6976	DetailInfoList []*CdnPlayStatData `json:"DetailInfoList,omitempty" name:"DetailInfoList"`
6977}
6978
6979type HlsSpecialParam struct {
6980
6981	// HLS续流超时时间。
6982	// 取值范围[0,1800]。
6983	FlowContinueDuration *uint64 `json:"FlowContinueDuration,omitempty" name:"FlowContinueDuration"`
6984}
6985
6986type HttpCodeInfo struct {
6987
6988	// HTTP协议返回码。
6989	// 例:"2xx", "3xx", "4xx", "5xx"。
6990	HttpCode *string `json:"HttpCode,omitempty" name:"HttpCode"`
6991
6992	// 统计信息,对于无数据的时间点,会补0。
6993	ValueList []*HttpCodeValue `json:"ValueList,omitempty" name:"ValueList"`
6994}
6995
6996type HttpCodeValue struct {
6997
6998	// 时间,格式:yyyy-mm-dd HH:MM:SS。
6999	Time *string `json:"Time,omitempty" name:"Time"`
7000
7001	// 次数。
7002	Numbers *uint64 `json:"Numbers,omitempty" name:"Numbers"`
7003
7004	// 占比。
7005	Percentage *float64 `json:"Percentage,omitempty" name:"Percentage"`
7006}
7007
7008type HttpStatusData struct {
7009
7010	// 数据时间点,
7011	// 格式:yyyy-mm-dd HH:MM:SS。
7012	Time *string `json:"Time,omitempty" name:"Time"`
7013
7014	// 播放状态码详细信息。
7015	HttpStatusInfoList []*HttpStatusInfo `json:"HttpStatusInfoList,omitempty" name:"HttpStatusInfoList"`
7016}
7017
7018type HttpStatusInfo struct {
7019
7020	// 播放HTTP状态码。
7021	HttpStatus *string `json:"HttpStatus,omitempty" name:"HttpStatus"`
7022
7023	// 个数。
7024	Num *uint64 `json:"Num,omitempty" name:"Num"`
7025}
7026
7027type LivePackageInfo struct {
7028
7029	// 包 ID。
7030	Id *string `json:"Id,omitempty" name:"Id"`
7031
7032	// 总量。
7033	// 注意:当为流量包时单位为字节。
7034	// 当为转码包时单位为分钟。
7035	Total *int64 `json:"Total,omitempty" name:"Total"`
7036
7037	// 使用量。
7038	// 注意:当为流量包时单位为字节。
7039	// 当为转码包时单位为分钟。
7040	// 当为连麦包时单位为小时。
7041	Used *int64 `json:"Used,omitempty" name:"Used"`
7042
7043	// 剩余量。
7044	// 注意:当为流量包时单位为字节。
7045	// 当为转码包时单位为分钟。
7046	// 当为连麦包时单位为小时。
7047	Left *int64 `json:"Left,omitempty" name:"Left"`
7048
7049	// 购买时间。
7050	BuyTime *string `json:"BuyTime,omitempty" name:"BuyTime"`
7051
7052	// 过期时间。
7053	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
7054
7055	// 包类型,可选值:
7056	// 0: 流量包。
7057	// 1: 普通转码包。
7058	// 2: 极速高清包。
7059	// 3: 连麦包。
7060	Type *int64 `json:"Type,omitempty" name:"Type"`
7061
7062	// 包状态,可选值:
7063	// 0: 未使用。
7064	// 1: 使用中。
7065	// 2: 已过期。
7066	// 3: 已冻结。
7067	// 4: 已耗尽。
7068	// 5: 已退款
7069	Status *int64 `json:"Status,omitempty" name:"Status"`
7070}
7071
7072type LogInfo struct {
7073
7074	// 日志名称。
7075	LogName *string `json:"LogName,omitempty" name:"LogName"`
7076
7077	// 日志 URL。
7078	LogUrl *string `json:"LogUrl,omitempty" name:"LogUrl"`
7079
7080	// 日志生成时间。
7081	LogTime *string `json:"LogTime,omitempty" name:"LogTime"`
7082
7083	// 文件大小。
7084	FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"`
7085}
7086
7087type ModifyLiveCallbackTemplateRequest struct {
7088	*tchttp.BaseRequest
7089
7090	// DescribeLiveCallbackTemplates接口返回的模板 ID。
7091	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
7092
7093	// 模板名称。
7094	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
7095
7096	// 描述信息。
7097	Description *string `json:"Description,omitempty" name:"Description"`
7098
7099	// 开播回调 URL。
7100	StreamBeginNotifyUrl *string `json:"StreamBeginNotifyUrl,omitempty" name:"StreamBeginNotifyUrl"`
7101
7102	// 断流回调 URL。
7103	StreamEndNotifyUrl *string `json:"StreamEndNotifyUrl,omitempty" name:"StreamEndNotifyUrl"`
7104
7105	// 录制回调 URL。
7106	RecordNotifyUrl *string `json:"RecordNotifyUrl,omitempty" name:"RecordNotifyUrl"`
7107
7108	// 截图回调 URL。
7109	SnapshotNotifyUrl *string `json:"SnapshotNotifyUrl,omitempty" name:"SnapshotNotifyUrl"`
7110
7111	// 鉴黄回调 URL。
7112	PornCensorshipNotifyUrl *string `json:"PornCensorshipNotifyUrl,omitempty" name:"PornCensorshipNotifyUrl"`
7113
7114	// 回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。
7115	// [事件消息通知](/document/product/267/32744)。
7116	CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"`
7117}
7118
7119func (r *ModifyLiveCallbackTemplateRequest) ToJsonString() string {
7120    b, _ := json.Marshal(r)
7121    return string(b)
7122}
7123
7124// FromJsonString It is highly **NOT** recommended to use this function
7125// because it has no param check, nor strict type check
7126func (r *ModifyLiveCallbackTemplateRequest) FromJsonString(s string) error {
7127	f := make(map[string]interface{})
7128	if err := json.Unmarshal([]byte(s), &f); err != nil {
7129		return err
7130	}
7131	delete(f, "TemplateId")
7132	delete(f, "TemplateName")
7133	delete(f, "Description")
7134	delete(f, "StreamBeginNotifyUrl")
7135	delete(f, "StreamEndNotifyUrl")
7136	delete(f, "RecordNotifyUrl")
7137	delete(f, "SnapshotNotifyUrl")
7138	delete(f, "PornCensorshipNotifyUrl")
7139	delete(f, "CallbackKey")
7140	if len(f) > 0 {
7141		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveCallbackTemplateRequest has unknown keys!", "")
7142	}
7143	return json.Unmarshal([]byte(s), &r)
7144}
7145
7146type ModifyLiveCallbackTemplateResponse struct {
7147	*tchttp.BaseResponse
7148	Response *struct {
7149
7150		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7151		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7152	} `json:"Response"`
7153}
7154
7155func (r *ModifyLiveCallbackTemplateResponse) ToJsonString() string {
7156    b, _ := json.Marshal(r)
7157    return string(b)
7158}
7159
7160// FromJsonString It is highly **NOT** recommended to use this function
7161// because it has no param check, nor strict type check
7162func (r *ModifyLiveCallbackTemplateResponse) FromJsonString(s string) error {
7163	return json.Unmarshal([]byte(s), &r)
7164}
7165
7166type ModifyLiveCertRequest struct {
7167	*tchttp.BaseRequest
7168
7169	// 证书Id。
7170	CertId *string `json:"CertId,omitempty" name:"CertId"`
7171
7172	// 证书类型。0-用户添加证书;1-腾讯云托管证书。
7173	CertType *uint64 `json:"CertType,omitempty" name:"CertType"`
7174
7175	// 证书名称。
7176	CertName *string `json:"CertName,omitempty" name:"CertName"`
7177
7178	// 证书内容,即公钥。
7179	HttpsCrt *string `json:"HttpsCrt,omitempty" name:"HttpsCrt"`
7180
7181	// 私钥。
7182	HttpsKey *string `json:"HttpsKey,omitempty" name:"HttpsKey"`
7183
7184	// 描述信息。
7185	Description *string `json:"Description,omitempty" name:"Description"`
7186}
7187
7188func (r *ModifyLiveCertRequest) ToJsonString() string {
7189    b, _ := json.Marshal(r)
7190    return string(b)
7191}
7192
7193// FromJsonString It is highly **NOT** recommended to use this function
7194// because it has no param check, nor strict type check
7195func (r *ModifyLiveCertRequest) FromJsonString(s string) error {
7196	f := make(map[string]interface{})
7197	if err := json.Unmarshal([]byte(s), &f); err != nil {
7198		return err
7199	}
7200	delete(f, "CertId")
7201	delete(f, "CertType")
7202	delete(f, "CertName")
7203	delete(f, "HttpsCrt")
7204	delete(f, "HttpsKey")
7205	delete(f, "Description")
7206	if len(f) > 0 {
7207		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveCertRequest has unknown keys!", "")
7208	}
7209	return json.Unmarshal([]byte(s), &r)
7210}
7211
7212type ModifyLiveCertResponse struct {
7213	*tchttp.BaseResponse
7214	Response *struct {
7215
7216		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7217		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7218	} `json:"Response"`
7219}
7220
7221func (r *ModifyLiveCertResponse) ToJsonString() string {
7222    b, _ := json.Marshal(r)
7223    return string(b)
7224}
7225
7226// FromJsonString It is highly **NOT** recommended to use this function
7227// because it has no param check, nor strict type check
7228func (r *ModifyLiveCertResponse) FromJsonString(s string) error {
7229	return json.Unmarshal([]byte(s), &r)
7230}
7231
7232type ModifyLiveDomainCertRequest struct {
7233	*tchttp.BaseRequest
7234
7235	// 播放域名。
7236	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
7237
7238	// 证书Id。
7239	CertId *int64 `json:"CertId,omitempty" name:"CertId"`
7240
7241	// 状态,0:关闭  1:打开。
7242	Status *int64 `json:"Status,omitempty" name:"Status"`
7243}
7244
7245func (r *ModifyLiveDomainCertRequest) ToJsonString() string {
7246    b, _ := json.Marshal(r)
7247    return string(b)
7248}
7249
7250// FromJsonString It is highly **NOT** recommended to use this function
7251// because it has no param check, nor strict type check
7252func (r *ModifyLiveDomainCertRequest) FromJsonString(s string) error {
7253	f := make(map[string]interface{})
7254	if err := json.Unmarshal([]byte(s), &f); err != nil {
7255		return err
7256	}
7257	delete(f, "DomainName")
7258	delete(f, "CertId")
7259	delete(f, "Status")
7260	if len(f) > 0 {
7261		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveDomainCertRequest has unknown keys!", "")
7262	}
7263	return json.Unmarshal([]byte(s), &r)
7264}
7265
7266type ModifyLiveDomainCertResponse struct {
7267	*tchttp.BaseResponse
7268	Response *struct {
7269
7270		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7271		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7272	} `json:"Response"`
7273}
7274
7275func (r *ModifyLiveDomainCertResponse) ToJsonString() string {
7276    b, _ := json.Marshal(r)
7277    return string(b)
7278}
7279
7280// FromJsonString It is highly **NOT** recommended to use this function
7281// because it has no param check, nor strict type check
7282func (r *ModifyLiveDomainCertResponse) FromJsonString(s string) error {
7283	return json.Unmarshal([]byte(s), &r)
7284}
7285
7286type ModifyLiveDomainRefererRequest struct {
7287	*tchttp.BaseRequest
7288
7289	// 播放域名。
7290	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
7291
7292	// 是否开启当前域名的 Referer 黑白名单鉴权。
7293	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
7294
7295	// 名单类型,0:黑名单,1:白名单。
7296	Type *int64 `json:"Type,omitempty" name:"Type"`
7297
7298	// 是否允许空 Referer,0:不允许,1:允许。
7299	AllowEmpty *int64 `json:"AllowEmpty,omitempty" name:"AllowEmpty"`
7300
7301	// Referer 名单列表,以;分隔。
7302	Rules *string `json:"Rules,omitempty" name:"Rules"`
7303}
7304
7305func (r *ModifyLiveDomainRefererRequest) ToJsonString() string {
7306    b, _ := json.Marshal(r)
7307    return string(b)
7308}
7309
7310// FromJsonString It is highly **NOT** recommended to use this function
7311// because it has no param check, nor strict type check
7312func (r *ModifyLiveDomainRefererRequest) FromJsonString(s string) error {
7313	f := make(map[string]interface{})
7314	if err := json.Unmarshal([]byte(s), &f); err != nil {
7315		return err
7316	}
7317	delete(f, "DomainName")
7318	delete(f, "Enable")
7319	delete(f, "Type")
7320	delete(f, "AllowEmpty")
7321	delete(f, "Rules")
7322	if len(f) > 0 {
7323		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveDomainRefererRequest has unknown keys!", "")
7324	}
7325	return json.Unmarshal([]byte(s), &r)
7326}
7327
7328type ModifyLiveDomainRefererResponse struct {
7329	*tchttp.BaseResponse
7330	Response *struct {
7331
7332		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7333		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7334	} `json:"Response"`
7335}
7336
7337func (r *ModifyLiveDomainRefererResponse) ToJsonString() string {
7338    b, _ := json.Marshal(r)
7339    return string(b)
7340}
7341
7342// FromJsonString It is highly **NOT** recommended to use this function
7343// because it has no param check, nor strict type check
7344func (r *ModifyLiveDomainRefererResponse) FromJsonString(s string) error {
7345	return json.Unmarshal([]byte(s), &r)
7346}
7347
7348type ModifyLivePlayAuthKeyRequest struct {
7349	*tchttp.BaseRequest
7350
7351	// 播放域名。
7352	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
7353
7354	// 是否启用,0:关闭,1:启用。
7355	// 不传表示不修改当前值。
7356	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
7357
7358	// 鉴权key。
7359	// 不传表示不修改当前值。
7360	AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"`
7361
7362	// 有效时间,单位:秒。
7363	// 不传表示不修改当前值。
7364	AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"`
7365
7366	// 鉴权备用key。
7367	// 不传表示不修改当前值。
7368	AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"`
7369}
7370
7371func (r *ModifyLivePlayAuthKeyRequest) ToJsonString() string {
7372    b, _ := json.Marshal(r)
7373    return string(b)
7374}
7375
7376// FromJsonString It is highly **NOT** recommended to use this function
7377// because it has no param check, nor strict type check
7378func (r *ModifyLivePlayAuthKeyRequest) FromJsonString(s string) error {
7379	f := make(map[string]interface{})
7380	if err := json.Unmarshal([]byte(s), &f); err != nil {
7381		return err
7382	}
7383	delete(f, "DomainName")
7384	delete(f, "Enable")
7385	delete(f, "AuthKey")
7386	delete(f, "AuthDelta")
7387	delete(f, "AuthBackKey")
7388	if len(f) > 0 {
7389		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLivePlayAuthKeyRequest has unknown keys!", "")
7390	}
7391	return json.Unmarshal([]byte(s), &r)
7392}
7393
7394type ModifyLivePlayAuthKeyResponse struct {
7395	*tchttp.BaseResponse
7396	Response *struct {
7397
7398		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7399		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7400	} `json:"Response"`
7401}
7402
7403func (r *ModifyLivePlayAuthKeyResponse) ToJsonString() string {
7404    b, _ := json.Marshal(r)
7405    return string(b)
7406}
7407
7408// FromJsonString It is highly **NOT** recommended to use this function
7409// because it has no param check, nor strict type check
7410func (r *ModifyLivePlayAuthKeyResponse) FromJsonString(s string) error {
7411	return json.Unmarshal([]byte(s), &r)
7412}
7413
7414type ModifyLivePlayDomainRequest struct {
7415	*tchttp.BaseRequest
7416
7417	// 播放域名。
7418	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
7419
7420	// 拉流域名类型。1-国内;2-全球;3-境外
7421	PlayType *int64 `json:"PlayType,omitempty" name:"PlayType"`
7422}
7423
7424func (r *ModifyLivePlayDomainRequest) ToJsonString() string {
7425    b, _ := json.Marshal(r)
7426    return string(b)
7427}
7428
7429// FromJsonString It is highly **NOT** recommended to use this function
7430// because it has no param check, nor strict type check
7431func (r *ModifyLivePlayDomainRequest) FromJsonString(s string) error {
7432	f := make(map[string]interface{})
7433	if err := json.Unmarshal([]byte(s), &f); err != nil {
7434		return err
7435	}
7436	delete(f, "DomainName")
7437	delete(f, "PlayType")
7438	if len(f) > 0 {
7439		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLivePlayDomainRequest has unknown keys!", "")
7440	}
7441	return json.Unmarshal([]byte(s), &r)
7442}
7443
7444type ModifyLivePlayDomainResponse struct {
7445	*tchttp.BaseResponse
7446	Response *struct {
7447
7448		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7449		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7450	} `json:"Response"`
7451}
7452
7453func (r *ModifyLivePlayDomainResponse) ToJsonString() string {
7454    b, _ := json.Marshal(r)
7455    return string(b)
7456}
7457
7458// FromJsonString It is highly **NOT** recommended to use this function
7459// because it has no param check, nor strict type check
7460func (r *ModifyLivePlayDomainResponse) FromJsonString(s string) error {
7461	return json.Unmarshal([]byte(s), &r)
7462}
7463
7464type ModifyLivePullStreamTaskRequest struct {
7465	*tchttp.BaseRequest
7466
7467	// 任务Id。
7468	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
7469
7470	// 操作人姓名。
7471	Operator *string `json:"Operator,omitempty" name:"Operator"`
7472
7473	// 拉流源url列表。
7474	// SourceType为直播(PullLivePushLive)只可以填1个,
7475	// SourceType为点播(PullVodPushLive)可以填多个,上限30个。
7476	SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"`
7477
7478	// 开始时间。
7479	// 使用UTC格式时间,
7480	// 例如:2019-01-08T10:00:00Z。
7481	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
7482	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
7483
7484	// 结束时间,注意:
7485	// 1. 结束时间必须大于开始时间;
7486	// 2. 结束时间和开始时间必须大于当前时间;
7487	// 3. 结束时间 和 开始时间 间隔必须小于七天。
7488	// 使用UTC格式时间,
7489	// 例如:2019-01-08T10:00:00Z。
7490	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
7491	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
7492
7493	// 点播拉流转推循环次数。
7494	// -1:无限循环,直到任务结束。
7495	// 0:不循环。
7496	// >0:具体循环次数。次数和时间以先结束的为准。
7497	// 注意:拉流源为点播,该配置生效。
7498	VodLoopTimes *int64 `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"`
7499
7500	// 点播更新SourceUrls后的播放方式:
7501	// ImmediateNewSource:立即从更新的拉流源开始播放;
7502	// ContinueBreakPoint:从上次断流url源的断点处继续,结束后再使用新的拉流源。
7503	// 注意:拉流源为点播,该配置生效。
7504	VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"`
7505
7506	// 任务状态:
7507	// enable - 启用,
7508	// pause - 暂停。
7509	Status *string `json:"Status,omitempty" name:"Status"`
7510
7511	// 选择需要回调的事件(不填则回调全部):
7512	// TaskStart:任务启动回调,
7513	// TaskExit:任务停止回调,
7514	// VodSourceFileStart:从点播源文件开始拉流回调,
7515	// VodSourceFileFinish:从点播源文件拉流结束回调,
7516	// ResetTaskConfig:任务更新回调。
7517	CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"`
7518
7519	// 自定义回调地址。
7520	// 相关事件会回调到该地址。
7521	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`
7522
7523	// 指定播放文件索引。
7524	// 注意: 从1开始,不大于SourceUrls中文件个数。
7525	FileIndex *int64 `json:"FileIndex,omitempty" name:"FileIndex"`
7526
7527	// 指定播放文件偏移。
7528	// 注意:
7529	// 1. 单位:秒,配合FileIndex使用。
7530	OffsetTime *int64 `json:"OffsetTime,omitempty" name:"OffsetTime"`
7531
7532	// 任务备注。
7533	Comment *string `json:"Comment,omitempty" name:"Comment"`
7534}
7535
7536func (r *ModifyLivePullStreamTaskRequest) ToJsonString() string {
7537    b, _ := json.Marshal(r)
7538    return string(b)
7539}
7540
7541// FromJsonString It is highly **NOT** recommended to use this function
7542// because it has no param check, nor strict type check
7543func (r *ModifyLivePullStreamTaskRequest) FromJsonString(s string) error {
7544	f := make(map[string]interface{})
7545	if err := json.Unmarshal([]byte(s), &f); err != nil {
7546		return err
7547	}
7548	delete(f, "TaskId")
7549	delete(f, "Operator")
7550	delete(f, "SourceUrls")
7551	delete(f, "StartTime")
7552	delete(f, "EndTime")
7553	delete(f, "VodLoopTimes")
7554	delete(f, "VodRefreshType")
7555	delete(f, "Status")
7556	delete(f, "CallbackEvents")
7557	delete(f, "CallbackUrl")
7558	delete(f, "FileIndex")
7559	delete(f, "OffsetTime")
7560	delete(f, "Comment")
7561	if len(f) > 0 {
7562		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLivePullStreamTaskRequest has unknown keys!", "")
7563	}
7564	return json.Unmarshal([]byte(s), &r)
7565}
7566
7567type ModifyLivePullStreamTaskResponse struct {
7568	*tchttp.BaseResponse
7569	Response *struct {
7570
7571		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7572		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7573	} `json:"Response"`
7574}
7575
7576func (r *ModifyLivePullStreamTaskResponse) ToJsonString() string {
7577    b, _ := json.Marshal(r)
7578    return string(b)
7579}
7580
7581// FromJsonString It is highly **NOT** recommended to use this function
7582// because it has no param check, nor strict type check
7583func (r *ModifyLivePullStreamTaskResponse) FromJsonString(s string) error {
7584	return json.Unmarshal([]byte(s), &r)
7585}
7586
7587type ModifyLivePushAuthKeyRequest struct {
7588	*tchttp.BaseRequest
7589
7590	// 推流域名。
7591	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
7592
7593	// 是否启用,0:关闭,1:启用。
7594	// 不传表示不修改当前值。
7595	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
7596
7597	// 主鉴权key。
7598	// 不传表示不修改当前值。
7599	MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"`
7600
7601	// 备鉴权key。
7602	// 不传表示不修改当前值。
7603	BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"`
7604
7605	// 有效时间,单位:秒。
7606	AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"`
7607}
7608
7609func (r *ModifyLivePushAuthKeyRequest) ToJsonString() string {
7610    b, _ := json.Marshal(r)
7611    return string(b)
7612}
7613
7614// FromJsonString It is highly **NOT** recommended to use this function
7615// because it has no param check, nor strict type check
7616func (r *ModifyLivePushAuthKeyRequest) FromJsonString(s string) error {
7617	f := make(map[string]interface{})
7618	if err := json.Unmarshal([]byte(s), &f); err != nil {
7619		return err
7620	}
7621	delete(f, "DomainName")
7622	delete(f, "Enable")
7623	delete(f, "MasterAuthKey")
7624	delete(f, "BackupAuthKey")
7625	delete(f, "AuthDelta")
7626	if len(f) > 0 {
7627		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLivePushAuthKeyRequest has unknown keys!", "")
7628	}
7629	return json.Unmarshal([]byte(s), &r)
7630}
7631
7632type ModifyLivePushAuthKeyResponse struct {
7633	*tchttp.BaseResponse
7634	Response *struct {
7635
7636		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7637		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7638	} `json:"Response"`
7639}
7640
7641func (r *ModifyLivePushAuthKeyResponse) ToJsonString() string {
7642    b, _ := json.Marshal(r)
7643    return string(b)
7644}
7645
7646// FromJsonString It is highly **NOT** recommended to use this function
7647// because it has no param check, nor strict type check
7648func (r *ModifyLivePushAuthKeyResponse) FromJsonString(s string) error {
7649	return json.Unmarshal([]byte(s), &r)
7650}
7651
7652type ModifyLiveRecordTemplateRequest struct {
7653	*tchttp.BaseRequest
7654
7655	// DescribeRecordTemplates接口获取到的模板 ID。
7656	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
7657
7658	// 模板名称。
7659	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
7660
7661	// 描述信息。
7662	Description *string `json:"Description,omitempty" name:"Description"`
7663
7664	// FLV 录制参数,开启 FLV 录制时设置。
7665	FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"`
7666
7667	// HLS 录制参数,开启 HLS 录制时设置。
7668	HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"`
7669
7670	// MP4 录制参数,开启 MP4 录制时设置。
7671	Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"`
7672
7673	// AAC 录制参数,开启 AAC 录制时设置。
7674	AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"`
7675
7676	// HLS 录制定制参数。
7677	HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"`
7678
7679	// MP3 录制参数,开启 MP3 录制时设置。
7680	Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"`
7681}
7682
7683func (r *ModifyLiveRecordTemplateRequest) ToJsonString() string {
7684    b, _ := json.Marshal(r)
7685    return string(b)
7686}
7687
7688// FromJsonString It is highly **NOT** recommended to use this function
7689// because it has no param check, nor strict type check
7690func (r *ModifyLiveRecordTemplateRequest) FromJsonString(s string) error {
7691	f := make(map[string]interface{})
7692	if err := json.Unmarshal([]byte(s), &f); err != nil {
7693		return err
7694	}
7695	delete(f, "TemplateId")
7696	delete(f, "TemplateName")
7697	delete(f, "Description")
7698	delete(f, "FlvParam")
7699	delete(f, "HlsParam")
7700	delete(f, "Mp4Param")
7701	delete(f, "AacParam")
7702	delete(f, "HlsSpecialParam")
7703	delete(f, "Mp3Param")
7704	if len(f) > 0 {
7705		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveRecordTemplateRequest has unknown keys!", "")
7706	}
7707	return json.Unmarshal([]byte(s), &r)
7708}
7709
7710type ModifyLiveRecordTemplateResponse struct {
7711	*tchttp.BaseResponse
7712	Response *struct {
7713
7714		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7715		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7716	} `json:"Response"`
7717}
7718
7719func (r *ModifyLiveRecordTemplateResponse) ToJsonString() string {
7720    b, _ := json.Marshal(r)
7721    return string(b)
7722}
7723
7724// FromJsonString It is highly **NOT** recommended to use this function
7725// because it has no param check, nor strict type check
7726func (r *ModifyLiveRecordTemplateResponse) FromJsonString(s string) error {
7727	return json.Unmarshal([]byte(s), &r)
7728}
7729
7730type ModifyLiveSnapshotTemplateRequest struct {
7731	*tchttp.BaseRequest
7732
7733	// 模板 ID。
7734	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
7735
7736	// 模板名称。
7737	// 长度上限:255字节。
7738	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
7739
7740	// 描述信息。
7741	// 长度上限:1024字节。
7742	Description *string `json:"Description,omitempty" name:"Description"`
7743
7744	// 截图间隔,单位s,默认10s。
7745	// 范围: 5s ~ 300s。
7746	SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"`
7747
7748	// 截图宽度。默认:0(原始宽)。
7749	Width *int64 `json:"Width,omitempty" name:"Width"`
7750
7751	// 截图高度。默认:0(原始高)。
7752	Height *int64 `json:"Height,omitempty" name:"Height"`
7753
7754	// 是否开启鉴黄,默认 0 。
7755	// 0:不开启。
7756	// 1:开启。
7757	PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"`
7758
7759	// Cos 应用 ID。
7760	CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"`
7761
7762	// Cos Bucket名称。
7763	// 注:CosBucket参数值不能包含-[appid] 部分。
7764	CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"`
7765
7766	// Cos 地域。
7767	CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"`
7768
7769	// Cos Bucket文件夹前缀。
7770	CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"`
7771
7772	// Cos 文件名称。
7773	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
7774}
7775
7776func (r *ModifyLiveSnapshotTemplateRequest) ToJsonString() string {
7777    b, _ := json.Marshal(r)
7778    return string(b)
7779}
7780
7781// FromJsonString It is highly **NOT** recommended to use this function
7782// because it has no param check, nor strict type check
7783func (r *ModifyLiveSnapshotTemplateRequest) FromJsonString(s string) error {
7784	f := make(map[string]interface{})
7785	if err := json.Unmarshal([]byte(s), &f); err != nil {
7786		return err
7787	}
7788	delete(f, "TemplateId")
7789	delete(f, "TemplateName")
7790	delete(f, "Description")
7791	delete(f, "SnapshotInterval")
7792	delete(f, "Width")
7793	delete(f, "Height")
7794	delete(f, "PornFlag")
7795	delete(f, "CosAppId")
7796	delete(f, "CosBucket")
7797	delete(f, "CosRegion")
7798	delete(f, "CosPrefix")
7799	delete(f, "CosFileName")
7800	if len(f) > 0 {
7801		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveSnapshotTemplateRequest has unknown keys!", "")
7802	}
7803	return json.Unmarshal([]byte(s), &r)
7804}
7805
7806type ModifyLiveSnapshotTemplateResponse struct {
7807	*tchttp.BaseResponse
7808	Response *struct {
7809
7810		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7811		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7812	} `json:"Response"`
7813}
7814
7815func (r *ModifyLiveSnapshotTemplateResponse) ToJsonString() string {
7816    b, _ := json.Marshal(r)
7817    return string(b)
7818}
7819
7820// FromJsonString It is highly **NOT** recommended to use this function
7821// because it has no param check, nor strict type check
7822func (r *ModifyLiveSnapshotTemplateResponse) FromJsonString(s string) error {
7823	return json.Unmarshal([]byte(s), &r)
7824}
7825
7826type ModifyLiveTranscodeTemplateRequest struct {
7827	*tchttp.BaseRequest
7828
7829	// 模板 Id。
7830	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
7831
7832	// 视频编码:h264/h265/origin,默认origin。
7833	//
7834	// origin: 保持原始编码格式
7835	Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"`
7836
7837	// 音频编码:aac,默认aac。
7838	// 注意:当前该参数未生效,待后续支持!
7839	Acodec *string `json:"Acodec,omitempty" name:"Acodec"`
7840
7841	// 音频码率,默认0。
7842	// 范围:0-500。
7843	AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"`
7844
7845	// 模板描述。
7846	Description *string `json:"Description,omitempty" name:"Description"`
7847
7848	// 视频码率。范围:0kbps - 8000kbps。
7849	// 0为保持原始码率。
7850	// 注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。
7851	VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"`
7852
7853	// 宽。0-3000。
7854	// 数值必须是2的倍数,0是原始宽度
7855	Width *int64 `json:"Width,omitempty" name:"Width"`
7856
7857	// 是否保留视频,0:否,1:是。默认1。
7858	NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"`
7859
7860	// 是否保留音频,0:否,1:是。默认1。
7861	NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"`
7862
7863	// 高。0-3000。
7864	// 数值必须是2的倍数,0是原始宽度
7865	Height *int64 `json:"Height,omitempty" name:"Height"`
7866
7867	// 帧率,默认0。
7868	// 范围0-60
7869	Fps *int64 `json:"Fps,omitempty" name:"Fps"`
7870
7871	// 关键帧间隔,单位:秒。
7872	// 范围2-6
7873	Gop *int64 `json:"Gop,omitempty" name:"Gop"`
7874
7875	// 旋转角度,默认0。
7876	// 可取值:0,90,180,270
7877	Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"`
7878
7879	// 编码质量:
7880	// baseline/main/high
7881	Profile *string `json:"Profile,omitempty" name:"Profile"`
7882
7883	// 当设置的码率>原始码率时,是否以原始码率为准。
7884	// 0:否, 1:是
7885	// 默认 0。
7886	BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"`
7887
7888	// 当设置的高度>原始高度时,是否以原始高度为准。
7889	// 0:否, 1:是
7890	// 默认 0。
7891	HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"`
7892
7893	// 当设置的帧率>原始帧率时,是否以原始帧率为准。
7894	// 0:否, 1:是
7895	// 默认 0。
7896	FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"`
7897
7898	// 极速高清视频码率压缩比。
7899	// 极速高清目标码率=VideoBitrate * (1-AdaptBitratePercent)
7900	//
7901	// 取值范围:0.0到0.5
7902	AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"`
7903
7904	// 是否以短边作为高度,0:否,1:是。默认0。
7905	ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"`
7906}
7907
7908func (r *ModifyLiveTranscodeTemplateRequest) ToJsonString() string {
7909    b, _ := json.Marshal(r)
7910    return string(b)
7911}
7912
7913// FromJsonString It is highly **NOT** recommended to use this function
7914// because it has no param check, nor strict type check
7915func (r *ModifyLiveTranscodeTemplateRequest) FromJsonString(s string) error {
7916	f := make(map[string]interface{})
7917	if err := json.Unmarshal([]byte(s), &f); err != nil {
7918		return err
7919	}
7920	delete(f, "TemplateId")
7921	delete(f, "Vcodec")
7922	delete(f, "Acodec")
7923	delete(f, "AudioBitrate")
7924	delete(f, "Description")
7925	delete(f, "VideoBitrate")
7926	delete(f, "Width")
7927	delete(f, "NeedVideo")
7928	delete(f, "NeedAudio")
7929	delete(f, "Height")
7930	delete(f, "Fps")
7931	delete(f, "Gop")
7932	delete(f, "Rotate")
7933	delete(f, "Profile")
7934	delete(f, "BitrateToOrig")
7935	delete(f, "HeightToOrig")
7936	delete(f, "FpsToOrig")
7937	delete(f, "AdaptBitratePercent")
7938	delete(f, "ShortEdgeAsHeight")
7939	if len(f) > 0 {
7940		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveTranscodeTemplateRequest has unknown keys!", "")
7941	}
7942	return json.Unmarshal([]byte(s), &r)
7943}
7944
7945type ModifyLiveTranscodeTemplateResponse struct {
7946	*tchttp.BaseResponse
7947	Response *struct {
7948
7949		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7950		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
7951	} `json:"Response"`
7952}
7953
7954func (r *ModifyLiveTranscodeTemplateResponse) ToJsonString() string {
7955    b, _ := json.Marshal(r)
7956    return string(b)
7957}
7958
7959// FromJsonString It is highly **NOT** recommended to use this function
7960// because it has no param check, nor strict type check
7961func (r *ModifyLiveTranscodeTemplateResponse) FromJsonString(s string) error {
7962	return json.Unmarshal([]byte(s), &r)
7963}
7964
7965type ModifyPullStreamConfigRequest struct {
7966	*tchttp.BaseRequest
7967
7968	// 配置 ID。
7969	// 获取来源:
7970	// 1. 创建拉流配置接口CreatePullStreamConfig返回的配置 ID。
7971	// 2. 通过查询接口DescribePullStreamConfigs获取配置 ID。
7972	ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"`
7973
7974	// 源 URL,用于拉流的地址。目前可支持直播流及点播文件。
7975	// 注意:
7976	// 1. 多个点播 URL 之间使用空格拼接。
7977	// 2. 目前上限支持10个 URL。
7978	// 3. 支持拉流文件格式:FLV,RTMP,HLS,MP4。
7979	// 4. 使用标准三层样式,如:http://test.com/live/stream.flv
7980	FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"`
7981
7982	// 目的 URL,用于推流的地址,目前限制该目标地址为腾讯域名。
7983	// 1. 仅支持 RTMP 协议。
7984	// 2. 使用标准三层样式,如:http://test.com/live/stream.flv
7985	ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"`
7986
7987	// 区域 ID:
7988	// 1-深圳。
7989	// 2-上海。
7990	// 3-天津。
7991	// 4-中国香港。
7992	// 如有改动,需同时传入IspId。
7993	AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"`
7994
7995	// 运营商 ID,
7996	// 1:电信。
7997	// 2:移动。
7998	// 3:联通。
7999	// 4:其他。
8000	// AreaId为4的时候,IspId只能为其他。如有改动,需同时传入AreaId。
8001	IspId *int64 `json:"IspId,omitempty" name:"IspId"`
8002
8003	// 开始时间。
8004	// 使用UTC格式时间,
8005	// 例如:2019-01-08T10:00:00Z。
8006	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8007	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
8008
8009	// 结束时间,注意:
8010	// 1. 结束时间必须大于开始时间;
8011	// 2. 结束时间和开始时间必须大于当前时间;
8012	// 3. 结束时间 和 开始时间 间隔必须小于七天。
8013	//
8014	// 使用UTC格式时间,
8015	// 例如:2019-01-08T10:00:00Z。
8016	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8017	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
8018}
8019
8020func (r *ModifyPullStreamConfigRequest) ToJsonString() string {
8021    b, _ := json.Marshal(r)
8022    return string(b)
8023}
8024
8025// FromJsonString It is highly **NOT** recommended to use this function
8026// because it has no param check, nor strict type check
8027func (r *ModifyPullStreamConfigRequest) FromJsonString(s string) error {
8028	f := make(map[string]interface{})
8029	if err := json.Unmarshal([]byte(s), &f); err != nil {
8030		return err
8031	}
8032	delete(f, "ConfigId")
8033	delete(f, "FromUrl")
8034	delete(f, "ToUrl")
8035	delete(f, "AreaId")
8036	delete(f, "IspId")
8037	delete(f, "StartTime")
8038	delete(f, "EndTime")
8039	if len(f) > 0 {
8040		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyPullStreamConfigRequest has unknown keys!", "")
8041	}
8042	return json.Unmarshal([]byte(s), &r)
8043}
8044
8045type ModifyPullStreamConfigResponse struct {
8046	*tchttp.BaseResponse
8047	Response *struct {
8048
8049		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8050		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
8051	} `json:"Response"`
8052}
8053
8054func (r *ModifyPullStreamConfigResponse) ToJsonString() string {
8055    b, _ := json.Marshal(r)
8056    return string(b)
8057}
8058
8059// FromJsonString It is highly **NOT** recommended to use this function
8060// because it has no param check, nor strict type check
8061func (r *ModifyPullStreamConfigResponse) FromJsonString(s string) error {
8062	return json.Unmarshal([]byte(s), &r)
8063}
8064
8065type ModifyPullStreamStatusRequest struct {
8066	*tchttp.BaseRequest
8067
8068	// 配置 ID 列表。
8069	ConfigIds []*string `json:"ConfigIds,omitempty" name:"ConfigIds"`
8070
8071	// 目标状态。0无效,2正在运行,4暂停。
8072	Status *string `json:"Status,omitempty" name:"Status"`
8073}
8074
8075func (r *ModifyPullStreamStatusRequest) ToJsonString() string {
8076    b, _ := json.Marshal(r)
8077    return string(b)
8078}
8079
8080// FromJsonString It is highly **NOT** recommended to use this function
8081// because it has no param check, nor strict type check
8082func (r *ModifyPullStreamStatusRequest) FromJsonString(s string) error {
8083	f := make(map[string]interface{})
8084	if err := json.Unmarshal([]byte(s), &f); err != nil {
8085		return err
8086	}
8087	delete(f, "ConfigIds")
8088	delete(f, "Status")
8089	if len(f) > 0 {
8090		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyPullStreamStatusRequest has unknown keys!", "")
8091	}
8092	return json.Unmarshal([]byte(s), &r)
8093}
8094
8095type ModifyPullStreamStatusResponse struct {
8096	*tchttp.BaseResponse
8097	Response *struct {
8098
8099		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8100		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
8101	} `json:"Response"`
8102}
8103
8104func (r *ModifyPullStreamStatusResponse) ToJsonString() string {
8105    b, _ := json.Marshal(r)
8106    return string(b)
8107}
8108
8109// FromJsonString It is highly **NOT** recommended to use this function
8110// because it has no param check, nor strict type check
8111func (r *ModifyPullStreamStatusResponse) FromJsonString(s string) error {
8112	return json.Unmarshal([]byte(s), &r)
8113}
8114
8115type MonitorStreamPlayInfo struct {
8116
8117	// 播放域名。
8118	PlayDomain *string `json:"PlayDomain,omitempty" name:"PlayDomain"`
8119
8120	// 流id。
8121	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8122
8123	// 播放码率,0表示原始码率。
8124	Rate *uint64 `json:"Rate,omitempty" name:"Rate"`
8125
8126	// 播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。
8127	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
8128
8129	// 带宽,单位是Mbps。
8130	Bandwidth *float64 `json:"Bandwidth,omitempty" name:"Bandwidth"`
8131
8132	// 在线人数,1分钟采样一个点,统计采样点的tcp链接数目。
8133	Online *uint64 `json:"Online,omitempty" name:"Online"`
8134
8135	// 请求数。
8136	Request *uint64 `json:"Request,omitempty" name:"Request"`
8137}
8138
8139type PlayAuthKeyInfo struct {
8140
8141	// 域名。
8142	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8143
8144	// 是否启用:
8145	// 0: 关闭。
8146	// 1: 启用。
8147	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
8148
8149	// 鉴权 Key。
8150	AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"`
8151
8152	// 有效时间,单位:秒。
8153	AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"`
8154
8155	// 鉴权 BackKey。
8156	AuthBackKey *string `json:"AuthBackKey,omitempty" name:"AuthBackKey"`
8157}
8158
8159type PlayCodeTotalInfo struct {
8160
8161	// HTTP code,可选值包括:
8162	// 400,403,404,500,502,503,504。
8163	Code *string `json:"Code,omitempty" name:"Code"`
8164
8165	// 总次数。
8166	Num *uint64 `json:"Num,omitempty" name:"Num"`
8167}
8168
8169type PlayDataInfoByStream struct {
8170
8171	// 流名称。
8172	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8173
8174	// 总流量,单位: MB。
8175	TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
8176}
8177
8178type PlayStatInfo struct {
8179
8180	// 数据时间点。
8181	Time *string `json:"Time,omitempty" name:"Time"`
8182
8183	// 带宽/流量/请求数/并发连接数/下载速度的值,若没数据返回时该值为0。
8184	// 注意:此字段可能返回 null,表示取不到有效值。
8185	Value *float64 `json:"Value,omitempty" name:"Value"`
8186}
8187
8188type PlaySumStatInfo struct {
8189
8190	// 域名或流 ID。
8191	Name *string `json:"Name,omitempty" name:"Name"`
8192
8193	// 平均下载速度,
8194	// 单位: MB/s。
8195	// 计算公式: 每分钟的下载速度求平均值。
8196	AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"`
8197
8198	// 总流量,单位: MB。
8199	TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
8200
8201	// 总请求数。
8202	TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"`
8203}
8204
8205type ProIspPlayCodeDataInfo struct {
8206
8207	// 国家或地区。
8208	CountryAreaName *string `json:"CountryAreaName,omitempty" name:"CountryAreaName"`
8209
8210	// 省份。
8211	ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"`
8212
8213	// 运营商。
8214	IspName *string `json:"IspName,omitempty" name:"IspName"`
8215
8216	// 错误码为2开头的次数。
8217	Code2xx *uint64 `json:"Code2xx,omitempty" name:"Code2xx"`
8218
8219	// 错误码为3开头的次数。
8220	Code3xx *uint64 `json:"Code3xx,omitempty" name:"Code3xx"`
8221
8222	// 错误码为4开头的次数。
8223	Code4xx *uint64 `json:"Code4xx,omitempty" name:"Code4xx"`
8224
8225	// 错误码为5开头的次数。
8226	Code5xx *uint64 `json:"Code5xx,omitempty" name:"Code5xx"`
8227}
8228
8229type ProIspPlaySumInfo struct {
8230
8231	// 省份/运营商/国家或地区。
8232	Name *string `json:"Name,omitempty" name:"Name"`
8233
8234	// 总流量,单位: MB。
8235	TotalFlux *float64 `json:"TotalFlux,omitempty" name:"TotalFlux"`
8236
8237	// 总请求数。
8238	TotalRequest *uint64 `json:"TotalRequest,omitempty" name:"TotalRequest"`
8239
8240	// 平均下载流量,单位: MB/s。
8241	AvgFluxPerSecond *float64 `json:"AvgFluxPerSecond,omitempty" name:"AvgFluxPerSecond"`
8242}
8243
8244type PublishTime struct {
8245
8246	// 推流时间。
8247	// UTC 格式,例如:2018-06-29T19:00:00Z。
8248	PublishTime *string `json:"PublishTime,omitempty" name:"PublishTime"`
8249}
8250
8251type PullStreamConfig struct {
8252
8253	// 拉流配置 ID。
8254	ConfigId *string `json:"ConfigId,omitempty" name:"ConfigId"`
8255
8256	// 源 URL。
8257	FromUrl *string `json:"FromUrl,omitempty" name:"FromUrl"`
8258
8259	// 目的 URL。
8260	ToUrl *string `json:"ToUrl,omitempty" name:"ToUrl"`
8261
8262	// 区域名。
8263	AreaName *string `json:"AreaName,omitempty" name:"AreaName"`
8264
8265	// 运营商名。
8266	IspName *string `json:"IspName,omitempty" name:"IspName"`
8267
8268	// 开始时间。
8269	// UTC格式时间,例如: 2019-01-08T10:00:00Z。
8270	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8271	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
8272
8273	// 结束时间。
8274	//
8275	// UTC格式时间,例如:2019-01-08T10:00:00Z。
8276	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8277	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
8278
8279	// 状态:
8280	// 0: 无效。
8281	// 1: 初始状态。
8282	// 2: 正在运行。
8283	// 3: 拉起失败。
8284	// 4: 暂停。
8285	Status *string `json:"Status,omitempty" name:"Status"`
8286}
8287
8288type PullStreamTaskInfo struct {
8289
8290	// 拉流任务Id。
8291	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
8292
8293	// 拉流源的类型:
8294	// PullLivePushLive -直播,
8295	// PullVodPushLive -点播。
8296	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`
8297
8298	// 拉流源url列表。
8299	// SourceType为直播(PullLiveToLive)只可以填1个,
8300	// SourceType为点播(PullVodToLive)可以填多个,上限10个。
8301	SourceUrls []*string `json:"SourceUrls,omitempty" name:"SourceUrls"`
8302
8303	// 推流域名。
8304	// 将拉到的源推到该域名。
8305	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8306
8307	// 推流路径。
8308	// 将拉到的源推到该路径。
8309	AppName *string `json:"AppName,omitempty" name:"AppName"`
8310
8311	// 流名称。
8312	// 将拉到的源推到该流名称。
8313	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8314
8315	// 推流参数。
8316	// 推流携带的自定义参数。
8317	PushArgs *string `json:"PushArgs,omitempty" name:"PushArgs"`
8318
8319	// 开始时间。
8320	// 使用UTC格式时间,
8321	// 例如:2019-01-08T10:00:00Z。
8322	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8323	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
8324
8325	// 结束时间,注意:
8326	// 1. 结束时间必须大于开始时间;
8327	// 2. 结束时间和开始时间必须大于当前时间;
8328	// 3. 结束时间 和 开始时间 间隔必须小于七天。
8329	// 使用UTC格式时间,
8330	// 例如:2019-01-08T10:00:00Z。
8331	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8332	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
8333
8334	// 拉流源所在地域(请就近选取):
8335	// ap-beijing - 华北地区(北京),
8336	// ap-shanghai -华东地区(上海),
8337	// ap-guangzhou -华南地区(广州),
8338	// ap-mumbai - 印度。
8339	Region *string `json:"Region,omitempty" name:"Region"`
8340
8341	// 点播拉流转推循环次数。
8342	// -1:无限循环,直到任务结束。
8343	// 0:不循环。
8344	// >0:具体循环次数。次数和时间以先结束的为准。
8345	// 注意:拉流源为点播,该配置生效。
8346	VodLoopTimes *int64 `json:"VodLoopTimes,omitempty" name:"VodLoopTimes"`
8347
8348	// 点播更新SourceUrls后的播放方式:
8349	// ImmediateNewSource:立即从更新的拉流源开始播放;
8350	// ContinueBreakPoint:从上次断流url源的断点处继续,结束后再使用新的拉流源。
8351	//
8352	// 注意:拉流源为点播,该配置生效。
8353	VodRefreshType *string `json:"VodRefreshType,omitempty" name:"VodRefreshType"`
8354
8355	// 任务创建时间。
8356	// 使用UTC格式时间,
8357	// 例如:2019-01-08T10:00:00Z。
8358	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8359	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
8360
8361	// 任务更新时间。
8362	// 使用UTC格式时间,
8363	// 例如:2019-01-08T10:00:00Z。
8364	// 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)
8365	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
8366
8367	// 创建任务的操作者。
8368	CreateBy *string `json:"CreateBy,omitempty" name:"CreateBy"`
8369
8370	// 最后更新任务的操作者。
8371	UpdateBy *string `json:"UpdateBy,omitempty" name:"UpdateBy"`
8372
8373	// 回调地址。
8374	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`
8375
8376	// 选择需要回调的事件:
8377	// TaskStart:任务启动回调,
8378	// TaskExit:任务停止回调,
8379	// VodSourceFileStart:从点播源文件开始拉流回调,
8380	// VodSourceFileFinish:从点播源文件拉流结束回调,
8381	// ResetTaskConfig:任务更新回调。
8382	CallbackEvents []*string `json:"CallbackEvents,omitempty" name:"CallbackEvents"`
8383
8384	// 注意:该信息暂不返回。
8385	// 最后一次回调信息。
8386	CallbackInfo *string `json:"CallbackInfo,omitempty" name:"CallbackInfo"`
8387
8388	// 注意:该信息暂不返回。
8389	// 错误信息。
8390	ErrorInfo *string `json:"ErrorInfo,omitempty" name:"ErrorInfo"`
8391
8392	// 状态。
8393	// enable:生效中。
8394	// pause:暂停中。
8395	Status *string `json:"Status,omitempty" name:"Status"`
8396
8397	// 注意:该信息仅在查询单个任务时返回。
8398	// 任务最新拉流信息。
8399	// 包含:源 url,偏移时间,上报时间。
8400	RecentPullInfo *RecentPullInfo `json:"RecentPullInfo,omitempty" name:"RecentPullInfo"`
8401
8402	// 任务备注信息。
8403	Comment *string `json:"Comment,omitempty" name:"Comment"`
8404}
8405
8406type PushAuthKeyInfo struct {
8407
8408	// 域名。
8409	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8410
8411	// 是否启用,0:关闭,1:启用。
8412	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
8413
8414	// 主鉴权 Key。
8415	MasterAuthKey *string `json:"MasterAuthKey,omitempty" name:"MasterAuthKey"`
8416
8417	// 备鉴权 Key。
8418	BackupAuthKey *string `json:"BackupAuthKey,omitempty" name:"BackupAuthKey"`
8419
8420	// 有效时间,单位:秒。
8421	AuthDelta *uint64 `json:"AuthDelta,omitempty" name:"AuthDelta"`
8422}
8423
8424type PushDataInfo struct {
8425
8426	// 流名称。
8427	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8428
8429	// 推流路径。
8430	AppName *string `json:"AppName,omitempty" name:"AppName"`
8431
8432	// 推流客户端 IP。
8433	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
8434
8435	// 接流服务器 IP。
8436	ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"`
8437
8438	// 推流视频帧率,单位: Hz。
8439	VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"`
8440
8441	// 推流视频码率,单位: bps。
8442	VideoSpeed *uint64 `json:"VideoSpeed,omitempty" name:"VideoSpeed"`
8443
8444	// 推流音频帧率,单位: Hz。
8445	AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"`
8446
8447	// 推流音频码率,单位: bps。
8448	AudioSpeed *uint64 `json:"AudioSpeed,omitempty" name:"AudioSpeed"`
8449
8450	// 推流域名。
8451	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`
8452
8453	// 推流开始时间。
8454	BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"`
8455
8456	// 音频编码格式,
8457	// 例:"AAC"。
8458	Acodec *string `json:"Acodec,omitempty" name:"Acodec"`
8459
8460	// 视频编码格式,
8461	// 例:"H264"。
8462	Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"`
8463
8464	// 分辨率。
8465	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
8466
8467	// 采样率。
8468	AsampleRate *uint64 `json:"AsampleRate,omitempty" name:"AsampleRate"`
8469
8470	// metadata 中的音频码率,单位: Kbps。
8471	MetaAudioSpeed *uint64 `json:"MetaAudioSpeed,omitempty" name:"MetaAudioSpeed"`
8472
8473	// metadata 中的视频码率,单位: Kbps。
8474	MetaVideoSpeed *uint64 `json:"MetaVideoSpeed,omitempty" name:"MetaVideoSpeed"`
8475
8476	// metadata 中的帧率。
8477	MetaFps *uint64 `json:"MetaFps,omitempty" name:"MetaFps"`
8478}
8479
8480type PushQualityData struct {
8481
8482	// 数据时间,格式: %Y-%m-%d %H:%M:%S.%ms,精确到毫秒级。
8483	Time *string `json:"Time,omitempty" name:"Time"`
8484
8485	// 推流域名。
8486	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`
8487
8488	// 推流路径。
8489	AppName *string `json:"AppName,omitempty" name:"AppName"`
8490
8491	// 推流客户端 IP。
8492	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
8493
8494	// 开始推流时间,格式: %Y-%m-%d %H:%M:%S.%ms,精确到毫秒级。
8495	BeginPushTime *string `json:"BeginPushTime,omitempty" name:"BeginPushTime"`
8496
8497	// 分辨率信息。
8498	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
8499
8500	// 视频编码格式。
8501	VCodec *string `json:"VCodec,omitempty" name:"VCodec"`
8502
8503	// 音频编码格式。
8504	ACodec *string `json:"ACodec,omitempty" name:"ACodec"`
8505
8506	// 推流序列号,用来唯一的标志一次推流。
8507	Sequence *string `json:"Sequence,omitempty" name:"Sequence"`
8508
8509	// 视频帧率。
8510	VideoFps *uint64 `json:"VideoFps,omitempty" name:"VideoFps"`
8511
8512	// 视频码率,单位: bps。
8513	VideoRate *uint64 `json:"VideoRate,omitempty" name:"VideoRate"`
8514
8515	// 音频帧率。
8516	AudioFps *uint64 `json:"AudioFps,omitempty" name:"AudioFps"`
8517
8518	// 音频码率,单位: bps。
8519	AudioRate *uint64 `json:"AudioRate,omitempty" name:"AudioRate"`
8520
8521	// 本地流逝时间,单位: ms,音视频流逝时间与本地流逝时间的差距越大表示推流质量越差,上行卡顿越严重。
8522	LocalTs *uint64 `json:"LocalTs,omitempty" name:"LocalTs"`
8523
8524	// 视频流逝时间,单位: ms。
8525	VideoTs *uint64 `json:"VideoTs,omitempty" name:"VideoTs"`
8526
8527	// 音频流逝时间,单位: ms。
8528	AudioTs *uint64 `json:"AudioTs,omitempty" name:"AudioTs"`
8529
8530	// metadata 中的视频码率,单位: kbps。
8531	MetaVideoRate *uint64 `json:"MetaVideoRate,omitempty" name:"MetaVideoRate"`
8532
8533	// metadata 中的音频码率,单位: kbps。
8534	MetaAudioRate *uint64 `json:"MetaAudioRate,omitempty" name:"MetaAudioRate"`
8535
8536	// metadata 中的帧率。
8537	MateFps *uint64 `json:"MateFps,omitempty" name:"MateFps"`
8538
8539	// 推流参数
8540	StreamParam *string `json:"StreamParam,omitempty" name:"StreamParam"`
8541}
8542
8543type RecentPullInfo struct {
8544
8545	// 当前正在拉的文件地址。
8546	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`
8547
8548	// 当前正在拉的文件偏移,单位:秒。
8549	OffsetTime *uint64 `json:"OffsetTime,omitempty" name:"OffsetTime"`
8550
8551	// 最新上报偏移信息时间。UTC格式。
8552	// 如:2020-07-23T03:20:39Z。
8553	// 注意:与北京时间相差八小时。
8554	ReportTime *string `json:"ReportTime,omitempty" name:"ReportTime"`
8555
8556	// 已经轮播的次数。
8557	LoopedTimes *int64 `json:"LoopedTimes,omitempty" name:"LoopedTimes"`
8558}
8559
8560type RecordParam struct {
8561
8562	// 录制间隔。
8563	// 单位秒,默认:1800。
8564	// 取值范围:60-7200。
8565	// 此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。
8566	RecordInterval *int64 `json:"RecordInterval,omitempty" name:"RecordInterval"`
8567
8568	// 录制存储时长。
8569	// 单位秒,取值范围: 0 - 1500天。
8570	// 0:表示永久存储。
8571	StorageTime *int64 `json:"StorageTime,omitempty" name:"StorageTime"`
8572
8573	// 是否开启当前格式录制,默认值为0,0:否, 1:是。
8574	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
8575
8576	// 点播子应用 ID。
8577	VodSubAppId *int64 `json:"VodSubAppId,omitempty" name:"VodSubAppId"`
8578
8579	// 录制文件名。
8580	// 支持的特殊占位符有:
8581	// {StreamID}: 流ID
8582	// {StartYear}: 开始时间-年
8583	// {StartMonth}: 开始时间-月
8584	// {StartDay}: 开始时间-日
8585	// {StartHour}: 开始时间-小时
8586	// {StartMinute}: 开始时间-分钟
8587	// {StartSecond}: 开始时间-秒
8588	// {StartMillisecond}: 开始时间-毫秒
8589	// {EndYear}: 结束时间-年
8590	// {EndMonth}: 结束时间-月
8591	// {EndDay}: 结束时间-日
8592	// {EndHour}: 结束时间-小时
8593	// {EndMinute}: 结束时间-分钟
8594	// {EndSecond}: 结束时间-秒
8595	// {EndMillisecond}: 结束时间-毫秒
8596	//
8597	// 若未设置默认录制文件名为{StreamID}_{StartYear}-{StartMonth}-{StartDay}-{StartHour}-{StartMinute}-{StartSecond}_{EndYear}-{EndMonth}-{EndDay}-{EndHour}-{EndMinute}-{EndSecond}
8598	VodFileName *string `json:"VodFileName,omitempty" name:"VodFileName"`
8599
8600	// 任务流
8601	// 注意:此字段可能返回 null,表示取不到有效值。
8602	Procedure *string `json:"Procedure,omitempty" name:"Procedure"`
8603
8604	// 视频存储策略。
8605	// normal:标准存储。
8606	// cold:低频存储。
8607	// 注意:此字段可能返回 null,表示取不到有效值。
8608	StorageMode *string `json:"StorageMode,omitempty" name:"StorageMode"`
8609
8610	// 点播应用分类
8611	// 注意:此字段可能返回 null,表示取不到有效值。
8612	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`
8613}
8614
8615type RecordTask struct {
8616
8617	// 录制任务ID。
8618	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
8619
8620	// 推流域名。
8621	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8622
8623	// 推流路径。
8624	AppName *string `json:"AppName,omitempty" name:"AppName"`
8625
8626	// 流名称。
8627	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8628
8629	// 任务开始时间,Unix时间戳。
8630	StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"`
8631
8632	// 任务结束时间,Unix时间戳。
8633	EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`
8634
8635	// 录制模板ID。
8636	TemplateId *uint64 `json:"TemplateId,omitempty" name:"TemplateId"`
8637
8638	// 调用 StopRecordTask 停止任务时间,Unix时间戳。值为0表示未曾调用接口停止任务。
8639	Stopped *uint64 `json:"Stopped,omitempty" name:"Stopped"`
8640}
8641
8642type RecordTemplateInfo struct {
8643
8644	// 模板 ID。
8645	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
8646
8647	// 模板名称。
8648	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
8649
8650	// 描述信息。
8651	Description *string `json:"Description,omitempty" name:"Description"`
8652
8653	// FLV 录制参数。
8654	FlvParam *RecordParam `json:"FlvParam,omitempty" name:"FlvParam"`
8655
8656	// HLS 录制参数。
8657	HlsParam *RecordParam `json:"HlsParam,omitempty" name:"HlsParam"`
8658
8659	// MP4 录制参数。
8660	Mp4Param *RecordParam `json:"Mp4Param,omitempty" name:"Mp4Param"`
8661
8662	// AAC 录制参数。
8663	AacParam *RecordParam `json:"AacParam,omitempty" name:"AacParam"`
8664
8665	// 0:普通直播,
8666	// 1:慢直播。
8667	IsDelayLive *int64 `json:"IsDelayLive,omitempty" name:"IsDelayLive"`
8668
8669	// HLS 录制定制参数
8670	HlsSpecialParam *HlsSpecialParam `json:"HlsSpecialParam,omitempty" name:"HlsSpecialParam"`
8671
8672	// MP3 录制参数。
8673	Mp3Param *RecordParam `json:"Mp3Param,omitempty" name:"Mp3Param"`
8674}
8675
8676type RefererAuthConfig struct {
8677
8678	// 域名。
8679	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8680
8681	// 是否启用,0:关闭,1:启用。
8682	Enable *int64 `json:"Enable,omitempty" name:"Enable"`
8683
8684	// 名单类型,0:黑名单,1:白名单。
8685	Type *int64 `json:"Type,omitempty" name:"Type"`
8686
8687	// 是否允许空Referer,0:不允许,1:允许。
8688	AllowEmpty *int64 `json:"AllowEmpty,omitempty" name:"AllowEmpty"`
8689
8690	// 名单列表,以分号(;)分隔。
8691	Rules *string `json:"Rules,omitempty" name:"Rules"`
8692}
8693
8694type ResumeDelayLiveStreamRequest struct {
8695	*tchttp.BaseRequest
8696
8697	// 推流路径,与推流和播放地址中的AppName保持一致,默认为live。
8698	AppName *string `json:"AppName,omitempty" name:"AppName"`
8699
8700	// 推流域名。
8701	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8702
8703	// 流名称。
8704	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8705}
8706
8707func (r *ResumeDelayLiveStreamRequest) ToJsonString() string {
8708    b, _ := json.Marshal(r)
8709    return string(b)
8710}
8711
8712// FromJsonString It is highly **NOT** recommended to use this function
8713// because it has no param check, nor strict type check
8714func (r *ResumeDelayLiveStreamRequest) FromJsonString(s string) error {
8715	f := make(map[string]interface{})
8716	if err := json.Unmarshal([]byte(s), &f); err != nil {
8717		return err
8718	}
8719	delete(f, "AppName")
8720	delete(f, "DomainName")
8721	delete(f, "StreamName")
8722	if len(f) > 0 {
8723		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResumeDelayLiveStreamRequest has unknown keys!", "")
8724	}
8725	return json.Unmarshal([]byte(s), &r)
8726}
8727
8728type ResumeDelayLiveStreamResponse struct {
8729	*tchttp.BaseResponse
8730	Response *struct {
8731
8732		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8733		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
8734	} `json:"Response"`
8735}
8736
8737func (r *ResumeDelayLiveStreamResponse) ToJsonString() string {
8738    b, _ := json.Marshal(r)
8739    return string(b)
8740}
8741
8742// FromJsonString It is highly **NOT** recommended to use this function
8743// because it has no param check, nor strict type check
8744func (r *ResumeDelayLiveStreamResponse) FromJsonString(s string) error {
8745	return json.Unmarshal([]byte(s), &r)
8746}
8747
8748type ResumeLiveStreamRequest struct {
8749	*tchttp.BaseRequest
8750
8751	// 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
8752	AppName *string `json:"AppName,omitempty" name:"AppName"`
8753
8754	// 您的推流域名。
8755	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8756
8757	// 流名称。
8758	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8759}
8760
8761func (r *ResumeLiveStreamRequest) ToJsonString() string {
8762    b, _ := json.Marshal(r)
8763    return string(b)
8764}
8765
8766// FromJsonString It is highly **NOT** recommended to use this function
8767// because it has no param check, nor strict type check
8768func (r *ResumeLiveStreamRequest) FromJsonString(s string) error {
8769	f := make(map[string]interface{})
8770	if err := json.Unmarshal([]byte(s), &f); err != nil {
8771		return err
8772	}
8773	delete(f, "AppName")
8774	delete(f, "DomainName")
8775	delete(f, "StreamName")
8776	if len(f) > 0 {
8777		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResumeLiveStreamRequest has unknown keys!", "")
8778	}
8779	return json.Unmarshal([]byte(s), &r)
8780}
8781
8782type ResumeLiveStreamResponse struct {
8783	*tchttp.BaseResponse
8784	Response *struct {
8785
8786		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8787		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
8788	} `json:"Response"`
8789}
8790
8791func (r *ResumeLiveStreamResponse) ToJsonString() string {
8792    b, _ := json.Marshal(r)
8793    return string(b)
8794}
8795
8796// FromJsonString It is highly **NOT** recommended to use this function
8797// because it has no param check, nor strict type check
8798func (r *ResumeLiveStreamResponse) FromJsonString(s string) error {
8799	return json.Unmarshal([]byte(s), &r)
8800}
8801
8802type RuleInfo struct {
8803
8804	// 规则创建时间。
8805	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
8806
8807	// 规则更新时间。
8808	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
8809
8810	// 模板 ID。
8811	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
8812
8813	// 推流域名。
8814	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8815
8816	// 推流路径。
8817	AppName *string `json:"AppName,omitempty" name:"AppName"`
8818
8819	// 流名称。
8820	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8821}
8822
8823type SnapshotTemplateInfo struct {
8824
8825	// 模板 ID。
8826	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
8827
8828	// 模板名称。
8829	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
8830
8831	// 截图时间间隔,5-300秒。
8832	SnapshotInterval *int64 `json:"SnapshotInterval,omitempty" name:"SnapshotInterval"`
8833
8834	// 截图宽度,范围:0-3000。
8835	// 0:原始宽度并适配原始比例。
8836	Width *int64 `json:"Width,omitempty" name:"Width"`
8837
8838	// 截图高度,范围:0-2000。
8839	// 0:原始高度并适配原始比例。
8840	Height *int64 `json:"Height,omitempty" name:"Height"`
8841
8842	// 是否开启鉴黄,0:不开启,1:开启。
8843	PornFlag *int64 `json:"PornFlag,omitempty" name:"PornFlag"`
8844
8845	// Cos 应用 ID。
8846	CosAppId *int64 `json:"CosAppId,omitempty" name:"CosAppId"`
8847
8848	// Cos Bucket名称。
8849	CosBucket *string `json:"CosBucket,omitempty" name:"CosBucket"`
8850
8851	// Cos 地域。
8852	CosRegion *string `json:"CosRegion,omitempty" name:"CosRegion"`
8853
8854	// 模板描述。
8855	Description *string `json:"Description,omitempty" name:"Description"`
8856
8857	// Cos Bucket文件夹前缀。
8858	// 注意:此字段可能返回 null,表示取不到有效值。
8859	CosPrefix *string `json:"CosPrefix,omitempty" name:"CosPrefix"`
8860
8861	// Cos 文件名称。
8862	// 注意:此字段可能返回 null,表示取不到有效值。
8863	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`
8864}
8865
8866type StopLiveRecordRequest struct {
8867	*tchttp.BaseRequest
8868
8869	// 流名称。
8870	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8871
8872	// 任务ID,由CreateLiveRecord接口返回。
8873	TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`
8874}
8875
8876func (r *StopLiveRecordRequest) ToJsonString() string {
8877    b, _ := json.Marshal(r)
8878    return string(b)
8879}
8880
8881// FromJsonString It is highly **NOT** recommended to use this function
8882// because it has no param check, nor strict type check
8883func (r *StopLiveRecordRequest) FromJsonString(s string) error {
8884	f := make(map[string]interface{})
8885	if err := json.Unmarshal([]byte(s), &f); err != nil {
8886		return err
8887	}
8888	delete(f, "StreamName")
8889	delete(f, "TaskId")
8890	if len(f) > 0 {
8891		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopLiveRecordRequest has unknown keys!", "")
8892	}
8893	return json.Unmarshal([]byte(s), &r)
8894}
8895
8896type StopLiveRecordResponse struct {
8897	*tchttp.BaseResponse
8898	Response *struct {
8899
8900		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8901		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
8902	} `json:"Response"`
8903}
8904
8905func (r *StopLiveRecordResponse) ToJsonString() string {
8906    b, _ := json.Marshal(r)
8907    return string(b)
8908}
8909
8910// FromJsonString It is highly **NOT** recommended to use this function
8911// because it has no param check, nor strict type check
8912func (r *StopLiveRecordResponse) FromJsonString(s string) error {
8913	return json.Unmarshal([]byte(s), &r)
8914}
8915
8916type StopRecordTaskRequest struct {
8917	*tchttp.BaseRequest
8918
8919	// 录制任务ID。
8920	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
8921}
8922
8923func (r *StopRecordTaskRequest) ToJsonString() string {
8924    b, _ := json.Marshal(r)
8925    return string(b)
8926}
8927
8928// FromJsonString It is highly **NOT** recommended to use this function
8929// because it has no param check, nor strict type check
8930func (r *StopRecordTaskRequest) FromJsonString(s string) error {
8931	f := make(map[string]interface{})
8932	if err := json.Unmarshal([]byte(s), &f); err != nil {
8933		return err
8934	}
8935	delete(f, "TaskId")
8936	if len(f) > 0 {
8937		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopRecordTaskRequest has unknown keys!", "")
8938	}
8939	return json.Unmarshal([]byte(s), &r)
8940}
8941
8942type StopRecordTaskResponse struct {
8943	*tchttp.BaseResponse
8944	Response *struct {
8945
8946		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8947		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
8948	} `json:"Response"`
8949}
8950
8951func (r *StopRecordTaskResponse) ToJsonString() string {
8952    b, _ := json.Marshal(r)
8953    return string(b)
8954}
8955
8956// FromJsonString It is highly **NOT** recommended to use this function
8957// because it has no param check, nor strict type check
8958func (r *StopRecordTaskResponse) FromJsonString(s string) error {
8959	return json.Unmarshal([]byte(s), &r)
8960}
8961
8962type StreamEventInfo struct {
8963
8964	// 应用名称。
8965	AppName *string `json:"AppName,omitempty" name:"AppName"`
8966
8967	// 推流域名。
8968	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
8969
8970	// 流名称。
8971	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8972
8973	// 推流开始时间。
8974	// UTC 格式时间,例如:2019-01-07T12:00:00Z。
8975	StreamStartTime *string `json:"StreamStartTime,omitempty" name:"StreamStartTime"`
8976
8977	// 推流结束时间。
8978	// UTC 格式时间,例如:2019-01-07T15:00:00Z。
8979	StreamEndTime *string `json:"StreamEndTime,omitempty" name:"StreamEndTime"`
8980
8981	// 停止原因。
8982	StopReason *string `json:"StopReason,omitempty" name:"StopReason"`
8983
8984	// 推流持续时长,单位:秒。
8985	Duration *uint64 `json:"Duration,omitempty" name:"Duration"`
8986
8987	// 主播 IP。
8988	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
8989
8990	// 分辨率。
8991	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
8992}
8993
8994type StreamName struct {
8995
8996	// 流名称。
8997	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
8998
8999	// 应用名称。
9000	AppName *string `json:"AppName,omitempty" name:"AppName"`
9001
9002	// 推流域名。
9003	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
9004
9005	// 推流开始时间。
9006	// UTC格式时间,例如:2019-01-07T12:00:00Z。
9007	StreamStartTime *string `json:"StreamStartTime,omitempty" name:"StreamStartTime"`
9008
9009	// 推流结束时间。
9010	// UTC格式时间,例如:2019-01-07T15:00:00Z。
9011	StreamEndTime *string `json:"StreamEndTime,omitempty" name:"StreamEndTime"`
9012
9013	// 停止原因。
9014	StopReason *string `json:"StopReason,omitempty" name:"StopReason"`
9015
9016	// 推流持续时长,单位:秒。
9017	Duration *uint64 `json:"Duration,omitempty" name:"Duration"`
9018
9019	// 主播 IP。
9020	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
9021
9022	// 分辨率。
9023	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
9024}
9025
9026type StreamOnlineInfo struct {
9027
9028	// 流名称。
9029	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
9030
9031	// 推流时间列表
9032	PublishTimeList []*PublishTime `json:"PublishTimeList,omitempty" name:"PublishTimeList"`
9033
9034	// 应用名称。
9035	AppName *string `json:"AppName,omitempty" name:"AppName"`
9036
9037	// 推流域名。
9038	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
9039}
9040
9041type TemplateInfo struct {
9042
9043	// 视频编码:h264/h265/origin,默认h264。
9044	//
9045	// origin: 保持原始编码格式
9046	Vcodec *string `json:"Vcodec,omitempty" name:"Vcodec"`
9047
9048	// 视频码率。范围:0kbps - 8000kbps。
9049	// 0为保持原始码率。
9050	// 注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。
9051	VideoBitrate *int64 `json:"VideoBitrate,omitempty" name:"VideoBitrate"`
9052
9053	// 音频编码:aac,默认aac。
9054	// 注意:当前该参数未生效,待后续支持!
9055	Acodec *string `json:"Acodec,omitempty" name:"Acodec"`
9056
9057	// 音频码率。取值范围:0kbps - 500kbps。
9058	// 默认0。
9059	AudioBitrate *int64 `json:"AudioBitrate,omitempty" name:"AudioBitrate"`
9060
9061	// 宽,默认0。
9062	// 范围[0-3000]
9063	// 数值必须是2的倍数,0是原始宽度
9064	Width *int64 `json:"Width,omitempty" name:"Width"`
9065
9066	// 高,默认0。
9067	// 范围[0-3000]
9068	// 数值必须是2的倍数,0是原始宽度
9069	Height *int64 `json:"Height,omitempty" name:"Height"`
9070
9071	// 帧率,默认0。
9072	// 范围0-60fps
9073	Fps *int64 `json:"Fps,omitempty" name:"Fps"`
9074
9075	// 关键帧间隔,单位:秒。
9076	// 默认原始的间隔
9077	// 范围2-6
9078	Gop *int64 `json:"Gop,omitempty" name:"Gop"`
9079
9080	// 旋转角度,默认0。
9081	// 可取值:0,90,180,270
9082	Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"`
9083
9084	// 编码质量:
9085	// baseline/main/high。默认baseline
9086	Profile *string `json:"Profile,omitempty" name:"Profile"`
9087
9088	// 当设置的码率>原始码率时,是否以原始码率为准。
9089	// 0:否, 1:是
9090	// 默认 0。
9091	BitrateToOrig *int64 `json:"BitrateToOrig,omitempty" name:"BitrateToOrig"`
9092
9093	// 当设置的高度>原始高度时,是否以原始高度为准。
9094	// 0:否, 1:是
9095	// 默认 0。
9096	HeightToOrig *int64 `json:"HeightToOrig,omitempty" name:"HeightToOrig"`
9097
9098	// 当设置的帧率>原始帧率时,是否以原始帧率为准。
9099	// 0:否, 1:是
9100	// 默认 0。
9101	FpsToOrig *int64 `json:"FpsToOrig,omitempty" name:"FpsToOrig"`
9102
9103	// 是否保留视频。0:否,1:是。
9104	NeedVideo *int64 `json:"NeedVideo,omitempty" name:"NeedVideo"`
9105
9106	// 是否保留音频。0:否,1:是。
9107	NeedAudio *int64 `json:"NeedAudio,omitempty" name:"NeedAudio"`
9108
9109	// 模板 ID。
9110	TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"`
9111
9112	// 模板名称。
9113	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
9114
9115	// 模板描述。
9116	Description *string `json:"Description,omitempty" name:"Description"`
9117
9118	// 是否是极速高清模板,0:否,1:是。默认0。
9119	AiTransCode *int64 `json:"AiTransCode,omitempty" name:"AiTransCode"`
9120
9121	// 极速高清视频码率压缩比。
9122	// 极速高清目标码率=VideoBitrate * (1-AdaptBitratePercent)
9123	//
9124	// 取值范围:0.0到0.5
9125	AdaptBitratePercent *float64 `json:"AdaptBitratePercent,omitempty" name:"AdaptBitratePercent"`
9126
9127	// 是否以短边作为高度,0:否,1:是。默认0。
9128	// 注意:此字段可能返回 null,表示取不到有效值。
9129	ShortEdgeAsHeight *int64 `json:"ShortEdgeAsHeight,omitempty" name:"ShortEdgeAsHeight"`
9130}
9131
9132type TimeValue struct {
9133
9134	// UTC 时间,时间格式:yyyy-mm-ddTHH:MM:SSZ。
9135	Time *string `json:"Time,omitempty" name:"Time"`
9136
9137	// 数值。
9138	Num *uint64 `json:"Num,omitempty" name:"Num"`
9139}
9140
9141type TranscodeDetailInfo struct {
9142
9143	// 流名称。
9144	StreamName *string `json:"StreamName,omitempty" name:"StreamName"`
9145
9146	// 开始时间(北京时间),格式:yyyy-mm-dd HH:MM。
9147	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
9148
9149	// 结束时间(北京时间),格式:yyyy-mm-dd HH:MM。
9150	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
9151
9152	// 转码时长,单位:分钟。
9153	// 注意:因推流过程中可能有中断重推情况,此处时长为真实转码时长累加值,并非结束时间和开始时间的间隔。
9154	Duration *uint64 `json:"Duration,omitempty" name:"Duration"`
9155
9156	// 编码方式,带模块,
9157	// 示例:
9158	// liveprocessor_H264:直播转码-H264,
9159	// liveprocessor_H265: 直播转码-H265,
9160	// topspeed_H264:极速高清-H264,
9161	// topspeed_H265:极速高清-H265。
9162	ModuleCodec *string `json:"ModuleCodec,omitempty" name:"ModuleCodec"`
9163
9164	// 码率。
9165	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`
9166
9167	// 类型,包含:转码(Transcode),混流(MixStream),水印(WaterMark)。
9168	Type *string `json:"Type,omitempty" name:"Type"`
9169
9170	// 推流域名。
9171	PushDomain *string `json:"PushDomain,omitempty" name:"PushDomain"`
9172
9173	// 分辨率。
9174	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
9175}
9176
9177type TranscodeTotalInfo struct {
9178
9179	// 时间点,北京时间,
9180	// 示例:2019-03-01 00:00:00。
9181	Time *string `json:"Time,omitempty" name:"Time"`
9182
9183	// 转码时长,单位:分钟。
9184	Duration *uint64 `json:"Duration,omitempty" name:"Duration"`
9185
9186	// 编码方式,带模块,
9187	// 示例:
9188	// liveprocessor_H264 =》直播转码-H264,
9189	// liveprocessor_H265 =》 直播转码-H265,
9190	// topspeed_H264 =》极速高清-H264,
9191	// topspeed_H265 =》极速高清-H265。
9192	ModuleCodec *string `json:"ModuleCodec,omitempty" name:"ModuleCodec"`
9193
9194	// 分辨率,
9195	// 示例:540*480。
9196	Resolution *string `json:"Resolution,omitempty" name:"Resolution"`
9197}
9198
9199type UnBindLiveDomainCertRequest struct {
9200	*tchttp.BaseRequest
9201
9202	// 播放域名。
9203	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
9204
9205	// 枚举值:
9206	// gray: 解绑灰度规则
9207	// formal(默认): 解绑正式规则
9208	//
9209	// 不传则为formal
9210	Type *string `json:"Type,omitempty" name:"Type"`
9211}
9212
9213func (r *UnBindLiveDomainCertRequest) ToJsonString() string {
9214    b, _ := json.Marshal(r)
9215    return string(b)
9216}
9217
9218// FromJsonString It is highly **NOT** recommended to use this function
9219// because it has no param check, nor strict type check
9220func (r *UnBindLiveDomainCertRequest) FromJsonString(s string) error {
9221	f := make(map[string]interface{})
9222	if err := json.Unmarshal([]byte(s), &f); err != nil {
9223		return err
9224	}
9225	delete(f, "DomainName")
9226	delete(f, "Type")
9227	if len(f) > 0 {
9228		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UnBindLiveDomainCertRequest has unknown keys!", "")
9229	}
9230	return json.Unmarshal([]byte(s), &r)
9231}
9232
9233type UnBindLiveDomainCertResponse struct {
9234	*tchttp.BaseResponse
9235	Response *struct {
9236
9237		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9238		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
9239	} `json:"Response"`
9240}
9241
9242func (r *UnBindLiveDomainCertResponse) ToJsonString() string {
9243    b, _ := json.Marshal(r)
9244    return string(b)
9245}
9246
9247// FromJsonString It is highly **NOT** recommended to use this function
9248// because it has no param check, nor strict type check
9249func (r *UnBindLiveDomainCertResponse) FromJsonString(s string) error {
9250	return json.Unmarshal([]byte(s), &r)
9251}
9252
9253type UpdateLiveWatermarkRequest struct {
9254	*tchttp.BaseRequest
9255
9256	// 水印 ID。
9257	// 在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
9258	WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
9259
9260	// 水印图片 URL。
9261	// URL中禁止包含的字符:
9262	//  ;(){}$>`#"\'|
9263	PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"`
9264
9265	// 显示位置,X轴偏移,单位是百分比,默认 0。
9266	XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"`
9267
9268	// 显示位置,Y轴偏移,单位是百分比,默认 0。
9269	YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"`
9270
9271	// 水印名称。
9272	// 最长16字节。
9273	WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"`
9274
9275	// 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
9276	Width *int64 `json:"Width,omitempty" name:"Width"`
9277
9278	// 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
9279	Height *int64 `json:"Height,omitempty" name:"Height"`
9280}
9281
9282func (r *UpdateLiveWatermarkRequest) ToJsonString() string {
9283    b, _ := json.Marshal(r)
9284    return string(b)
9285}
9286
9287// FromJsonString It is highly **NOT** recommended to use this function
9288// because it has no param check, nor strict type check
9289func (r *UpdateLiveWatermarkRequest) FromJsonString(s string) error {
9290	f := make(map[string]interface{})
9291	if err := json.Unmarshal([]byte(s), &f); err != nil {
9292		return err
9293	}
9294	delete(f, "WatermarkId")
9295	delete(f, "PictureUrl")
9296	delete(f, "XPosition")
9297	delete(f, "YPosition")
9298	delete(f, "WatermarkName")
9299	delete(f, "Width")
9300	delete(f, "Height")
9301	if len(f) > 0 {
9302		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateLiveWatermarkRequest has unknown keys!", "")
9303	}
9304	return json.Unmarshal([]byte(s), &r)
9305}
9306
9307type UpdateLiveWatermarkResponse struct {
9308	*tchttp.BaseResponse
9309	Response *struct {
9310
9311		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9312		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
9313	} `json:"Response"`
9314}
9315
9316func (r *UpdateLiveWatermarkResponse) ToJsonString() string {
9317    b, _ := json.Marshal(r)
9318    return string(b)
9319}
9320
9321// FromJsonString It is highly **NOT** recommended to use this function
9322// because it has no param check, nor strict type check
9323func (r *UpdateLiveWatermarkResponse) FromJsonString(s string) error {
9324	return json.Unmarshal([]byte(s), &r)
9325}
9326
9327type WatermarkInfo struct {
9328
9329	// 水印 ID。
9330	WatermarkId *int64 `json:"WatermarkId,omitempty" name:"WatermarkId"`
9331
9332	// 水印图片 URL。
9333	PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"`
9334
9335	// 显示位置,X 轴偏移。
9336	XPosition *int64 `json:"XPosition,omitempty" name:"XPosition"`
9337
9338	// 显示位置,Y 轴偏移。
9339	YPosition *int64 `json:"YPosition,omitempty" name:"YPosition"`
9340
9341	// 水印名称。
9342	WatermarkName *string `json:"WatermarkName,omitempty" name:"WatermarkName"`
9343
9344	// 当前状态。0:未使用,1:使用中。
9345	Status *int64 `json:"Status,omitempty" name:"Status"`
9346
9347	// 添加时间。
9348	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
9349
9350	// 水印宽。
9351	Width *int64 `json:"Width,omitempty" name:"Width"`
9352
9353	// 水印高。
9354	Height *int64 `json:"Height,omitempty" name:"Height"`
9355}
9356