diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e20b96c6a..c58c95fe05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,152 @@ +# Release v1.0.325 + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 77 次发布 + +发布时间:2022-01-06 08:05:45 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateCloneInstance](https://cloud.tencent.com/document/api/236/50424) + + * 新增入参:CageId + + + + +## 负载均衡(clb) 版本:2018-03-17 + +### 第 62 次发布 + +发布时间:2022-01-06 08:06:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateLoadBalancer](https://cloud.tencent.com/document/api/214/30692) + + * 新增出参:DealName + +* [DescribeTaskStatus](https://cloud.tencent.com/document/api/214/30683) + + * 新增入参:DealName + + * 新增出参:LoadBalancerIds + + + + +## 人脸核身(faceid) 版本:2018-03-01 + +### 第 36 次发布 + +发布时间:2022-01-06 08:09:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [PhoneVerification](https://cloud.tencent.com/document/api/1007/39765) + + * 新增出参:Isp + + +修改数据结构: + +* [DetectInfoIdCardData](https://cloud.tencent.com/document/api/1007/41958#DetectInfoIdCardData) + + * 新增成员:WarnInfos + + + + +## 物联网智能视频服务(行业版)(iotvideoindustry) 版本:2020-12-01 + +### 第 15 次发布 + +发布时间:2022-01-06 08:11:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ControlChannelLocalRecord](https://cloud.tencent.com/document/api/1361/67425) +* [ControlChannelPTZ](https://cloud.tencent.com/document/api/1361/67403) +* [ControlHomePosition](https://cloud.tencent.com/document/api/1361/67396) +* [ControlPreset](https://cloud.tencent.com/document/api/1361/67402) +* [CreateRecordingPlan](https://cloud.tencent.com/document/api/1361/53742) +* [DeleteRecordingPlan](https://cloud.tencent.com/document/api/1361/53740) +* [DeleteWarning](https://cloud.tencent.com/document/api/1361/67401) +* [DescribeAbnormalEvents](https://cloud.tencent.com/document/api/1361/67411) +* [DescribeBindSceneChannels](https://cloud.tencent.com/document/api/1361/67404) +* [DescribeChannelLocalRecordURL](https://cloud.tencent.com/document/api/1361/67424) +* [DescribeChannelStreamURL](https://cloud.tencent.com/document/api/1361/67426) +* [DescribeChannels](https://cloud.tencent.com/document/api/1361/67429) +* [DescribeCurrentDeviceData](https://cloud.tencent.com/document/api/1361/67410) +* [DescribeDevice](https://cloud.tencent.com/document/api/1361/67395) +* [DescribeDeviceEvent](https://cloud.tencent.com/document/api/1361/67409) +* [DescribeDeviceList](https://cloud.tencent.com/document/api/1361/53721) +* [DescribeDeviceMonitorData](https://cloud.tencent.com/document/api/1361/67408) +* [DescribeMonitorDataByDate](https://cloud.tencent.com/document/api/1361/67407) +* [DescribePresetList](https://cloud.tencent.com/document/api/1361/67400) +* [DescribeRecordDatesByChannel](https://cloud.tencent.com/document/api/1361/67423) +* [DescribeRecordingPlanById](https://cloud.tencent.com/document/api/1361/67419) +* [DescribeRecordingPlans](https://cloud.tencent.com/document/api/1361/67418) +* [DescribeScene](https://cloud.tencent.com/document/api/1361/67417) +* [DescribeVideoListByChannel](https://cloud.tencent.com/document/api/1361/67422) +* [DescribeWarnMod](https://cloud.tencent.com/document/api/1361/67399) +* [DescribeWarnings](https://cloud.tencent.com/document/api/1361/67398) +* [DescribeXP2PData](https://cloud.tencent.com/document/api/1361/67431) +* [ModifyBindRecordingPlan](https://cloud.tencent.com/document/api/1361/67416) +* [ModifyBindSceneChannels](https://cloud.tencent.com/document/api/1361/67415) +* [ModifyBindSceneDevice](https://cloud.tencent.com/document/api/1361/67414) +* [ModifyPreset](https://cloud.tencent.com/document/api/1361/67394) +* [ModifyRecordingPlan](https://cloud.tencent.com/document/api/1361/67413) +* [ModifyScene](https://cloud.tencent.com/document/api/1361/67412) +* [ResetWarning](https://cloud.tencent.com/document/api/1361/67397) + +修改接口: + +* [CreateScene](https://cloud.tencent.com/document/api/1361/65989) + + * 新增入参:Channels + + +新增数据结构: + +* [AbnormalEvents](https://cloud.tencent.com/document/api/1361/53754#AbnormalEvents) +* [AbnormalEventsInfo](https://cloud.tencent.com/document/api/1361/53754#AbnormalEventsInfo) +* [ChannelDetail](https://cloud.tencent.com/document/api/1361/53754#ChannelDetail) +* [ChannelItem](https://cloud.tencent.com/document/api/1361/53754#ChannelItem) +* [DeviceMonitorValue](https://cloud.tencent.com/document/api/1361/53754#DeviceMonitorValue) +* [Events](https://cloud.tencent.com/document/api/1361/53754#Events) +* [PresetItem](https://cloud.tencent.com/document/api/1361/53754#PresetItem) +* [RecordPlanDetail](https://cloud.tencent.com/document/api/1361/53754#RecordPlanDetail) +* [RecordStatistic](https://cloud.tencent.com/document/api/1361/53754#RecordStatistic) +* [RecordStatisticValue](https://cloud.tencent.com/document/api/1361/53754#RecordStatisticValue) +* [WarningsData](https://cloud.tencent.com/document/api/1361/53754#WarningsData) + +修改数据结构: + +* [GroupDeviceItem](https://cloud.tencent.com/document/api/1361/53754#GroupDeviceItem) + + * 新增成员:CreateTime, ChannelNum, VideoChannelNum + + + + # Release v1.0.324 ## 应用性能观测(apm) 版本:2021-06-22 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 52f074c587..83665c0e35 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,51 +1,10 @@ # 本版本更新包含以下内容: -## 应用性能观测(apm) 版本:2021-06-22 - -### 第 4 次发布 - -发布时间:2022-01-05 08:03:38 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改数据结构: - -* [ApmInstanceDetail](https://cloud.tencent.com/document/api/1463/64927#ApmInstanceDetail) - - * 新增成员:LogRegion, LogSource, IsRelatedLog, LogTopicID - - - - -## 弹性伸缩(as) 版本:2018-04-19 - -### 第 44 次发布 - -发布时间:2022-01-05 08:03:39 - -本次发布包含了以下内容: - -改善已有的文档。 - -新增接口: - -* [AttachLoadBalancers](https://cloud.tencent.com/document/api/377/67354) -* [DetachLoadBalancers](https://cloud.tencent.com/document/api/377/67353) -* [ModifyLoadBalancerTargetAttributes](https://cloud.tencent.com/document/api/377/67352) - -新增数据结构: - -* [ForwardLoadBalancerIdentification](https://cloud.tencent.com/document/api/377/20453#ForwardLoadBalancerIdentification) - - - ## 云数据库 MySQL(cdb) 版本:2017-03-20 -### 第 76 次发布 +### 第 77 次发布 -发布时间:2022-01-05 08:04:53 +发布时间:2022-01-06 08:05:45 本次发布包含了以下内容: @@ -53,69 +12,43 @@ 修改接口: -* [CreateDBInstance](https://cloud.tencent.com/document/api/236/15871) +* [CreateCloneInstance](https://cloud.tencent.com/document/api/236/50424) - * 新增入参:ParamTemplateType + * 新增入参:CageId -## 内容分发网络(cdn) 版本:2018-06-06 +## 负载均衡(clb) 版本:2018-03-17 -### 第 92 次发布 +### 第 62 次发布 -发布时间:2022-01-05 08:05:09 +发布时间:2022-01-06 08:06:38 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [MainlandConfig](https://cloud.tencent.com/document/api/228/30987#MainlandConfig) - - * 新增成员:AwsPrivateAccess, OssPrivateAccess - -* [OverseaConfig](https://cloud.tencent.com/document/api/228/30987#OverseaConfig) - - * 新增成员:AwsPrivateAccess, OssPrivateAccess - - - - -## 日志服务(cls) 版本:2020-10-16 - -### 第 14 次发布 - -发布时间:2022-01-05 08:06:03 +修改接口: -本次发布包含了以下内容: +* [CreateLoadBalancer](https://cloud.tencent.com/document/api/214/30692) -改善已有的文档。 + * 新增出参:DealName -**删除接口**: +* [DescribeTaskStatus](https://cloud.tencent.com/document/api/214/30683) -* CreateAsyncContextTask -* CreateAsyncSearchTask -* DeleteAsyncContextTask -* DeleteAsyncSearchTask -* DescribeAsyncContextResult -* DescribeAsyncContextTasks -* DescribeAsyncSearchResult -* DescribeAsyncSearchTasks + * 新增入参:DealName -**删除数据结构**: + * 新增出参:LoadBalancerIds -* AsyncContextTask -* AsyncSearchTask -## 数字身份管控平台(员工版)(eiam) 版本:2021-04-20 +## 人脸核身(faceid) 版本:2018-03-01 -### 第 12 次发布 +### 第 36 次发布 -发布时间:2022-01-05 08:08:30 +发布时间:2022-01-06 08:09:38 本次发布包含了以下内容: @@ -123,61 +56,25 @@ 修改接口: -* [AddUserToUserGroup](https://cloud.tencent.com/document/api/1442/57991) - - * 新增出参:FailedItems - -* [CreateUser](https://cloud.tencent.com/document/api/1442/57929) - - * 新增入参:SecondaryOrgNodeIdList - -* [DescribeUserInfo](https://cloud.tencent.com/document/api/1442/57984) - - * 新增出参:SecondaryOrgNodeIdList - -* [ListApplications](https://cloud.tencent.com/document/api/1442/58480) - - * 新增入参:ApplicationIdList - -* [ListUsersInUserGroup](https://cloud.tencent.com/document/api/1442/57980) - - * 新增入参:SearchCondition, Sort, Offset, Limit - -* [ModifyUserInfo](https://cloud.tencent.com/document/api/1442/58033) - - * 新增入参:SecondaryOrgNodeIdList - - - - -## 云直播(live) 版本:2018-08-01 - -### 第 72 次发布 - -发布时间:2022-01-05 08:10:51 - -本次发布包含了以下内容: - -改善已有的文档。 +* [PhoneVerification](https://cloud.tencent.com/document/api/1007/39765) -修改接口: + * 新增出参:Isp -* [DescribeBillBandwidthAndFluxList](https://cloud.tencent.com/document/api/267/35971) - * 新增入参:RegionNames +修改数据结构: -* [DescribePushBandwidthAndFluxList](https://cloud.tencent.com/document/api/267/59511) +* [DetectInfoIdCardData](https://cloud.tencent.com/document/api/1007/41958#DetectInfoIdCardData) - * 新增入参:RegionNames + * 新增成员:WarnInfos -## 云数据库 MongoDB(mongodb) 版本:2019-07-25 +## 物联网智能视频服务(行业版)(iotvideoindustry) 版本:2020-12-01 -### 第 17 次发布 +### 第 15 次发布 -发布时间:2022-01-05 08:11:21 +发布时间:2022-01-06 08:11:12 本次发布包含了以下内容: @@ -185,63 +82,67 @@ 新增接口: -* [SetAccountUserPrivilege](https://cloud.tencent.com/document/api/240/67357) - -新增数据结构: - -* [Auth](https://cloud.tencent.com/document/api/240/38576#Auth) - - - -## 云数据库 MongoDB(mongodb) 版本:2018-04-08 - - - -## 容器服务(tke) 版本:2018-05-25 - -### 第 84 次发布 - -发布时间:2022-01-05 08:14:55 - -本次发布包含了以下内容: - -改善已有的文档。 +* [ControlChannelLocalRecord](https://cloud.tencent.com/document/api/1361/67425) +* [ControlChannelPTZ](https://cloud.tencent.com/document/api/1361/67403) +* [ControlHomePosition](https://cloud.tencent.com/document/api/1361/67396) +* [ControlPreset](https://cloud.tencent.com/document/api/1361/67402) +* [CreateRecordingPlan](https://cloud.tencent.com/document/api/1361/53742) +* [DeleteRecordingPlan](https://cloud.tencent.com/document/api/1361/53740) +* [DeleteWarning](https://cloud.tencent.com/document/api/1361/67401) +* [DescribeAbnormalEvents](https://cloud.tencent.com/document/api/1361/67411) +* [DescribeBindSceneChannels](https://cloud.tencent.com/document/api/1361/67404) +* [DescribeChannelLocalRecordURL](https://cloud.tencent.com/document/api/1361/67424) +* [DescribeChannelStreamURL](https://cloud.tencent.com/document/api/1361/67426) +* [DescribeChannels](https://cloud.tencent.com/document/api/1361/67429) +* [DescribeCurrentDeviceData](https://cloud.tencent.com/document/api/1361/67410) +* [DescribeDevice](https://cloud.tencent.com/document/api/1361/67395) +* [DescribeDeviceEvent](https://cloud.tencent.com/document/api/1361/67409) +* [DescribeDeviceList](https://cloud.tencent.com/document/api/1361/53721) +* [DescribeDeviceMonitorData](https://cloud.tencent.com/document/api/1361/67408) +* [DescribeMonitorDataByDate](https://cloud.tencent.com/document/api/1361/67407) +* [DescribePresetList](https://cloud.tencent.com/document/api/1361/67400) +* [DescribeRecordDatesByChannel](https://cloud.tencent.com/document/api/1361/67423) +* [DescribeRecordingPlanById](https://cloud.tencent.com/document/api/1361/67419) +* [DescribeRecordingPlans](https://cloud.tencent.com/document/api/1361/67418) +* [DescribeScene](https://cloud.tencent.com/document/api/1361/67417) +* [DescribeVideoListByChannel](https://cloud.tencent.com/document/api/1361/67422) +* [DescribeWarnMod](https://cloud.tencent.com/document/api/1361/67399) +* [DescribeWarnings](https://cloud.tencent.com/document/api/1361/67398) +* [DescribeXP2PData](https://cloud.tencent.com/document/api/1361/67431) +* [ModifyBindRecordingPlan](https://cloud.tencent.com/document/api/1361/67416) +* [ModifyBindSceneChannels](https://cloud.tencent.com/document/api/1361/67415) +* [ModifyBindSceneDevice](https://cloud.tencent.com/document/api/1361/67414) +* [ModifyPreset](https://cloud.tencent.com/document/api/1361/67394) +* [ModifyRecordingPlan](https://cloud.tencent.com/document/api/1361/67413) +* [ModifyScene](https://cloud.tencent.com/document/api/1361/67412) +* [ResetWarning](https://cloud.tencent.com/document/api/1361/67397) 修改接口: -* [CreateClusterNodePool](https://cloud.tencent.com/document/api/457/49436) +* [CreateScene](https://cloud.tencent.com/document/api/1361/65989) - * 新增入参:Tags + * 新增入参:Channels -* [ModifyClusterNodePool](https://cloud.tencent.com/document/api/457/49431) - * 新增入参:Tags +新增数据结构: +* [AbnormalEvents](https://cloud.tencent.com/document/api/1361/53754#AbnormalEvents) +* [AbnormalEventsInfo](https://cloud.tencent.com/document/api/1361/53754#AbnormalEventsInfo) +* [ChannelDetail](https://cloud.tencent.com/document/api/1361/53754#ChannelDetail) +* [ChannelItem](https://cloud.tencent.com/document/api/1361/53754#ChannelItem) +* [DeviceMonitorValue](https://cloud.tencent.com/document/api/1361/53754#DeviceMonitorValue) +* [Events](https://cloud.tencent.com/document/api/1361/53754#Events) +* [PresetItem](https://cloud.tencent.com/document/api/1361/53754#PresetItem) +* [RecordPlanDetail](https://cloud.tencent.com/document/api/1361/53754#RecordPlanDetail) +* [RecordStatistic](https://cloud.tencent.com/document/api/1361/53754#RecordStatistic) +* [RecordStatisticValue](https://cloud.tencent.com/document/api/1361/53754#RecordStatisticValue) +* [WarningsData](https://cloud.tencent.com/document/api/1361/53754#WarningsData) 修改数据结构: -* [NodePool](https://cloud.tencent.com/document/api/457/31866#NodePool) - - * 新增成员:Tags - - - - -## 腾讯微服务平台 TSF(tsf) 版本:2018-03-26 - -### 第 65 次发布 - -发布时间:2022-01-05 08:15:18 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改接口: - -* [DeployContainerGroup](https://cloud.tencent.com/document/api/649/36071) +* [GroupDeviceItem](https://cloud.tencent.com/document/api/1361/53754#GroupDeviceItem) - * 新增入参:VolumeInfoList, VolumeMountInfoList + * 新增成员:CreateTime, ChannelNum, VideoChannelNum @@ -2402,13 +2303,13 @@ 新增接口: -* [[AttachLoadBalancers](https://cloud.tencent.com/document/api/377/67354)](https://cloud.tencent.com/document/api/#/#) -* [[DetachLoadBalancers](https://cloud.tencent.com/document/api/377/67353)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyLoadBalancerTargetAttributes](https://cloud.tencent.com/document/api/377/67352)](https://cloud.tencent.com/document/api/#/#) +* [AttachLoadBalancers](https://cloud.tencent.com/document/api/377/67354) +* [DetachLoadBalancers](https://cloud.tencent.com/document/api/377/67353) +* [ModifyLoadBalancerTargetAttributes](https://cloud.tencent.com/document/api/377/67352) 新增数据结构: -* [[ForwardLoadBalancerIdentification](https://cloud.tencent.com/document/api/377/20453#ForwardLoadBalancerIdentification)](https://cloud.tencent.com/document/api/377/20453#[ForwardLoadBalancerIdentification](https://cloud.tencent.com/document/api/377/20453#ForwardLoadBalancerIdentification)) +* [ForwardLoadBalancerIdentification](https://cloud.tencent.com/document/api/377/20453#ForwardLoadBalancerIdentification) ### 第 43 次发布 @@ -8800,6 +8701,21 @@ ## 云数据库 MySQL(cdb) 版本:2017-03-20 +### 第 77 次发布 + +发布时间:2022-01-06 08:05:45 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateCloneInstance](https://cloud.tencent.com/document/api/236/50424) + + * 新增入参:CageId + + ### 第 76 次发布 发布时间:2022-01-05 08:04:53 @@ -14252,6 +14168,27 @@ ## 负载均衡(clb) 版本:2018-03-17 +### 第 62 次发布 + +发布时间:2022-01-06 08:06:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateLoadBalancer](https://cloud.tencent.com/document/api/214/30692) + + * 新增出参:DealName + +* [DescribeTaskStatus](https://cloud.tencent.com/document/api/214/30683) + + * 新增入参:DealName + + * 新增出参:LoadBalancerIds + + ### 第 61 次发布 发布时间:2021-12-14 08:07:15 @@ -29221,6 +29158,28 @@ ## 人脸核身(faceid) 版本:2018-03-01 +### 第 36 次发布 + +发布时间:2022-01-06 08:09:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [PhoneVerification](https://cloud.tencent.com/document/api/1007/39765) + + * 新增出参:Isp + + +修改数据结构: + +* [DetectInfoIdCardData](https://cloud.tencent.com/document/api/1007/41958#DetectInfoIdCardData) + + * 新增成员:WarnInfos + + ### 第 35 次发布 发布时间:2021-12-16 08:09:22 @@ -36268,6 +36227,79 @@ ## 物联网智能视频服务(行业版)(iotvideoindustry) 版本:2020-12-01 +### 第 15 次发布 + +发布时间:2022-01-06 08:11:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[ControlChannelLocalRecord](https://cloud.tencent.com/document/api/1361/67425)](https://cloud.tencent.com/document/api/#/#) +* [[ControlChannelPTZ](https://cloud.tencent.com/document/api/1361/67403)](https://cloud.tencent.com/document/api/#/#) +* [[ControlHomePosition](https://cloud.tencent.com/document/api/1361/67396)](https://cloud.tencent.com/document/api/#/#) +* [[ControlPreset](https://cloud.tencent.com/document/api/1361/67402)](https://cloud.tencent.com/document/api/#/#) +* [[CreateRecordingPlan](https://cloud.tencent.com/document/api/1361/53742)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteRecordingPlan](https://cloud.tencent.com/document/api/1361/53740)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteWarning](https://cloud.tencent.com/document/api/1361/67401)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeAbnormalEvents](https://cloud.tencent.com/document/api/1361/67411)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeBindSceneChannels](https://cloud.tencent.com/document/api/1361/67404)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeChannelLocalRecordURL](https://cloud.tencent.com/document/api/1361/67424)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeChannelStreamURL](https://cloud.tencent.com/document/api/1361/67426)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeChannels](https://cloud.tencent.com/document/api/1361/67429)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeCurrentDeviceData](https://cloud.tencent.com/document/api/1361/67410)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeDevice](https://cloud.tencent.com/document/api/1361/67395)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeDeviceEvent](https://cloud.tencent.com/document/api/1361/67409)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeDeviceList](https://cloud.tencent.com/document/api/1361/53721)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeDeviceMonitorData](https://cloud.tencent.com/document/api/1361/67408)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeMonitorDataByDate](https://cloud.tencent.com/document/api/1361/67407)](https://cloud.tencent.com/document/api/#/#) +* [[DescribePresetList](https://cloud.tencent.com/document/api/1361/67400)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRecordDatesByChannel](https://cloud.tencent.com/document/api/1361/67423)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRecordingPlanById](https://cloud.tencent.com/document/api/1361/67419)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRecordingPlans](https://cloud.tencent.com/document/api/1361/67418)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeScene](https://cloud.tencent.com/document/api/1361/67417)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeVideoListByChannel](https://cloud.tencent.com/document/api/1361/67422)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeWarnMod](https://cloud.tencent.com/document/api/1361/67399)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeWarnings](https://cloud.tencent.com/document/api/1361/67398)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeXP2PData](https://cloud.tencent.com/document/api/1361/67431)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyBindRecordingPlan](https://cloud.tencent.com/document/api/1361/67416)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyBindSceneChannels](https://cloud.tencent.com/document/api/1361/67415)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyBindSceneDevice](https://cloud.tencent.com/document/api/1361/67414)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyPreset](https://cloud.tencent.com/document/api/1361/67394)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyRecordingPlan](https://cloud.tencent.com/document/api/1361/67413)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyScene](https://cloud.tencent.com/document/api/1361/67412)](https://cloud.tencent.com/document/api/#/#) +* [[ResetWarning](https://cloud.tencent.com/document/api/1361/67397)](https://cloud.tencent.com/document/api/#/#) + +修改接口: + +* [CreateScene](https://cloud.tencent.com/document/api/1361/65989) + + * 新增入参:Channels + + +新增数据结构: + +* [[AbnormalEvents](https://cloud.tencent.com/document/api/1361/53754#AbnormalEvents)](https://cloud.tencent.com/document/api/1361/53754#[AbnormalEvents](https://cloud.tencent.com/document/api/1361/53754#AbnormalEvents)) +* [[AbnormalEventsInfo](https://cloud.tencent.com/document/api/1361/53754#AbnormalEventsInfo)](https://cloud.tencent.com/document/api/1361/53754#[AbnormalEventsInfo](https://cloud.tencent.com/document/api/1361/53754#AbnormalEventsInfo)) +* [[ChannelDetail](https://cloud.tencent.com/document/api/1361/53754#ChannelDetail)](https://cloud.tencent.com/document/api/1361/53754#[ChannelDetail](https://cloud.tencent.com/document/api/1361/53754#ChannelDetail)) +* [[ChannelItem](https://cloud.tencent.com/document/api/1361/53754#ChannelItem)](https://cloud.tencent.com/document/api/1361/53754#[ChannelItem](https://cloud.tencent.com/document/api/1361/53754#ChannelItem)) +* [[DeviceMonitorValue](https://cloud.tencent.com/document/api/1361/53754#DeviceMonitorValue)](https://cloud.tencent.com/document/api/1361/53754#[DeviceMonitorValue](https://cloud.tencent.com/document/api/1361/53754#DeviceMonitorValue)) +* [[Events](https://cloud.tencent.com/document/api/1361/53754#Events)](https://cloud.tencent.com/document/api/1361/53754#[Events](https://cloud.tencent.com/document/api/1361/53754#Events)) +* [[PresetItem](https://cloud.tencent.com/document/api/1361/53754#PresetItem)](https://cloud.tencent.com/document/api/1361/53754#[PresetItem](https://cloud.tencent.com/document/api/1361/53754#PresetItem)) +* [[RecordPlanDetail](https://cloud.tencent.com/document/api/1361/53754#RecordPlanDetail)](https://cloud.tencent.com/document/api/1361/53754#[RecordPlanDetail](https://cloud.tencent.com/document/api/1361/53754#RecordPlanDetail)) +* [[RecordStatistic](https://cloud.tencent.com/document/api/1361/53754#RecordStatistic)](https://cloud.tencent.com/document/api/1361/53754#[RecordStatistic](https://cloud.tencent.com/document/api/1361/53754#RecordStatistic)) +* [[RecordStatisticValue](https://cloud.tencent.com/document/api/1361/53754#RecordStatisticValue)](https://cloud.tencent.com/document/api/1361/53754#[RecordStatisticValue](https://cloud.tencent.com/document/api/1361/53754#RecordStatisticValue)) +* [[WarningsData](https://cloud.tencent.com/document/api/1361/53754#WarningsData)](https://cloud.tencent.com/document/api/1361/53754#[WarningsData](https://cloud.tencent.com/document/api/1361/53754#WarningsData)) + +修改数据结构: + +* [GroupDeviceItem](https://cloud.tencent.com/document/api/1361/53754#GroupDeviceItem) + + * 新增成员:CreateTime, ChannelNum, VideoChannelNum + + ### 第 14 次发布 发布时间:2021-12-16 08:10:46 @@ -40104,11 +40136,11 @@ 新增接口: -* [[SetAccountUserPrivilege](https://cloud.tencent.com/document/api/240/67357)](https://cloud.tencent.com/document/api/#/#) +* [SetAccountUserPrivilege](https://cloud.tencent.com/document/api/240/67357) 新增数据结构: -* [[Auth](https://cloud.tencent.com/document/api/240/38576#Auth)](https://cloud.tencent.com/document/api/240/38576#[Auth](https://cloud.tencent.com/document/api/240/38576#Auth)) +* [Auth](https://cloud.tencent.com/document/api/240/38576#Auth) ### 第 16 次发布 diff --git a/go.mod b/go.mod index 39fc255cd6..0e6301c4bc 100644 --- a/go.mod +++ b/go.mod @@ -4,213 +4,213 @@ module github.com/tencentcloud/tencentcloud-sdk-go go 1.14 require ( - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.324 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/zj v1.0.324 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.325 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/zj v1.0.325 ) diff --git a/products.md b/products.md index e546026315..5568fbe7d1 100644 --- a/products.md +++ b/products.md @@ -32,7 +32,7 @@ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-22 08:07:25 | | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-12-21 08:01:42 | | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-12-10 08:02:29 | -| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-01-05 08:04:53 | +| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-01-06 08:05:45 | | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-01-05 08:05:09 | | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-12-24 08:06:33 | | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-12-06 08:02:54 | @@ -42,7 +42,7 @@ | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 | | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 | | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-12-23 08:07:26 | -| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-12-24 08:06:58 | +| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-01-06 08:06:38 | | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 | | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-01-05 08:06:03 | @@ -73,9 +73,9 @@ | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2021-11-10 08:06:56 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-12-10 08:06:20 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-12-30 08:09:09 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-12-23 08:10:29 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-01-06 08:09:34 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-01-05 08:08:53 | -| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-12-21 08:05:56 | +| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-01-06 08:09:38 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-12-14 08:10:17 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-12-08 08:10:45 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-12-30 08:09:28 | @@ -86,7 +86,7 @@ | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 | | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2021-11-10 08:07:42 | | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2021-12-22 08:12:31 | -| ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2021-11-10 08:07:44 | +| ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2022-01-06 08:10:22 | | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2021-11-11 11:03:38 | | iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2021-12-23 14:56:48 | | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2021-11-10 08:07:49 | @@ -96,7 +96,7 @@ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-12-10 08:07:35 | | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-11-10 08:08:16 | | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-12-24 08:11:21 | -| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-12-16 08:10:46 | +| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-01-06 08:11:12 | | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2021-11-30 14:56:41 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-12-24 08:11:42 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-21 08:07:35 | @@ -117,7 +117,7 @@ | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2021-12-21 16:54:01 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2021-12-21 08:08:44 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2021-12-27 08:08:41 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-01-06 08:13:41 | | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-12-30 08:12:38 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-11-18 08:11:02 | | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-11-10 08:09:50 | @@ -181,7 +181,7 @@ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2021-12-22 08:18:35 | | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-23 08:17:39 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-12-02 08:14:23 | -| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2021-12-21 08:13:33 | +| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-01-06 08:18:21 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | | youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 | | yunjing | [主机安全](https://cloud.tencent.com/document/product) | 2020-09-15 08:08:47 | diff --git a/tencentcloud/cdb/v20170320/models.go b/tencentcloud/cdb/v20170320/models.go index c9120d6b35..a7a1bcb3cc 100644 --- a/tencentcloud/cdb/v20170320/models.go +++ b/tencentcloud/cdb/v20170320/models.go @@ -1008,6 +1008,9 @@ type CreateCloneInstanceRequest struct { // 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制等。如果检查不通过,则返回对应错误码;如果检查通过,则返回RequestId.默认为false:发送正常请求,通过检查后直接创建实例。 DryRun *bool `json:"DryRun,omitempty" name:"DryRun"` + + // 金融围拢 ID 。 + CageId *string `json:"CageId,omitempty" name:"CageId"` } func (r *CreateCloneInstanceRequest) ToJsonString() string { @@ -1041,6 +1044,7 @@ func (r *CreateCloneInstanceRequest) FromJsonString(s string) error { delete(f, "InstanceNodes") delete(f, "DeployGroupId") delete(f, "DryRun") + delete(f, "CageId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCloneInstanceRequest has unknown keys!", "") } diff --git a/tencentcloud/clb/v20180317/models.go b/tencentcloud/clb/v20180317/models.go index 9359ae3e52..442118942f 100644 --- a/tencentcloud/clb/v20180317/models.go +++ b/tencentcloud/clb/v20180317/models.go @@ -1173,6 +1173,10 @@ type CreateLoadBalancerResponse struct { // 由负载均衡实例唯一 ID 组成的数组。 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` + // 订单号。 + // 注意:此字段可能返回 null,表示取不到有效值。 + DealName *string `json:"DealName,omitempty" name:"DealName"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` @@ -3584,6 +3588,9 @@ type DescribeTaskStatusRequest struct { // 请求ID,即接口返回的 RequestId 参数。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` + + // 订单ID。 + DealName *string `json:"DealName,omitempty" name:"DealName"` } func (r *DescribeTaskStatusRequest) ToJsonString() string { @@ -3599,6 +3606,7 @@ func (r *DescribeTaskStatusRequest) FromJsonString(s string) error { return err } delete(f, "TaskId") + delete(f, "DealName") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTaskStatusRequest has unknown keys!", "") } @@ -3612,6 +3620,10 @@ type DescribeTaskStatusResponse struct { // 任务的当前状态。 0:成功,1:失败,2:进行中。 Status *int64 `json:"Status,omitempty" name:"Status"` + // 由负载均衡实例唯一 ID 组成的数组。 + // 注意:此字段可能返回 null,表示取不到有效值。 + LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index 1171cf16c1..623ddf5be8 100644 --- a/tencentcloud/common/http/request.go +++ b/tencentcloud/common/http/request.go @@ -240,7 +240,7 @@ func CompleteCommonParams(request Request, region string) { params["Action"] = request.GetAction() params["Timestamp"] = strconv.FormatInt(time.Now().Unix(), 10) params["Nonce"] = strconv.Itoa(rand.Int()) - params["RequestClient"] = "SDK_GO_1.0.324" + params["RequestClient"] = "SDK_GO_1.0.325" } func ConstructParams(req Request) (err error) { diff --git a/tencentcloud/essbasic/v20210526/models.go b/tencentcloud/essbasic/v20210526/models.go index 6ba32bb494..cd9bae3570 100644 --- a/tencentcloud/essbasic/v20210526/models.go +++ b/tencentcloud/essbasic/v20210526/models.go @@ -477,7 +477,7 @@ type DescribeTemplatesRequest struct { // 操作者的信息 Operator *UserInfo `json:"Operator,omitempty" name:"Operator"` - // 模版唯一标识 + // 模板唯一标识 TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` } diff --git a/tencentcloud/faceid/v20180301/models.go b/tencentcloud/faceid/v20180301/models.go index e2cfec644c..c3b7fbc44b 100644 --- a/tencentcloud/faceid/v20180301/models.go +++ b/tencentcloud/faceid/v20180301/models.go @@ -853,6 +853,13 @@ type DetectInfoIdCardData struct { // 身份证正面人像图base64编码。 // 注意:此字段可能返回 null,表示取不到有效值。 Avatar *string `json:"Avatar,omitempty" name:"Avatar"` + + // 开启身份证防翻拍告警功能后才会返回,返回数组中可能出现的告警码如下: + // -9102 身份证复印件告警。 + // -9103 身份证翻拍告警。 + // -9106 身份证 PS 告警。 + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnInfos []*int64 `json:"WarnInfos,omitempty" name:"WarnInfos"` } type DetectInfoText struct { @@ -2735,6 +2742,10 @@ type PhoneVerificationResponse struct { // 业务结果描述。 Description *string `json:"Description,omitempty" name:"Description"` + // 运营商名称。 + // 取值范围为["","移动","电信","联通"] + Isp *string `json:"Isp,omitempty" name:"Isp"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` diff --git a/tencentcloud/iotvideoindustry/v20201201/client.go b/tencentcloud/iotvideoindustry/v20201201/client.go index efe2601df7..3a094c9a2c 100644 --- a/tencentcloud/iotvideoindustry/v20201201/client.go +++ b/tencentcloud/iotvideoindustry/v20201201/client.go @@ -63,6 +63,3508 @@ func NewBindGroupDevicesResponse() (response *BindGroupDevicesResponse) { // BindGroupDevices // 本接口(BindGroupDevices) 用于绑定设备到分组。 +func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *BindGroupDevicesResponse, err error) { + if request == nil { + request = NewBindGroupDevicesRequest() + } + + response = NewBindGroupDevicesResponse() + err = c.Send(request, response) + return +} + +// BindGroupDevices +// 本接口(BindGroupDevices) 用于绑定设备到分组。 +func (c *Client) BindGroupDevicesWithContext(ctx context.Context, request *BindGroupDevicesRequest) (response *BindGroupDevicesResponse, err error) { + if request == nil { + request = NewBindGroupDevicesRequest() + } + request.SetContext(ctx) + + response = NewBindGroupDevicesResponse() + err = c.Send(request, response) + return +} + +func NewControlChannelLocalRecordRequest() (request *ControlChannelLocalRecordRequest) { + request = &ControlChannelLocalRecordRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlChannelLocalRecord") + + + return +} + +func NewControlChannelLocalRecordResponse() (response *ControlChannelLocalRecordResponse) { + response = &ControlChannelLocalRecordResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ControlChannelLocalRecord +// 本接口(ControlChannelLocalRecord)用于对通道本地回放流进行控制,包括暂停、播放、拉动、结束等 +func (c *Client) ControlChannelLocalRecord(request *ControlChannelLocalRecordRequest) (response *ControlChannelLocalRecordResponse, err error) { + if request == nil { + request = NewControlChannelLocalRecordRequest() + } + + response = NewControlChannelLocalRecordResponse() + err = c.Send(request, response) + return +} + +// ControlChannelLocalRecord +// 本接口(ControlChannelLocalRecord)用于对通道本地回放流进行控制,包括暂停、播放、拉动、结束等 +func (c *Client) ControlChannelLocalRecordWithContext(ctx context.Context, request *ControlChannelLocalRecordRequest) (response *ControlChannelLocalRecordResponse, err error) { + if request == nil { + request = NewControlChannelLocalRecordRequest() + } + request.SetContext(ctx) + + response = NewControlChannelLocalRecordResponse() + err = c.Send(request, response) + return +} + +func NewControlChannelPTZRequest() (request *ControlChannelPTZRequest) { + request = &ControlChannelPTZRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlChannelPTZ") + + + return +} + +func NewControlChannelPTZResponse() (response *ControlChannelPTZResponse) { + response = &ControlChannelPTZResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ControlChannelPTZ +// 本接口(ControlChannelPTZ) 用于对支持GB28181 PTZ信令的设备进行指定通道的远程控制。 +func (c *Client) ControlChannelPTZ(request *ControlChannelPTZRequest) (response *ControlChannelPTZResponse, err error) { + if request == nil { + request = NewControlChannelPTZRequest() + } + + response = NewControlChannelPTZResponse() + err = c.Send(request, response) + return +} + +// ControlChannelPTZ +// 本接口(ControlChannelPTZ) 用于对支持GB28181 PTZ信令的设备进行指定通道的远程控制。 +func (c *Client) ControlChannelPTZWithContext(ctx context.Context, request *ControlChannelPTZRequest) (response *ControlChannelPTZResponse, err error) { + if request == nil { + request = NewControlChannelPTZRequest() + } + request.SetContext(ctx) + + response = NewControlChannelPTZResponse() + err = c.Send(request, response) + return +} + +func NewControlDevicePTZRequest() (request *ControlDevicePTZRequest) { + request = &ControlDevicePTZRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlDevicePTZ") + + + return +} + +func NewControlDevicePTZResponse() (response *ControlDevicePTZResponse) { + response = &ControlDevicePTZResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ControlDevicePTZ +// 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。 +// +// 请使用ControlChannelPTZ接口 +func (c *Client) ControlDevicePTZ(request *ControlDevicePTZRequest) (response *ControlDevicePTZResponse, err error) { + if request == nil { + request = NewControlDevicePTZRequest() + } + + response = NewControlDevicePTZResponse() + err = c.Send(request, response) + return +} + +// ControlDevicePTZ +// 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。 +// +// 请使用ControlChannelPTZ接口 +func (c *Client) ControlDevicePTZWithContext(ctx context.Context, request *ControlDevicePTZRequest) (response *ControlDevicePTZResponse, err error) { + if request == nil { + request = NewControlDevicePTZRequest() + } + request.SetContext(ctx) + + response = NewControlDevicePTZResponse() + err = c.Send(request, response) + return +} + +func NewControlHomePositionRequest() (request *ControlHomePositionRequest) { + request = &ControlHomePositionRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlHomePosition") + + + return +} + +func NewControlHomePositionResponse() (response *ControlHomePositionResponse) { + response = &ControlHomePositionResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ControlHomePosition +// 看守位控制 +func (c *Client) ControlHomePosition(request *ControlHomePositionRequest) (response *ControlHomePositionResponse, err error) { + if request == nil { + request = NewControlHomePositionRequest() + } + + response = NewControlHomePositionResponse() + err = c.Send(request, response) + return +} + +// ControlHomePosition +// 看守位控制 +func (c *Client) ControlHomePositionWithContext(ctx context.Context, request *ControlHomePositionRequest) (response *ControlHomePositionResponse, err error) { + if request == nil { + request = NewControlHomePositionRequest() + } + request.SetContext(ctx) + + response = NewControlHomePositionResponse() + err = c.Send(request, response) + return +} + +func NewControlPresetRequest() (request *ControlPresetRequest) { + request = &ControlPresetRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlPreset") + + + return +} + +func NewControlPresetResponse() (response *ControlPresetResponse) { + response = &ControlPresetResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ControlPreset +// 预置位控制 +func (c *Client) ControlPreset(request *ControlPresetRequest) (response *ControlPresetResponse, err error) { + if request == nil { + request = NewControlPresetRequest() + } + + response = NewControlPresetResponse() + err = c.Send(request, response) + return +} + +// ControlPreset +// 预置位控制 +func (c *Client) ControlPresetWithContext(ctx context.Context, request *ControlPresetRequest) (response *ControlPresetResponse, err error) { + if request == nil { + request = NewControlPresetRequest() + } + request.SetContext(ctx) + + response = NewControlPresetResponse() + err = c.Send(request, response) + return +} + +func NewControlRecordStreamRequest() (request *ControlRecordStreamRequest) { + request = &ControlRecordStreamRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlRecordStream") + + + return +} + +func NewControlRecordStreamResponse() (response *ControlRecordStreamResponse) { + response = &ControlRecordStreamResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ControlRecordStream +// 对回放流进行控制,包括暂停、播放、拉动、结束等 +// +// 请使用ControlChannelLocalRecord接口 +func (c *Client) ControlRecordStream(request *ControlRecordStreamRequest) (response *ControlRecordStreamResponse, err error) { + if request == nil { + request = NewControlRecordStreamRequest() + } + + response = NewControlRecordStreamResponse() + err = c.Send(request, response) + return +} + +// ControlRecordStream +// 对回放流进行控制,包括暂停、播放、拉动、结束等 +// +// 请使用ControlChannelLocalRecord接口 +func (c *Client) ControlRecordStreamWithContext(ctx context.Context, request *ControlRecordStreamRequest) (response *ControlRecordStreamResponse, err error) { + if request == nil { + request = NewControlRecordStreamRequest() + } + request.SetContext(ctx) + + response = NewControlRecordStreamResponse() + err = c.Send(request, response) + return +} + +func NewCreateDeviceRequest() (request *CreateDeviceRequest) { + request = &CreateDeviceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateDevice") + + + return +} + +func NewCreateDeviceResponse() (response *CreateDeviceResponse) { + response = &CreateDeviceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateDevice +// 本接口(CreateDevice) 用于创建设备。 +func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error) { + if request == nil { + request = NewCreateDeviceRequest() + } + + response = NewCreateDeviceResponse() + err = c.Send(request, response) + return +} + +// CreateDevice +// 本接口(CreateDevice) 用于创建设备。 +func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error) { + if request == nil { + request = NewCreateDeviceRequest() + } + request.SetContext(ctx) + + response = NewCreateDeviceResponse() + err = c.Send(request, response) + return +} + +func NewCreateDeviceGroupRequest() (request *CreateDeviceGroupRequest) { + request = &CreateDeviceGroupRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateDeviceGroup") + + + return +} + +func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse) { + response = &CreateDeviceGroupResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateDeviceGroup +// 本接口(CreateDeviceGroup) 用于创建设备管理分组。 +func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error) { + if request == nil { + request = NewCreateDeviceGroupRequest() + } + + response = NewCreateDeviceGroupResponse() + err = c.Send(request, response) + return +} + +// CreateDeviceGroup +// 本接口(CreateDeviceGroup) 用于创建设备管理分组。 +func (c *Client) CreateDeviceGroupWithContext(ctx context.Context, request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error) { + if request == nil { + request = NewCreateDeviceGroupRequest() + } + request.SetContext(ctx) + + response = NewCreateDeviceGroupResponse() + err = c.Send(request, response) + return +} + +func NewCreateLiveChannelRequest() (request *CreateLiveChannelRequest) { + request = &CreateLiveChannelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateLiveChannel") + + + return +} + +func NewCreateLiveChannelResponse() (response *CreateLiveChannelResponse) { + response = &CreateLiveChannelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateLiveChannel +// 创建直播频道 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateLiveChannel(request *CreateLiveChannelRequest) (response *CreateLiveChannelResponse, err error) { + if request == nil { + request = NewCreateLiveChannelRequest() + } + + response = NewCreateLiveChannelResponse() + err = c.Send(request, response) + return +} + +// CreateLiveChannel +// 创建直播频道 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateLiveChannelWithContext(ctx context.Context, request *CreateLiveChannelRequest) (response *CreateLiveChannelResponse, err error) { + if request == nil { + request = NewCreateLiveChannelRequest() + } + request.SetContext(ctx) + + response = NewCreateLiveChannelResponse() + err = c.Send(request, response) + return +} + +func NewCreateLiveRecordPlanRequest() (request *CreateLiveRecordPlanRequest) { + request = &CreateLiveRecordPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateLiveRecordPlan") + + + return +} + +func NewCreateLiveRecordPlanResponse() (response *CreateLiveRecordPlanResponse) { + response = &CreateLiveRecordPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateLiveRecordPlan +// 创建直播录制计划 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateLiveRecordPlan(request *CreateLiveRecordPlanRequest) (response *CreateLiveRecordPlanResponse, err error) { + if request == nil { + request = NewCreateLiveRecordPlanRequest() + } + + response = NewCreateLiveRecordPlanResponse() + err = c.Send(request, response) + return +} + +// CreateLiveRecordPlan +// 创建直播录制计划 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateLiveRecordPlanWithContext(ctx context.Context, request *CreateLiveRecordPlanRequest) (response *CreateLiveRecordPlanResponse, err error) { + if request == nil { + request = NewCreateLiveRecordPlanRequest() + } + request.SetContext(ctx) + + response = NewCreateLiveRecordPlanResponse() + err = c.Send(request, response) + return +} + +func NewCreateMessageForwardRequest() (request *CreateMessageForwardRequest) { + request = &CreateMessageForwardRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateMessageForward") + + + return +} + +func NewCreateMessageForwardResponse() (response *CreateMessageForwardResponse) { + response = &CreateMessageForwardResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateMessageForward +// 创建消息转发配置 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateMessageForward(request *CreateMessageForwardRequest) (response *CreateMessageForwardResponse, err error) { + if request == nil { + request = NewCreateMessageForwardRequest() + } + + response = NewCreateMessageForwardResponse() + err = c.Send(request, response) + return +} + +// CreateMessageForward +// 创建消息转发配置 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateMessageForwardWithContext(ctx context.Context, request *CreateMessageForwardRequest) (response *CreateMessageForwardResponse, err error) { + if request == nil { + request = NewCreateMessageForwardRequest() + } + request.SetContext(ctx) + + response = NewCreateMessageForwardResponse() + err = c.Send(request, response) + return +} + +func NewCreateRecordPlanRequest() (request *CreateRecordPlanRequest) { + request = &CreateRecordPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateRecordPlan") + + + return +} + +func NewCreateRecordPlanResponse() (response *CreateRecordPlanResponse) { + response = &CreateRecordPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateRecordPlan +// 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制 +// +// 请使用CreateRecordingPlan代替 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateRecordPlan(request *CreateRecordPlanRequest) (response *CreateRecordPlanResponse, err error) { + if request == nil { + request = NewCreateRecordPlanRequest() + } + + response = NewCreateRecordPlanResponse() + err = c.Send(request, response) + return +} + +// CreateRecordPlan +// 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制 +// +// 请使用CreateRecordingPlan代替 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateRecordPlanWithContext(ctx context.Context, request *CreateRecordPlanRequest) (response *CreateRecordPlanResponse, err error) { + if request == nil { + request = NewCreateRecordPlanRequest() + } + request.SetContext(ctx) + + response = NewCreateRecordPlanResponse() + err = c.Send(request, response) + return +} + +func NewCreateRecordingPlanRequest() (request *CreateRecordingPlanRequest) { + request = &CreateRecordingPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateRecordingPlan") + + + return +} + +func NewCreateRecordingPlanResponse() (response *CreateRecordingPlanResponse) { + response = &CreateRecordingPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateRecordingPlan +// 本接口(CreateRecordingPlan) 用于创建录制计划,使通道与时间模板绑定,以便及时启动录制 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateRecordingPlan(request *CreateRecordingPlanRequest) (response *CreateRecordingPlanResponse, err error) { + if request == nil { + request = NewCreateRecordingPlanRequest() + } + + response = NewCreateRecordingPlanResponse() + err = c.Send(request, response) + return +} + +// CreateRecordingPlan +// 本接口(CreateRecordingPlan) 用于创建录制计划,使通道与时间模板绑定,以便及时启动录制 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateRecordingPlanWithContext(ctx context.Context, request *CreateRecordingPlanRequest) (response *CreateRecordingPlanResponse, err error) { + if request == nil { + request = NewCreateRecordingPlanRequest() + } + request.SetContext(ctx) + + response = NewCreateRecordingPlanResponse() + err = c.Send(request, response) + return +} + +func NewCreateSceneRequest() (request *CreateSceneRequest) { + request = &CreateSceneRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateScene") + + + return +} + +func NewCreateSceneResponse() (response *CreateSceneResponse) { + response = &CreateSceneResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateScene +// 创建场景 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateScene(request *CreateSceneRequest) (response *CreateSceneResponse, err error) { + if request == nil { + request = NewCreateSceneRequest() + } + + response = NewCreateSceneResponse() + err = c.Send(request, response) + return +} + +// CreateScene +// 创建场景 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateSceneWithContext(ctx context.Context, request *CreateSceneRequest) (response *CreateSceneResponse, err error) { + if request == nil { + request = NewCreateSceneRequest() + } + request.SetContext(ctx) + + response = NewCreateSceneResponse() + err = c.Send(request, response) + return +} + +func NewCreateTimeTemplateRequest() (request *CreateTimeTemplateRequest) { + request = &CreateTimeTemplateRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateTimeTemplate") + + + return +} + +func NewCreateTimeTemplateResponse() (response *CreateTimeTemplateResponse) { + response = &CreateTimeTemplateResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateTimeTemplate +// 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateTimeTemplate(request *CreateTimeTemplateRequest) (response *CreateTimeTemplateResponse, err error) { + if request == nil { + request = NewCreateTimeTemplateRequest() + } + + response = NewCreateTimeTemplateResponse() + err = c.Send(request, response) + return +} + +// CreateTimeTemplate +// 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) CreateTimeTemplateWithContext(ctx context.Context, request *CreateTimeTemplateRequest) (response *CreateTimeTemplateResponse, err error) { + if request == nil { + request = NewCreateTimeTemplateRequest() + } + request.SetContext(ctx) + + response = NewCreateTimeTemplateResponse() + err = c.Send(request, response) + return +} + +func NewDeleteChannelRequest() (request *DeleteChannelRequest) { + request = &DeleteChannelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteChannel") + + + return +} + +func NewDeleteChannelResponse() (response *DeleteChannelResponse) { + response = &DeleteChannelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteChannel +// 本接口用于删除设备下的通道 +// +// 注意: 在线状态的设备不允许删除 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteChannel(request *DeleteChannelRequest) (response *DeleteChannelResponse, err error) { + if request == nil { + request = NewDeleteChannelRequest() + } + + response = NewDeleteChannelResponse() + err = c.Send(request, response) + return +} + +// DeleteChannel +// 本接口用于删除设备下的通道 +// +// 注意: 在线状态的设备不允许删除 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteChannelWithContext(ctx context.Context, request *DeleteChannelRequest) (response *DeleteChannelResponse, err error) { + if request == nil { + request = NewDeleteChannelRequest() + } + request.SetContext(ctx) + + response = NewDeleteChannelResponse() + err = c.Send(request, response) + return +} + +func NewDeleteDeviceRequest() (request *DeleteDeviceRequest) { + request = &DeleteDeviceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteDevice") + + + return +} + +func NewDeleteDeviceResponse() (response *DeleteDeviceResponse) { + response = &DeleteDeviceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteDevice +// 本接口(DeleteDevice)用于删除设备。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error) { + if request == nil { + request = NewDeleteDeviceRequest() + } + + response = NewDeleteDeviceResponse() + err = c.Send(request, response) + return +} + +// DeleteDevice +// 本接口(DeleteDevice)用于删除设备。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error) { + if request == nil { + request = NewDeleteDeviceRequest() + } + request.SetContext(ctx) + + response = NewDeleteDeviceResponse() + err = c.Send(request, response) + return +} + +func NewDeleteDeviceGroupRequest() (request *DeleteDeviceGroupRequest) { + request = &DeleteDeviceGroupRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteDeviceGroup") + + + return +} + +func NewDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse) { + response = &DeleteDeviceGroupResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteDeviceGroup +// 本接口(DeleteDeviceGroup)用于删除分组。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error) { + if request == nil { + request = NewDeleteDeviceGroupRequest() + } + + response = NewDeleteDeviceGroupResponse() + err = c.Send(request, response) + return +} + +// DeleteDeviceGroup +// 本接口(DeleteDeviceGroup)用于删除分组。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteDeviceGroupWithContext(ctx context.Context, request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error) { + if request == nil { + request = NewDeleteDeviceGroupRequest() + } + request.SetContext(ctx) + + response = NewDeleteDeviceGroupResponse() + err = c.Send(request, response) + return +} + +func NewDeleteLiveChannelRequest() (request *DeleteLiveChannelRequest) { + request = &DeleteLiveChannelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteLiveChannel") + + + return +} + +func NewDeleteLiveChannelResponse() (response *DeleteLiveChannelResponse) { + response = &DeleteLiveChannelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteLiveChannel +// 删除直播接口 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteLiveChannel(request *DeleteLiveChannelRequest) (response *DeleteLiveChannelResponse, err error) { + if request == nil { + request = NewDeleteLiveChannelRequest() + } + + response = NewDeleteLiveChannelResponse() + err = c.Send(request, response) + return +} + +// DeleteLiveChannel +// 删除直播接口 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteLiveChannelWithContext(ctx context.Context, request *DeleteLiveChannelRequest) (response *DeleteLiveChannelResponse, err error) { + if request == nil { + request = NewDeleteLiveChannelRequest() + } + request.SetContext(ctx) + + response = NewDeleteLiveChannelResponse() + err = c.Send(request, response) + return +} + +func NewDeleteLiveRecordPlanRequest() (request *DeleteLiveRecordPlanRequest) { + request = &DeleteLiveRecordPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteLiveRecordPlan") + + + return +} + +func NewDeleteLiveRecordPlanResponse() (response *DeleteLiveRecordPlanResponse) { + response = &DeleteLiveRecordPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteLiveRecordPlan +// 删除直播录制计划 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteLiveRecordPlan(request *DeleteLiveRecordPlanRequest) (response *DeleteLiveRecordPlanResponse, err error) { + if request == nil { + request = NewDeleteLiveRecordPlanRequest() + } + + response = NewDeleteLiveRecordPlanResponse() + err = c.Send(request, response) + return +} + +// DeleteLiveRecordPlan +// 删除直播录制计划 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteLiveRecordPlanWithContext(ctx context.Context, request *DeleteLiveRecordPlanRequest) (response *DeleteLiveRecordPlanResponse, err error) { + if request == nil { + request = NewDeleteLiveRecordPlanRequest() + } + request.SetContext(ctx) + + response = NewDeleteLiveRecordPlanResponse() + err = c.Send(request, response) + return +} + +func NewDeleteLiveVideoListRequest() (request *DeleteLiveVideoListRequest) { + request = &DeleteLiveVideoListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteLiveVideoList") + + + return +} + +func NewDeleteLiveVideoListResponse() (response *DeleteLiveVideoListResponse) { + response = &DeleteLiveVideoListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteLiveVideoList +// 直播录像删除 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteLiveVideoList(request *DeleteLiveVideoListRequest) (response *DeleteLiveVideoListResponse, err error) { + if request == nil { + request = NewDeleteLiveVideoListRequest() + } + + response = NewDeleteLiveVideoListResponse() + err = c.Send(request, response) + return +} + +// DeleteLiveVideoList +// 直播录像删除 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteLiveVideoListWithContext(ctx context.Context, request *DeleteLiveVideoListRequest) (response *DeleteLiveVideoListResponse, err error) { + if request == nil { + request = NewDeleteLiveVideoListRequest() + } + request.SetContext(ctx) + + response = NewDeleteLiveVideoListResponse() + err = c.Send(request, response) + return +} + +func NewDeleteMessageForwardRequest() (request *DeleteMessageForwardRequest) { + request = &DeleteMessageForwardRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteMessageForward") + + + return +} + +func NewDeleteMessageForwardResponse() (response *DeleteMessageForwardResponse) { + response = &DeleteMessageForwardResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteMessageForward +// 删除消息转发配置 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteMessageForward(request *DeleteMessageForwardRequest) (response *DeleteMessageForwardResponse, err error) { + if request == nil { + request = NewDeleteMessageForwardRequest() + } + + response = NewDeleteMessageForwardResponse() + err = c.Send(request, response) + return +} + +// DeleteMessageForward +// 删除消息转发配置 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteMessageForwardWithContext(ctx context.Context, request *DeleteMessageForwardRequest) (response *DeleteMessageForwardResponse, err error) { + if request == nil { + request = NewDeleteMessageForwardRequest() + } + request.SetContext(ctx) + + response = NewDeleteMessageForwardResponse() + err = c.Send(request, response) + return +} + +func NewDeleteRecordPlanRequest() (request *DeleteRecordPlanRequest) { + request = &DeleteRecordPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteRecordPlan") + + + return +} + +func NewDeleteRecordPlanResponse() (response *DeleteRecordPlanResponse) { + response = &DeleteRecordPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteRecordPlan +// 本接口(DeleteRecordPlan)用于删除录制计划 +// +// 录制计划删除的同时,会停止该录制计划下的全部录制任务。 +// +// 请使用DeleteRecordingPlan接口 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteRecordPlan(request *DeleteRecordPlanRequest) (response *DeleteRecordPlanResponse, err error) { + if request == nil { + request = NewDeleteRecordPlanRequest() + } + + response = NewDeleteRecordPlanResponse() + err = c.Send(request, response) + return +} + +// DeleteRecordPlan +// 本接口(DeleteRecordPlan)用于删除录制计划 +// +// 录制计划删除的同时,会停止该录制计划下的全部录制任务。 +// +// 请使用DeleteRecordingPlan接口 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteRecordPlanWithContext(ctx context.Context, request *DeleteRecordPlanRequest) (response *DeleteRecordPlanResponse, err error) { + if request == nil { + request = NewDeleteRecordPlanRequest() + } + request.SetContext(ctx) + + response = NewDeleteRecordPlanResponse() + err = c.Send(request, response) + return +} + +func NewDeleteRecordingPlanRequest() (request *DeleteRecordingPlanRequest) { + request = &DeleteRecordingPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteRecordingPlan") + + + return +} + +func NewDeleteRecordingPlanResponse() (response *DeleteRecordingPlanResponse) { + response = &DeleteRecordingPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteRecordingPlan +// 本接口(DeleteRecordingPlan)用于删除录制计划 +// +// 录制计划删除的同时,会停止该录制计划下的全部录制任务。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteRecordingPlan(request *DeleteRecordingPlanRequest) (response *DeleteRecordingPlanResponse, err error) { + if request == nil { + request = NewDeleteRecordingPlanRequest() + } + + response = NewDeleteRecordingPlanResponse() + err = c.Send(request, response) + return +} + +// DeleteRecordingPlan +// 本接口(DeleteRecordingPlan)用于删除录制计划 +// +// 录制计划删除的同时,会停止该录制计划下的全部录制任务。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteRecordingPlanWithContext(ctx context.Context, request *DeleteRecordingPlanRequest) (response *DeleteRecordingPlanResponse, err error) { + if request == nil { + request = NewDeleteRecordingPlanRequest() + } + request.SetContext(ctx) + + response = NewDeleteRecordingPlanResponse() + err = c.Send(request, response) + return +} + +func NewDeleteSceneRequest() (request *DeleteSceneRequest) { + request = &DeleteSceneRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteScene") + + + return +} + +func NewDeleteSceneResponse() (response *DeleteSceneResponse) { + response = &DeleteSceneResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteScene +// 删除场景 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteScene(request *DeleteSceneRequest) (response *DeleteSceneResponse, err error) { + if request == nil { + request = NewDeleteSceneRequest() + } + + response = NewDeleteSceneResponse() + err = c.Send(request, response) + return +} + +// DeleteScene +// 删除场景 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteSceneWithContext(ctx context.Context, request *DeleteSceneRequest) (response *DeleteSceneResponse, err error) { + if request == nil { + request = NewDeleteSceneRequest() + } + request.SetContext(ctx) + + response = NewDeleteSceneResponse() + err = c.Send(request, response) + return +} + +func NewDeleteTimeTemplateRequest() (request *DeleteTimeTemplateRequest) { + request = &DeleteTimeTemplateRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteTimeTemplate") + + + return +} + +func NewDeleteTimeTemplateResponse() (response *DeleteTimeTemplateResponse) { + response = &DeleteTimeTemplateResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteTimeTemplate +// 本接口(DeleteTimeTemplate) 用于删除时间模板。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteTimeTemplate(request *DeleteTimeTemplateRequest) (response *DeleteTimeTemplateResponse, err error) { + if request == nil { + request = NewDeleteTimeTemplateRequest() + } + + response = NewDeleteTimeTemplateResponse() + err = c.Send(request, response) + return +} + +// DeleteTimeTemplate +// 本接口(DeleteTimeTemplate) 用于删除时间模板。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteTimeTemplateWithContext(ctx context.Context, request *DeleteTimeTemplateRequest) (response *DeleteTimeTemplateResponse, err error) { + if request == nil { + request = NewDeleteTimeTemplateRequest() + } + request.SetContext(ctx) + + response = NewDeleteTimeTemplateResponse() + err = c.Send(request, response) + return +} + +func NewDeleteVideoListRequest() (request *DeleteVideoListRequest) { + request = &DeleteVideoListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteVideoList") + + + return +} + +func NewDeleteVideoListResponse() (response *DeleteVideoListResponse) { + response = &DeleteVideoListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteVideoList +// 删除录像存储列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -74,7 +3576,22 @@ func NewBindGroupDevicesResponse() (response *BindGroupDevicesResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -83,7 +3600,11 @@ func NewBindGroupDevicesResponse() (response *BindGroupDevicesResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -93,25 +3614,206 @@ func NewBindGroupDevicesResponse() (response *BindGroupDevicesResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *BindGroupDevicesResponse, err error) { +func (c *Client) DeleteVideoList(request *DeleteVideoListRequest) (response *DeleteVideoListResponse, err error) { if request == nil { - request = NewBindGroupDevicesRequest() + request = NewDeleteVideoListRequest() } - response = NewBindGroupDevicesResponse() + response = NewDeleteVideoListResponse() err = c.Send(request, response) return } -// BindGroupDevices -// 本接口(BindGroupDevices) 用于绑定设备到分组。 +// DeleteVideoList +// 删除录像存储列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteVideoListWithContext(ctx context.Context, request *DeleteVideoListRequest) (response *DeleteVideoListResponse, err error) { + if request == nil { + request = NewDeleteVideoListRequest() + } + request.SetContext(ctx) + + response = NewDeleteVideoListResponse() + err = c.Send(request, response) + return +} + +func NewDeleteWarningRequest() (request *DeleteWarningRequest) { + request = &DeleteWarningRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteWarning") + + + return +} + +func NewDeleteWarningResponse() (response *DeleteWarningResponse) { + response = &DeleteWarningResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteWarning +// 设备告警-删除告警 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DeleteWarning(request *DeleteWarningRequest) (response *DeleteWarningResponse, err error) { + if request == nil { + request = NewDeleteWarningRequest() + } + + response = NewDeleteWarningResponse() + err = c.Send(request, response) + return +} + +// DeleteWarning +// 设备告警-删除告警 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -123,7 +3825,22 @@ func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *B // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -132,7 +3849,11 @@ func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *B // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -142,52 +3863,79 @@ func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *B // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) BindGroupDevicesWithContext(ctx context.Context, request *BindGroupDevicesRequest) (response *BindGroupDevicesResponse, err error) { +func (c *Client) DeleteWarningWithContext(ctx context.Context, request *DeleteWarningRequest) (response *DeleteWarningResponse, err error) { if request == nil { - request = NewBindGroupDevicesRequest() + request = NewDeleteWarningRequest() } request.SetContext(ctx) - response = NewBindGroupDevicesResponse() + response = NewDeleteWarningResponse() err = c.Send(request, response) return } -func NewControlDevicePTZRequest() (request *ControlDevicePTZRequest) { - request = &ControlDevicePTZRequest{ +func NewDescribeAbnormalEventsRequest() (request *DescribeAbnormalEventsRequest) { + request = &DescribeAbnormalEventsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlDevicePTZ") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeAbnormalEvents") return } -func NewControlDevicePTZResponse() (response *ControlDevicePTZResponse) { - response = &ControlDevicePTZResponse{ +func NewDescribeAbnormalEventsResponse() (response *DescribeAbnormalEventsResponse) { + response = &DescribeAbnormalEventsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ControlDevicePTZ -// 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。 +// DescribeAbnormalEvents +// 获取异常事件统计 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -197,34 +3945,74 @@ func NewControlDevicePTZResponse() (response *ControlDevicePTZResponse) { // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" // RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ControlDevicePTZ(request *ControlDevicePTZRequest) (response *ControlDevicePTZResponse, err error) { +func (c *Client) DescribeAbnormalEvents(request *DescribeAbnormalEventsRequest) (response *DescribeAbnormalEventsResponse, err error) { if request == nil { - request = NewControlDevicePTZRequest() + request = NewDescribeAbnormalEventsRequest() } - response = NewControlDevicePTZResponse() + response = NewDescribeAbnormalEventsResponse() err = c.Send(request, response) return } -// ControlDevicePTZ -// 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。 +// DescribeAbnormalEvents +// 获取异常事件统计 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -234,43 +4022,67 @@ func (c *Client) ControlDevicePTZ(request *ControlDevicePTZRequest) (response *C // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" // RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ControlDevicePTZWithContext(ctx context.Context, request *ControlDevicePTZRequest) (response *ControlDevicePTZResponse, err error) { +func (c *Client) DescribeAbnormalEventsWithContext(ctx context.Context, request *DescribeAbnormalEventsRequest) (response *DescribeAbnormalEventsResponse, err error) { if request == nil { - request = NewControlDevicePTZRequest() + request = NewDescribeAbnormalEventsRequest() } request.SetContext(ctx) - response = NewControlDevicePTZResponse() + response = NewDescribeAbnormalEventsResponse() err = c.Send(request, response) return } -func NewControlRecordStreamRequest() (request *ControlRecordStreamRequest) { - request = &ControlRecordStreamRequest{ +func NewDescribeAllDeviceListRequest() (request *DescribeAllDeviceListRequest) { + request = &DescribeAllDeviceListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ControlRecordStream") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeAllDeviceList") return } -func NewControlRecordStreamResponse() (response *ControlRecordStreamResponse) { - response = &ControlRecordStreamResponse{ +func NewDescribeAllDeviceListResponse() (response *DescribeAllDeviceListResponse) { + response = &DescribeAllDeviceListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ControlRecordStream -// 对回放流进行控制,包括暂停、播放、拉动、结束等 +// DescribeAllDeviceList +// 本接口(DescribeAllDeviceList) 用于获取设备列表。 +// +// 请使用DescribeDevicesList接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -287,12 +4099,16 @@ func NewControlRecordStreamResponse() (response *ControlRecordStreamResponse) { // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -318,7 +4134,9 @@ func NewControlRecordStreamResponse() (response *ControlRecordStreamResponse) { // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" @@ -330,18 +4148,20 @@ func NewControlRecordStreamResponse() (response *ControlRecordStreamResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ControlRecordStream(request *ControlRecordStreamRequest) (response *ControlRecordStreamResponse, err error) { +func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (response *DescribeAllDeviceListResponse, err error) { if request == nil { - request = NewControlRecordStreamRequest() + request = NewDescribeAllDeviceListRequest() } - response = NewControlRecordStreamResponse() + response = NewDescribeAllDeviceListResponse() err = c.Send(request, response) return } -// ControlRecordStream -// 对回放流进行控制,包括暂停、播放、拉动、结束等 +// DescribeAllDeviceList +// 本接口(DescribeAllDeviceList) 用于获取设备列表。 +// +// 请使用DescribeDevicesList接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -358,12 +4178,16 @@ func (c *Client) ControlRecordStream(request *ControlRecordStreamRequest) (respo // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -389,7 +4213,9 @@ func (c *Client) ControlRecordStream(request *ControlRecordStreamRequest) (respo // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" @@ -401,36 +4227,36 @@ func (c *Client) ControlRecordStream(request *ControlRecordStreamRequest) (respo // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ControlRecordStreamWithContext(ctx context.Context, request *ControlRecordStreamRequest) (response *ControlRecordStreamResponse, err error) { +func (c *Client) DescribeAllDeviceListWithContext(ctx context.Context, request *DescribeAllDeviceListRequest) (response *DescribeAllDeviceListResponse, err error) { if request == nil { - request = NewControlRecordStreamRequest() + request = NewDescribeAllDeviceListRequest() } request.SetContext(ctx) - response = NewControlRecordStreamResponse() + response = NewDescribeAllDeviceListResponse() err = c.Send(request, response) return } -func NewCreateDeviceRequest() (request *CreateDeviceRequest) { - request = &CreateDeviceRequest{ +func NewDescribeBindSceneChannelsRequest() (request *DescribeBindSceneChannelsRequest) { + request = &DescribeBindSceneChannelsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateDevice") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeBindSceneChannels") return } -func NewCreateDeviceResponse() (response *CreateDeviceResponse) { - response = &CreateDeviceResponse{ +func NewDescribeBindSceneChannelsResponse() (response *DescribeBindSceneChannelsResponse) { + response = &DescribeBindSceneChannelsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateDevice -// 本接口(CreateDevice) 用于创建设备。 +// DescribeBindSceneChannels +// 获取场景绑定通道列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -441,12 +4267,30 @@ func NewCreateDeviceResponse() (response *CreateDeviceResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -455,6 +4299,7 @@ func NewCreateDeviceResponse() (response *CreateDeviceResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -470,30 +4315,36 @@ func NewCreateDeviceResponse() (response *CreateDeviceResponse) { // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error) { +func (c *Client) DescribeBindSceneChannels(request *DescribeBindSceneChannelsRequest) (response *DescribeBindSceneChannelsResponse, err error) { if request == nil { - request = NewCreateDeviceRequest() + request = NewDescribeBindSceneChannelsRequest() } - response = NewCreateDeviceResponse() + response = NewDescribeBindSceneChannelsResponse() err = c.Send(request, response) return } -// CreateDevice -// 本接口(CreateDevice) 用于创建设备。 +// DescribeBindSceneChannels +// 获取场景绑定通道列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -504,12 +4355,30 @@ func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDev // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -518,6 +4387,7 @@ func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDev // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -533,48 +4403,54 @@ func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDev // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error) { +func (c *Client) DescribeBindSceneChannelsWithContext(ctx context.Context, request *DescribeBindSceneChannelsRequest) (response *DescribeBindSceneChannelsResponse, err error) { if request == nil { - request = NewCreateDeviceRequest() + request = NewDescribeBindSceneChannelsRequest() } request.SetContext(ctx) - response = NewCreateDeviceResponse() + response = NewDescribeBindSceneChannelsResponse() err = c.Send(request, response) return } -func NewCreateDeviceGroupRequest() (request *CreateDeviceGroupRequest) { - request = &CreateDeviceGroupRequest{ +func NewDescribeBindSceneDevicesRequest() (request *DescribeBindSceneDevicesRequest) { + request = &DescribeBindSceneDevicesRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateDeviceGroup") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeBindSceneDevices") return } -func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse) { - response = &CreateDeviceGroupResponse{ +func NewDescribeBindSceneDevicesResponse() (response *DescribeBindSceneDevicesResponse) { + response = &DescribeBindSceneDevicesResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateDeviceGroup -// 本接口(CreateDeviceGroup) 用于创建设备管理分组。 +// DescribeBindSceneDevices +// 获取场景绑定设备列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -585,11 +4461,30 @@ func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -598,6 +4493,7 @@ func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -613,29 +4509,36 @@ func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse) { // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error) { +func (c *Client) DescribeBindSceneDevices(request *DescribeBindSceneDevicesRequest) (response *DescribeBindSceneDevicesResponse, err error) { if request == nil { - request = NewCreateDeviceGroupRequest() + request = NewDescribeBindSceneDevicesRequest() } - response = NewCreateDeviceGroupResponse() + response = NewDescribeBindSceneDevicesResponse() err = c.Send(request, response) return } -// CreateDeviceGroup -// 本接口(CreateDeviceGroup) 用于创建设备管理分组。 +// DescribeBindSceneDevices +// 获取场景绑定设备列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -646,11 +4549,30 @@ func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -659,6 +4581,7 @@ func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -674,47 +4597,56 @@ func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateDeviceGroupWithContext(ctx context.Context, request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error) { +func (c *Client) DescribeBindSceneDevicesWithContext(ctx context.Context, request *DescribeBindSceneDevicesRequest) (response *DescribeBindSceneDevicesResponse, err error) { if request == nil { - request = NewCreateDeviceGroupRequest() + request = NewDescribeBindSceneDevicesRequest() } request.SetContext(ctx) - response = NewCreateDeviceGroupResponse() + response = NewDescribeBindSceneDevicesResponse() err = c.Send(request, response) return } -func NewCreateLiveChannelRequest() (request *CreateLiveChannelRequest) { - request = &CreateLiveChannelRequest{ +func NewDescribeChannelLocalRecordURLRequest() (request *DescribeChannelLocalRecordURLRequest) { + request = &DescribeChannelLocalRecordURLRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateLiveChannel") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeChannelLocalRecordURL") return } -func NewCreateLiveChannelResponse() (response *CreateLiveChannelResponse) { - response = &CreateLiveChannelResponse{ +func NewDescribeChannelLocalRecordURLResponse() (response *DescribeChannelLocalRecordURLResponse) { + response = &DescribeChannelLocalRecordURLResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateLiveChannel -// 创建直播频道 +// DescribeChannelLocalRecordURL +// 本接口(DescribeChannelLocalRecordURL)用于将NVR等设备对应通道本地回放文件,通过GB28181信令推送至云端,并生成对应的实时视频流URL,流地址URL是动态生成,如需重新播放请重新调用此接口获取最新地址。 +// +// 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -725,11 +4657,14 @@ func NewCreateLiveChannelResponse() (response *CreateLiveChannelResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" @@ -738,10 +4673,14 @@ func NewCreateLiveChannelResponse() (response *CreateLiveChannelResponse) { // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" // INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -773,25 +4712,31 @@ func NewCreateLiveChannelResponse() (response *CreateLiveChannelResponse) { // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateLiveChannel(request *CreateLiveChannelRequest) (response *CreateLiveChannelResponse, err error) { +func (c *Client) DescribeChannelLocalRecordURL(request *DescribeChannelLocalRecordURLRequest) (response *DescribeChannelLocalRecordURLResponse, err error) { if request == nil { - request = NewCreateLiveChannelRequest() + request = NewDescribeChannelLocalRecordURLRequest() } - response = NewCreateLiveChannelResponse() + response = NewDescribeChannelLocalRecordURLResponse() err = c.Send(request, response) return } -// CreateLiveChannel -// 创建直播频道 +// DescribeChannelLocalRecordURL +// 本接口(DescribeChannelLocalRecordURL)用于将NVR等设备对应通道本地回放文件,通过GB28181信令推送至云端,并生成对应的实时视频流URL,流地址URL是动态生成,如需重新播放请重新调用此接口获取最新地址。 +// +// 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -802,11 +4747,14 @@ func (c *Client) CreateLiveChannel(request *CreateLiveChannelRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" @@ -815,10 +4763,14 @@ func (c *Client) CreateLiveChannel(request *CreateLiveChannelRequest) (response // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" // INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -850,43 +4802,49 @@ func (c *Client) CreateLiveChannel(request *CreateLiveChannelRequest) (response // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateLiveChannelWithContext(ctx context.Context, request *CreateLiveChannelRequest) (response *CreateLiveChannelResponse, err error) { +func (c *Client) DescribeChannelLocalRecordURLWithContext(ctx context.Context, request *DescribeChannelLocalRecordURLRequest) (response *DescribeChannelLocalRecordURLResponse, err error) { if request == nil { - request = NewCreateLiveChannelRequest() + request = NewDescribeChannelLocalRecordURLRequest() } request.SetContext(ctx) - response = NewCreateLiveChannelResponse() + response = NewDescribeChannelLocalRecordURLResponse() err = c.Send(request, response) return } -func NewCreateLiveRecordPlanRequest() (request *CreateLiveRecordPlanRequest) { - request = &CreateLiveRecordPlanRequest{ +func NewDescribeChannelStreamURLRequest() (request *DescribeChannelStreamURLRequest) { + request = &DescribeChannelStreamURLRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateLiveRecordPlan") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeChannelStreamURL") return } -func NewCreateLiveRecordPlanResponse() (response *CreateLiveRecordPlanResponse) { - response = &CreateLiveRecordPlanResponse{ +func NewDescribeChannelStreamURLResponse() (response *DescribeChannelStreamURLResponse) { + response = &DescribeChannelStreamURLResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateLiveRecordPlan -// 创建直播录制计划 +// DescribeChannelStreamURL +// 本接口(DescribeChannelStreamURL)用于获取设备指定通道实时流地址,地址是动态生成,如重新播放需要调用此接口重新获取最新播放地址。 +// +// 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -897,11 +4855,14 @@ func NewCreateLiveRecordPlanResponse() (response *CreateLiveRecordPlanResponse) // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" @@ -910,10 +4871,14 @@ func NewCreateLiveRecordPlanResponse() (response *CreateLiveRecordPlanResponse) // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" // INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -945,25 +4910,31 @@ func NewCreateLiveRecordPlanResponse() (response *CreateLiveRecordPlanResponse) // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateLiveRecordPlan(request *CreateLiveRecordPlanRequest) (response *CreateLiveRecordPlanResponse, err error) { +func (c *Client) DescribeChannelStreamURL(request *DescribeChannelStreamURLRequest) (response *DescribeChannelStreamURLResponse, err error) { if request == nil { - request = NewCreateLiveRecordPlanRequest() + request = NewDescribeChannelStreamURLRequest() } - response = NewCreateLiveRecordPlanResponse() + response = NewDescribeChannelStreamURLResponse() err = c.Send(request, response) return } -// CreateLiveRecordPlan -// 创建直播录制计划 +// DescribeChannelStreamURL +// 本接口(DescribeChannelStreamURL)用于获取设备指定通道实时流地址,地址是动态生成,如重新播放需要调用此接口重新获取最新播放地址。 +// +// 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -974,11 +4945,14 @@ func (c *Client) CreateLiveRecordPlan(request *CreateLiveRecordPlanRequest) (res // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" @@ -987,10 +4961,14 @@ func (c *Client) CreateLiveRecordPlan(request *CreateLiveRecordPlanRequest) (res // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" // INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1022,43 +5000,47 @@ func (c *Client) CreateLiveRecordPlan(request *CreateLiveRecordPlanRequest) (res // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateLiveRecordPlanWithContext(ctx context.Context, request *CreateLiveRecordPlanRequest) (response *CreateLiveRecordPlanResponse, err error) { +func (c *Client) DescribeChannelStreamURLWithContext(ctx context.Context, request *DescribeChannelStreamURLRequest) (response *DescribeChannelStreamURLResponse, err error) { if request == nil { - request = NewCreateLiveRecordPlanRequest() + request = NewDescribeChannelStreamURLRequest() } request.SetContext(ctx) - response = NewCreateLiveRecordPlanResponse() + response = NewDescribeChannelStreamURLResponse() err = c.Send(request, response) return } -func NewCreateMessageForwardRequest() (request *CreateMessageForwardRequest) { - request = &CreateMessageForwardRequest{ +func NewDescribeChannelsRequest() (request *DescribeChannelsRequest) { + request = &DescribeChannelsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateMessageForward") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeChannels") return } -func NewCreateMessageForwardResponse() (response *CreateMessageForwardResponse) { - response = &CreateMessageForwardResponse{ +func NewDescribeChannelsResponse() (response *DescribeChannelsResponse) { + response = &DescribeChannelsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateMessageForward -// 创建消息转发配置 +// DescribeChannels +// 本接口(DescribeChannels)用于获取设备下属通道列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1069,11 +5051,14 @@ func NewCreateMessageForwardResponse() (response *CreateMessageForwardResponse) // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" @@ -1082,10 +5067,14 @@ func NewCreateMessageForwardResponse() (response *CreateMessageForwardResponse) // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" // INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1117,25 +5106,29 @@ func NewCreateMessageForwardResponse() (response *CreateMessageForwardResponse) // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateMessageForward(request *CreateMessageForwardRequest) (response *CreateMessageForwardResponse, err error) { +func (c *Client) DescribeChannels(request *DescribeChannelsRequest) (response *DescribeChannelsResponse, err error) { if request == nil { - request = NewCreateMessageForwardRequest() + request = NewDescribeChannelsRequest() } - response = NewCreateMessageForwardResponse() + response = NewDescribeChannelsResponse() err = c.Send(request, response) return } -// CreateMessageForward -// 创建消息转发配置 +// DescribeChannels +// 本接口(DescribeChannels)用于获取设备下属通道列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1146,11 +5139,14 @@ func (c *Client) CreateMessageForward(request *CreateMessageForwardRequest) (res // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" @@ -1159,10 +5155,14 @@ func (c *Client) CreateMessageForward(request *CreateMessageForwardRequest) (res // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" // INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" +// INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" +// INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1194,43 +5194,47 @@ func (c *Client) CreateMessageForward(request *CreateMessageForwardRequest) (res // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" // UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" +// UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" +// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateMessageForwardWithContext(ctx context.Context, request *CreateMessageForwardRequest) (response *CreateMessageForwardResponse, err error) { +func (c *Client) DescribeChannelsWithContext(ctx context.Context, request *DescribeChannelsRequest) (response *DescribeChannelsResponse, err error) { if request == nil { - request = NewCreateMessageForwardRequest() + request = NewDescribeChannelsRequest() } request.SetContext(ctx) - response = NewCreateMessageForwardResponse() + response = NewDescribeChannelsResponse() err = c.Send(request, response) return } -func NewCreateRecordPlanRequest() (request *CreateRecordPlanRequest) { - request = &CreateRecordPlanRequest{ +func NewDescribeChannelsByLiveRecordPlanRequest() (request *DescribeChannelsByLiveRecordPlanRequest) { + request = &DescribeChannelsByLiveRecordPlanRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateRecordPlan") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeChannelsByLiveRecordPlan") return } -func NewCreateRecordPlanResponse() (response *CreateRecordPlanResponse) { - response = &CreateRecordPlanResponse{ +func NewDescribeChannelsByLiveRecordPlanResponse() (response *DescribeChannelsByLiveRecordPlanResponse) { + response = &DescribeChannelsByLiveRecordPlanResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateRecordPlan -// 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制 +// DescribeChannelsByLiveRecordPlan +// 根据直播录制计划获取频道列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1242,30 +5246,72 @@ func NewCreateRecordPlanResponse() (response *CreateRecordPlanResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateRecordPlan(request *CreateRecordPlanRequest) (response *CreateRecordPlanResponse, err error) { +func (c *Client) DescribeChannelsByLiveRecordPlan(request *DescribeChannelsByLiveRecordPlanRequest) (response *DescribeChannelsByLiveRecordPlanResponse, err error) { if request == nil { - request = NewCreateRecordPlanRequest() + request = NewDescribeChannelsByLiveRecordPlanRequest() } - response = NewCreateRecordPlanResponse() + response = NewDescribeChannelsByLiveRecordPlanResponse() err = c.Send(request, response) return } -// CreateRecordPlan -// 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制 +// DescribeChannelsByLiveRecordPlan +// 根据直播录制计划获取频道列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1277,48 +5323,90 @@ func (c *Client) CreateRecordPlan(request *CreateRecordPlanRequest) (response *C // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateRecordPlanWithContext(ctx context.Context, request *CreateRecordPlanRequest) (response *CreateRecordPlanResponse, err error) { +func (c *Client) DescribeChannelsByLiveRecordPlanWithContext(ctx context.Context, request *DescribeChannelsByLiveRecordPlanRequest) (response *DescribeChannelsByLiveRecordPlanResponse, err error) { if request == nil { - request = NewCreateRecordPlanRequest() + request = NewDescribeChannelsByLiveRecordPlanRequest() } request.SetContext(ctx) - response = NewCreateRecordPlanResponse() + response = NewDescribeChannelsByLiveRecordPlanResponse() err = c.Send(request, response) return } -func NewCreateSceneRequest() (request *CreateSceneRequest) { - request = &CreateSceneRequest{ +func NewDescribeCurrentDeviceDataRequest() (request *DescribeCurrentDeviceDataRequest) { + request = &DescribeCurrentDeviceDataRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateScene") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeCurrentDeviceData") return } -func NewCreateSceneResponse() (response *CreateSceneResponse) { - response = &CreateSceneResponse{ +func NewDescribeCurrentDeviceDataResponse() (response *DescribeCurrentDeviceDataResponse) { + response = &DescribeCurrentDeviceDataResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateScene -// 创建场景 +// DescribeCurrentDeviceData +// 查询设备统计当前信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1379,24 +5467,23 @@ func NewCreateSceneResponse() (response *CreateSceneResponse) { // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateScene(request *CreateSceneRequest) (response *CreateSceneResponse, err error) { +func (c *Client) DescribeCurrentDeviceData(request *DescribeCurrentDeviceDataRequest) (response *DescribeCurrentDeviceDataResponse, err error) { if request == nil { - request = NewCreateSceneRequest() + request = NewDescribeCurrentDeviceDataRequest() } - response = NewCreateSceneResponse() + response = NewDescribeCurrentDeviceDataResponse() err = c.Send(request, response) return } -// CreateScene -// 创建场景 +// DescribeCurrentDeviceData +// 查询设备统计当前信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1457,50 +5544,66 @@ func (c *Client) CreateScene(request *CreateSceneRequest) (response *CreateScene // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) CreateSceneWithContext(ctx context.Context, request *CreateSceneRequest) (response *CreateSceneResponse, err error) { +func (c *Client) DescribeCurrentDeviceDataWithContext(ctx context.Context, request *DescribeCurrentDeviceDataRequest) (response *DescribeCurrentDeviceDataResponse, err error) { if request == nil { - request = NewCreateSceneRequest() + request = NewDescribeCurrentDeviceDataRequest() } request.SetContext(ctx) - response = NewCreateSceneResponse() + response = NewDescribeCurrentDeviceDataResponse() err = c.Send(request, response) return } -func NewCreateTimeTemplateRequest() (request *CreateTimeTemplateRequest) { - request = &CreateTimeTemplateRequest{ +func NewDescribeDeviceRequest() (request *DescribeDeviceRequest) { + request = &DescribeDeviceRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "CreateTimeTemplate") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDevice") return } -func NewCreateTimeTemplateResponse() (response *CreateTimeTemplateResponse) { - response = &CreateTimeTemplateResponse{ +func NewDescribeDeviceResponse() (response *DescribeDeviceResponse) { + response = &DescribeDeviceResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// CreateTimeTemplate -// 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。 +// DescribeDevice +// 获取指定设备详细信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" @@ -1508,27 +5611,76 @@ func NewCreateTimeTemplateResponse() (response *CreateTimeTemplateResponse) { // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -func (c *Client) CreateTimeTemplate(request *CreateTimeTemplateRequest) (response *CreateTimeTemplateResponse, err error) { +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error) { if request == nil { - request = NewCreateTimeTemplateRequest() + request = NewDescribeDeviceRequest() } - response = NewCreateTimeTemplateResponse() + response = NewDescribeDeviceResponse() err = c.Send(request, response) return } -// CreateTimeTemplate -// 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。 +// DescribeDevice +// 获取指定设备详细信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" @@ -1536,37 +5688,69 @@ func (c *Client) CreateTimeTemplate(request *CreateTimeTemplateRequest) (respons // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -func (c *Client) CreateTimeTemplateWithContext(ctx context.Context, request *CreateTimeTemplateRequest) (response *CreateTimeTemplateResponse, err error) { +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeDeviceWithContext(ctx context.Context, request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error) { if request == nil { - request = NewCreateTimeTemplateRequest() + request = NewDescribeDeviceRequest() } request.SetContext(ctx) - response = NewCreateTimeTemplateResponse() + response = NewDescribeDeviceResponse() err = c.Send(request, response) return } -func NewDeleteChannelRequest() (request *DeleteChannelRequest) { - request = &DeleteChannelRequest{ +func NewDescribeDeviceEventRequest() (request *DescribeDeviceEventRequest) { + request = &DescribeDeviceEventRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteChannel") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceEvent") return } -func NewDeleteChannelResponse() (response *DeleteChannelResponse) { - response = &DeleteChannelResponse{ +func NewDescribeDeviceEventResponse() (response *DescribeDeviceEventResponse) { + response = &DescribeDeviceEventResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteChannel -// 删除通道接口 +// DescribeDeviceEvent +// 获取设备事件 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1577,7 +5761,6 @@ func NewDeleteChannelResponse() (response *DeleteChannelResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" @@ -1633,18 +5816,18 @@ func NewDeleteChannelResponse() (response *DeleteChannelResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteChannel(request *DeleteChannelRequest) (response *DeleteChannelResponse, err error) { +func (c *Client) DescribeDeviceEvent(request *DescribeDeviceEventRequest) (response *DescribeDeviceEventResponse, err error) { if request == nil { - request = NewDeleteChannelRequest() + request = NewDescribeDeviceEventRequest() } - response = NewDeleteChannelResponse() + response = NewDescribeDeviceEventResponse() err = c.Send(request, response) return } -// DeleteChannel -// 删除通道接口 +// DescribeDeviceEvent +// 获取设备事件 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1655,7 +5838,6 @@ func (c *Client) DeleteChannel(request *DeleteChannelRequest) (response *DeleteC // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_DEVICEONLINE = "InvalidParameter.DeviceOnline" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" // INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" @@ -1711,36 +5893,36 @@ func (c *Client) DeleteChannel(request *DeleteChannelRequest) (response *DeleteC // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteChannelWithContext(ctx context.Context, request *DeleteChannelRequest) (response *DeleteChannelResponse, err error) { +func (c *Client) DescribeDeviceEventWithContext(ctx context.Context, request *DescribeDeviceEventRequest) (response *DescribeDeviceEventResponse, err error) { if request == nil { - request = NewDeleteChannelRequest() + request = NewDescribeDeviceEventRequest() } request.SetContext(ctx) - response = NewDeleteChannelResponse() + response = NewDescribeDeviceEventResponse() err = c.Send(request, response) return } -func NewDeleteDeviceRequest() (request *DeleteDeviceRequest) { - request = &DeleteDeviceRequest{ +func NewDescribeDeviceGroupRequest() (request *DescribeDeviceGroupRequest) { + request = &DescribeDeviceGroupRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteDevice") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceGroup") return } -func NewDeleteDeviceResponse() (response *DeleteDeviceResponse) { - response = &DeleteDeviceResponse{ +func NewDescribeDeviceGroupResponse() (response *DescribeDeviceGroupResponse) { + response = &DescribeDeviceGroupResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteDevice -// 本接口(DeleteDevice)用于删除设备。 +// DescribeDeviceGroup +// 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1752,7 +5934,22 @@ func NewDeleteDeviceResponse() (response *DeleteDeviceResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1761,9 +5958,11 @@ func NewDeleteDeviceResponse() (response *DeleteDeviceResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -1773,27 +5972,34 @@ func NewDeleteDeviceResponse() (response *DeleteDeviceResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error) { +func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (response *DescribeDeviceGroupResponse, err error) { if request == nil { - request = NewDeleteDeviceRequest() + request = NewDescribeDeviceGroupRequest() } - response = NewDeleteDeviceResponse() + response = NewDescribeDeviceGroupResponse() err = c.Send(request, response) return } -// DeleteDevice -// 本接口(DeleteDevice)用于删除设备。 +// DescribeDeviceGroup +// 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1805,7 +6011,22 @@ func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDev // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1814,9 +6035,11 @@ func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDev // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -1826,45 +6049,52 @@ func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDev // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error) { +func (c *Client) DescribeDeviceGroupWithContext(ctx context.Context, request *DescribeDeviceGroupRequest) (response *DescribeDeviceGroupResponse, err error) { if request == nil { - request = NewDeleteDeviceRequest() + request = NewDescribeDeviceGroupRequest() } request.SetContext(ctx) - response = NewDeleteDeviceResponse() + response = NewDescribeDeviceGroupResponse() err = c.Send(request, response) return } -func NewDeleteDeviceGroupRequest() (request *DeleteDeviceGroupRequest) { - request = &DeleteDeviceGroupRequest{ +func NewDescribeDeviceListRequest() (request *DescribeDeviceListRequest) { + request = &DescribeDeviceListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteDeviceGroup") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceList") return } -func NewDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse) { - response = &DeleteDeviceGroupResponse{ +func NewDescribeDeviceListResponse() (response *DescribeDeviceListResponse) { + response = &DescribeDeviceListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteDeviceGroup -// 本接口(DeleteDeviceGroup)用于删除分组。 +// DescribeDeviceList +// 本接口(DescribeDevicesList) 用于获取设备列表,支持模糊搜索 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1876,7 +6106,22 @@ func NewDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1885,9 +6130,11 @@ func NewDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -1897,26 +6144,34 @@ func NewDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeDeviceList(request *DescribeDeviceListRequest) (response *DescribeDeviceListResponse, err error) { if request == nil { - request = NewDeleteDeviceGroupRequest() + request = NewDescribeDeviceListRequest() } - response = NewDeleteDeviceGroupResponse() + response = NewDescribeDeviceListResponse() err = c.Send(request, response) return } -// DeleteDeviceGroup -// 本接口(DeleteDeviceGroup)用于删除分组。 +// DescribeDeviceList +// 本接口(DescribeDevicesList) 用于获取设备列表,支持模糊搜索 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1928,7 +6183,22 @@ func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -1937,9 +6207,11 @@ func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -1949,44 +6221,52 @@ func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DeleteDeviceGroupWithContext(ctx context.Context, request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeDeviceListWithContext(ctx context.Context, request *DescribeDeviceListRequest) (response *DescribeDeviceListResponse, err error) { if request == nil { - request = NewDeleteDeviceGroupRequest() + request = NewDescribeDeviceListRequest() } request.SetContext(ctx) - response = NewDeleteDeviceGroupResponse() + response = NewDescribeDeviceListResponse() err = c.Send(request, response) return } -func NewDeleteLiveChannelRequest() (request *DeleteLiveChannelRequest) { - request = &DeleteLiveChannelRequest{ +func NewDescribeDeviceMonitorDataRequest() (request *DescribeDeviceMonitorDataRequest) { + request = &DescribeDeviceMonitorDataRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteLiveChannel") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceMonitorData") return } -func NewDeleteLiveChannelResponse() (response *DeleteLiveChannelResponse) { - response = &DeleteLiveChannelResponse{ +func NewDescribeDeviceMonitorDataResponse() (response *DescribeDeviceMonitorDataResponse) { + response = &DescribeDeviceMonitorDataResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteLiveChannel -// 删除直播接口 +// DescribeDeviceMonitorData +// 查询设备统计monitor信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2052,18 +6332,18 @@ func NewDeleteLiveChannelResponse() (response *DeleteLiveChannelResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteLiveChannel(request *DeleteLiveChannelRequest) (response *DeleteLiveChannelResponse, err error) { +func (c *Client) DescribeDeviceMonitorData(request *DescribeDeviceMonitorDataRequest) (response *DescribeDeviceMonitorDataResponse, err error) { if request == nil { - request = NewDeleteLiveChannelRequest() + request = NewDescribeDeviceMonitorDataRequest() } - response = NewDeleteLiveChannelResponse() + response = NewDescribeDeviceMonitorDataResponse() err = c.Send(request, response) return } -// DeleteLiveChannel -// 删除直播接口 +// DescribeDeviceMonitorData +// 查询设备统计monitor信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2129,36 +6409,36 @@ func (c *Client) DeleteLiveChannel(request *DeleteLiveChannelRequest) (response // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteLiveChannelWithContext(ctx context.Context, request *DeleteLiveChannelRequest) (response *DeleteLiveChannelResponse, err error) { +func (c *Client) DescribeDeviceMonitorDataWithContext(ctx context.Context, request *DescribeDeviceMonitorDataRequest) (response *DescribeDeviceMonitorDataResponse, err error) { if request == nil { - request = NewDeleteLiveChannelRequest() + request = NewDescribeDeviceMonitorDataRequest() } request.SetContext(ctx) - response = NewDeleteLiveChannelResponse() + response = NewDescribeDeviceMonitorDataResponse() err = c.Send(request, response) return } -func NewDeleteLiveRecordPlanRequest() (request *DeleteLiveRecordPlanRequest) { - request = &DeleteLiveRecordPlanRequest{ +func NewDescribeDevicePassWordRequest() (request *DescribeDevicePassWordRequest) { + request = &DescribeDevicePassWordRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteLiveRecordPlan") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDevicePassWord") return } -func NewDeleteLiveRecordPlanResponse() (response *DeleteLiveRecordPlanResponse) { - response = &DeleteLiveRecordPlanResponse{ +func NewDescribeDevicePassWordResponse() (response *DescribeDevicePassWordResponse) { + response = &DescribeDevicePassWordResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteLiveRecordPlan -// 删除直播录制计划 +// DescribeDevicePassWord +// 本接口(DescribeDevicePassWord)用于查询设备密码。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2224,18 +6504,18 @@ func NewDeleteLiveRecordPlanResponse() (response *DeleteLiveRecordPlanResponse) // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteLiveRecordPlan(request *DeleteLiveRecordPlanRequest) (response *DeleteLiveRecordPlanResponse, err error) { +func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) (response *DescribeDevicePassWordResponse, err error) { if request == nil { - request = NewDeleteLiveRecordPlanRequest() + request = NewDescribeDevicePassWordRequest() } - response = NewDeleteLiveRecordPlanResponse() + response = NewDescribeDevicePassWordResponse() err = c.Send(request, response) return } - -// DeleteLiveRecordPlan -// 删除直播录制计划 + +// DescribeDevicePassWord +// 本接口(DescribeDevicePassWord)用于查询设备密码。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2301,36 +6581,38 @@ func (c *Client) DeleteLiveRecordPlan(request *DeleteLiveRecordPlanRequest) (res // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteLiveRecordPlanWithContext(ctx context.Context, request *DeleteLiveRecordPlanRequest) (response *DeleteLiveRecordPlanResponse, err error) { +func (c *Client) DescribeDevicePassWordWithContext(ctx context.Context, request *DescribeDevicePassWordRequest) (response *DescribeDevicePassWordResponse, err error) { if request == nil { - request = NewDeleteLiveRecordPlanRequest() + request = NewDescribeDevicePassWordRequest() } request.SetContext(ctx) - response = NewDeleteLiveRecordPlanResponse() + response = NewDescribeDevicePassWordResponse() err = c.Send(request, response) return } -func NewDeleteLiveVideoListRequest() (request *DeleteLiveVideoListRequest) { - request = &DeleteLiveVideoListRequest{ +func NewDescribeDeviceStreamsRequest() (request *DescribeDeviceStreamsRequest) { + request = &DescribeDeviceStreamsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteLiveVideoList") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceStreams") return } -func NewDeleteLiveVideoListResponse() (response *DeleteLiveVideoListResponse) { - response = &DeleteLiveVideoListResponse{ +func NewDescribeDeviceStreamsResponse() (response *DescribeDeviceStreamsResponse) { + response = &DescribeDeviceStreamsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteLiveVideoList -// 直播录像删除 +// DescribeDeviceStreams +// 本接口(DescribeDeviceStreams)用于获取设备实时流地址。 +// +// 请使用DescribeChannelStreamURL接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2396,18 +6678,20 @@ func NewDeleteLiveVideoListResponse() (response *DeleteLiveVideoListResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteLiveVideoList(request *DeleteLiveVideoListRequest) (response *DeleteLiveVideoListResponse, err error) { +func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (response *DescribeDeviceStreamsResponse, err error) { if request == nil { - request = NewDeleteLiveVideoListRequest() + request = NewDescribeDeviceStreamsRequest() } - response = NewDeleteLiveVideoListResponse() + response = NewDescribeDeviceStreamsResponse() err = c.Send(request, response) return } -// DeleteLiveVideoList -// 直播录像删除 +// DescribeDeviceStreams +// 本接口(DescribeDeviceStreams)用于获取设备实时流地址。 +// +// 请使用DescribeChannelStreamURL接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2473,36 +6757,36 @@ func (c *Client) DeleteLiveVideoList(request *DeleteLiveVideoListRequest) (respo // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteLiveVideoListWithContext(ctx context.Context, request *DeleteLiveVideoListRequest) (response *DeleteLiveVideoListResponse, err error) { +func (c *Client) DescribeDeviceStreamsWithContext(ctx context.Context, request *DescribeDeviceStreamsRequest) (response *DescribeDeviceStreamsResponse, err error) { if request == nil { - request = NewDeleteLiveVideoListRequest() + request = NewDescribeDeviceStreamsRequest() } request.SetContext(ctx) - response = NewDeleteLiveVideoListResponse() + response = NewDescribeDeviceStreamsResponse() err = c.Send(request, response) return } -func NewDeleteMessageForwardRequest() (request *DeleteMessageForwardRequest) { - request = &DeleteMessageForwardRequest{ +func NewDescribeGroupByIdRequest() (request *DescribeGroupByIdRequest) { + request = &DescribeGroupByIdRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteMessageForward") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroupById") return } -func NewDeleteMessageForwardResponse() (response *DeleteMessageForwardResponse) { - response = &DeleteMessageForwardResponse{ +func NewDescribeGroupByIdResponse() (response *DescribeGroupByIdResponse) { + response = &DescribeGroupByIdResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteMessageForward -// 删除消息转发配置 +// DescribeGroupById +// 本接口(DescribeGroupById)用于根据分组ID查询分组。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2568,18 +6852,18 @@ func NewDeleteMessageForwardResponse() (response *DeleteMessageForwardResponse) // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteMessageForward(request *DeleteMessageForwardRequest) (response *DeleteMessageForwardResponse, err error) { +func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response *DescribeGroupByIdResponse, err error) { if request == nil { - request = NewDeleteMessageForwardRequest() + request = NewDescribeGroupByIdRequest() } - response = NewDeleteMessageForwardResponse() + response = NewDescribeGroupByIdResponse() err = c.Send(request, response) return } -// DeleteMessageForward -// 删除消息转发配置 +// DescribeGroupById +// 本接口(DescribeGroupById)用于根据分组ID查询分组。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2645,116 +6929,36 @@ func (c *Client) DeleteMessageForward(request *DeleteMessageForwardRequest) (res // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteMessageForwardWithContext(ctx context.Context, request *DeleteMessageForwardRequest) (response *DeleteMessageForwardResponse, err error) { - if request == nil { - request = NewDeleteMessageForwardRequest() - } - request.SetContext(ctx) - - response = NewDeleteMessageForwardResponse() - err = c.Send(request, response) - return -} - -func NewDeleteRecordPlanRequest() (request *DeleteRecordPlanRequest) { - request = &DeleteRecordPlanRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteRecordPlan") - - - return -} - -func NewDeleteRecordPlanResponse() (response *DeleteRecordPlanResponse) { - response = &DeleteRecordPlanResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return -} - -// DeleteRecordPlan -// 本接口(DeleteRecordPlan)用于删除录制计划 -// -// 录制计划删除的同时,会停止该录制计划下的全部录制任务。 -// -// 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" -func (c *Client) DeleteRecordPlan(request *DeleteRecordPlanRequest) (response *DeleteRecordPlanResponse, err error) { - if request == nil { - request = NewDeleteRecordPlanRequest() - } - - response = NewDeleteRecordPlanResponse() - err = c.Send(request, response) - return -} - -// DeleteRecordPlan -// 本接口(DeleteRecordPlan)用于删除录制计划 -// -// 录制计划删除的同时,会停止该录制计划下的全部录制任务。 -// -// 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" -func (c *Client) DeleteRecordPlanWithContext(ctx context.Context, request *DeleteRecordPlanRequest) (response *DeleteRecordPlanResponse, err error) { +func (c *Client) DescribeGroupByIdWithContext(ctx context.Context, request *DescribeGroupByIdRequest) (response *DescribeGroupByIdResponse, err error) { if request == nil { - request = NewDeleteRecordPlanRequest() + request = NewDescribeGroupByIdRequest() } request.SetContext(ctx) - response = NewDeleteRecordPlanResponse() + response = NewDescribeGroupByIdResponse() err = c.Send(request, response) return } -func NewDeleteSceneRequest() (request *DeleteSceneRequest) { - request = &DeleteSceneRequest{ +func NewDescribeGroupByPathRequest() (request *DescribeGroupByPathRequest) { + request = &DescribeGroupByPathRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteScene") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroupByPath") return } -func NewDeleteSceneResponse() (response *DeleteSceneResponse) { - response = &DeleteSceneResponse{ +func NewDescribeGroupByPathResponse() (response *DescribeGroupByPathResponse) { + response = &DescribeGroupByPathResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteScene -// 删除场景 +// DescribeGroupByPath +// 根据分组路径查询分组 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2820,18 +7024,18 @@ func NewDeleteSceneResponse() (response *DeleteSceneResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteScene(request *DeleteSceneRequest) (response *DeleteSceneResponse, err error) { +func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (response *DescribeGroupByPathResponse, err error) { if request == nil { - request = NewDeleteSceneRequest() + request = NewDescribeGroupByPathRequest() } - response = NewDeleteSceneResponse() + response = NewDescribeGroupByPathResponse() err = c.Send(request, response) return } -// DeleteScene -// 删除场景 +// DescribeGroupByPath +// 根据分组路径查询分组 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2897,44 +7101,63 @@ func (c *Client) DeleteScene(request *DeleteSceneRequest) (response *DeleteScene // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteSceneWithContext(ctx context.Context, request *DeleteSceneRequest) (response *DeleteSceneResponse, err error) { +func (c *Client) DescribeGroupByPathWithContext(ctx context.Context, request *DescribeGroupByPathRequest) (response *DescribeGroupByPathResponse, err error) { if request == nil { - request = NewDeleteSceneRequest() + request = NewDescribeGroupByPathRequest() } request.SetContext(ctx) - response = NewDeleteSceneResponse() + response = NewDescribeGroupByPathResponse() err = c.Send(request, response) return } -func NewDeleteTimeTemplateRequest() (request *DeleteTimeTemplateRequest) { - request = &DeleteTimeTemplateRequest{ +func NewDescribeGroupDevicesRequest() (request *DescribeGroupDevicesRequest) { + request = &DescribeGroupDevicesRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteTimeTemplate") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroupDevices") return } -func NewDeleteTimeTemplateResponse() (response *DeleteTimeTemplateResponse) { - response = &DeleteTimeTemplateResponse{ +func NewDescribeGroupDevicesResponse() (response *DescribeGroupDevicesResponse) { + response = &DescribeGroupDevicesResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteTimeTemplate -// 本接口(DeleteTimeTemplate) 用于删除时间模板。 +// DescribeGroupDevices +// 本接口(DescribeGroupDevices)用于查询分组下的设备列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -2942,34 +7165,76 @@ func NewDeleteTimeTemplateResponse() (response *DeleteTimeTemplateResponse) { // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DeleteTimeTemplate(request *DeleteTimeTemplateRequest) (response *DeleteTimeTemplateResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (response *DescribeGroupDevicesResponse, err error) { if request == nil { - request = NewDeleteTimeTemplateRequest() + request = NewDescribeGroupDevicesRequest() } - response = NewDeleteTimeTemplateResponse() + response = NewDescribeGroupDevicesResponse() err = c.Send(request, response) return } -// DeleteTimeTemplate -// 本接口(DeleteTimeTemplate) 用于删除时间模板。 +// DescribeGroupDevices +// 本接口(DescribeGroupDevices)用于查询分组下的设备列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -2977,44 +7242,67 @@ func (c *Client) DeleteTimeTemplate(request *DeleteTimeTemplateRequest) (respons // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DeleteTimeTemplateWithContext(ctx context.Context, request *DeleteTimeTemplateRequest) (response *DeleteTimeTemplateResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeGroupDevicesWithContext(ctx context.Context, request *DescribeGroupDevicesRequest) (response *DescribeGroupDevicesResponse, err error) { if request == nil { - request = NewDeleteTimeTemplateRequest() + request = NewDescribeGroupDevicesRequest() } request.SetContext(ctx) - response = NewDeleteTimeTemplateResponse() + response = NewDescribeGroupDevicesResponse() err = c.Send(request, response) return } -func NewDeleteVideoListRequest() (request *DeleteVideoListRequest) { - request = &DeleteVideoListRequest{ +func NewDescribeGroupsRequest() (request *DescribeGroupsRequest) { + request = &DescribeGroupsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DeleteVideoList") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroups") return } -func NewDeleteVideoListResponse() (response *DeleteVideoListResponse) { - response = &DeleteVideoListResponse{ +func NewDescribeGroupsResponse() (response *DescribeGroupsResponse) { + response = &DescribeGroupsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteVideoList -// 删除录像存储列表 +// DescribeGroups +// 本接口(DescribeGroups)用于批量查询分组信息。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3080,18 +7368,18 @@ func NewDeleteVideoListResponse() (response *DeleteVideoListResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteVideoList(request *DeleteVideoListRequest) (response *DeleteVideoListResponse, err error) { +func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *DescribeGroupsResponse, err error) { if request == nil { - request = NewDeleteVideoListRequest() + request = NewDescribeGroupsRequest() } - response = NewDeleteVideoListResponse() + response = NewDescribeGroupsResponse() err = c.Send(request, response) return } -// DeleteVideoList -// 删除录像存储列表 +// DescribeGroups +// 本接口(DescribeGroups)用于批量查询分组信息。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3157,36 +7445,38 @@ func (c *Client) DeleteVideoList(request *DeleteVideoListRequest) (response *Del // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DeleteVideoListWithContext(ctx context.Context, request *DeleteVideoListRequest) (response *DeleteVideoListResponse, err error) { +func (c *Client) DescribeGroupsWithContext(ctx context.Context, request *DescribeGroupsRequest) (response *DescribeGroupsResponse, err error) { if request == nil { - request = NewDeleteVideoListRequest() + request = NewDescribeGroupsRequest() } request.SetContext(ctx) - response = NewDeleteVideoListResponse() + response = NewDescribeGroupsResponse() err = c.Send(request, response) return } -func NewDescribeAllDeviceListRequest() (request *DescribeAllDeviceListRequest) { - request = &DescribeAllDeviceListRequest{ +func NewDescribeIPCChannelsRequest() (request *DescribeIPCChannelsRequest) { + request = &DescribeIPCChannelsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeAllDeviceList") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeIPCChannels") return } -func NewDescribeAllDeviceListResponse() (response *DescribeAllDeviceListResponse) { - response = &DescribeAllDeviceListResponse{ +func NewDescribeIPCChannelsResponse() (response *DescribeIPCChannelsResponse) { + response = &DescribeIPCChannelsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeAllDeviceList -// 本接口(DescribeAllDeviceList) 用于获取设备列表。 +// DescribeIPCChannels +// 获取IPC设备下属通道 +// +// 请使用DescribeChannels接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3198,9 +7488,22 @@ func NewDescribeAllDeviceListResponse() (response *DescribeAllDeviceListResponse // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -3209,9 +7512,11 @@ func NewDescribeAllDeviceListResponse() (response *DescribeAllDeviceListResponse // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -3221,28 +7526,36 @@ func NewDescribeAllDeviceListResponse() (response *DescribeAllDeviceListResponse // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (response *DescribeAllDeviceListResponse, err error) { +func (c *Client) DescribeIPCChannels(request *DescribeIPCChannelsRequest) (response *DescribeIPCChannelsResponse, err error) { if request == nil { - request = NewDescribeAllDeviceListRequest() + request = NewDescribeIPCChannelsRequest() } - response = NewDescribeAllDeviceListResponse() + response = NewDescribeIPCChannelsResponse() err = c.Send(request, response) return } -// DescribeAllDeviceList -// 本接口(DescribeAllDeviceList) 用于获取设备列表。 +// DescribeIPCChannels +// 获取IPC设备下属通道 +// +// 请使用DescribeChannels接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3254,9 +7567,22 @@ func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (r // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -3265,9 +7591,11 @@ func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (r // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -3277,46 +7605,52 @@ func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (r // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeAllDeviceListWithContext(ctx context.Context, request *DescribeAllDeviceListRequest) (response *DescribeAllDeviceListResponse, err error) { +func (c *Client) DescribeIPCChannelsWithContext(ctx context.Context, request *DescribeIPCChannelsRequest) (response *DescribeIPCChannelsResponse, err error) { if request == nil { - request = NewDescribeAllDeviceListRequest() + request = NewDescribeIPCChannelsRequest() } request.SetContext(ctx) - response = NewDescribeAllDeviceListResponse() + response = NewDescribeIPCChannelsResponse() err = c.Send(request, response) return } -func NewDescribeBindSceneDevicesRequest() (request *DescribeBindSceneDevicesRequest) { - request = &DescribeBindSceneDevicesRequest{ +func NewDescribeLiveChannelRequest() (request *DescribeLiveChannelRequest) { + request = &DescribeLiveChannelRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeBindSceneDevices") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveChannel") return } -func NewDescribeBindSceneDevicesResponse() (response *DescribeBindSceneDevicesResponse) { - response = &DescribeBindSceneDevicesResponse{ +func NewDescribeLiveChannelResponse() (response *DescribeLiveChannelResponse) { + response = &DescribeLiveChannelResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeBindSceneDevices -// 获取场景绑定设备列表 +// DescribeLiveChannel +// 直播详情接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3382,18 +7716,18 @@ func NewDescribeBindSceneDevicesResponse() (response *DescribeBindSceneDevicesRe // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeBindSceneDevices(request *DescribeBindSceneDevicesRequest) (response *DescribeBindSceneDevicesResponse, err error) { +func (c *Client) DescribeLiveChannel(request *DescribeLiveChannelRequest) (response *DescribeLiveChannelResponse, err error) { if request == nil { - request = NewDescribeBindSceneDevicesRequest() + request = NewDescribeLiveChannelRequest() } - response = NewDescribeBindSceneDevicesResponse() + response = NewDescribeLiveChannelResponse() err = c.Send(request, response) return } -// DescribeBindSceneDevices -// 获取场景绑定设备列表 +// DescribeLiveChannel +// 直播详情接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3459,36 +7793,36 @@ func (c *Client) DescribeBindSceneDevices(request *DescribeBindSceneDevicesReque // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeBindSceneDevicesWithContext(ctx context.Context, request *DescribeBindSceneDevicesRequest) (response *DescribeBindSceneDevicesResponse, err error) { +func (c *Client) DescribeLiveChannelWithContext(ctx context.Context, request *DescribeLiveChannelRequest) (response *DescribeLiveChannelResponse, err error) { if request == nil { - request = NewDescribeBindSceneDevicesRequest() + request = NewDescribeLiveChannelRequest() } request.SetContext(ctx) - response = NewDescribeBindSceneDevicesResponse() + response = NewDescribeLiveChannelResponse() err = c.Send(request, response) return } -func NewDescribeChannelsByLiveRecordPlanRequest() (request *DescribeChannelsByLiveRecordPlanRequest) { - request = &DescribeChannelsByLiveRecordPlanRequest{ +func NewDescribeLiveChannelListRequest() (request *DescribeLiveChannelListRequest) { + request = &DescribeLiveChannelListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeChannelsByLiveRecordPlan") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveChannelList") return } -func NewDescribeChannelsByLiveRecordPlanResponse() (response *DescribeChannelsByLiveRecordPlanResponse) { - response = &DescribeChannelsByLiveRecordPlanResponse{ +func NewDescribeLiveChannelListResponse() (response *DescribeLiveChannelListResponse) { + response = &DescribeLiveChannelListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeChannelsByLiveRecordPlan -// 根据直播录制计划获取频道列表 +// DescribeLiveChannelList +// 直播列表接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3554,18 +7888,18 @@ func NewDescribeChannelsByLiveRecordPlanResponse() (response *DescribeChannelsBy // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeChannelsByLiveRecordPlan(request *DescribeChannelsByLiveRecordPlanRequest) (response *DescribeChannelsByLiveRecordPlanResponse, err error) { +func (c *Client) DescribeLiveChannelList(request *DescribeLiveChannelListRequest) (response *DescribeLiveChannelListResponse, err error) { if request == nil { - request = NewDescribeChannelsByLiveRecordPlanRequest() + request = NewDescribeLiveChannelListRequest() } - response = NewDescribeChannelsByLiveRecordPlanResponse() + response = NewDescribeLiveChannelListResponse() err = c.Send(request, response) return } -// DescribeChannelsByLiveRecordPlan -// 根据直播录制计划获取频道列表 +// DescribeLiveChannelList +// 直播列表接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3631,36 +7965,36 @@ func (c *Client) DescribeChannelsByLiveRecordPlan(request *DescribeChannelsByLiv // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeChannelsByLiveRecordPlanWithContext(ctx context.Context, request *DescribeChannelsByLiveRecordPlanRequest) (response *DescribeChannelsByLiveRecordPlanResponse, err error) { +func (c *Client) DescribeLiveChannelListWithContext(ctx context.Context, request *DescribeLiveChannelListRequest) (response *DescribeLiveChannelListResponse, err error) { if request == nil { - request = NewDescribeChannelsByLiveRecordPlanRequest() + request = NewDescribeLiveChannelListRequest() } request.SetContext(ctx) - response = NewDescribeChannelsByLiveRecordPlanResponse() + response = NewDescribeLiveChannelListResponse() err = c.Send(request, response) return } -func NewDescribeDeviceGroupRequest() (request *DescribeDeviceGroupRequest) { - request = &DescribeDeviceGroupRequest{ +func NewDescribeLiveRecordPlanByIdRequest() (request *DescribeLiveRecordPlanByIdRequest) { + request = &DescribeLiveRecordPlanByIdRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceGroup") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveRecordPlanById") return } -func NewDescribeDeviceGroupResponse() (response *DescribeDeviceGroupResponse) { - response = &DescribeDeviceGroupResponse{ +func NewDescribeLiveRecordPlanByIdResponse() (response *DescribeLiveRecordPlanByIdResponse) { + response = &DescribeLiveRecordPlanByIdResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDeviceGroup -// 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。 +// DescribeLiveRecordPlanById +// 获取直播录制计划详情 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3672,10 +8006,21 @@ func NewDescribeDeviceGroupResponse() (response *DescribeDeviceGroupResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -3685,6 +8030,7 @@ func NewDescribeDeviceGroupResponse() (response *DescribeDeviceGroupResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -3700,28 +8046,32 @@ func NewDescribeDeviceGroupResponse() (response *DescribeDeviceGroupResponse) { // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (response *DescribeDeviceGroupResponse, err error) { +func (c *Client) DescribeLiveRecordPlanById(request *DescribeLiveRecordPlanByIdRequest) (response *DescribeLiveRecordPlanByIdResponse, err error) { if request == nil { - request = NewDescribeDeviceGroupRequest() + request = NewDescribeLiveRecordPlanByIdRequest() } - response = NewDescribeDeviceGroupResponse() + response = NewDescribeLiveRecordPlanByIdResponse() err = c.Send(request, response) return } -// DescribeDeviceGroup -// 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。 +// DescribeLiveRecordPlanById +// 获取直播录制计划详情 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3733,10 +8083,21 @@ func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (respo // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -3746,6 +8107,7 @@ func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (respo // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -3761,46 +8123,50 @@ func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (respo // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeDeviceGroupWithContext(ctx context.Context, request *DescribeDeviceGroupRequest) (response *DescribeDeviceGroupResponse, err error) { +func (c *Client) DescribeLiveRecordPlanByIdWithContext(ctx context.Context, request *DescribeLiveRecordPlanByIdRequest) (response *DescribeLiveRecordPlanByIdResponse, err error) { if request == nil { - request = NewDescribeDeviceGroupRequest() + request = NewDescribeLiveRecordPlanByIdRequest() } request.SetContext(ctx) - response = NewDescribeDeviceGroupResponse() + response = NewDescribeLiveRecordPlanByIdResponse() err = c.Send(request, response) return } -func NewDescribeDevicePassWordRequest() (request *DescribeDevicePassWordRequest) { - request = &DescribeDevicePassWordRequest{ +func NewDescribeLiveRecordPlanIdsRequest() (request *DescribeLiveRecordPlanIdsRequest) { + request = &DescribeLiveRecordPlanIdsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDevicePassWord") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveRecordPlanIds") return } -func NewDescribeDevicePassWordResponse() (response *DescribeDevicePassWordResponse) { - response = &DescribeDevicePassWordResponse{ +func NewDescribeLiveRecordPlanIdsResponse() (response *DescribeLiveRecordPlanIdsResponse) { + response = &DescribeLiveRecordPlanIdsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDevicePassWord -// 本接口(DescribeDevicePassWord)用于查询设备密码。 +// DescribeLiveRecordPlanIds +// 获取直播录制计划列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3812,11 +8178,21 @@ func NewDescribeDevicePassWordResponse() (response *DescribeDevicePassWordRespon // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -3826,6 +8202,7 @@ func NewDescribeDevicePassWordResponse() (response *DescribeDevicePassWordRespon // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -3841,28 +8218,32 @@ func NewDescribeDevicePassWordResponse() (response *DescribeDevicePassWordRespon // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) (response *DescribeDevicePassWordResponse, err error) { +func (c *Client) DescribeLiveRecordPlanIds(request *DescribeLiveRecordPlanIdsRequest) (response *DescribeLiveRecordPlanIdsResponse, err error) { if request == nil { - request = NewDescribeDevicePassWordRequest() + request = NewDescribeLiveRecordPlanIdsRequest() } - response = NewDescribeDevicePassWordResponse() + response = NewDescribeLiveRecordPlanIdsResponse() err = c.Send(request, response) return } -// DescribeDevicePassWord -// 本接口(DescribeDevicePassWord)用于查询设备密码。 +// DescribeLiveRecordPlanIds +// 获取直播录制计划列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3874,11 +8255,21 @@ func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -3888,6 +8279,7 @@ func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -3903,46 +8295,50 @@ func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeDevicePassWordWithContext(ctx context.Context, request *DescribeDevicePassWordRequest) (response *DescribeDevicePassWordResponse, err error) { +func (c *Client) DescribeLiveRecordPlanIdsWithContext(ctx context.Context, request *DescribeLiveRecordPlanIdsRequest) (response *DescribeLiveRecordPlanIdsResponse, err error) { if request == nil { - request = NewDescribeDevicePassWordRequest() + request = NewDescribeLiveRecordPlanIdsRequest() } request.SetContext(ctx) - response = NewDescribeDevicePassWordResponse() + response = NewDescribeLiveRecordPlanIdsResponse() err = c.Send(request, response) return } -func NewDescribeDeviceStreamsRequest() (request *DescribeDeviceStreamsRequest) { - request = &DescribeDeviceStreamsRequest{ +func NewDescribeLiveStreamRequest() (request *DescribeLiveStreamRequest) { + request = &DescribeLiveStreamRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeDeviceStreams") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveStream") return } -func NewDescribeDeviceStreamsResponse() (response *DescribeDeviceStreamsResponse) { - response = &DescribeDeviceStreamsResponse{ +func NewDescribeLiveStreamResponse() (response *DescribeLiveStreamResponse) { + response = &DescribeLiveStreamResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDeviceStreams -// 本接口(DescribeDeviceStreams)用于获取设备实时流地址。 +// DescribeLiveStream +// 直播拉流接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3954,13 +8350,21 @@ func NewDescribeDeviceStreamsResponse() (response *DescribeDeviceStreamsResponse // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -3970,9 +8374,11 @@ func NewDescribeDeviceStreamsResponse() (response *DescribeDeviceStreamsResponse // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -3987,26 +8393,29 @@ func NewDescribeDeviceStreamsResponse() (response *DescribeDeviceStreamsResponse // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" // UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (response *DescribeDeviceStreamsResponse, err error) { +func (c *Client) DescribeLiveStream(request *DescribeLiveStreamRequest) (response *DescribeLiveStreamResponse, err error) { if request == nil { - request = NewDescribeDeviceStreamsRequest() + request = NewDescribeLiveStreamRequest() } - response = NewDescribeDeviceStreamsResponse() + response = NewDescribeLiveStreamResponse() err = c.Send(request, response) return } -// DescribeDeviceStreams -// 本接口(DescribeDeviceStreams)用于获取设备实时流地址。 +// DescribeLiveStream +// 直播拉流接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4018,13 +8427,21 @@ func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (r // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -4034,9 +8451,11 @@ func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (r // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4051,44 +8470,47 @@ func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (r // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" // UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeDeviceStreamsWithContext(ctx context.Context, request *DescribeDeviceStreamsRequest) (response *DescribeDeviceStreamsResponse, err error) { +func (c *Client) DescribeLiveStreamWithContext(ctx context.Context, request *DescribeLiveStreamRequest) (response *DescribeLiveStreamResponse, err error) { if request == nil { - request = NewDescribeDeviceStreamsRequest() + request = NewDescribeLiveStreamRequest() } request.SetContext(ctx) - response = NewDescribeDeviceStreamsResponse() + response = NewDescribeLiveStreamResponse() err = c.Send(request, response) return } -func NewDescribeGroupByIdRequest() (request *DescribeGroupByIdRequest) { - request = &DescribeGroupByIdRequest{ +func NewDescribeLiveVideoListRequest() (request *DescribeLiveVideoListRequest) { + request = &DescribeLiveVideoListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroupById") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveVideoList") return } -func NewDescribeGroupByIdResponse() (response *DescribeGroupByIdResponse) { - response = &DescribeGroupByIdResponse{ +func NewDescribeLiveVideoListResponse() (response *DescribeLiveVideoListResponse) { + response = &DescribeLiveVideoListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeGroupById -// 本接口(DescribeGroupById)用于根据分组ID查询分组。 +// DescribeLiveVideoList +// 直播录像回放列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4100,7 +8522,22 @@ func NewDescribeGroupByIdResponse() (response *DescribeGroupByIdResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4109,9 +8546,11 @@ func NewDescribeGroupByIdResponse() (response *DescribeGroupByIdResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4121,26 +8560,34 @@ func NewDescribeGroupByIdResponse() (response *DescribeGroupByIdResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response *DescribeGroupByIdResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeLiveVideoList(request *DescribeLiveVideoListRequest) (response *DescribeLiveVideoListResponse, err error) { if request == nil { - request = NewDescribeGroupByIdRequest() + request = NewDescribeLiveVideoListRequest() } - response = NewDescribeGroupByIdResponse() + response = NewDescribeLiveVideoListResponse() err = c.Send(request, response) return } -// DescribeGroupById -// 本接口(DescribeGroupById)用于根据分组ID查询分组。 +// DescribeLiveVideoList +// 直播录像回放列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4152,7 +8599,22 @@ func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4161,9 +8623,11 @@ func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4173,44 +8637,52 @@ func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DescribeGroupByIdWithContext(ctx context.Context, request *DescribeGroupByIdRequest) (response *DescribeGroupByIdResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeLiveVideoListWithContext(ctx context.Context, request *DescribeLiveVideoListRequest) (response *DescribeLiveVideoListResponse, err error) { if request == nil { - request = NewDescribeGroupByIdRequest() + request = NewDescribeLiveVideoListRequest() } request.SetContext(ctx) - response = NewDescribeGroupByIdResponse() + response = NewDescribeLiveVideoListResponse() err = c.Send(request, response) return } -func NewDescribeGroupByPathRequest() (request *DescribeGroupByPathRequest) { - request = &DescribeGroupByPathRequest{ +func NewDescribeMessageForwardRequest() (request *DescribeMessageForwardRequest) { + request = &DescribeMessageForwardRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroupByPath") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeMessageForward") return } -func NewDescribeGroupByPathResponse() (response *DescribeGroupByPathResponse) { - response = &DescribeGroupByPathResponse{ +func NewDescribeMessageForwardResponse() (response *DescribeMessageForwardResponse) { + response = &DescribeMessageForwardResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeGroupByPath -// 根据分组路径查询分组 +// DescribeMessageForward +// 查看消息转发配置详情 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4222,7 +8694,22 @@ func NewDescribeGroupByPathResponse() (response *DescribeGroupByPathResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4231,9 +8718,11 @@ func NewDescribeGroupByPathResponse() (response *DescribeGroupByPathResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4243,26 +8732,34 @@ func NewDescribeGroupByPathResponse() (response *DescribeGroupByPathResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (response *DescribeGroupByPathResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeMessageForward(request *DescribeMessageForwardRequest) (response *DescribeMessageForwardResponse, err error) { if request == nil { - request = NewDescribeGroupByPathRequest() + request = NewDescribeMessageForwardRequest() } - response = NewDescribeGroupByPathResponse() + response = NewDescribeMessageForwardResponse() err = c.Send(request, response) return } -// DescribeGroupByPath -// 根据分组路径查询分组 +// DescribeMessageForward +// 查看消息转发配置详情 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4274,7 +8771,22 @@ func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (respo // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4283,9 +8795,11 @@ func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (respo // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4295,44 +8809,52 @@ func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (respo // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DescribeGroupByPathWithContext(ctx context.Context, request *DescribeGroupByPathRequest) (response *DescribeGroupByPathResponse, err error) { +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) DescribeMessageForwardWithContext(ctx context.Context, request *DescribeMessageForwardRequest) (response *DescribeMessageForwardResponse, err error) { if request == nil { - request = NewDescribeGroupByPathRequest() + request = NewDescribeMessageForwardRequest() } request.SetContext(ctx) - response = NewDescribeGroupByPathResponse() + response = NewDescribeMessageForwardResponse() err = c.Send(request, response) return } -func NewDescribeGroupDevicesRequest() (request *DescribeGroupDevicesRequest) { - request = &DescribeGroupDevicesRequest{ +func NewDescribeMessageForwardsRequest() (request *DescribeMessageForwardsRequest) { + request = &DescribeMessageForwardsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroupDevices") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeMessageForwards") return } -func NewDescribeGroupDevicesResponse() (response *DescribeGroupDevicesResponse) { - response = &DescribeGroupDevicesResponse{ +func NewDescribeMessageForwardsResponse() (response *DescribeMessageForwardsResponse) { + response = &DescribeMessageForwardsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeGroupDevices -// 本接口(DescribeGroupDevices)用于查询分组下的设备列表。 +// DescribeMessageForwards +// 查看消息转发配置列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4344,7 +8866,22 @@ func NewDescribeGroupDevicesResponse() (response *DescribeGroupDevicesResponse) // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4353,9 +8890,11 @@ func NewDescribeGroupDevicesResponse() (response *DescribeGroupDevicesResponse) // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4365,25 +8904,34 @@ func NewDescribeGroupDevicesResponse() (response *DescribeGroupDevicesResponse) // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (response *DescribeGroupDevicesResponse, err error) { +func (c *Client) DescribeMessageForwards(request *DescribeMessageForwardsRequest) (response *DescribeMessageForwardsResponse, err error) { if request == nil { - request = NewDescribeGroupDevicesRequest() + request = NewDescribeMessageForwardsRequest() } - response = NewDescribeGroupDevicesResponse() + response = NewDescribeMessageForwardsResponse() err = c.Send(request, response) return } -// DescribeGroupDevices -// 本接口(DescribeGroupDevices)用于查询分组下的设备列表。 +// DescribeMessageForwards +// 查看消息转发配置列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4395,7 +8943,22 @@ func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (res // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4404,9 +8967,11 @@ func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (res // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -4416,43 +8981,52 @@ func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (res // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeGroupDevicesWithContext(ctx context.Context, request *DescribeGroupDevicesRequest) (response *DescribeGroupDevicesResponse, err error) { +func (c *Client) DescribeMessageForwardsWithContext(ctx context.Context, request *DescribeMessageForwardsRequest) (response *DescribeMessageForwardsResponse, err error) { if request == nil { - request = NewDescribeGroupDevicesRequest() + request = NewDescribeMessageForwardsRequest() } request.SetContext(ctx) - response = NewDescribeGroupDevicesResponse() + response = NewDescribeMessageForwardsResponse() err = c.Send(request, response) return } -func NewDescribeGroupsRequest() (request *DescribeGroupsRequest) { - request = &DescribeGroupsRequest{ +func NewDescribeMonitorDataByDateRequest() (request *DescribeMonitorDataByDateRequest) { + request = &DescribeMonitorDataByDateRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeGroups") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeMonitorDataByDate") return } -func NewDescribeGroupsResponse() (response *DescribeGroupsResponse) { - response = &DescribeGroupsResponse{ +func NewDescribeMonitorDataByDateResponse() (response *DescribeMonitorDataByDateResponse) { + response = &DescribeMonitorDataByDateResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeGroups -// 本接口(DescribeGroups)用于批量查询分组信息。 +// DescribeMonitorDataByDate +// 运营中心-设备录像存储统计 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4464,8 +9038,22 @@ func NewDescribeGroupsResponse() (response *DescribeGroupsResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4474,6 +9062,7 @@ func NewDescribeGroupsResponse() (response *DescribeGroupsResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -4489,27 +9078,32 @@ func NewDescribeGroupsResponse() (response *DescribeGroupsResponse) { // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *DescribeGroupsResponse, err error) { +func (c *Client) DescribeMonitorDataByDate(request *DescribeMonitorDataByDateRequest) (response *DescribeMonitorDataByDateResponse, err error) { if request == nil { - request = NewDescribeGroupsRequest() + request = NewDescribeMonitorDataByDateRequest() } - response = NewDescribeGroupsResponse() + response = NewDescribeMonitorDataByDateResponse() err = c.Send(request, response) return } -// DescribeGroups -// 本接口(DescribeGroups)用于批量查询分组信息。 +// DescribeMonitorDataByDate +// 运营中心-设备录像存储统计 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4521,8 +9115,22 @@ func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *Descr // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -4531,6 +9139,7 @@ func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *Descr // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -4546,45 +9155,50 @@ func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *Descr // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeGroupsWithContext(ctx context.Context, request *DescribeGroupsRequest) (response *DescribeGroupsResponse, err error) { +func (c *Client) DescribeMonitorDataByDateWithContext(ctx context.Context, request *DescribeMonitorDataByDateRequest) (response *DescribeMonitorDataByDateResponse, err error) { if request == nil { - request = NewDescribeGroupsRequest() + request = NewDescribeMonitorDataByDateRequest() } request.SetContext(ctx) - response = NewDescribeGroupsResponse() + response = NewDescribeMonitorDataByDateResponse() err = c.Send(request, response) return } -func NewDescribeIPCChannelsRequest() (request *DescribeIPCChannelsRequest) { - request = &DescribeIPCChannelsRequest{ +func NewDescribePresetListRequest() (request *DescribePresetListRequest) { + request = &DescribePresetListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeIPCChannels") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribePresetList") return } -func NewDescribeIPCChannelsResponse() (response *DescribeIPCChannelsResponse) { - response = &DescribeIPCChannelsResponse{ +func NewDescribePresetListResponse() (response *DescribePresetListResponse) { + response = &DescribePresetListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeIPCChannels -// 获取IPC设备下属通道 +// DescribePresetList +// 获取预置位列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4607,8 +9221,10 @@ func NewDescribeIPCChannelsResponse() (response *DescribeIPCChannelsResponse) { // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -4634,6 +9250,7 @@ func NewDescribeIPCChannelsResponse() (response *DescribeIPCChannelsResponse) { // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" // UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" @@ -4647,18 +9264,18 @@ func NewDescribeIPCChannelsResponse() (response *DescribeIPCChannelsResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeIPCChannels(request *DescribeIPCChannelsRequest) (response *DescribeIPCChannelsResponse, err error) { +func (c *Client) DescribePresetList(request *DescribePresetListRequest) (response *DescribePresetListResponse, err error) { if request == nil { - request = NewDescribeIPCChannelsRequest() + request = NewDescribePresetListRequest() } - response = NewDescribeIPCChannelsResponse() + response = NewDescribePresetListResponse() err = c.Send(request, response) return } -// DescribeIPCChannels -// 获取IPC设备下属通道 +// DescribePresetList +// 获取预置位列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4681,8 +9298,10 @@ func (c *Client) DescribeIPCChannels(request *DescribeIPCChannelsRequest) (respo // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -4708,6 +9327,7 @@ func (c *Client) DescribeIPCChannels(request *DescribeIPCChannelsRequest) (respo // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" // UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" @@ -4721,36 +9341,36 @@ func (c *Client) DescribeIPCChannels(request *DescribeIPCChannelsRequest) (respo // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeIPCChannelsWithContext(ctx context.Context, request *DescribeIPCChannelsRequest) (response *DescribeIPCChannelsResponse, err error) { +func (c *Client) DescribePresetListWithContext(ctx context.Context, request *DescribePresetListRequest) (response *DescribePresetListResponse, err error) { if request == nil { - request = NewDescribeIPCChannelsRequest() + request = NewDescribePresetListRequest() } request.SetContext(ctx) - response = NewDescribeIPCChannelsResponse() + response = NewDescribePresetListResponse() err = c.Send(request, response) return } -func NewDescribeLiveChannelRequest() (request *DescribeLiveChannelRequest) { - request = &DescribeLiveChannelRequest{ +func NewDescribeRecordDatesByChannelRequest() (request *DescribeRecordDatesByChannelRequest) { + request = &DescribeRecordDatesByChannelRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveChannel") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordDatesByChannel") return } -func NewDescribeLiveChannelResponse() (response *DescribeLiveChannelResponse) { - response = &DescribeLiveChannelResponse{ +func NewDescribeRecordDatesByChannelResponse() (response *DescribeRecordDatesByChannelResponse) { + response = &DescribeRecordDatesByChannelResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLiveChannel -// 直播详情接口 +// DescribeRecordDatesByChannel +// 本接口(DescribeRecordDatesByChannel)用于查询设备含有录像文件的日期列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4816,18 +9436,18 @@ func NewDescribeLiveChannelResponse() (response *DescribeLiveChannelResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveChannel(request *DescribeLiveChannelRequest) (response *DescribeLiveChannelResponse, err error) { +func (c *Client) DescribeRecordDatesByChannel(request *DescribeRecordDatesByChannelRequest) (response *DescribeRecordDatesByChannelResponse, err error) { if request == nil { - request = NewDescribeLiveChannelRequest() + request = NewDescribeRecordDatesByChannelRequest() } - response = NewDescribeLiveChannelResponse() + response = NewDescribeRecordDatesByChannelResponse() err = c.Send(request, response) return } -// DescribeLiveChannel -// 直播详情接口 +// DescribeRecordDatesByChannel +// 本接口(DescribeRecordDatesByChannel)用于查询设备含有录像文件的日期列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4893,36 +9513,36 @@ func (c *Client) DescribeLiveChannel(request *DescribeLiveChannelRequest) (respo // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveChannelWithContext(ctx context.Context, request *DescribeLiveChannelRequest) (response *DescribeLiveChannelResponse, err error) { +func (c *Client) DescribeRecordDatesByChannelWithContext(ctx context.Context, request *DescribeRecordDatesByChannelRequest) (response *DescribeRecordDatesByChannelResponse, err error) { if request == nil { - request = NewDescribeLiveChannelRequest() + request = NewDescribeRecordDatesByChannelRequest() } request.SetContext(ctx) - response = NewDescribeLiveChannelResponse() + response = NewDescribeRecordDatesByChannelResponse() err = c.Send(request, response) return } -func NewDescribeLiveChannelListRequest() (request *DescribeLiveChannelListRequest) { - request = &DescribeLiveChannelListRequest{ +func NewDescribeRecordDatesByLiveRequest() (request *DescribeRecordDatesByLiveRequest) { + request = &DescribeRecordDatesByLiveRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveChannelList") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordDatesByLive") return } -func NewDescribeLiveChannelListResponse() (response *DescribeLiveChannelListResponse) { - response = &DescribeLiveChannelListResponse{ +func NewDescribeRecordDatesByLiveResponse() (response *DescribeRecordDatesByLiveResponse) { + response = &DescribeRecordDatesByLiveResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLiveChannelList -// 直播列表接口 +// DescribeRecordDatesByLive +// 直播录像存储日期列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -4988,18 +9608,18 @@ func NewDescribeLiveChannelListResponse() (response *DescribeLiveChannelListResp // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveChannelList(request *DescribeLiveChannelListRequest) (response *DescribeLiveChannelListResponse, err error) { +func (c *Client) DescribeRecordDatesByLive(request *DescribeRecordDatesByLiveRequest) (response *DescribeRecordDatesByLiveResponse, err error) { if request == nil { - request = NewDescribeLiveChannelListRequest() + request = NewDescribeRecordDatesByLiveRequest() } - response = NewDescribeLiveChannelListResponse() + response = NewDescribeRecordDatesByLiveResponse() err = c.Send(request, response) return } -// DescribeLiveChannelList -// 直播列表接口 +// DescribeRecordDatesByLive +// 直播录像存储日期列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5065,36 +9685,46 @@ func (c *Client) DescribeLiveChannelList(request *DescribeLiveChannelListRequest // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveChannelListWithContext(ctx context.Context, request *DescribeLiveChannelListRequest) (response *DescribeLiveChannelListResponse, err error) { +func (c *Client) DescribeRecordDatesByLiveWithContext(ctx context.Context, request *DescribeRecordDatesByLiveRequest) (response *DescribeRecordDatesByLiveResponse, err error) { if request == nil { - request = NewDescribeLiveChannelListRequest() + request = NewDescribeRecordDatesByLiveRequest() } request.SetContext(ctx) - response = NewDescribeLiveChannelListResponse() + response = NewDescribeRecordDatesByLiveResponse() err = c.Send(request, response) return } -func NewDescribeLiveRecordPlanByIdRequest() (request *DescribeLiveRecordPlanByIdRequest) { - request = &DescribeLiveRecordPlanByIdRequest{ +func NewDescribeRecordStreamRequest() (request *DescribeRecordStreamRequest) { + request = &DescribeRecordStreamRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveRecordPlanById") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordStream") return } -func NewDescribeLiveRecordPlanByIdResponse() (response *DescribeLiveRecordPlanByIdResponse) { - response = &DescribeLiveRecordPlanByIdResponse{ +func NewDescribeRecordStreamResponse() (response *DescribeRecordStreamResponse) { + response = &DescribeRecordStreamResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLiveRecordPlanById -// 获取直播录制计划详情 +// DescribeRecordStream +// 获取回放视频流地址 +// +// 请使用DescribeChannelLocalRecordURL接口 +// +// +// +// RecordId和StartTime/EndTime互斥 +// +// 当存在RecordId时,StartTime和EndTime无效 +// +// 当RecordId为空,StartTime和EndTime生效 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5160,18 +9790,28 @@ func NewDescribeLiveRecordPlanByIdResponse() (response *DescribeLiveRecordPlanBy // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveRecordPlanById(request *DescribeLiveRecordPlanByIdRequest) (response *DescribeLiveRecordPlanByIdResponse, err error) { +func (c *Client) DescribeRecordStream(request *DescribeRecordStreamRequest) (response *DescribeRecordStreamResponse, err error) { if request == nil { - request = NewDescribeLiveRecordPlanByIdRequest() + request = NewDescribeRecordStreamRequest() } - response = NewDescribeLiveRecordPlanByIdResponse() + response = NewDescribeRecordStreamResponse() err = c.Send(request, response) return } -// DescribeLiveRecordPlanById -// 获取直播录制计划详情 +// DescribeRecordStream +// 获取回放视频流地址 +// +// 请使用DescribeChannelLocalRecordURL接口 +// +// +// +// RecordId和StartTime/EndTime互斥 +// +// 当存在RecordId时,StartTime和EndTime无效 +// +// 当RecordId为空,StartTime和EndTime生效 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5237,36 +9877,36 @@ func (c *Client) DescribeLiveRecordPlanById(request *DescribeLiveRecordPlanByIdR // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveRecordPlanByIdWithContext(ctx context.Context, request *DescribeLiveRecordPlanByIdRequest) (response *DescribeLiveRecordPlanByIdResponse, err error) { +func (c *Client) DescribeRecordStreamWithContext(ctx context.Context, request *DescribeRecordStreamRequest) (response *DescribeRecordStreamResponse, err error) { if request == nil { - request = NewDescribeLiveRecordPlanByIdRequest() + request = NewDescribeRecordStreamRequest() } request.SetContext(ctx) - response = NewDescribeLiveRecordPlanByIdResponse() + response = NewDescribeRecordStreamResponse() err = c.Send(request, response) return } -func NewDescribeLiveRecordPlanIdsRequest() (request *DescribeLiveRecordPlanIdsRequest) { - request = &DescribeLiveRecordPlanIdsRequest{ +func NewDescribeRecordingPlanByIdRequest() (request *DescribeRecordingPlanByIdRequest) { + request = &DescribeRecordingPlanByIdRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveRecordPlanIds") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordingPlanById") return } -func NewDescribeLiveRecordPlanIdsResponse() (response *DescribeLiveRecordPlanIdsResponse) { - response = &DescribeLiveRecordPlanIdsResponse{ +func NewDescribeRecordingPlanByIdResponse() (response *DescribeRecordingPlanByIdResponse) { + response = &DescribeRecordingPlanByIdResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLiveRecordPlanIds -// 获取直播录制计划列表 +// DescribeRecordingPlanById +// 本接口(DescribeRecordingPlanById)用于根据录制计划ID获取录制计划。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5332,18 +9972,18 @@ func NewDescribeLiveRecordPlanIdsResponse() (response *DescribeLiveRecordPlanIds // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveRecordPlanIds(request *DescribeLiveRecordPlanIdsRequest) (response *DescribeLiveRecordPlanIdsResponse, err error) { +func (c *Client) DescribeRecordingPlanById(request *DescribeRecordingPlanByIdRequest) (response *DescribeRecordingPlanByIdResponse, err error) { if request == nil { - request = NewDescribeLiveRecordPlanIdsRequest() + request = NewDescribeRecordingPlanByIdRequest() } - response = NewDescribeLiveRecordPlanIdsResponse() + response = NewDescribeRecordingPlanByIdResponse() err = c.Send(request, response) return } -// DescribeLiveRecordPlanIds -// 获取直播录制计划列表 +// DescribeRecordingPlanById +// 本接口(DescribeRecordingPlanById)用于根据录制计划ID获取录制计划。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5409,36 +10049,36 @@ func (c *Client) DescribeLiveRecordPlanIds(request *DescribeLiveRecordPlanIdsReq // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveRecordPlanIdsWithContext(ctx context.Context, request *DescribeLiveRecordPlanIdsRequest) (response *DescribeLiveRecordPlanIdsResponse, err error) { +func (c *Client) DescribeRecordingPlanByIdWithContext(ctx context.Context, request *DescribeRecordingPlanByIdRequest) (response *DescribeRecordingPlanByIdResponse, err error) { if request == nil { - request = NewDescribeLiveRecordPlanIdsRequest() + request = NewDescribeRecordingPlanByIdRequest() } request.SetContext(ctx) - response = NewDescribeLiveRecordPlanIdsResponse() + response = NewDescribeRecordingPlanByIdResponse() err = c.Send(request, response) return } -func NewDescribeLiveStreamRequest() (request *DescribeLiveStreamRequest) { - request = &DescribeLiveStreamRequest{ +func NewDescribeRecordingPlansRequest() (request *DescribeRecordingPlansRequest) { + request = &DescribeRecordingPlansRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveStream") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordingPlans") return } -func NewDescribeLiveStreamResponse() (response *DescribeLiveStreamResponse) { - response = &DescribeLiveStreamResponse{ +func NewDescribeRecordingPlansResponse() (response *DescribeRecordingPlansResponse) { + response = &DescribeRecordingPlansResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLiveStream -// 直播拉流接口 +// DescribeRecordingPlans +// 本接口(DescribeRecordingPlans)用于获取用户的全部录制计划。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5504,18 +10144,18 @@ func NewDescribeLiveStreamResponse() (response *DescribeLiveStreamResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveStream(request *DescribeLiveStreamRequest) (response *DescribeLiveStreamResponse, err error) { +func (c *Client) DescribeRecordingPlans(request *DescribeRecordingPlansRequest) (response *DescribeRecordingPlansResponse, err error) { if request == nil { - request = NewDescribeLiveStreamRequest() + request = NewDescribeRecordingPlansRequest() } - response = NewDescribeLiveStreamResponse() + response = NewDescribeRecordingPlansResponse() err = c.Send(request, response) return } -// DescribeLiveStream -// 直播拉流接口 +// DescribeRecordingPlans +// 本接口(DescribeRecordingPlans)用于获取用户的全部录制计划。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5581,36 +10221,36 @@ func (c *Client) DescribeLiveStream(request *DescribeLiveStreamRequest) (respons // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveStreamWithContext(ctx context.Context, request *DescribeLiveStreamRequest) (response *DescribeLiveStreamResponse, err error) { +func (c *Client) DescribeRecordingPlansWithContext(ctx context.Context, request *DescribeRecordingPlansRequest) (response *DescribeRecordingPlansResponse, err error) { if request == nil { - request = NewDescribeLiveStreamRequest() + request = NewDescribeRecordingPlansRequest() } request.SetContext(ctx) - response = NewDescribeLiveStreamResponse() + response = NewDescribeRecordingPlansResponse() err = c.Send(request, response) return } -func NewDescribeLiveVideoListRequest() (request *DescribeLiveVideoListRequest) { - request = &DescribeLiveVideoListRequest{ +func NewDescribeSIPServerRequest() (request *DescribeSIPServerRequest) { + request = &DescribeSIPServerRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeLiveVideoList") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeSIPServer") return } -func NewDescribeLiveVideoListResponse() (response *DescribeLiveVideoListResponse) { - response = &DescribeLiveVideoListResponse{ +func NewDescribeSIPServerResponse() (response *DescribeSIPServerResponse) { + response = &DescribeSIPServerResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLiveVideoList -// 直播录像回放列表 +// DescribeSIPServer +// 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5676,18 +10316,18 @@ func NewDescribeLiveVideoListResponse() (response *DescribeLiveVideoListResponse // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveVideoList(request *DescribeLiveVideoListRequest) (response *DescribeLiveVideoListResponse, err error) { +func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response *DescribeSIPServerResponse, err error) { if request == nil { - request = NewDescribeLiveVideoListRequest() + request = NewDescribeSIPServerRequest() } - response = NewDescribeLiveVideoListResponse() + response = NewDescribeSIPServerResponse() err = c.Send(request, response) return } -// DescribeLiveVideoList -// 直播录像回放列表 +// DescribeSIPServer +// 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5753,36 +10393,36 @@ func (c *Client) DescribeLiveVideoList(request *DescribeLiveVideoListRequest) (r // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeLiveVideoListWithContext(ctx context.Context, request *DescribeLiveVideoListRequest) (response *DescribeLiveVideoListResponse, err error) { +func (c *Client) DescribeSIPServerWithContext(ctx context.Context, request *DescribeSIPServerRequest) (response *DescribeSIPServerResponse, err error) { if request == nil { - request = NewDescribeLiveVideoListRequest() + request = NewDescribeSIPServerRequest() } request.SetContext(ctx) - response = NewDescribeLiveVideoListResponse() + response = NewDescribeSIPServerResponse() err = c.Send(request, response) return } -func NewDescribeMessageForwardRequest() (request *DescribeMessageForwardRequest) { - request = &DescribeMessageForwardRequest{ +func NewDescribeSceneRequest() (request *DescribeSceneRequest) { + request = &DescribeSceneRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeMessageForward") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeScene") return } -func NewDescribeMessageForwardResponse() (response *DescribeMessageForwardResponse) { - response = &DescribeMessageForwardResponse{ +func NewDescribeSceneResponse() (response *DescribeSceneResponse) { + response = &DescribeSceneResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeMessageForward -// 查看消息转发配置详情 +// DescribeScene +// 场景详情 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5848,18 +10488,18 @@ func NewDescribeMessageForwardResponse() (response *DescribeMessageForwardRespon // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeMessageForward(request *DescribeMessageForwardRequest) (response *DescribeMessageForwardResponse, err error) { +func (c *Client) DescribeScene(request *DescribeSceneRequest) (response *DescribeSceneResponse, err error) { if request == nil { - request = NewDescribeMessageForwardRequest() + request = NewDescribeSceneRequest() } - response = NewDescribeMessageForwardResponse() + response = NewDescribeSceneResponse() err = c.Send(request, response) return } -// DescribeMessageForward -// 查看消息转发配置详情 +// DescribeScene +// 场景详情 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -5925,36 +10565,36 @@ func (c *Client) DescribeMessageForward(request *DescribeMessageForwardRequest) // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeMessageForwardWithContext(ctx context.Context, request *DescribeMessageForwardRequest) (response *DescribeMessageForwardResponse, err error) { +func (c *Client) DescribeSceneWithContext(ctx context.Context, request *DescribeSceneRequest) (response *DescribeSceneResponse, err error) { if request == nil { - request = NewDescribeMessageForwardRequest() + request = NewDescribeSceneRequest() } request.SetContext(ctx) - response = NewDescribeMessageForwardResponse() + response = NewDescribeSceneResponse() err = c.Send(request, response) return } -func NewDescribeMessageForwardsRequest() (request *DescribeMessageForwardsRequest) { - request = &DescribeMessageForwardsRequest{ +func NewDescribeScenesRequest() (request *DescribeScenesRequest) { + request = &DescribeScenesRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeMessageForwards") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeScenes") return } -func NewDescribeMessageForwardsResponse() (response *DescribeMessageForwardsResponse) { - response = &DescribeMessageForwardsResponse{ +func NewDescribeScenesResponse() (response *DescribeScenesResponse) { + response = &DescribeScenesResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeMessageForwards -// 查看消息转发配置列表 +// DescribeScenes +// 获取场景列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6020,18 +10660,18 @@ func NewDescribeMessageForwardsResponse() (response *DescribeMessageForwardsResp // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeMessageForwards(request *DescribeMessageForwardsRequest) (response *DescribeMessageForwardsResponse, err error) { +func (c *Client) DescribeScenes(request *DescribeScenesRequest) (response *DescribeScenesResponse, err error) { if request == nil { - request = NewDescribeMessageForwardsRequest() + request = NewDescribeScenesRequest() } - response = NewDescribeMessageForwardsResponse() + response = NewDescribeScenesResponse() err = c.Send(request, response) return } -// DescribeMessageForwards -// 查看消息转发配置列表 +// DescribeScenes +// 获取场景列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6097,36 +10737,36 @@ func (c *Client) DescribeMessageForwards(request *DescribeMessageForwardsRequest // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeMessageForwardsWithContext(ctx context.Context, request *DescribeMessageForwardsRequest) (response *DescribeMessageForwardsResponse, err error) { +func (c *Client) DescribeScenesWithContext(ctx context.Context, request *DescribeScenesRequest) (response *DescribeScenesResponse, err error) { if request == nil { - request = NewDescribeMessageForwardsRequest() + request = NewDescribeScenesRequest() } request.SetContext(ctx) - response = NewDescribeMessageForwardsResponse() + response = NewDescribeScenesResponse() err = c.Send(request, response) return } -func NewDescribeRecordDatesByLiveRequest() (request *DescribeRecordDatesByLiveRequest) { - request = &DescribeRecordDatesByLiveRequest{ +func NewDescribeStatisticDetailsRequest() (request *DescribeStatisticDetailsRequest) { + request = &DescribeStatisticDetailsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordDatesByLive") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeStatisticDetails") return } -func NewDescribeRecordDatesByLiveResponse() (response *DescribeRecordDatesByLiveResponse) { - response = &DescribeRecordDatesByLiveResponse{ +func NewDescribeStatisticDetailsResponse() (response *DescribeStatisticDetailsResponse) { + response = &DescribeStatisticDetailsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeRecordDatesByLive -// 直播录像存储日期列表 +// DescribeStatisticDetails +// 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6192,18 +10832,18 @@ func NewDescribeRecordDatesByLiveResponse() (response *DescribeRecordDatesByLive // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeRecordDatesByLive(request *DescribeRecordDatesByLiveRequest) (response *DescribeRecordDatesByLiveResponse, err error) { +func (c *Client) DescribeStatisticDetails(request *DescribeStatisticDetailsRequest) (response *DescribeStatisticDetailsResponse, err error) { if request == nil { - request = NewDescribeRecordDatesByLiveRequest() + request = NewDescribeStatisticDetailsRequest() } - response = NewDescribeRecordDatesByLiveResponse() + response = NewDescribeStatisticDetailsResponse() err = c.Send(request, response) return } -// DescribeRecordDatesByLive -// 直播录像存储日期列表 +// DescribeStatisticDetails +// 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6269,42 +10909,36 @@ func (c *Client) DescribeRecordDatesByLive(request *DescribeRecordDatesByLiveReq // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeRecordDatesByLiveWithContext(ctx context.Context, request *DescribeRecordDatesByLiveRequest) (response *DescribeRecordDatesByLiveResponse, err error) { +func (c *Client) DescribeStatisticDetailsWithContext(ctx context.Context, request *DescribeStatisticDetailsRequest) (response *DescribeStatisticDetailsResponse, err error) { if request == nil { - request = NewDescribeRecordDatesByLiveRequest() + request = NewDescribeStatisticDetailsRequest() } request.SetContext(ctx) - response = NewDescribeRecordDatesByLiveResponse() + response = NewDescribeStatisticDetailsResponse() err = c.Send(request, response) return } -func NewDescribeRecordStreamRequest() (request *DescribeRecordStreamRequest) { - request = &DescribeRecordStreamRequest{ +func NewDescribeStatisticSummaryRequest() (request *DescribeStatisticSummaryRequest) { + request = &DescribeStatisticSummaryRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeRecordStream") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeStatisticSummary") return } -func NewDescribeRecordStreamResponse() (response *DescribeRecordStreamResponse) { - response = &DescribeRecordStreamResponse{ +func NewDescribeStatisticSummaryResponse() (response *DescribeStatisticSummaryResponse) { + response = &DescribeStatisticSummaryResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeRecordStream -// 获取回放视频流(NVR录制用) -// -// RecordId和StartTime/EndTime互斥 -// -// 当存在RecordId时,StartTime和EndTime无效 -// -// 当RecordId为空,StartTime和EndTime生效 +// DescribeStatisticSummary +// 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6321,13 +10955,16 @@ func NewDescribeRecordStreamResponse() (response *DescribeRecordStreamResponse) // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -6367,24 +11004,18 @@ func NewDescribeRecordStreamResponse() (response *DescribeRecordStreamResponse) // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeRecordStream(request *DescribeRecordStreamRequest) (response *DescribeRecordStreamResponse, err error) { +func (c *Client) DescribeStatisticSummary(request *DescribeStatisticSummaryRequest) (response *DescribeStatisticSummaryResponse, err error) { if request == nil { - request = NewDescribeRecordStreamRequest() + request = NewDescribeStatisticSummaryRequest() } - response = NewDescribeRecordStreamResponse() + response = NewDescribeStatisticSummaryResponse() err = c.Send(request, response) return } -// DescribeRecordStream -// 获取回放视频流(NVR录制用) -// -// RecordId和StartTime/EndTime互斥 -// -// 当存在RecordId时,StartTime和EndTime无效 -// -// 当RecordId为空,StartTime和EndTime生效 +// DescribeStatisticSummary +// 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6401,13 +11032,16 @@ func (c *Client) DescribeRecordStream(request *DescribeRecordStreamRequest) (res // INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" // INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" // INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" // INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -6447,36 +11081,36 @@ func (c *Client) DescribeRecordStream(request *DescribeRecordStreamRequest) (res // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeRecordStreamWithContext(ctx context.Context, request *DescribeRecordStreamRequest) (response *DescribeRecordStreamResponse, err error) { +func (c *Client) DescribeStatisticSummaryWithContext(ctx context.Context, request *DescribeStatisticSummaryRequest) (response *DescribeStatisticSummaryResponse, err error) { if request == nil { - request = NewDescribeRecordStreamRequest() + request = NewDescribeStatisticSummaryRequest() } request.SetContext(ctx) - response = NewDescribeRecordStreamResponse() + response = NewDescribeStatisticSummaryResponse() err = c.Send(request, response) return } -func NewDescribeSIPServerRequest() (request *DescribeSIPServerRequest) { - request = &DescribeSIPServerRequest{ +func NewDescribeSubGroupsRequest() (request *DescribeSubGroupsRequest) { + request = &DescribeSubGroupsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeSIPServer") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeSubGroups") return } -func NewDescribeSIPServerResponse() (response *DescribeSIPServerResponse) { - response = &DescribeSIPServerResponse{ +func NewDescribeSubGroupsResponse() (response *DescribeSubGroupsResponse) { + response = &DescribeSubGroupsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeSIPServer -// 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。 +// DescribeSubGroups +// 本接口(DescribeSubGroups)用于查询分组下的子分组列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6488,9 +11122,22 @@ func NewDescribeSIPServerResponse() (response *DescribeSIPServerResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -6499,6 +11146,7 @@ func NewDescribeSIPServerResponse() (response *DescribeSIPServerResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -6512,28 +11160,34 @@ func NewDescribeSIPServerResponse() (response *DescribeSIPServerResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response *DescribeSIPServerResponse, err error) { +func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response *DescribeSubGroupsResponse, err error) { if request == nil { - request = NewDescribeSIPServerRequest() + request = NewDescribeSubGroupsRequest() } - response = NewDescribeSIPServerResponse() + response = NewDescribeSubGroupsResponse() err = c.Send(request, response) return } -// DescribeSIPServer -// 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。 +// DescribeSubGroups +// 本接口(DescribeSubGroups)用于查询分组下的子分组列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6545,9 +11199,22 @@ func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -6556,6 +11223,7 @@ func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -6569,46 +11237,52 @@ func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeSIPServerWithContext(ctx context.Context, request *DescribeSIPServerRequest) (response *DescribeSIPServerResponse, err error) { +func (c *Client) DescribeSubGroupsWithContext(ctx context.Context, request *DescribeSubGroupsRequest) (response *DescribeSubGroupsResponse, err error) { if request == nil { - request = NewDescribeSIPServerRequest() + request = NewDescribeSubGroupsRequest() } request.SetContext(ctx) - response = NewDescribeSIPServerResponse() + response = NewDescribeSubGroupsResponse() err = c.Send(request, response) return } -func NewDescribeScenesRequest() (request *DescribeScenesRequest) { - request = &DescribeScenesRequest{ +func NewDescribeSubscriptionStatusRequest() (request *DescribeSubscriptionStatusRequest) { + request = &DescribeSubscriptionStatusRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeScenes") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeSubscriptionStatus") return } -func NewDescribeScenesResponse() (response *DescribeScenesResponse) { - response = &DescribeScenesResponse{ +func NewDescribeSubscriptionStatusResponse() (response *DescribeSubscriptionStatusResponse) { + response = &DescribeSubscriptionStatusResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeScenes -// 获取场景列表 +// DescribeSubscriptionStatus +// 查询主设备订阅状态 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6674,18 +11348,18 @@ func NewDescribeScenesResponse() (response *DescribeScenesResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeScenes(request *DescribeScenesRequest) (response *DescribeScenesResponse, err error) { +func (c *Client) DescribeSubscriptionStatus(request *DescribeSubscriptionStatusRequest) (response *DescribeSubscriptionStatusResponse, err error) { if request == nil { - request = NewDescribeScenesRequest() + request = NewDescribeSubscriptionStatusRequest() } - response = NewDescribeScenesResponse() + response = NewDescribeSubscriptionStatusResponse() err = c.Send(request, response) return } -// DescribeScenes -// 获取场景列表 +// DescribeSubscriptionStatus +// 查询主设备订阅状态 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6751,172 +11425,328 @@ func (c *Client) DescribeScenes(request *DescribeScenesRequest) (response *Descr // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeScenesWithContext(ctx context.Context, request *DescribeScenesRequest) (response *DescribeScenesResponse, err error) { +func (c *Client) DescribeSubscriptionStatusWithContext(ctx context.Context, request *DescribeSubscriptionStatusRequest) (response *DescribeSubscriptionStatusResponse, err error) { if request == nil { - request = NewDescribeScenesRequest() + request = NewDescribeSubscriptionStatusRequest() } request.SetContext(ctx) - response = NewDescribeScenesResponse() + response = NewDescribeSubscriptionStatusResponse() err = c.Send(request, response) return } -func NewDescribeStatisticDetailsRequest() (request *DescribeStatisticDetailsRequest) { - request = &DescribeStatisticDetailsRequest{ +func NewDescribeVideoListRequest() (request *DescribeVideoListRequest) { + request = &DescribeVideoListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeStatisticDetails") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeVideoList") return } -func NewDescribeStatisticDetailsResponse() (response *DescribeStatisticDetailsResponse) { - response = &DescribeStatisticDetailsResponse{ +func NewDescribeVideoListResponse() (response *DescribeVideoListResponse) { + response = &DescribeVideoListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeStatisticDetails -// 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。 +// DescribeVideoList +// 根据时间获取云端录制文件列表 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeStatisticDetails(request *DescribeStatisticDetailsRequest) (response *DescribeStatisticDetailsResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response *DescribeVideoListResponse, err error) { if request == nil { - request = NewDescribeStatisticDetailsRequest() + request = NewDescribeVideoListRequest() } - response = NewDescribeStatisticDetailsResponse() + response = NewDescribeVideoListResponse() err = c.Send(request, response) return } -// DescribeStatisticDetails -// 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。 +// DescribeVideoList +// 根据时间获取云端录制文件列表 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeStatisticDetailsWithContext(ctx context.Context, request *DescribeStatisticDetailsRequest) (response *DescribeStatisticDetailsResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeVideoListWithContext(ctx context.Context, request *DescribeVideoListRequest) (response *DescribeVideoListResponse, err error) { if request == nil { - request = NewDescribeStatisticDetailsRequest() + request = NewDescribeVideoListRequest() } request.SetContext(ctx) - response = NewDescribeStatisticDetailsResponse() + response = NewDescribeVideoListResponse() err = c.Send(request, response) return } -func NewDescribeStatisticSummaryRequest() (request *DescribeStatisticSummaryRequest) { - request = &DescribeStatisticSummaryRequest{ +func NewDescribeVideoListByChannelRequest() (request *DescribeVideoListByChannelRequest) { + request = &DescribeVideoListByChannelRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeStatisticSummary") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeVideoListByChannel") return } -func NewDescribeStatisticSummaryResponse() (response *DescribeStatisticSummaryResponse) { - response = &DescribeStatisticSummaryResponse{ +func NewDescribeVideoListByChannelResponse() (response *DescribeVideoListByChannelResponse) { + response = &DescribeVideoListByChannelResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeStatisticSummary -// 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。 +// DescribeVideoListByChannel +// 本接口(DescribeVideoListByChannel)用于查询指定通道的录制文件列表 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeStatisticSummary(request *DescribeStatisticSummaryRequest) (response *DescribeStatisticSummaryResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeVideoListByChannel(request *DescribeVideoListByChannelRequest) (response *DescribeVideoListByChannelResponse, err error) { + if request == nil { + request = NewDescribeVideoListByChannelRequest() + } + + response = NewDescribeVideoListByChannelResponse() + err = c.Send(request, response) + return +} + +// DescribeVideoListByChannel +// 本接口(DescribeVideoListByChannel)用于查询指定通道的录制文件列表 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeVideoListByChannelWithContext(ctx context.Context, request *DescribeVideoListByChannelRequest) (response *DescribeVideoListByChannelResponse, err error) { + if request == nil { + request = NewDescribeVideoListByChannelRequest() + } + request.SetContext(ctx) + + response = NewDescribeVideoListByChannelResponse() + err = c.Send(request, response) + return +} + +func NewDescribeWarnModRequest() (request *DescribeWarnModRequest) { + request = &DescribeWarnModRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeWarnMod") + + + return +} + +func NewDescribeWarnModResponse() (response *DescribeWarnModResponse) { + response = &DescribeWarnModResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeWarnMod +// 告警等级列表 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeWarnMod(request *DescribeWarnModRequest) (response *DescribeWarnModResponse, err error) { + if request == nil { + request = NewDescribeWarnModRequest() + } + + response = NewDescribeWarnModResponse() + err = c.Send(request, response) + return +} + +// DescribeWarnMod +// 告警等级列表 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeWarnModWithContext(ctx context.Context, request *DescribeWarnModRequest) (response *DescribeWarnModResponse, err error) { + if request == nil { + request = NewDescribeWarnModRequest() + } + request.SetContext(ctx) + + response = NewDescribeWarnModResponse() + err = c.Send(request, response) + return +} + +func NewDescribeWarningsRequest() (request *DescribeWarningsRequest) { + request = &DescribeWarningsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeWarnings") + + + return +} + +func NewDescribeWarningsResponse() (response *DescribeWarningsResponse) { + response = &DescribeWarningsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeWarnings +// 获取告警列表 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeWarnings(request *DescribeWarningsRequest) (response *DescribeWarningsResponse, err error) { + if request == nil { + request = NewDescribeWarningsRequest() + } + + response = NewDescribeWarningsResponse() + err = c.Send(request, response) + return +} + +// DescribeWarnings +// 获取告警列表 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeWarningsWithContext(ctx context.Context, request *DescribeWarningsRequest) (response *DescribeWarningsResponse, err error) { + if request == nil { + request = NewDescribeWarningsRequest() + } + request.SetContext(ctx) + + response = NewDescribeWarningsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeXP2PDataRequest() (request *DescribeXP2PDataRequest) { + request = &DescribeXP2PDataRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeXP2PData") + + + return +} + +func NewDescribeXP2PDataResponse() (response *DescribeXP2PDataResponse) { + response = &DescribeXP2PDataResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeXP2PData +// 获取X-P2P的统计数据 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeXP2PData(request *DescribeXP2PDataRequest) (response *DescribeXP2PDataResponse, err error) { + if request == nil { + request = NewDescribeXP2PDataRequest() + } + + response = NewDescribeXP2PDataResponse() + err = c.Send(request, response) + return +} + +// DescribeXP2PData +// 获取X-P2P的统计数据 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) DescribeXP2PDataWithContext(ctx context.Context, request *DescribeXP2PDataRequest) (response *DescribeXP2PDataResponse, err error) { + if request == nil { + request = NewDescribeXP2PDataRequest() + } + request.SetContext(ctx) + + response = NewDescribeXP2PDataResponse() + err = c.Send(request, response) + return +} + +func NewGetRecordDatesByDevRequest() (request *GetRecordDatesByDevRequest) { + request = &GetRecordDatesByDevRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordDatesByDev") + + + return +} + +func NewGetRecordDatesByDevResponse() (response *GetRecordDatesByDevResponse) { + response = &GetRecordDatesByDevResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// GetRecordDatesByDev +// 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。 +// +// 请使用DescribeRecordDatesByChannel接口 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) GetRecordDatesByDev(request *GetRecordDatesByDevRequest) (response *GetRecordDatesByDevResponse, err error) { if request == nil { - request = NewDescribeStatisticSummaryRequest() + request = NewGetRecordDatesByDevRequest() } - response = NewDescribeStatisticSummaryResponse() + response = NewGetRecordDatesByDevResponse() err = c.Send(request, response) return } -// DescribeStatisticSummary -// 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。 +// GetRecordDatesByDev +// 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。 +// +// 请使用DescribeRecordDatesByChannel接口 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeStatisticSummaryWithContext(ctx context.Context, request *DescribeStatisticSummaryRequest) (response *DescribeStatisticSummaryResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) GetRecordDatesByDevWithContext(ctx context.Context, request *GetRecordDatesByDevRequest) (response *GetRecordDatesByDevResponse, err error) { if request == nil { - request = NewDescribeStatisticSummaryRequest() + request = NewGetRecordDatesByDevRequest() } request.SetContext(ctx) - response = NewDescribeStatisticSummaryResponse() + response = NewGetRecordDatesByDevResponse() err = c.Send(request, response) return } -func NewDescribeSubGroupsRequest() (request *DescribeSubGroupsRequest) { - request = &DescribeSubGroupsRequest{ +func NewGetRecordPlanByDevRequest() (request *GetRecordPlanByDevRequest) { + request = &GetRecordPlanByDevRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeSubGroups") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordPlanByDev") return } -func NewDescribeSubGroupsResponse() (response *DescribeSubGroupsResponse) { - response = &DescribeSubGroupsResponse{ +func NewGetRecordPlanByDevResponse() (response *GetRecordPlanByDevResponse) { + response = &GetRecordPlanByDevResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeSubGroups -// 本接口(DescribeSubGroups)用于查询分组下的子分组列表。 +// GetRecordPlanByDev +// 本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划. // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6928,9 +11758,10 @@ func NewDescribeSubGroupsResponse() (response *DescribeSubGroupsResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -6942,6 +11773,7 @@ func NewDescribeSubGroupsResponse() (response *DescribeSubGroupsResponse) { // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -6951,27 +11783,19 @@ func NewDescribeSubGroupsResponse() (response *DescribeSubGroupsResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" -// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" -// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" -// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" -// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response *DescribeSubGroupsResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) GetRecordPlanByDev(request *GetRecordPlanByDevRequest) (response *GetRecordPlanByDevResponse, err error) { if request == nil { - request = NewDescribeSubGroupsRequest() + request = NewGetRecordPlanByDevRequest() } - response = NewDescribeSubGroupsResponse() + response = NewGetRecordPlanByDevResponse() err = c.Send(request, response) return } -// DescribeSubGroups -// 本接口(DescribeSubGroups)用于查询分组下的子分组列表。 +// GetRecordPlanByDev +// 本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划. // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -6983,9 +11807,10 @@ func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -6997,6 +11822,7 @@ func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -7006,45 +11832,39 @@ func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" -// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" -// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" -// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" -// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -func (c *Client) DescribeSubGroupsWithContext(ctx context.Context, request *DescribeSubGroupsRequest) (response *DescribeSubGroupsResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) GetRecordPlanByDevWithContext(ctx context.Context, request *GetRecordPlanByDevRequest) (response *GetRecordPlanByDevResponse, err error) { if request == nil { - request = NewDescribeSubGroupsRequest() + request = NewGetRecordPlanByDevRequest() } request.SetContext(ctx) - response = NewDescribeSubGroupsResponse() + response = NewGetRecordPlanByDevResponse() err = c.Send(request, response) return } -func NewDescribeSubscriptionStatusRequest() (request *DescribeSubscriptionStatusRequest) { - request = &DescribeSubscriptionStatusRequest{ +func NewGetRecordPlanByIdRequest() (request *GetRecordPlanByIdRequest) { + request = &GetRecordPlanByIdRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeSubscriptionStatus") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordPlanById") return } -func NewDescribeSubscriptionStatusResponse() (response *DescribeSubscriptionStatusResponse) { - response = &DescribeSubscriptionStatusResponse{ +func NewGetRecordPlanByIdResponse() (response *GetRecordPlanByIdResponse) { + response = &GetRecordPlanByIdResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeSubscriptionStatus -// 查询主设备订阅状态 +// GetRecordPlanById +// 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。 +// +// 请使用DescribeRecordingPlanById接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7056,21 +11876,9 @@ func NewDescribeSubscriptionStatusResponse() (response *DescribeSubscriptionStat // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" -// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" -// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" -// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" -// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" -// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" -// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" -// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" -// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" -// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -7080,7 +11888,6 @@ func NewDescribeSubscriptionStatusResponse() (response *DescribeSubscriptionStat // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -7094,34 +11901,21 @@ func NewDescribeSubscriptionStatusResponse() (response *DescribeSubscriptionStat // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" -// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" -// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" -// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" -// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" -// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" -// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" -// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeSubscriptionStatus(request *DescribeSubscriptionStatusRequest) (response *DescribeSubscriptionStatusResponse, err error) { +func (c *Client) GetRecordPlanById(request *GetRecordPlanByIdRequest) (response *GetRecordPlanByIdResponse, err error) { if request == nil { - request = NewDescribeSubscriptionStatusRequest() + request = NewGetRecordPlanByIdRequest() } - response = NewDescribeSubscriptionStatusResponse() + response = NewGetRecordPlanByIdResponse() err = c.Send(request, response) return } -// DescribeSubscriptionStatus -// 查询主设备订阅状态 +// GetRecordPlanById +// 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。 +// +// 请使用DescribeRecordingPlanById接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7133,21 +11927,9 @@ func (c *Client) DescribeSubscriptionStatus(request *DescribeSubscriptionStatusR // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" -// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" -// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" -// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" -// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" -// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" -// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" -// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" -// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" -// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -7157,7 +11939,6 @@ func (c *Client) DescribeSubscriptionStatus(request *DescribeSubscriptionStatusR // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -7171,52 +11952,39 @@ func (c *Client) DescribeSubscriptionStatus(request *DescribeSubscriptionStatusR // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" -// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" -// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" -// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" -// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" -// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" -// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" -// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeSubscriptionStatusWithContext(ctx context.Context, request *DescribeSubscriptionStatusRequest) (response *DescribeSubscriptionStatusResponse, err error) { +func (c *Client) GetRecordPlanByIdWithContext(ctx context.Context, request *GetRecordPlanByIdRequest) (response *GetRecordPlanByIdResponse, err error) { if request == nil { - request = NewDescribeSubscriptionStatusRequest() + request = NewGetRecordPlanByIdRequest() } request.SetContext(ctx) - response = NewDescribeSubscriptionStatusResponse() + response = NewGetRecordPlanByIdResponse() err = c.Send(request, response) return } -func NewDescribeVideoListRequest() (request *DescribeVideoListRequest) { - request = &DescribeVideoListRequest{ +func NewGetRecordPlansRequest() (request *GetRecordPlansRequest) { + request = &GetRecordPlansRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "DescribeVideoList") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordPlans") return } -func NewDescribeVideoListResponse() (response *DescribeVideoListResponse) { - response = &DescribeVideoListResponse{ +func NewGetRecordPlansResponse() (response *GetRecordPlansResponse) { + response = &GetRecordPlansResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeVideoList -// 根据时间获取回放文件列表(云端录制用) +// GetRecordPlans +// 本接口(GetRecordPlans)用于获取用户的全部录制计划。 +// +// 请使用DescribeRecordingPlans接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7228,18 +11996,9 @@ func NewDescribeVideoListResponse() (response *DescribeVideoListResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" -// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" -// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" -// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" -// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" -// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" -// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -7249,7 +12008,6 @@ func NewDescribeVideoListResponse() (response *DescribeVideoListResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -7263,34 +12021,21 @@ func NewDescribeVideoListResponse() (response *DescribeVideoListResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" -// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" -// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" -// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" -// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" -// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" -// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" -// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response *DescribeVideoListResponse, err error) { +func (c *Client) GetRecordPlans(request *GetRecordPlansRequest) (response *GetRecordPlansResponse, err error) { if request == nil { - request = NewDescribeVideoListRequest() + request = NewGetRecordPlansRequest() } - response = NewDescribeVideoListResponse() + response = NewGetRecordPlansResponse() err = c.Send(request, response) return } -// DescribeVideoList -// 根据时间获取回放文件列表(云端录制用) +// GetRecordPlans +// 本接口(GetRecordPlans)用于获取用户的全部录制计划。 +// +// 请使用DescribeRecordingPlans接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7302,18 +12047,9 @@ func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" -// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" -// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" // INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" -// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" -// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" -// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" -// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" -// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -7323,7 +12059,6 @@ func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -7336,53 +12071,38 @@ func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" -// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" -// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" -// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" -// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" -// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" -// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" -// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" -// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" -// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" -// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" -// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) DescribeVideoListWithContext(ctx context.Context, request *DescribeVideoListRequest) (response *DescribeVideoListResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +func (c *Client) GetRecordPlansWithContext(ctx context.Context, request *GetRecordPlansRequest) (response *GetRecordPlansResponse, err error) { if request == nil { - request = NewDescribeVideoListRequest() + request = NewGetRecordPlansRequest() } request.SetContext(ctx) - response = NewDescribeVideoListResponse() + response = NewGetRecordPlansResponse() err = c.Send(request, response) return } -func NewGetRecordDatesByDevRequest() (request *GetRecordDatesByDevRequest) { - request = &GetRecordDatesByDevRequest{ +func NewGetTimeTemplateByIdRequest() (request *GetTimeTemplateByIdRequest) { + request = &GetTimeTemplateByIdRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordDatesByDev") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetTimeTemplateById") return } -func NewGetRecordDatesByDevResponse() (response *GetRecordDatesByDevResponse) { - response = &GetRecordDatesByDevResponse{ +func NewGetTimeTemplateByIdResponse() (response *GetTimeTemplateByIdResponse) { + response = &GetTimeTemplateByIdResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetRecordDatesByDev -// 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。 +// GetTimeTemplateById +// 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7394,19 +12114,44 @@ func NewGetRecordDatesByDevResponse() (response *GetRecordDatesByDevResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -func (c *Client) GetRecordDatesByDev(request *GetRecordDatesByDevRequest) (response *GetRecordDatesByDevResponse, err error) { +func (c *Client) GetTimeTemplateById(request *GetTimeTemplateByIdRequest) (response *GetTimeTemplateByIdResponse, err error) { if request == nil { - request = NewGetRecordDatesByDevRequest() + request = NewGetTimeTemplateByIdRequest() } - response = NewGetRecordDatesByDevResponse() + response = NewGetTimeTemplateByIdResponse() err = c.Send(request, response) return } -// GetRecordDatesByDev -// 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。 +// GetTimeTemplateById +// 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7418,37 +12163,62 @@ func (c *Client) GetRecordDatesByDev(request *GetRecordDatesByDevRequest) (respo // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -func (c *Client) GetRecordDatesByDevWithContext(ctx context.Context, request *GetRecordDatesByDevRequest) (response *GetRecordDatesByDevResponse, err error) { +func (c *Client) GetTimeTemplateByIdWithContext(ctx context.Context, request *GetTimeTemplateByIdRequest) (response *GetTimeTemplateByIdResponse, err error) { if request == nil { - request = NewGetRecordDatesByDevRequest() + request = NewGetTimeTemplateByIdRequest() } request.SetContext(ctx) - response = NewGetRecordDatesByDevResponse() + response = NewGetTimeTemplateByIdResponse() err = c.Send(request, response) return } -func NewGetRecordPlanByDevRequest() (request *GetRecordPlanByDevRequest) { - request = &GetRecordPlanByDevRequest{ +func NewGetTimeTemplatesRequest() (request *GetTimeTemplatesRequest) { + request = &GetTimeTemplatesRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordPlanByDev") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetTimeTemplates") return } -func NewGetRecordPlanByDevResponse() (response *GetRecordPlanByDevResponse) { - response = &GetRecordPlanByDevResponse{ +func NewGetTimeTemplatesResponse() (response *GetTimeTemplatesResponse) { + response = &GetTimeTemplatesResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetRecordPlanByDev -// 本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划. +// GetTimeTemplates +// 本接口(GetTimeTemplates)用于获取时间模板列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7486,18 +12256,18 @@ func NewGetRecordPlanByDevResponse() (response *GetRecordPlanByDevResponse) { // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -func (c *Client) GetRecordPlanByDev(request *GetRecordPlanByDevRequest) (response *GetRecordPlanByDevResponse, err error) { +func (c *Client) GetTimeTemplates(request *GetTimeTemplatesRequest) (response *GetTimeTemplatesResponse, err error) { if request == nil { - request = NewGetRecordPlanByDevRequest() + request = NewGetTimeTemplatesRequest() } - response = NewGetRecordPlanByDevResponse() + response = NewGetTimeTemplatesResponse() err = c.Send(request, response) return } -// GetRecordPlanByDev -// 本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划. +// GetTimeTemplates +// 本接口(GetTimeTemplates)用于获取时间模板列表。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7535,323 +12305,752 @@ func (c *Client) GetRecordPlanByDev(request *GetRecordPlanByDevRequest) (respons // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -func (c *Client) GetRecordPlanByDevWithContext(ctx context.Context, request *GetRecordPlanByDevRequest) (response *GetRecordPlanByDevResponse, err error) { +func (c *Client) GetTimeTemplatesWithContext(ctx context.Context, request *GetTimeTemplatesRequest) (response *GetTimeTemplatesResponse, err error) { if request == nil { - request = NewGetRecordPlanByDevRequest() + request = NewGetTimeTemplatesRequest() } request.SetContext(ctx) - response = NewGetRecordPlanByDevResponse() + response = NewGetTimeTemplatesResponse() err = c.Send(request, response) return } -func NewGetRecordPlanByIdRequest() (request *GetRecordPlanByIdRequest) { - request = &GetRecordPlanByIdRequest{ +func NewGetVideoListByConRequest() (request *GetVideoListByConRequest) { + request = &GetVideoListByConRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordPlanById") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetVideoListByCon") return } -func NewGetRecordPlanByIdResponse() (response *GetRecordPlanByIdResponse) { - response = &GetRecordPlanByIdResponse{ +func NewGetVideoListByConResponse() (response *GetVideoListByConResponse) { + response = &GetVideoListByConResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetRecordPlanById -// 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。 +// GetVideoListByCon +// 本接口(GetVideoListByCon)用于查询设备的录制文件列表 +// +// 请使用DescribeVideoListByChannel接口 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" -func (c *Client) GetRecordPlanById(request *GetRecordPlanByIdRequest) (response *GetRecordPlanByIdResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) GetVideoListByCon(request *GetVideoListByConRequest) (response *GetVideoListByConResponse, err error) { + if request == nil { + request = NewGetVideoListByConRequest() + } + + response = NewGetVideoListByConResponse() + err = c.Send(request, response) + return +} + +// GetVideoListByCon +// 本接口(GetVideoListByCon)用于查询设备的录制文件列表 +// +// 请使用DescribeVideoListByChannel接口 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) GetVideoListByConWithContext(ctx context.Context, request *GetVideoListByConRequest) (response *GetVideoListByConResponse, err error) { + if request == nil { + request = NewGetVideoListByConRequest() + } + request.SetContext(ctx) + + response = NewGetVideoListByConResponse() + err = c.Send(request, response) + return +} + +func NewModifyBindPlanLiveChannelRequest() (request *ModifyBindPlanLiveChannelRequest) { + request = &ModifyBindPlanLiveChannelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyBindPlanLiveChannel") + + + return +} + +func NewModifyBindPlanLiveChannelResponse() (response *ModifyBindPlanLiveChannelResponse) { + response = &ModifyBindPlanLiveChannelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyBindPlanLiveChannel +// 直播录制计划绑定解绑直播频道 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) ModifyBindPlanLiveChannel(request *ModifyBindPlanLiveChannelRequest) (response *ModifyBindPlanLiveChannelResponse, err error) { + if request == nil { + request = NewModifyBindPlanLiveChannelRequest() + } + + response = NewModifyBindPlanLiveChannelResponse() + err = c.Send(request, response) + return +} + +// ModifyBindPlanLiveChannel +// 直播录制计划绑定解绑直播频道 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) ModifyBindPlanLiveChannelWithContext(ctx context.Context, request *ModifyBindPlanLiveChannelRequest) (response *ModifyBindPlanLiveChannelResponse, err error) { + if request == nil { + request = NewModifyBindPlanLiveChannelRequest() + } + request.SetContext(ctx) + + response = NewModifyBindPlanLiveChannelResponse() + err = c.Send(request, response) + return +} + +func NewModifyBindRecordingPlanRequest() (request *ModifyBindRecordingPlanRequest) { + request = &ModifyBindRecordingPlanRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyBindRecordingPlan") + + + return +} + +func NewModifyBindRecordingPlanResponse() (response *ModifyBindRecordingPlanResponse) { + response = &ModifyBindRecordingPlanResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyBindRecordingPlan +// 本接口(ModifyBindRecordingPlan)用于更新录制计划绑定的通道 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) ModifyBindRecordingPlan(request *ModifyBindRecordingPlanRequest) (response *ModifyBindRecordingPlanResponse, err error) { + if request == nil { + request = NewModifyBindRecordingPlanRequest() + } + + response = NewModifyBindRecordingPlanResponse() + err = c.Send(request, response) + return +} + +// ModifyBindRecordingPlan +// 本接口(ModifyBindRecordingPlan)用于更新录制计划绑定的通道 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) ModifyBindRecordingPlanWithContext(ctx context.Context, request *ModifyBindRecordingPlanRequest) (response *ModifyBindRecordingPlanResponse, err error) { + if request == nil { + request = NewModifyBindRecordingPlanRequest() + } + request.SetContext(ctx) + + response = NewModifyBindRecordingPlanResponse() + err = c.Send(request, response) + return +} + +func NewModifyBindSceneChannelsRequest() (request *ModifyBindSceneChannelsRequest) { + request = &ModifyBindSceneChannelsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyBindSceneChannels") + + + return +} + +func NewModifyBindSceneChannelsResponse() (response *ModifyBindSceneChannelsResponse) { + response = &ModifyBindSceneChannelsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyBindSceneChannels +// 场景绑定解绑通道接口 +// +// 可能返回的错误码: +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) ModifyBindSceneChannels(request *ModifyBindSceneChannelsRequest) (response *ModifyBindSceneChannelsResponse, err error) { if request == nil { - request = NewGetRecordPlanByIdRequest() + request = NewModifyBindSceneChannelsRequest() } - response = NewGetRecordPlanByIdResponse() + response = NewModifyBindSceneChannelsResponse() err = c.Send(request, response) return } -// GetRecordPlanById -// 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。 +// ModifyBindSceneChannels +// 场景绑定解绑通道接口 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" -// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" -func (c *Client) GetRecordPlanByIdWithContext(ctx context.Context, request *GetRecordPlanByIdRequest) (response *GetRecordPlanByIdResponse, err error) { +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +func (c *Client) ModifyBindSceneChannelsWithContext(ctx context.Context, request *ModifyBindSceneChannelsRequest) (response *ModifyBindSceneChannelsResponse, err error) { if request == nil { - request = NewGetRecordPlanByIdRequest() + request = NewModifyBindSceneChannelsRequest() } request.SetContext(ctx) - response = NewGetRecordPlanByIdResponse() + response = NewModifyBindSceneChannelsResponse() err = c.Send(request, response) return } -func NewGetRecordPlansRequest() (request *GetRecordPlansRequest) { - request = &GetRecordPlansRequest{ +func NewModifyBindSceneDeviceRequest() (request *ModifyBindSceneDeviceRequest) { + request = &ModifyBindSceneDeviceRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetRecordPlans") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyBindSceneDevice") return } -func NewGetRecordPlansResponse() (response *GetRecordPlansResponse) { - response = &GetRecordPlansResponse{ +func NewModifyBindSceneDeviceResponse() (response *ModifyBindSceneDeviceResponse) { + response = &ModifyBindSceneDeviceResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetRecordPlans -// 本接口(GetRecordPlans)用于获取用户的全部录制计划。 +// ModifyBindSceneDevice +// 场景绑定/解绑通道接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -func (c *Client) GetRecordPlans(request *GetRecordPlansRequest) (response *GetRecordPlansResponse, err error) { +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) ModifyBindSceneDevice(request *ModifyBindSceneDeviceRequest) (response *ModifyBindSceneDeviceResponse, err error) { if request == nil { - request = NewGetRecordPlansRequest() + request = NewModifyBindSceneDeviceRequest() } - response = NewGetRecordPlansResponse() + response = NewModifyBindSceneDeviceResponse() err = c.Send(request, response) return } -// GetRecordPlans -// 本接口(GetRecordPlans)用于获取用户的全部录制计划。 +// ModifyBindSceneDevice +// 场景绑定/解绑通道接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -func (c *Client) GetRecordPlansWithContext(ctx context.Context, request *GetRecordPlansRequest) (response *GetRecordPlansResponse, err error) { +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) ModifyBindSceneDeviceWithContext(ctx context.Context, request *ModifyBindSceneDeviceRequest) (response *ModifyBindSceneDeviceResponse, err error) { if request == nil { - request = NewGetRecordPlansRequest() + request = NewModifyBindSceneDeviceRequest() } request.SetContext(ctx) - response = NewGetRecordPlansResponse() + response = NewModifyBindSceneDeviceResponse() err = c.Send(request, response) return } -func NewGetTimeTemplateByIdRequest() (request *GetTimeTemplateByIdRequest) { - request = &GetTimeTemplateByIdRequest{ +func NewModifyDeviceDataRequest() (request *ModifyDeviceDataRequest) { + request = &ModifyDeviceDataRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetTimeTemplateById") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyDeviceData") return } -func NewGetTimeTemplateByIdResponse() (response *GetTimeTemplateByIdResponse) { - response = &GetTimeTemplateByIdResponse{ +func NewModifyDeviceDataResponse() (response *ModifyDeviceDataResponse) { + response = &ModifyDeviceDataResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetTimeTemplateById -// 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。 +// ModifyDeviceData +// 本接口(ModifyDeviceData)用于编辑设备信息。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" -func (c *Client) GetTimeTemplateById(request *GetTimeTemplateByIdRequest) (response *GetTimeTemplateByIdResponse, err error) { +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *ModifyDeviceDataResponse, err error) { if request == nil { - request = NewGetTimeTemplateByIdRequest() + request = NewModifyDeviceDataRequest() } - response = NewGetTimeTemplateByIdResponse() + response = NewModifyDeviceDataResponse() err = c.Send(request, response) return } -// GetTimeTemplateById -// 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。 +// ModifyDeviceData +// 本接口(ModifyDeviceData)用于编辑设备信息。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" -func (c *Client) GetTimeTemplateByIdWithContext(ctx context.Context, request *GetTimeTemplateByIdRequest) (response *GetTimeTemplateByIdResponse, err error) { +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) ModifyDeviceDataWithContext(ctx context.Context, request *ModifyDeviceDataRequest) (response *ModifyDeviceDataResponse, err error) { if request == nil { - request = NewGetTimeTemplateByIdRequest() + request = NewModifyDeviceDataRequest() } request.SetContext(ctx) - response = NewGetTimeTemplateByIdResponse() + response = NewModifyDeviceDataResponse() err = c.Send(request, response) return } -func NewGetTimeTemplatesRequest() (request *GetTimeTemplatesRequest) { - request = &GetTimeTemplatesRequest{ +func NewModifyLiveChannelRequest() (request *ModifyLiveChannelRequest) { + request = &ModifyLiveChannelRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetTimeTemplates") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyLiveChannel") return } -func NewGetTimeTemplatesResponse() (response *GetTimeTemplatesResponse) { - response = &GetTimeTemplatesResponse{ +func NewModifyLiveChannelResponse() (response *ModifyLiveChannelResponse) { + response = &ModifyLiveChannelResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetTimeTemplates -// 本接口(GetTimeTemplates)用于获取时间模板列表。 +// ModifyLiveChannel +// 编辑直播接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -func (c *Client) GetTimeTemplates(request *GetTimeTemplatesRequest) (response *GetTimeTemplatesResponse, err error) { +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) ModifyLiveChannel(request *ModifyLiveChannelRequest) (response *ModifyLiveChannelResponse, err error) { if request == nil { - request = NewGetTimeTemplatesRequest() + request = NewModifyLiveChannelRequest() } - response = NewGetTimeTemplatesResponse() + response = NewModifyLiveChannelResponse() err = c.Send(request, response) return } -// GetTimeTemplates -// 本接口(GetTimeTemplates)用于获取时间模板列表。 +// ModifyLiveChannel +// 编辑直播接口 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -func (c *Client) GetTimeTemplatesWithContext(ctx context.Context, request *GetTimeTemplatesRequest) (response *GetTimeTemplatesResponse, err error) { +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" +func (c *Client) ModifyLiveChannelWithContext(ctx context.Context, request *ModifyLiveChannelRequest) (response *ModifyLiveChannelResponse, err error) { if request == nil { - request = NewGetTimeTemplatesRequest() + request = NewModifyLiveChannelRequest() } request.SetContext(ctx) - response = NewGetTimeTemplatesResponse() + response = NewModifyLiveChannelResponse() err = c.Send(request, response) return } -func NewGetVideoListByConRequest() (request *GetVideoListByConRequest) { - request = &GetVideoListByConRequest{ +func NewModifyLiveRecordPlanRequest() (request *ModifyLiveRecordPlanRequest) { + request = &ModifyLiveRecordPlanRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "GetVideoListByCon") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyLiveRecordPlan") return } -func NewGetVideoListByConResponse() (response *GetVideoListByConResponse) { - response = &GetVideoListByConResponse{ +func NewModifyLiveRecordPlanResponse() (response *ModifyLiveRecordPlanResponse) { + response = &ModifyLiveRecordPlanResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// GetVideoListByCon -// 本接口(GetVideoListByCon)用于查询设备的录制文件列表 +// ModifyLiveRecordPlan +// 编辑直播录制计划 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" @@ -7859,25 +13058,76 @@ func NewGetVideoListByConResponse() (response *GetVideoListByConResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" // UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) GetVideoListByCon(request *GetVideoListByConRequest) (response *GetVideoListByConResponse, err error) { +func (c *Client) ModifyLiveRecordPlan(request *ModifyLiveRecordPlanRequest) (response *ModifyLiveRecordPlanResponse, err error) { if request == nil { - request = NewGetVideoListByConRequest() + request = NewModifyLiveRecordPlanRequest() } - response = NewGetVideoListByConResponse() + response = NewModifyLiveRecordPlanResponse() err = c.Send(request, response) return } -// GetVideoListByCon -// 本接口(GetVideoListByCon)用于查询设备的录制文件列表 +// ModifyLiveRecordPlan +// 编辑直播录制计划 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" @@ -7885,40 +13135,90 @@ func (c *Client) GetVideoListByCon(request *GetVideoListByConRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" // INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" +// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" // UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" // UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) GetVideoListByConWithContext(ctx context.Context, request *GetVideoListByConRequest) (response *GetVideoListByConResponse, err error) { +func (c *Client) ModifyLiveRecordPlanWithContext(ctx context.Context, request *ModifyLiveRecordPlanRequest) (response *ModifyLiveRecordPlanResponse, err error) { if request == nil { - request = NewGetVideoListByConRequest() + request = NewModifyLiveRecordPlanRequest() } request.SetContext(ctx) - response = NewGetVideoListByConResponse() + response = NewModifyLiveRecordPlanResponse() err = c.Send(request, response) return } -func NewModifyBindPlanLiveChannelRequest() (request *ModifyBindPlanLiveChannelRequest) { - request = &ModifyBindPlanLiveChannelRequest{ +func NewModifyLiveVideoRequest() (request *ModifyLiveVideoRequest) { + request = &ModifyLiveVideoRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyBindPlanLiveChannel") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyLiveVideo") return } -func NewModifyBindPlanLiveChannelResponse() (response *ModifyBindPlanLiveChannelResponse) { - response = &ModifyBindPlanLiveChannelResponse{ +func NewModifyLiveVideoResponse() (response *ModifyLiveVideoResponse) { + response = &ModifyLiveVideoResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyBindPlanLiveChannel -// 直播录制计划绑定解绑直播频道 +// ModifyLiveVideo +// 直播录像编辑 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -7979,24 +13279,23 @@ func NewModifyBindPlanLiveChannelResponse() (response *ModifyBindPlanLiveChannel // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyBindPlanLiveChannel(request *ModifyBindPlanLiveChannelRequest) (response *ModifyBindPlanLiveChannelResponse, err error) { +func (c *Client) ModifyLiveVideo(request *ModifyLiveVideoRequest) (response *ModifyLiveVideoResponse, err error) { if request == nil { - request = NewModifyBindPlanLiveChannelRequest() + request = NewModifyLiveVideoRequest() } - response = NewModifyBindPlanLiveChannelResponse() + response = NewModifyLiveVideoResponse() err = c.Send(request, response) return } -// ModifyBindPlanLiveChannel -// 直播录制计划绑定解绑直播频道 +// ModifyLiveVideo +// 直播录像编辑 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8057,42 +13356,41 @@ func (c *Client) ModifyBindPlanLiveChannel(request *ModifyBindPlanLiveChannelReq // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" // UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyBindPlanLiveChannelWithContext(ctx context.Context, request *ModifyBindPlanLiveChannelRequest) (response *ModifyBindPlanLiveChannelResponse, err error) { +func (c *Client) ModifyLiveVideoWithContext(ctx context.Context, request *ModifyLiveVideoRequest) (response *ModifyLiveVideoResponse, err error) { if request == nil { - request = NewModifyBindPlanLiveChannelRequest() + request = NewModifyLiveVideoRequest() } request.SetContext(ctx) - response = NewModifyBindPlanLiveChannelResponse() + response = NewModifyLiveVideoResponse() err = c.Send(request, response) return } -func NewModifyDeviceDataRequest() (request *ModifyDeviceDataRequest) { - request = &ModifyDeviceDataRequest{ +func NewModifyMessageForwardRequest() (request *ModifyMessageForwardRequest) { + request = &ModifyMessageForwardRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyDeviceData") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyMessageForward") return } -func NewModifyDeviceDataResponse() (response *ModifyDeviceDataResponse) { - response = &ModifyDeviceDataResponse{ +func NewModifyMessageForwardResponse() (response *ModifyMessageForwardResponse) { + response = &ModifyMessageForwardResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyDeviceData -// 本接口(ModifyDeviceData)用于编辑设备信息。 +// ModifyMessageForward +// 修改消息转发配置 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8104,9 +13402,22 @@ func NewModifyDeviceDataResponse() (response *ModifyDeviceDataResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -8115,9 +13426,11 @@ func NewModifyDeviceDataResponse() (response *ModifyDeviceDataResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -8127,28 +13440,34 @@ func NewModifyDeviceDataResponse() (response *ModifyDeviceDataResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *ModifyDeviceDataResponse, err error) { +func (c *Client) ModifyMessageForward(request *ModifyMessageForwardRequest) (response *ModifyMessageForwardResponse, err error) { if request == nil { - request = NewModifyDeviceDataRequest() + request = NewModifyMessageForwardRequest() } - response = NewModifyDeviceDataResponse() + response = NewModifyMessageForwardResponse() err = c.Send(request, response) return } -// ModifyDeviceData -// 本接口(ModifyDeviceData)用于编辑设备信息。 +// ModifyMessageForward +// 修改消息转发配置 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8160,9 +13479,22 @@ func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *M // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -8171,9 +13503,11 @@ func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *M // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -8183,46 +13517,52 @@ func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *M // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyDeviceDataWithContext(ctx context.Context, request *ModifyDeviceDataRequest) (response *ModifyDeviceDataResponse, err error) { +func (c *Client) ModifyMessageForwardWithContext(ctx context.Context, request *ModifyMessageForwardRequest) (response *ModifyMessageForwardResponse, err error) { if request == nil { - request = NewModifyDeviceDataRequest() + request = NewModifyMessageForwardRequest() } request.SetContext(ctx) - response = NewModifyDeviceDataResponse() + response = NewModifyMessageForwardResponse() err = c.Send(request, response) return } -func NewModifyLiveChannelRequest() (request *ModifyLiveChannelRequest) { - request = &ModifyLiveChannelRequest{ +func NewModifyPresetRequest() (request *ModifyPresetRequest) { + request = &ModifyPresetRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyLiveChannel") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyPreset") return } -func NewModifyLiveChannelResponse() (response *ModifyLiveChannelResponse) { - response = &ModifyLiveChannelResponse{ +func NewModifyPresetResponse() (response *ModifyPresetResponse) { + response = &ModifyPresetResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyLiveChannel -// 编辑直播接口 +// ModifyPreset +// 编辑预置位信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8288,18 +13628,18 @@ func NewModifyLiveChannelResponse() (response *ModifyLiveChannelResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyLiveChannel(request *ModifyLiveChannelRequest) (response *ModifyLiveChannelResponse, err error) { +func (c *Client) ModifyPreset(request *ModifyPresetRequest) (response *ModifyPresetResponse, err error) { if request == nil { - request = NewModifyLiveChannelRequest() + request = NewModifyPresetRequest() } - response = NewModifyLiveChannelResponse() + response = NewModifyPresetResponse() err = c.Send(request, response) return } -// ModifyLiveChannel -// 编辑直播接口 +// ModifyPreset +// 编辑预置位信息 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8365,36 +13705,36 @@ func (c *Client) ModifyLiveChannel(request *ModifyLiveChannelRequest) (response // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyLiveChannelWithContext(ctx context.Context, request *ModifyLiveChannelRequest) (response *ModifyLiveChannelResponse, err error) { +func (c *Client) ModifyPresetWithContext(ctx context.Context, request *ModifyPresetRequest) (response *ModifyPresetResponse, err error) { if request == nil { - request = NewModifyLiveChannelRequest() + request = NewModifyPresetRequest() } request.SetContext(ctx) - response = NewModifyLiveChannelResponse() + response = NewModifyPresetResponse() err = c.Send(request, response) return } -func NewModifyLiveRecordPlanRequest() (request *ModifyLiveRecordPlanRequest) { - request = &ModifyLiveRecordPlanRequest{ +func NewModifyRecordingPlanRequest() (request *ModifyRecordingPlanRequest) { + request = &ModifyRecordingPlanRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyLiveRecordPlan") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyRecordingPlan") return } -func NewModifyLiveRecordPlanResponse() (response *ModifyLiveRecordPlanResponse) { - response = &ModifyLiveRecordPlanResponse{ +func NewModifyRecordingPlanResponse() (response *ModifyRecordingPlanResponse) { + response = &ModifyRecordingPlanResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyLiveRecordPlan -// 编辑直播录制计划 +// ModifyRecordingPlan +// 本接口(ModifyRecordingPlan)用于更新录制计划。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8460,18 +13800,18 @@ func NewModifyLiveRecordPlanResponse() (response *ModifyLiveRecordPlanResponse) // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyLiveRecordPlan(request *ModifyLiveRecordPlanRequest) (response *ModifyLiveRecordPlanResponse, err error) { +func (c *Client) ModifyRecordingPlan(request *ModifyRecordingPlanRequest) (response *ModifyRecordingPlanResponse, err error) { if request == nil { - request = NewModifyLiveRecordPlanRequest() + request = NewModifyRecordingPlanRequest() } - response = NewModifyLiveRecordPlanResponse() + response = NewModifyRecordingPlanResponse() err = c.Send(request, response) return } -// ModifyLiveRecordPlan -// 编辑直播录制计划 +// ModifyRecordingPlan +// 本接口(ModifyRecordingPlan)用于更新录制计划。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8537,36 +13877,36 @@ func (c *Client) ModifyLiveRecordPlan(request *ModifyLiveRecordPlanRequest) (res // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyLiveRecordPlanWithContext(ctx context.Context, request *ModifyLiveRecordPlanRequest) (response *ModifyLiveRecordPlanResponse, err error) { +func (c *Client) ModifyRecordingPlanWithContext(ctx context.Context, request *ModifyRecordingPlanRequest) (response *ModifyRecordingPlanResponse, err error) { if request == nil { - request = NewModifyLiveRecordPlanRequest() + request = NewModifyRecordingPlanRequest() } request.SetContext(ctx) - response = NewModifyLiveRecordPlanResponse() + response = NewModifyRecordingPlanResponse() err = c.Send(request, response) return } -func NewModifyLiveVideoRequest() (request *ModifyLiveVideoRequest) { - request = &ModifyLiveVideoRequest{ +func NewModifySceneRequest() (request *ModifySceneRequest) { + request = &ModifySceneRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyLiveVideo") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyScene") return } -func NewModifyLiveVideoResponse() (response *ModifyLiveVideoResponse) { - response = &ModifyLiveVideoResponse{ +func NewModifySceneResponse() (response *ModifySceneResponse) { + response = &ModifySceneResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyLiveVideo -// 直播录像编辑 +// ModifyScene +// 修改场景 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8632,18 +13972,18 @@ func NewModifyLiveVideoResponse() (response *ModifyLiveVideoResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyLiveVideo(request *ModifyLiveVideoRequest) (response *ModifyLiveVideoResponse, err error) { +func (c *Client) ModifyScene(request *ModifySceneRequest) (response *ModifySceneResponse, err error) { if request == nil { - request = NewModifyLiveVideoRequest() + request = NewModifySceneRequest() } - response = NewModifyLiveVideoResponse() + response = NewModifySceneResponse() err = c.Send(request, response) return } -// ModifyLiveVideo -// 直播录像编辑 +// ModifyScene +// 修改场景 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8709,36 +14049,36 @@ func (c *Client) ModifyLiveVideo(request *ModifyLiveVideoRequest) (response *Mod // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyLiveVideoWithContext(ctx context.Context, request *ModifyLiveVideoRequest) (response *ModifyLiveVideoResponse, err error) { +func (c *Client) ModifySceneWithContext(ctx context.Context, request *ModifySceneRequest) (response *ModifySceneResponse, err error) { if request == nil { - request = NewModifyLiveVideoRequest() + request = NewModifySceneRequest() } request.SetContext(ctx) - response = NewModifyLiveVideoResponse() + response = NewModifySceneResponse() err = c.Send(request, response) return } -func NewModifyMessageForwardRequest() (request *ModifyMessageForwardRequest) { - request = &ModifyMessageForwardRequest{ +func NewModifySubscriptionStatusRequest() (request *ModifySubscriptionStatusRequest) { + request = &ModifySubscriptionStatusRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyMessageForward") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifySubscriptionStatus") return } -func NewModifyMessageForwardResponse() (response *ModifyMessageForwardResponse) { - response = &ModifyMessageForwardResponse{ +func NewModifySubscriptionStatusResponse() (response *ModifySubscriptionStatusResponse) { + response = &ModifySubscriptionStatusResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyMessageForward -// 修改消息转发配置 +// ModifySubscriptionStatus +// 编辑设备订阅状态 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8804,18 +14144,18 @@ func NewModifyMessageForwardResponse() (response *ModifyMessageForwardResponse) // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyMessageForward(request *ModifyMessageForwardRequest) (response *ModifyMessageForwardResponse, err error) { +func (c *Client) ModifySubscriptionStatus(request *ModifySubscriptionStatusRequest) (response *ModifySubscriptionStatusResponse, err error) { if request == nil { - request = NewModifyMessageForwardRequest() + request = NewModifySubscriptionStatusRequest() } - response = NewModifyMessageForwardResponse() + response = NewModifySubscriptionStatusResponse() err = c.Send(request, response) return } -// ModifyMessageForward -// 修改消息转发配置 +// ModifySubscriptionStatus +// 编辑设备订阅状态 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8881,36 +14221,36 @@ func (c *Client) ModifyMessageForward(request *ModifyMessageForwardRequest) (res // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyMessageForwardWithContext(ctx context.Context, request *ModifyMessageForwardRequest) (response *ModifyMessageForwardResponse, err error) { +func (c *Client) ModifySubscriptionStatusWithContext(ctx context.Context, request *ModifySubscriptionStatusRequest) (response *ModifySubscriptionStatusResponse, err error) { if request == nil { - request = NewModifyMessageForwardRequest() + request = NewModifySubscriptionStatusRequest() } request.SetContext(ctx) - response = NewModifyMessageForwardResponse() + response = NewModifySubscriptionStatusResponse() err = c.Send(request, response) return } -func NewModifySubscriptionStatusRequest() (request *ModifySubscriptionStatusRequest) { - request = &ModifySubscriptionStatusRequest{ +func NewModifyVideoInfoRequest() (request *ModifyVideoInfoRequest) { + request = &ModifyVideoInfoRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifySubscriptionStatus") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyVideoInfo") return } -func NewModifySubscriptionStatusResponse() (response *ModifySubscriptionStatusResponse) { - response = &ModifySubscriptionStatusResponse{ +func NewModifyVideoInfoResponse() (response *ModifyVideoInfoResponse) { + response = &ModifyVideoInfoResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifySubscriptionStatus -// 编辑设备订阅状态 +// ModifyVideoInfo +// 修改录像存储列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -8976,18 +14316,18 @@ func NewModifySubscriptionStatusResponse() (response *ModifySubscriptionStatusRe // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifySubscriptionStatus(request *ModifySubscriptionStatusRequest) (response *ModifySubscriptionStatusResponse, err error) { +func (c *Client) ModifyVideoInfo(request *ModifyVideoInfoRequest) (response *ModifyVideoInfoResponse, err error) { if request == nil { - request = NewModifySubscriptionStatusRequest() + request = NewModifyVideoInfoRequest() } - response = NewModifySubscriptionStatusResponse() + response = NewModifyVideoInfoResponse() err = c.Send(request, response) return } -// ModifySubscriptionStatus -// 编辑设备订阅状态 +// ModifyVideoInfo +// 修改录像存储列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -9053,36 +14393,36 @@ func (c *Client) ModifySubscriptionStatus(request *ModifySubscriptionStatusReque // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifySubscriptionStatusWithContext(ctx context.Context, request *ModifySubscriptionStatusRequest) (response *ModifySubscriptionStatusResponse, err error) { +func (c *Client) ModifyVideoInfoWithContext(ctx context.Context, request *ModifyVideoInfoRequest) (response *ModifyVideoInfoResponse, err error) { if request == nil { - request = NewModifySubscriptionStatusRequest() + request = NewModifyVideoInfoRequest() } request.SetContext(ctx) - response = NewModifySubscriptionStatusResponse() + response = NewModifyVideoInfoResponse() err = c.Send(request, response) return } -func NewModifyVideoInfoRequest() (request *ModifyVideoInfoRequest) { - request = &ModifyVideoInfoRequest{ +func NewResetWarningRequest() (request *ResetWarningRequest) { + request = &ResetWarningRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ModifyVideoInfo") + request.Init().WithApiInfo("iotvideoindustry", APIVersion, "ResetWarning") return } -func NewModifyVideoInfoResponse() (response *ModifyVideoInfoResponse) { - response = &ModifyVideoInfoResponse{ +func NewResetWarningResponse() (response *ResetWarningResponse) { + response = &ResetWarningResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// ModifyVideoInfo -// 修改录像存储列表 +// ResetWarning +// 重置设备告警 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -9148,18 +14488,18 @@ func NewModifyVideoInfoResponse() (response *ModifyVideoInfoResponse) { // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyVideoInfo(request *ModifyVideoInfoRequest) (response *ModifyVideoInfoResponse, err error) { +func (c *Client) ResetWarning(request *ResetWarningRequest) (response *ResetWarningResponse, err error) { if request == nil { - request = NewModifyVideoInfoRequest() + request = NewResetWarningRequest() } - response = NewModifyVideoInfoResponse() + response = NewResetWarningResponse() err = c.Send(request, response) return } -// ModifyVideoInfo -// 修改录像存储列表 +// ResetWarning +// 重置设备告警 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -9225,13 +14565,13 @@ func (c *Client) ModifyVideoInfo(request *ModifyVideoInfoRequest) (response *Mod // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" -func (c *Client) ModifyVideoInfoWithContext(ctx context.Context, request *ModifyVideoInfoRequest) (response *ModifyVideoInfoResponse, err error) { +func (c *Client) ResetWarningWithContext(ctx context.Context, request *ResetWarningRequest) (response *ResetWarningResponse, err error) { if request == nil { - request = NewModifyVideoInfoRequest() + request = NewResetWarningRequest() } request.SetContext(ctx) - response = NewModifyVideoInfoResponse() + response = NewResetWarningResponse() err = c.Send(request, response) return } @@ -9266,10 +14606,21 @@ func NewUpdateDeviceGroupResponse() (response *UpdateDeviceGroupResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -9279,6 +14630,7 @@ func NewUpdateDeviceGroupResponse() (response *UpdateDeviceGroupResponse) { // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -9292,13 +14644,18 @@ func NewUpdateDeviceGroupResponse() (response *UpdateDeviceGroupResponse) { // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" @@ -9326,10 +14683,21 @@ func (c *Client) UpdateDeviceGroup(request *UpdateDeviceGroupRequest) (response // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" // INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" // INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" @@ -9339,6 +14707,7 @@ func (c *Client) UpdateDeviceGroup(request *UpdateDeviceGroupRequest) (response // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" @@ -9352,13 +14721,18 @@ func (c *Client) UpdateDeviceGroup(request *UpdateDeviceGroupRequest) (response // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" // UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" @@ -9404,9 +14778,22 @@ func NewUpdateDevicePassWordResponse() (response *UpdateDevicePassWordResponse) // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -9415,9 +14802,11 @@ func NewUpdateDevicePassWordResponse() (response *UpdateDevicePassWordResponse) // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -9427,12 +14816,18 @@ func NewUpdateDevicePassWordResponse() (response *UpdateDevicePassWordResponse) // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" @@ -9460,9 +14855,22 @@ func (c *Client) UpdateDevicePassWord(request *UpdateDevicePassWordRequest) (res // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" // INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" // INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" // INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" @@ -9471,9 +14879,11 @@ func (c *Client) UpdateDevicePassWord(request *UpdateDevicePassWordRequest) (res // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" // RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" // RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" @@ -9483,12 +14893,18 @@ func (c *Client) UpdateDevicePassWord(request *UpdateDevicePassWordRequest) (res // UNSUPPORTEDOPERATION = "UnsupportedOperation" // UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" // UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" // UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" // UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" // UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" @@ -9524,6 +14940,8 @@ func NewUpdateRecordPlanResponse() (response *UpdateRecordPlanResponse) { // UpdateRecordPlan // 本接口(UpdateRecordPlan)用于更新录制计划。 // +// 请使用 ModifyRecordingPlan接口和ModifyBindRecordingPlan接口 +// // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" @@ -9534,16 +14952,59 @@ func NewUpdateRecordPlanResponse() (response *UpdateRecordPlanResponse) { // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" func (c *Client) UpdateRecordPlan(request *UpdateRecordPlanRequest) (response *UpdateRecordPlanResponse, err error) { if request == nil { @@ -9558,6 +15019,8 @@ func (c *Client) UpdateRecordPlan(request *UpdateRecordPlanRequest) (response *U // UpdateRecordPlan // 本接口(UpdateRecordPlan)用于更新录制计划。 // +// 请使用 ModifyRecordingPlan接口和ModifyBindRecordingPlan接口 +// // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" // DRYRUNOPERATION = "DryRunOperation" @@ -9568,16 +15031,59 @@ func (c *Client) UpdateRecordPlan(request *UpdateRecordPlanRequest) (response *U // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" // UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" // UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" +// UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" +// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" // UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" func (c *Client) UpdateRecordPlanWithContext(ctx context.Context, request *UpdateRecordPlanRequest) (response *UpdateRecordPlanResponse, err error) { if request == nil { @@ -9615,20 +15121,65 @@ func NewUpdateTimeTemplateResponse() (response *UpdateTimeTemplateResponse) { // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" func (c *Client) UpdateTimeTemplate(request *UpdateTimeTemplateRequest) (response *UpdateTimeTemplateResponse, err error) { if request == nil { request = NewUpdateTimeTemplateRequest() @@ -9647,20 +15198,65 @@ func (c *Client) UpdateTimeTemplate(request *UpdateTimeTemplateRequest) (respons // DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException" // INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" +// INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" +// INVALIDPARAMETERVALUE_DEVICEINFONOTEXIST = "InvalidParameterValue.DeviceInfoNotExist" +// INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" +// INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" +// INVALIDPARAMETERVALUE_DOMAINID = "InvalidParameterValue.DomainId" +// INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDEXTRAINFORMATION = "InvalidParameterValue.GroupDomainidExtraInformation" +// INVALIDPARAMETERVALUE_GROUPDOMAINIDNOTUPDATE = "InvalidParameterValue.GroupDomainidNotUpdate" +// INVALIDPARAMETERVALUE_GROUPPARMSERROR = "InvalidParameterValue.GroupParmsError" +// INVALIDPARAMETERVALUE_RECORDNOTEXIST = "InvalidParameterValue.RecordNotExist" +// INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" +// INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" +// INVALIDPARAMETERVALUE_STREAMINFONOTEXIST = "InvalidParameterValue.StreamInfoNotExist" +// INVALIDPARAMETERVALUE_TEMPLATEBEYONDLIMIT = "InvalidParameterValue.TemplateBeyondLimit" +// INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" +// RESOURCENOTFOUND_DEVICESIPPTZERROR = "ResourceNotFound.DeviceSipPTZError" +// RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" +// RESOURCENOTFOUND_PLANNOTEXIST = "ResourceNotFound.PlanNotExist" +// RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" +// RESOURCENOTFOUND_STATDATANOTEXIST = "ResourceNotFound.StatDataNotExist" // RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_GROUPEXIST = "UnauthorizedOperation.GroupExist" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BINDEXIST = "UnsupportedOperation.BindExist" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" +// UNSUPPORTEDOPERATION_DEVICECANNOTDO = "UnsupportedOperation.DeviceCanNotDo" +// UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist" +// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" +// UNSUPPORTEDOPERATION_DEVICENOTFOUND = "UnsupportedOperation.DeviceNotFound" +// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DOMAINGROUP = "UnsupportedOperation.DomainGroup" +// UNSUPPORTEDOPERATION_GROUPEXIST = "UnsupportedOperation.GroupExist" +// UNSUPPORTEDOPERATION_GROUPLAYERISMAX = "UnsupportedOperation.GroupLayerIsMax" +// UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" // UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" +// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" +// UNSUPPORTEDOPERATION_SUBGROUPISMAX = "UnsupportedOperation.SubGroupIsMax" +// UNSUPPORTEDOPERATION_SUBGRPEXIST = "UnsupportedOperation.SubgrpExist" // UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" // UNSUPPORTEDOPERATION_TEMPLATEPRESET = "UnsupportedOperation.TemplatePreset" +// UNSUPPORTEDOPERATION_USERISISOLATE = "UnsupportedOperation.UserIsIsolate" func (c *Client) UpdateTimeTemplateWithContext(ctx context.Context, request *UpdateTimeTemplateRequest) (response *UpdateTimeTemplateResponse, err error) { if request == nil { request = NewUpdateTimeTemplateRequest() diff --git a/tencentcloud/iotvideoindustry/v20201201/errors.go b/tencentcloud/iotvideoindustry/v20201201/errors.go index f7f171203b..881cc4407d 100644 --- a/tencentcloud/iotvideoindustry/v20201201/errors.go +++ b/tencentcloud/iotvideoindustry/v20201201/errors.go @@ -50,6 +50,9 @@ const ( // 账户余额不足,请检查。 INVALIDPARAMETERVALUE_BALANCENOTENOUGH = "InvalidParameterValue.BalanceNotEnough" + // 无法通过该设备ID查找设备。 + INVALIDPARAMETERVALUE_DEVICEDATAMAPERROR = "InvalidParameterValue.DeviceDataMapError" + // 设备Id不合法。 INVALIDPARAMETERVALUE_DEVICEID = "InvalidParameterValue.DeviceId" @@ -59,6 +62,9 @@ const ( // 设备离线或未注册。 INVALIDPARAMETERVALUE_DEVICEOFFLINE = "InvalidParameterValue.DeviceOffline" + // 设备或通道处于在线状态。 + INVALIDPARAMETERVALUE_DEVICEONLINE = "InvalidParameterValue.DeviceOnline" + // 设备类型不支持。 INVALIDPARAMETERVALUE_DEVICETYPENOTSUPPORT = "InvalidParameterValue.DeviceTypeNotSupport" @@ -83,6 +89,12 @@ const ( // 最多创建100个录制计划。 INVALIDPARAMETERVALUE_RECORDPLANBEYONDLIMIT = "InvalidParameterValue.RecordPlanBeyondLimit" + // 超过创建条目限制。 + INVALIDPARAMETERVALUE_RULELIMIT = "InvalidParameterValue.RuleLimit" + + // 规则不存在。 + INVALIDPARAMETERVALUE_RULENOTEXIST = "InvalidParameterValue.RuleNotExist" + // 流Id不合法。 INVALIDPARAMETERVALUE_STREAMID = "InvalidParameterValue.StreamId" @@ -95,6 +107,12 @@ const ( // 模板时间片段为空。 INVALIDPARAMETERVALUE_TEMPLATESPECEMPTY = "InvalidParameterValue.TemplateSpecEmpty" + // 请求时间粒度不支持。 + INVALIDPARAMETERVALUE_TIMESPECNOTSUPPORT = "InvalidParameterValue.TimeSpecNotSupport" + + // 请求类型不支持。 + INVALIDPARAMETERVALUE_TYPENOTSUPPORT = "InvalidParameterValue.TypeNotSupport" + // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" @@ -188,12 +206,21 @@ const ( // 父分组不存在。 UNSUPPORTEDOPERATION_GROUPPARENTIDNOTEXIST = "UnsupportedOperation.GroupParentidNotExist" + // 存在直播频道与当前直播录制计划绑定。 + UNSUPPORTEDOPERATION_LIVECHANNELBINDEXIST = "UnsupportedOperation.LiveChannelBindExist" + + // 没有该设备的权限。 + UNSUPPORTEDOPERATION_NOPERMISSION = "UnsupportedOperation.NoPermission" + // 时间模板下存在未删除的录制计划时不允许删除或修改。 UNSUPPORTEDOPERATION_PLANEXISTUNDERTEMPLATE = "UnsupportedOperation.PlanExistUnderTemplate" // 该名字录制计划已创建,请修改其他计划名字。 UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" + // 存在重复规则。 + UNSUPPORTEDOPERATION_RULEDUPKEYEXIST = "UnsupportedOperation.RuleDupKeyExist" + // 已存在同名场景。 UNSUPPORTEDOPERATION_SCENEEXIST = "UnsupportedOperation.SceneExist" diff --git a/tencentcloud/iotvideoindustry/v20201201/models.go b/tencentcloud/iotvideoindustry/v20201201/models.go index 6b4513c666..3184364819 100644 --- a/tencentcloud/iotvideoindustry/v20201201/models.go +++ b/tencentcloud/iotvideoindustry/v20201201/models.go @@ -20,6 +20,28 @@ import ( tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" ) +type AbnormalEvents struct { + + // 对应查询日期 + // 注意:此字段可能返回 null,表示取不到有效值。 + Date *string `json:"Date,omitempty" name:"Date"` + + // 列表信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Info []*AbnormalEventsInfo `json:"Info,omitempty" name:"Info"` +} + +type AbnormalEventsInfo struct { + + // 类型值 + // 注意:此字段可能返回 null,表示取不到有效值。 + Key *int64 `json:"Key,omitempty" name:"Key"` + + // 类型总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Count *int64 `json:"Count,omitempty" name:"Count"` +} + type AllDeviceInfo struct { // 设备唯一标识 @@ -125,6 +147,186 @@ func (r *BindGroupDevicesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ChannelDetail struct { + + // 通道名称 + ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 通道类型 0:未知;1:视频通道;2:音频通道;3:告警通道 + // 注意:此字段可能返回 null,表示取不到有效值。 + ChannelType *int64 `json:"ChannelType,omitempty" name:"ChannelType"` + + // 20位国标通道编码 + // 注意:此字段可能返回 null,表示取不到有效值。 + ChannelCode *string `json:"ChannelCode,omitempty" name:"ChannelCode"` + + // 通道扩展信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` + + // 通道在线状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *int64 `json:"Status,omitempty" name:"Status"` + + // 通道是否存在录像标识 0:无录像;1:有录像 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsRecord *int64 `json:"IsRecord,omitempty" name:"IsRecord"` + + // 通道所属设备唯一标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道所属虚拟组织的ID + // 注意:此字段可能返回 null,表示取不到有效值。 + BusinessGroupId *string `json:"BusinessGroupId,omitempty" name:"BusinessGroupId"` +} + +type ChannelItem struct { + + // 设备唯一标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` +} + +type ControlChannelLocalRecordRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 流Id,流的唯一标识 + StreamId *string `json:"StreamId,omitempty" name:"StreamId"` + + // 控制参数,转义的json字符串 + // + // 目前支持的command: + // "Command": "{"Action":"PAUSE"}" 暂停 + // "Command": "{"Action":"PLAY"}" 暂停恢复 + // "Command": "{"Action":"PLAY","Offset":"15"}" 基于文件起始时间点的位置偏移,单位秒 + Command *string `json:"Command,omitempty" name:"Command"` +} + +func (r *ControlChannelLocalRecordRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlChannelLocalRecordRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + delete(f, "ChannelId") + delete(f, "StreamId") + delete(f, "Command") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ControlChannelLocalRecordRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ControlChannelLocalRecordResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ControlChannelLocalRecordResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlChannelLocalRecordResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ControlChannelPTZRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // PTZ控制命令类型: + // stop - 停止当前PTZ信令 + // left - 向左移动 + // right - 向右移动 + // up - 向上移动 + // down - 向下移动 + // leftUp - 左上移动 + // leftDown - 左下移动 + // rightUp - 右上移动 + // rightDown - 右下移动 + // zoomOut - 镜头缩小 + // zoomIn - 镜头放大 + // irisIn - 光圈缩小 + // irisOut - 光圈放大 + // focusIn - 焦距变近 + // focusOut - 焦距变远 + Command *string `json:"Command,omitempty" name:"Command"` +} + +func (r *ControlChannelPTZRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlChannelPTZRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + delete(f, "ChannelId") + delete(f, "Command") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ControlChannelPTZRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ControlChannelPTZResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ControlChannelPTZResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlChannelPTZResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type ControlDevicePTZRequest struct { *tchttp.BaseRequest @@ -194,6 +396,129 @@ func (r *ControlDevicePTZResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ControlHomePositionRequest struct { + *tchttp.BaseRequest + + // 通道ID + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 看守位使能 0-停用看守位 1-启用看守位 + Enable *int64 `json:"Enable,omitempty" name:"Enable"` + + // 预置位编码 范围1-8,启用看守位时必填 + PresetId *int64 `json:"PresetId,omitempty" name:"PresetId"` + + // 看守位自动归位时间, 启用看守位时必填 + ResetTime *int64 `json:"ResetTime,omitempty" name:"ResetTime"` +} + +func (r *ControlHomePositionRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlHomePositionRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ChannelId") + delete(f, "DeviceId") + delete(f, "Enable") + delete(f, "PresetId") + delete(f, "ResetTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ControlHomePositionRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ControlHomePositionResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ControlHomePositionResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlHomePositionResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ControlPresetRequest struct { + *tchttp.BaseRequest + + // 通道ID + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 控制命令: + // Set-设置当前位置为预置位 + // Del-删除指定的预置位 + // Call-调用指定的预置位 + Command *string `json:"Command,omitempty" name:"Command"` + + // 预置位编码 范围1-8 + PresetId *int64 `json:"PresetId,omitempty" name:"PresetId"` + + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` +} + +func (r *ControlPresetRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlPresetRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ChannelId") + delete(f, "Command") + delete(f, "PresetId") + delete(f, "DeviceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ControlPresetRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ControlPresetResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ControlPresetResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ControlPresetResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type ControlRecordStreamRequest struct { *tchttp.BaseRequest @@ -328,7 +653,7 @@ type CreateDeviceRequest struct { // 设备密码 PassWord *string `json:"PassWord,omitempty" name:"PassWord"` - // 设备类型 2:国标IPC设备; 3:NVR设备 + // 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型) DeviceType *int64 `json:"DeviceType,omitempty" name:"DeviceType"` // 设备需要绑定的分组ID,参数为空则默认绑定到根分组 @@ -369,7 +694,7 @@ type CreateDeviceResponse struct { // 注意:此字段可能返回 null,表示取不到有效值。 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - // 设备虚拟组信息,仅在创建NVR/VMS时返回该值 + // 设备虚拟组信息,仅在创建NVR时返回该值 // 注意:此字段可能返回 null,表示取不到有效值。 VirtualGroupId *string `json:"VirtualGroupId,omitempty" name:"VirtualGroupId"` @@ -652,6 +977,67 @@ func (r *CreateRecordPlanResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type CreateRecordingPlanRequest struct { + *tchttp.BaseRequest + + // 计划名称 + Name *string `json:"Name,omitempty" name:"Name"` + + // 时间模板ID + TimeTemplateId *string `json:"TimeTemplateId,omitempty" name:"TimeTemplateId"` + + // 该录制计划绑定的通道列表 + Channels []*ChannelItem `json:"Channels,omitempty" name:"Channels"` + + // 存储周期(天);默认存储30天 + RecordStorageTime *int64 `json:"RecordStorageTime,omitempty" name:"RecordStorageTime"` +} + +func (r *CreateRecordingPlanRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateRecordingPlanRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Name") + delete(f, "TimeTemplateId") + delete(f, "Channels") + delete(f, "RecordStorageTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRecordingPlanRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateRecordingPlanResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateRecordingPlanResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateRecordingPlanResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type CreateSceneRequest struct { *tchttp.BaseRequest @@ -667,8 +1053,11 @@ type CreateSceneRequest struct { // 录像存储时长(天) StoreDuration *int64 `json:"StoreDuration,omitempty" name:"StoreDuration"` - // 设备列表 + // 设备列表(不推荐使用) Devices []*DeviceItem `json:"Devices,omitempty" name:"Devices"` + + // 通道列表 + Channels []*ChannelItem `json:"Channels,omitempty" name:"Channels"` } func (r *CreateSceneRequest) ToJsonString() string { @@ -688,6 +1077,7 @@ func (r *CreateSceneRequest) FromJsonString(s string) error { delete(f, "RecordDuration") delete(f, "StoreDuration") delete(f, "Devices") + delete(f, "Channels") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateSceneRequest has unknown keys!", "") } @@ -905,7 +1295,7 @@ type DeleteDeviceResponse struct { *tchttp.BaseResponse Response *struct { - // 操作结果 + // 操作结果 OK-成功; 其他-失败 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitempty" name:"Status"` @@ -1161,6 +1551,55 @@ func (r *DeleteRecordPlanResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DeleteRecordingPlanRequest struct { + *tchttp.BaseRequest + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` +} + +func (r *DeleteRecordingPlanRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteRecordingPlanRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "PlanId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteRecordingPlanRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteRecordingPlanResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 操作结果,OK:成功,其他:失败 + Status *string `json:"Status,omitempty" name:"Status"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteRecordingPlanResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteRecordingPlanResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DeleteSceneRequest struct { *tchttp.BaseRequest @@ -1303,6 +1742,110 @@ func (r *DeleteVideoListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DeleteWarningRequest struct { + *tchttp.BaseRequest + + // 告警ID + Id *int64 `json:"Id,omitempty" name:"Id"` + + // 告警索引 + Index *string `json:"Index,omitempty" name:"Index"` +} + +func (r *DeleteWarningRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWarningRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Id") + delete(f, "Index") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWarningRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWarningResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteWarningResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWarningResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeAbnormalEventsRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` +} + +func (r *DescribeAbnormalEventsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAbnormalEventsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "EndTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAbnormalEventsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeAbnormalEventsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 异动事件走势列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data []*AbnormalEvents `json:"Data,omitempty" name:"Data"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeAbnormalEventsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAbnormalEventsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeAllDeviceListRequest struct { *tchttp.BaseRequest @@ -1318,7 +1861,7 @@ type DescribeAllDeviceListRequest struct { // DeviceId列表,需要精确查找设备时为必填 DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds"` - // 设备类型过滤 + // 设备类型过滤,设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型) DeviceTypes []*int64 `json:"DeviceTypes,omitempty" name:"DeviceTypes"` } @@ -1373,41 +1916,41 @@ func (r *DescribeAllDeviceListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeBindSceneDevicesRequest struct { +type DescribeBindSceneChannelsRequest struct { *tchttp.BaseRequest + // 条数限制最大不能超过1000 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 场景ID SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` // 偏移值 Offset *int64 `json:"Offset,omitempty" name:"Offset"` - - // 条数限制最大不能超过1000 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` } -func (r *DescribeBindSceneDevicesRequest) ToJsonString() string { +func (r *DescribeBindSceneChannelsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeBindSceneDevicesRequest) FromJsonString(s string) error { +func (r *DescribeBindSceneChannelsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "Limit") delete(f, "SceneId") delete(f, "Offset") - delete(f, "Limit") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBindSceneDevicesRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBindSceneChannelsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeBindSceneDevicesResponse struct { +type DescribeBindSceneChannelsResponse struct { *tchttp.BaseResponse Response *struct { @@ -1415,2132 +1958,2064 @@ type DescribeBindSceneDevicesResponse struct { // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitempty" name:"Total"` - // 设备列表 + // 通道列表 // 注意:此字段可能返回 null,表示取不到有效值。 - List []*DeviceItem `json:"List,omitempty" name:"List"` + List []*ChannelItem `json:"List,omitempty" name:"List"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeBindSceneDevicesResponse) ToJsonString() string { +func (r *DescribeBindSceneChannelsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeBindSceneDevicesResponse) FromJsonString(s string) error { +func (r *DescribeBindSceneChannelsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeChannelsByLiveRecordPlanRequest struct { +type DescribeBindSceneDevicesRequest struct { *tchttp.BaseRequest - // 录制计划ID - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + // 场景ID + SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` - // 分页偏移量 + // 偏移值 Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 分页大小 + // 条数限制最大不能超过1000 Limit *int64 `json:"Limit,omitempty" name:"Limit"` } -func (r *DescribeChannelsByLiveRecordPlanRequest) ToJsonString() string { +func (r *DescribeBindSceneDevicesRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeChannelsByLiveRecordPlanRequest) FromJsonString(s string) error { +func (r *DescribeBindSceneDevicesRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "PlanId") + delete(f, "SceneId") delete(f, "Offset") delete(f, "Limit") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeChannelsByLiveRecordPlanRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBindSceneDevicesRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeChannelsByLiveRecordPlanResponse struct { +type DescribeBindSceneDevicesResponse struct { *tchttp.BaseResponse Response *struct { - // 总个数 + // 总数 // 注意:此字段可能返回 null,表示取不到有效值。 - TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + Total *int64 `json:"Total,omitempty" name:"Total"` - // 通道详情数组 + // 设备列表 // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannels []*LiveChannelItem `json:"LiveChannels,omitempty" name:"LiveChannels"` + List []*DeviceItem `json:"List,omitempty" name:"List"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeChannelsByLiveRecordPlanResponse) ToJsonString() string { +func (r *DescribeBindSceneDevicesResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeChannelsByLiveRecordPlanResponse) FromJsonString(s string) error { +func (r *DescribeBindSceneDevicesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDeviceGroupRequest struct { +type DescribeChannelLocalRecordURLRequest struct { *tchttp.BaseRequest - // 设备唯一标识列表 - DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds"` + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 录像文件Id,通过获取本地录像返回 + RecordId *string `json:"RecordId,omitempty" name:"RecordId"` + + // 录像文件推送的开始时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 录像文件推送的结束时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` } -func (r *DescribeDeviceGroupRequest) ToJsonString() string { +func (r *DescribeChannelLocalRecordURLRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDeviceGroupRequest) FromJsonString(s string) error { +func (r *DescribeChannelLocalRecordURLRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceIds") + delete(f, "DeviceId") + delete(f, "ChannelId") + delete(f, "RecordId") + delete(f, "StartTime") + delete(f, "EndTime") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceGroupRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeChannelLocalRecordURLRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDeviceGroupResponse struct { +type DescribeChannelLocalRecordURLResponse struct { *tchttp.BaseResponse Response *struct { - // 设备所在分组信息 - // 注意:此字段可能返回 null,表示取不到有效值。 - DevGroups []*DevGroupInfo `json:"DevGroups,omitempty" name:"DevGroups"` + // 结果 + Data *DescribeRecordStreamData `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeDeviceGroupResponse) ToJsonString() string { +func (r *DescribeChannelLocalRecordURLResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDeviceGroupResponse) FromJsonString(s string) error { +func (r *DescribeChannelLocalRecordURLResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDevicePassWordRequest struct { +type DescribeChannelStreamURLRequest struct { *tchttp.BaseRequest // 设备唯一标识 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识(接口升级字段为必填) + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` } -func (r *DescribeDevicePassWordRequest) ToJsonString() string { +func (r *DescribeChannelStreamURLRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDevicePassWordRequest) FromJsonString(s string) error { +func (r *DescribeChannelStreamURLRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "DeviceId") + delete(f, "ChannelId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDevicePassWordRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeChannelStreamURLRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDevicePassWordResponse struct { +type DescribeChannelStreamURLResponse struct { *tchttp.BaseResponse Response *struct { - // 设备密码 - PassWord *string `json:"PassWord,omitempty" name:"PassWord"` + // 设备实时流地址列表 + Data *DescribeDeviceStreamsData `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeDevicePassWordResponse) ToJsonString() string { +func (r *DescribeChannelStreamURLResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDevicePassWordResponse) FromJsonString(s string) error { +func (r *DescribeChannelStreamURLResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDeviceStreamsData struct { - - // rtsp地址 - RtspAddr *string `json:"RtspAddr,omitempty" name:"RtspAddr"` - - // rtmp地址 - RtmpAddr *string `json:"RtmpAddr,omitempty" name:"RtmpAddr"` - - // hls地址 - HlsAddr *string `json:"HlsAddr,omitempty" name:"HlsAddr"` - - // flv地址 - FlvAddr *string `json:"FlvAddr,omitempty" name:"FlvAddr"` -} - -type DescribeDeviceStreamsRequest struct { +type DescribeChannelsByLiveRecordPlanRequest struct { *tchttp.BaseRequest - // 设备唯一标识 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` - // 流地址失效时间 - ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"` + // 分页偏移量 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 通道唯一标识(接口升级字段为必填) - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + // 分页大小 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` } -func (r *DescribeDeviceStreamsRequest) ToJsonString() string { +func (r *DescribeChannelsByLiveRecordPlanRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDeviceStreamsRequest) FromJsonString(s string) error { +func (r *DescribeChannelsByLiveRecordPlanRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceId") - delete(f, "ExpireTime") - delete(f, "ChannelId") + delete(f, "PlanId") + delete(f, "Offset") + delete(f, "Limit") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceStreamsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeChannelsByLiveRecordPlanRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDeviceStreamsResponse struct { +type DescribeChannelsByLiveRecordPlanResponse struct { *tchttp.BaseResponse Response *struct { - // 设备实时流地址列表 - Data *DescribeDeviceStreamsData `json:"Data,omitempty" name:"Data"` + // 总个数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 通道详情数组 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannels []*LiveChannelItem `json:"LiveChannels,omitempty" name:"LiveChannels"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeDeviceStreamsResponse) ToJsonString() string { +func (r *DescribeChannelsByLiveRecordPlanResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDeviceStreamsResponse) FromJsonString(s string) error { +func (r *DescribeChannelsByLiveRecordPlanResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeGroupByIdRequest struct { +type DescribeChannelsRequest struct { *tchttp.BaseRequest - // 分组ID - GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 限制,默认0 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 偏移量,默认0 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道 + ChannelTypes []*uint64 `json:"ChannelTypes,omitempty" name:"ChannelTypes"` + + // 录制计划ID, 当为"null"值时未绑定录制计划 + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 告警联动场景ID, 当为 -1 值时未绑定场景 + SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` } -func (r *DescribeGroupByIdRequest) ToJsonString() string { +func (r *DescribeChannelsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupByIdRequest) FromJsonString(s string) error { +func (r *DescribeChannelsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "GroupId") + delete(f, "DeviceId") + delete(f, "Limit") + delete(f, "Offset") + delete(f, "ChannelTypes") + delete(f, "PlanId") + delete(f, "SceneId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupByIdRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeChannelsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeGroupByIdResponse struct { +type DescribeChannelsResponse struct { *tchttp.BaseResponse Response *struct { - // 分组信息详情 + // 通道总数 // 注意:此字段可能返回 null,表示取不到有效值。 - Group *GroupItem `json:"Group,omitempty" name:"Group"` + TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 通道详情列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Channels []*ChannelDetail `json:"Channels,omitempty" name:"Channels"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeGroupByIdResponse) ToJsonString() string { +func (r *DescribeChannelsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupByIdResponse) FromJsonString(s string) error { +func (r *DescribeChannelsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeGroupByPathRequest struct { +type DescribeCurrentDeviceDataRequest struct { *tchttp.BaseRequest - - // 分组路径,格式为/aaa(/bbb/ccc) - GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` } -func (r *DescribeGroupByPathRequest) ToJsonString() string { +func (r *DescribeCurrentDeviceDataRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupByPathRequest) FromJsonString(s string) error { +func (r *DescribeCurrentDeviceDataRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "GroupPath") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupByPathRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCurrentDeviceDataRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeGroupByPathResponse struct { +type DescribeCurrentDeviceDataResponse struct { *tchttp.BaseResponse Response *struct { - // 分组信息详情 - // 注意:此字段可能返回 null,表示取不到有效值。 - Group *GroupItem `json:"Group,omitempty" name:"Group"` + // 通道数 + Channels *int64 `json:"Channels,omitempty" name:"Channels"` + + // 设备数 + Devices *int64 `json:"Devices,omitempty" name:"Devices"` + + // 在线通道数 + OnlineChannels *int64 `json:"OnlineChannels,omitempty" name:"OnlineChannels"` + + // 在线设备数 + OnlineDevices *int64 `json:"OnlineDevices,omitempty" name:"OnlineDevices"` + + // 正在录制通道数 + RecordingChannels *int64 `json:"RecordingChannels,omitempty" name:"RecordingChannels"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeGroupByPathResponse) ToJsonString() string { +func (r *DescribeCurrentDeviceDataResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupByPathResponse) FromJsonString(s string) error { +func (r *DescribeCurrentDeviceDataResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeGroupDevicesRequest struct { +type DescribeDeviceEventRequest struct { *tchttp.BaseRequest - // 分组ID - GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + // 开始时间,秒级时间戳 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - // 偏移量,默认0 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + // 结束时间,秒级时间戳 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` - // 限制值,默认200 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - // 设备名称,根据设备名称模糊匹配时必填 - NickName *string `json:"NickName,omitempty" name:"NickName"` + // 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断 + EventTypes []*int64 `json:"EventTypes,omitempty" name:"EventTypes"` - // 过滤不可录制设备 - Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"` + // 偏移值 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 当Group是普通组的时候,支持根据deviceTypes筛选类型 - // 0: 普通摄像头1: 国标VMS设备 2: 国标IPC设备 3: 国标NVR设备 4: 国标NVR通道 5: 国标VMS通道 6: 国标IPC通道 9: 智能告警设备 10: 带有RTSP固定地址的设备 - DeviceTypes []*int64 `json:"DeviceTypes,omitempty" name:"DeviceTypes"` + // limit限制值 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` } -func (r *DescribeGroupDevicesRequest) ToJsonString() string { +func (r *DescribeDeviceEventRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupDevicesRequest) FromJsonString(s string) error { +func (r *DescribeDeviceEventRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "GroupId") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "DeviceId") + delete(f, "EventTypes") delete(f, "Offset") delete(f, "Limit") - delete(f, "NickName") - delete(f, "Recordable") - delete(f, "DeviceTypes") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupDevicesRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceEventRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeGroupDevicesResponse struct { +type DescribeDeviceEventResponse struct { *tchttp.BaseResponse Response *struct { - // 分组绑定的设备数 + // 总数 // 注意:此字段可能返回 null,表示取不到有效值。 - TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` - // 设备详情列表 + // 事件列表 // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceList []*GroupDeviceItem `json:"DeviceList,omitempty" name:"DeviceList"` + Events []*Events `json:"Events,omitempty" name:"Events"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeGroupDevicesResponse) ToJsonString() string { +func (r *DescribeDeviceEventResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupDevicesResponse) FromJsonString(s string) error { +func (r *DescribeDeviceEventResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeGroupsRequest struct { +type DescribeDeviceGroupRequest struct { *tchttp.BaseRequest - // 分组ID列表 - GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` + // 设备唯一标识列表 + DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds"` } -func (r *DescribeGroupsRequest) ToJsonString() string { +func (r *DescribeDeviceGroupRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupsRequest) FromJsonString(s string) error { +func (r *DescribeDeviceGroupRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "GroupIds") + delete(f, "DeviceIds") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceGroupRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeGroupsResponse struct { +type DescribeDeviceGroupResponse struct { *tchttp.BaseResponse Response *struct { - // 分组详细信息列表 + // 设备所在分组信息 // 注意:此字段可能返回 null,表示取不到有效值。 - Groups []*GroupInfo `json:"Groups,omitempty" name:"Groups"` + DevGroups []*DevGroupInfo `json:"DevGroups,omitempty" name:"DevGroups"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeGroupsResponse) ToJsonString() string { +func (r *DescribeDeviceGroupResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeGroupsResponse) FromJsonString(s string) error { +func (r *DescribeDeviceGroupResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeIPCChannelsRequest struct { +type DescribeDeviceListRequest struct { *tchttp.BaseRequest // 偏移量,默认0 - Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 限制,默认0 - Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + // 限制,默认200 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` - // 设备Id - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + // 设备名前缀 + NickName *string `json:"NickName,omitempty" name:"NickName"` - // 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道 - ChannelTypes []*uint64 `json:"ChannelTypes,omitempty" name:"ChannelTypes"` + // 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型) + DeviceTypes []*int64 `json:"DeviceTypes,omitempty" name:"DeviceTypes"` } -func (r *DescribeIPCChannelsRequest) ToJsonString() string { +func (r *DescribeDeviceListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeIPCChannelsRequest) FromJsonString(s string) error { +func (r *DescribeDeviceListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "Offset") delete(f, "Limit") - delete(f, "DeviceId") - delete(f, "ChannelTypes") + delete(f, "NickName") + delete(f, "DeviceTypes") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeIPCChannelsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeIPCChannelsResponse struct { +type DescribeDeviceListResponse struct { *tchttp.BaseResponse Response *struct { - // 通道总数 + // 设备总数 // 注意:此字段可能返回 null,表示取不到有效值。 - TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` - // 通道详情列表 + // 设备详细信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceList []*GroupDeviceItem `json:"DeviceList,omitempty" name:"DeviceList"` + Devices []*AllDeviceInfo `json:"Devices,omitempty" name:"Devices"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeIPCChannelsResponse) ToJsonString() string { +func (r *DescribeDeviceListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeIPCChannelsResponse) FromJsonString(s string) error { +func (r *DescribeDeviceListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLiveChannelListRequest struct { +type DescribeDeviceMonitorDataRequest struct { *tchttp.BaseRequest - // 偏移量 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` - - // 最大数 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 开始时间戳 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - // 直播频道类型,1:固定直播;2:移动直播 - LiveChannelType *int64 `json:"LiveChannelType,omitempty" name:"LiveChannelType"` + // 结束时间戳 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` - // 直播录制计划ID, null: 直播录制计划为空 - RecordPlanId *string `json:"RecordPlanId,omitempty" name:"RecordPlanId"` + // 类型 支持 OnlineChannels/OnlineDevices/RecordingChannels + Type *string `json:"Type,omitempty" name:"Type"` - // 频道名称 (支持模糊搜索) - LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` + // 时间粒度 目前只支持 1h + TimesSpec *string `json:"TimesSpec,omitempty" name:"TimesSpec"` } -func (r *DescribeLiveChannelListRequest) ToJsonString() string { +func (r *DescribeDeviceMonitorDataRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveChannelListRequest) FromJsonString(s string) error { +func (r *DescribeDeviceMonitorDataRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Offset") - delete(f, "Limit") - delete(f, "LiveChannelType") - delete(f, "RecordPlanId") - delete(f, "LiveChannelName") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "Type") + delete(f, "TimesSpec") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveChannelListRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceMonitorDataRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLiveChannelListResponse struct { +type DescribeDeviceMonitorDataResponse struct { *tchttp.BaseResponse Response *struct { - // 频道总数 - // 注意:此字段可能返回 null,表示取不到有效值。 - Total *int64 `json:"Total,omitempty" name:"Total"` - - // 频道信息数组 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannels []*LiveChannelInfo `json:"LiveChannels,omitempty" name:"LiveChannels"` + // 查询设备统计monitor信息列表 + Data []*DeviceMonitorValue `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLiveChannelListResponse) ToJsonString() string { +func (r *DescribeDeviceMonitorDataResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveChannelListResponse) FromJsonString(s string) error { +func (r *DescribeDeviceMonitorDataResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLiveChannelRequest struct { +type DescribeDevicePassWordRequest struct { *tchttp.BaseRequest - // 频道ID - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` } -func (r *DescribeLiveChannelRequest) ToJsonString() string { +func (r *DescribeDevicePassWordRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveChannelRequest) FromJsonString(s string) error { +func (r *DescribeDevicePassWordRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "LiveChannelId") + delete(f, "DeviceId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveChannelRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDevicePassWordRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLiveChannelResponse struct { +type DescribeDevicePassWordResponse struct { *tchttp.BaseResponse Response *struct { - // 频道ID - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` - - // 频道名称 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` - - // 直播频道类型 1:固定直播;2:移动直播 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannelType *int64 `json:"LiveChannelType,omitempty" name:"LiveChannelType"` - - // 通道直播状态:1: 未推流,2: 推流中 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveStatus *int64 `json:"LiveStatus,omitempty" name:"LiveStatus"` - - // 推流地址 - // 注意:此字段可能返回 null,表示取不到有效值。 - PushStreamAddress *string `json:"PushStreamAddress,omitempty" name:"PushStreamAddress"` - - // 创建时间 - // 注意:此字段可能返回 null,表示取不到有效值。 - CreateTime []*string `json:"CreateTime,omitempty" name:"CreateTime"` - - // 修改时间 - // 注意:此字段可能返回 null,表示取不到有效值。 - UpdateTime []*string `json:"UpdateTime,omitempty" name:"UpdateTime"` + // 设备密码 + PassWord *string `json:"PassWord,omitempty" name:"PassWord"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLiveChannelResponse) ToJsonString() string { +func (r *DescribeDevicePassWordResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveChannelResponse) FromJsonString(s string) error { +func (r *DescribeDevicePassWordResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLiveRecordPlanByIdRequest struct { +type DescribeDeviceRequest struct { *tchttp.BaseRequest - // 录制计划ID - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + // 设备ID + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` } -func (r *DescribeLiveRecordPlanByIdRequest) ToJsonString() string { +func (r *DescribeDeviceRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveRecordPlanByIdRequest) FromJsonString(s string) error { +func (r *DescribeDeviceRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "PlanId") + delete(f, "DeviceId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordPlanByIdRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLiveRecordPlanByIdResponse struct { +type DescribeDeviceResponse struct { *tchttp.BaseResponse Response *struct { - // 计划名称 - PlanName *string `json:"PlanName,omitempty" name:"PlanName"` - - // 模板ID - TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` - - // 模板名称 - TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` - - // 存储时间 - RecordStorageTime *int64 `json:"RecordStorageTime,omitempty" name:"RecordStorageTime"` - - // 计划类型 - PlanType *int64 `json:"PlanType,omitempty" name:"PlanType"` + // 设备详情信息 + Device *AllDeviceInfo `json:"Device,omitempty" name:"Device"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLiveRecordPlanByIdResponse) ToJsonString() string { +func (r *DescribeDeviceResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveRecordPlanByIdResponse) FromJsonString(s string) error { +func (r *DescribeDeviceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLiveRecordPlanIdsRequest struct { +type DescribeDeviceStreamsData struct { + + // rtsp地址 + RtspAddr *string `json:"RtspAddr,omitempty" name:"RtspAddr"` + + // rtmp地址 + RtmpAddr *string `json:"RtmpAddr,omitempty" name:"RtmpAddr"` + + // hls地址 + HlsAddr *string `json:"HlsAddr,omitempty" name:"HlsAddr"` + + // flv地址 + FlvAddr *string `json:"FlvAddr,omitempty" name:"FlvAddr"` +} + +type DescribeDeviceStreamsRequest struct { *tchttp.BaseRequest - // 时间模板ID - TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - // 分页偏移量 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + // 流地址失效时间 + ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"` - // 分页大小 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 通道唯一标识(接口升级字段为必填) + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` } -func (r *DescribeLiveRecordPlanIdsRequest) ToJsonString() string { +func (r *DescribeDeviceStreamsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveRecordPlanIdsRequest) FromJsonString(s string) error { +func (r *DescribeDeviceStreamsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "TemplateId") - delete(f, "Offset") - delete(f, "Limit") + delete(f, "DeviceId") + delete(f, "ExpireTime") + delete(f, "ChannelId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordPlanIdsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeviceStreamsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLiveRecordPlanIdsResponse struct { +type DescribeDeviceStreamsResponse struct { *tchttp.BaseResponse Response *struct { - // 总个数 - TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` - - // 计划数组 - Plans []*LiveRecordPlanItem `json:"Plans,omitempty" name:"Plans"` + // 设备实时流地址列表 + Data *DescribeDeviceStreamsData `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLiveRecordPlanIdsResponse) ToJsonString() string { +func (r *DescribeDeviceStreamsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveRecordPlanIdsResponse) FromJsonString(s string) error { +func (r *DescribeDeviceStreamsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLiveStreamRequest struct { +type DescribeGroupByIdRequest struct { *tchttp.BaseRequest - // 频道ID - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` - - // 过期时间 - ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"` + // 分组ID + GroupId *string `json:"GroupId,omitempty" name:"GroupId"` } -func (r *DescribeLiveStreamRequest) ToJsonString() string { +func (r *DescribeGroupByIdRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveStreamRequest) FromJsonString(s string) error { +func (r *DescribeGroupByIdRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "LiveChannelId") - delete(f, "ExpireTime") + delete(f, "GroupId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupByIdRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLiveStreamResponse struct { +type DescribeGroupByIdResponse struct { *tchttp.BaseResponse Response *struct { - // 拉流地址,只有在推流情况下才有 + // 分组信息详情 // 注意:此字段可能返回 null,表示取不到有效值。 - Data *StreamAddress `json:"Data,omitempty" name:"Data"` + Group *GroupItem `json:"Group,omitempty" name:"Group"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLiveStreamResponse) ToJsonString() string { +func (r *DescribeGroupByIdResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveStreamResponse) FromJsonString(s string) error { +func (r *DescribeGroupByIdResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLiveVideoListRequest struct { +type DescribeGroupByPathRequest struct { *tchttp.BaseRequest - // 偏移量 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` - - // 分页的每页数量 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` - - // 直播ID - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` - - // 开始录制开始时间 - StartRecordTime *int64 `json:"StartRecordTime,omitempty" name:"StartRecordTime"` - - // 开始录制结束时间 - EndRecordTime *int64 `json:"EndRecordTime,omitempty" name:"EndRecordTime"` - - // 过期开始时间 - StartExpireTime *int64 `json:"StartExpireTime,omitempty" name:"StartExpireTime"` - - // 过期结束时间 - EndExpireTime *int64 `json:"EndExpireTime,omitempty" name:"EndExpireTime"` - - // 文件大小范围 Byte - StartFileSize *int64 `json:"StartFileSize,omitempty" name:"StartFileSize"` - - // 文件大小范围 Byte - EndFileSize *int64 `json:"EndFileSize,omitempty" name:"EndFileSize"` - - // 录制状态,5: 录制回写完 - IsRecording *int64 `json:"IsRecording,omitempty" name:"IsRecording"` + // 分组路径,格式为/aaa(/bbb/ccc) + GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` } -func (r *DescribeLiveVideoListRequest) ToJsonString() string { +func (r *DescribeGroupByPathRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveVideoListRequest) FromJsonString(s string) error { +func (r *DescribeGroupByPathRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Offset") - delete(f, "Limit") - delete(f, "LiveChannelId") - delete(f, "StartRecordTime") - delete(f, "EndRecordTime") - delete(f, "StartExpireTime") - delete(f, "EndExpireTime") - delete(f, "StartFileSize") - delete(f, "EndFileSize") - delete(f, "IsRecording") + delete(f, "GroupPath") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveVideoListRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupByPathRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLiveVideoListResponse struct { +type DescribeGroupByPathResponse struct { *tchttp.BaseResponse Response *struct { - // 总的条数 - // 注意:此字段可能返回 null,表示取不到有效值。 - Total *int64 `json:"Total,omitempty" name:"Total"` - - // 录制任务详情数组 + // 分组信息详情 // 注意:此字段可能返回 null,表示取不到有效值。 - RecordList []*LiveRecordItem `json:"RecordList,omitempty" name:"RecordList"` + Group *GroupItem `json:"Group,omitempty" name:"Group"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLiveVideoListResponse) ToJsonString() string { +func (r *DescribeGroupByPathResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLiveVideoListResponse) FromJsonString(s string) error { +func (r *DescribeGroupByPathResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeMessageForwardRequest struct { +type DescribeGroupDevicesRequest struct { *tchttp.BaseRequest - // 配置ID - IntId *int64 `json:"IntId,omitempty" name:"IntId"` + // 分组ID + GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + + // 偏移量,默认0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 限制值,默认200 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 设备名称,根据设备名称模糊匹配时必填 + NickName *string `json:"NickName,omitempty" name:"NickName"` + + // 过滤不可录制设备 + Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"` + + // 当Group是普通组的时候,支持根据DeviceTypes筛选类型, + // 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型) + DeviceTypes []*int64 `json:"DeviceTypes,omitempty" name:"DeviceTypes"` } -func (r *DescribeMessageForwardRequest) ToJsonString() string { +func (r *DescribeGroupDevicesRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeMessageForwardRequest) FromJsonString(s string) error { +func (r *DescribeGroupDevicesRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "IntId") + delete(f, "GroupId") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "NickName") + delete(f, "Recordable") + delete(f, "DeviceTypes") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMessageForwardRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupDevicesRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeMessageForwardResponse struct { +type DescribeGroupDevicesResponse struct { *tchttp.BaseResponse Response *struct { - // 区域ID - // 注意:此字段可能返回 null,表示取不到有效值。 - RegionId *string `json:"RegionId,omitempty" name:"RegionId"` - - // 区域名称 - // 注意:此字段可能返回 null,表示取不到有效值。 - RegionName *string `json:"RegionName,omitempty" name:"RegionName"` - - // 实例ID - // 注意:此字段可能返回 null,表示取不到有效值。 - Instance *string `json:"Instance,omitempty" name:"Instance"` - - // 实例名称 - // 注意:此字段可能返回 null,表示取不到有效值。 - InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` - - // 配置ID - // 注意:此字段可能返回 null,表示取不到有效值。 - IntId *int64 `json:"IntId,omitempty" name:"IntId"` - - // json数组, 转发类型 1: 告警 2:GPS - // 注意:此字段可能返回 null,表示取不到有效值。 - MessageType *string `json:"MessageType,omitempty" name:"MessageType"` - - // kafka topic id - // 注意:此字段可能返回 null,表示取不到有效值。 - TopicId *string `json:"TopicId,omitempty" name:"TopicId"` - - // 配置创建时间 - // 注意:此字段可能返回 null,表示取不到有效值。 - CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` - - // 用户Uin信息 + // 分组绑定的设备数 // 注意:此字段可能返回 null,表示取不到有效值。 - Uin *string `json:"Uin,omitempty" name:"Uin"` + TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` - // kafka topic 名称 + // 设备详情列表 // 注意:此字段可能返回 null,表示取不到有效值。 - TopicName *string `json:"TopicName,omitempty" name:"TopicName"` + DeviceList []*GroupDeviceItem `json:"DeviceList,omitempty" name:"DeviceList"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeMessageForwardResponse) ToJsonString() string { +func (r *DescribeGroupDevicesResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeMessageForwardResponse) FromJsonString(s string) error { +func (r *DescribeGroupDevicesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeMessageForwardsRequest struct { +type DescribeGroupsRequest struct { *tchttp.BaseRequest - // 数量限制 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` - - // 偏移 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + // 分组ID列表 + GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` } -func (r *DescribeMessageForwardsRequest) ToJsonString() string { +func (r *DescribeGroupsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeMessageForwardsRequest) FromJsonString(s string) error { +func (r *DescribeGroupsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Limit") - delete(f, "Offset") + delete(f, "GroupIds") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMessageForwardsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGroupsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeMessageForwardsResponse struct { +type DescribeGroupsResponse struct { *tchttp.BaseResponse Response *struct { - // 配置总数 - // 注意:此字段可能返回 null,表示取不到有效值。 - Total *int64 `json:"Total,omitempty" name:"Total"` - - // 配置列表 + // 分组详细信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 - List []*MessageForward `json:"List,omitempty" name:"List"` + Groups []*GroupInfo `json:"Groups,omitempty" name:"Groups"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeMessageForwardsResponse) ToJsonString() string { +func (r *DescribeGroupsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeMessageForwardsResponse) FromJsonString(s string) error { +func (r *DescribeGroupsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeRecordDatesByLiveRequest struct { +type DescribeIPCChannelsRequest struct { *tchttp.BaseRequest - // 直播频道ID - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + // 偏移量,默认0 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` - // 分页值,本地录制时参数无效 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + // 限制,默认0 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` - // 限制值,本地录制时参数无效 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道 + ChannelTypes []*uint64 `json:"ChannelTypes,omitempty" name:"ChannelTypes"` } -func (r *DescribeRecordDatesByLiveRequest) ToJsonString() string { +func (r *DescribeIPCChannelsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeRecordDatesByLiveRequest) FromJsonString(s string) error { +func (r *DescribeIPCChannelsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "LiveChannelId") delete(f, "Offset") delete(f, "Limit") + delete(f, "DeviceId") + delete(f, "ChannelTypes") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordDatesByLiveRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeIPCChannelsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeRecordDatesByLiveResponse struct { +type DescribeIPCChannelsResponse struct { *tchttp.BaseResponse Response *struct { - // 录制日期数组 + // 通道总数 // 注意:此字段可能返回 null,表示取不到有效值。 - Dates []*string `json:"Dates,omitempty" name:"Dates"` + TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 通道详情列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceList []*GroupDeviceItem `json:"DeviceList,omitempty" name:"DeviceList"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeRecordDatesByLiveResponse) ToJsonString() string { +func (r *DescribeIPCChannelsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeRecordDatesByLiveResponse) FromJsonString(s string) error { +func (r *DescribeIPCChannelsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeRecordStreamData struct { - - // Rtsp地址 - RtspAddr *string `json:"RtspAddr,omitempty" name:"RtspAddr"` - - // Rtmp地址 - RtmpAddr *string `json:"RtmpAddr,omitempty" name:"RtmpAddr"` - - // Hls地址 - HlsAddr *string `json:"HlsAddr,omitempty" name:"HlsAddr"` - - // Flv地址 - FlvAddr *string `json:"FlvAddr,omitempty" name:"FlvAddr"` - - // 流Id - StreamId *string `json:"StreamId,omitempty" name:"StreamId"` -} - -type DescribeRecordStreamRequest struct { +type DescribeLiveChannelListRequest struct { *tchttp.BaseRequest - // 设备Id - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 流失效时间 - ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"` + // 偏移量 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 录像文件Id - RecordId *string `json:"RecordId,omitempty" name:"RecordId"` + // 最大数 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` - // 录像流开始时间,当录像文件Id为空时有效 - StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + // 直播频道类型,1:固定直播;2:移动直播 + LiveChannelType *int64 `json:"LiveChannelType,omitempty" name:"LiveChannelType"` - // 录像流结束时间,当录像文件Id为空时有效 - EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + // 直播录制计划ID, null: 直播录制计划为空 + RecordPlanId *string `json:"RecordPlanId,omitempty" name:"RecordPlanId"` - // 通道唯一标识 - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + // 频道名称 (支持模糊搜索) + LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` } -func (r *DescribeRecordStreamRequest) ToJsonString() string { +func (r *DescribeLiveChannelListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeRecordStreamRequest) FromJsonString(s string) error { +func (r *DescribeLiveChannelListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceId") - delete(f, "ExpireTime") - delete(f, "RecordId") - delete(f, "StartTime") - delete(f, "EndTime") - delete(f, "ChannelId") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "LiveChannelType") + delete(f, "RecordPlanId") + delete(f, "LiveChannelName") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordStreamRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveChannelListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeRecordStreamResponse struct { +type DescribeLiveChannelListResponse struct { *tchttp.BaseResponse Response *struct { - // 结果 - Data *DescribeRecordStreamData `json:"Data,omitempty" name:"Data"` + // 频道总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Total *int64 `json:"Total,omitempty" name:"Total"` + + // 频道信息数组 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannels []*LiveChannelInfo `json:"LiveChannels,omitempty" name:"LiveChannels"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeRecordStreamResponse) ToJsonString() string { +func (r *DescribeLiveChannelListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeRecordStreamResponse) FromJsonString(s string) error { +func (r *DescribeLiveChannelListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeSIPServerRequest struct { +type DescribeLiveChannelRequest struct { *tchttp.BaseRequest + + // 频道ID + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` } -func (r *DescribeSIPServerRequest) ToJsonString() string { +func (r *DescribeLiveChannelRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeSIPServerRequest) FromJsonString(s string) error { +func (r *DescribeLiveChannelRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "LiveChannelId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSIPServerRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveChannelRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeSIPServerResponse struct { +type DescribeLiveChannelResponse struct { *tchttp.BaseResponse Response *struct { - // SIP服务器相关配置项 - Data *ServerConfiguration `json:"Data,omitempty" name:"Data"` + // 频道ID + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + + // 频道名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` + + // 直播频道类型 1:固定直播;2:移动直播 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannelType *int64 `json:"LiveChannelType,omitempty" name:"LiveChannelType"` + + // 通道直播状态:1: 未推流,2: 推流中 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveStatus *int64 `json:"LiveStatus,omitempty" name:"LiveStatus"` + + // 推流地址 + // 注意:此字段可能返回 null,表示取不到有效值。 + PushStreamAddress *string `json:"PushStreamAddress,omitempty" name:"PushStreamAddress"` + + // 创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime []*string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 修改时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime []*string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeSIPServerResponse) ToJsonString() string { +func (r *DescribeLiveChannelResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeSIPServerResponse) FromJsonString(s string) error { +func (r *DescribeLiveChannelResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeScenesRequest struct { +type DescribeLiveRecordPlanByIdRequest struct { *tchttp.BaseRequest - // 条数限制 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` - - // 偏移 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` } -func (r *DescribeScenesRequest) ToJsonString() string { +func (r *DescribeLiveRecordPlanByIdRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeScenesRequest) FromJsonString(s string) error { +func (r *DescribeLiveRecordPlanByIdRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Limit") - delete(f, "Offset") + delete(f, "PlanId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeScenesRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordPlanByIdRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeScenesResponse struct { +type DescribeLiveRecordPlanByIdResponse struct { *tchttp.BaseResponse Response *struct { - // 场景总数 - // 注意:此字段可能返回 null,表示取不到有效值。 - Total *int64 `json:"Total,omitempty" name:"Total"` + // 计划名称 + PlanName *string `json:"PlanName,omitempty" name:"PlanName"` - // 场景列表 - // 注意:此字段可能返回 null,表示取不到有效值。 - List []*SceneItem `json:"List,omitempty" name:"List"` + // 模板ID + TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` + + // 模板名称 + TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"` + + // 存储时间 + RecordStorageTime *int64 `json:"RecordStorageTime,omitempty" name:"RecordStorageTime"` + + // 计划类型 + PlanType *int64 `json:"PlanType,omitempty" name:"PlanType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeScenesResponse) ToJsonString() string { +func (r *DescribeLiveRecordPlanByIdResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeScenesResponse) FromJsonString(s string) error { +func (r *DescribeLiveRecordPlanByIdResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeStatisticDetailsRequest struct { +type DescribeLiveRecordPlanIdsRequest struct { *tchttp.BaseRequest - // 开始日期,格式【YYYY-MM-DD】 - StartDate *string `json:"StartDate,omitempty" name:"StartDate"` + // 时间模板ID + TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` - // 结束日期,格式【YYYY-MM-DD】 - EndDate *string `json:"EndDate,omitempty" name:"EndDate"` + // 分页偏移量 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 统计项。取值范围: - // 1.录制设备数:RecordingDevice - // 2.非录制设备数:NonRecordingDevice - // 3.观看流量总数:WatchFlux - // 4.已用存储容量总数:StorageUsage - // 5. X-P2P分享流量: P2PFluxTotal - // 6. X-P2P峰值带宽: P2PPeakValue - // 7. RTMP推流路数(直播推流): LivePushTotal - StatisticField *string `json:"StatisticField,omitempty" name:"StatisticField"` + // 分页大小 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` } -func (r *DescribeStatisticDetailsRequest) ToJsonString() string { +func (r *DescribeLiveRecordPlanIdsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeStatisticDetailsRequest) FromJsonString(s string) error { +func (r *DescribeLiveRecordPlanIdsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "StartDate") - delete(f, "EndDate") - delete(f, "StatisticField") + delete(f, "TemplateId") + delete(f, "Offset") + delete(f, "Limit") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStatisticDetailsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveRecordPlanIdsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeStatisticDetailsResponse struct { +type DescribeLiveRecordPlanIdsResponse struct { *tchttp.BaseResponse Response *struct { - // 统计详情列表 - // 注意:此字段可能返回 null,表示取不到有效值。 - Data []*StatisticItem `json:"Data,omitempty" name:"Data"` + // 总个数 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 计划数组 + Plans []*LiveRecordPlanItem `json:"Plans,omitempty" name:"Plans"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeStatisticDetailsResponse) ToJsonString() string { +func (r *DescribeLiveRecordPlanIdsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeStatisticDetailsResponse) FromJsonString(s string) error { +func (r *DescribeLiveRecordPlanIdsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeStatisticSummaryRequest struct { +type DescribeLiveStreamRequest struct { *tchttp.BaseRequest - // 指定日期。格式【YYYY-MM-DD】 - Date *string `json:"Date,omitempty" name:"Date"` + // 频道ID + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + + // 过期时间 + ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"` } -func (r *DescribeStatisticSummaryRequest) ToJsonString() string { +func (r *DescribeLiveStreamRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeStatisticSummaryRequest) FromJsonString(s string) error { +func (r *DescribeLiveStreamRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Date") + delete(f, "LiveChannelId") + delete(f, "ExpireTime") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStatisticSummaryRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveStreamRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeStatisticSummaryResponse struct { +type DescribeLiveStreamResponse struct { *tchttp.BaseResponse Response *struct { - // 录制设备总数 - // 注意:此字段可能返回 null,表示取不到有效值。 - RecordingDevice *uint64 `json:"RecordingDevice,omitempty" name:"RecordingDevice"` - - // 非录制设备总数 - // 注意:此字段可能返回 null,表示取不到有效值。 - NonRecordingDevice *uint64 `json:"NonRecordingDevice,omitempty" name:"NonRecordingDevice"` - - // 观看流量总数。为直播观看流量与点播观看流量之和。单位:GB - // 注意:此字段可能返回 null,表示取不到有效值。 - WatchFlux *float64 `json:"WatchFlux,omitempty" name:"WatchFlux"` - - // 累计有效存储容量总数。单位:GB - // 注意:此字段可能返回 null,表示取不到有效值。 - StorageUsage *float64 `json:"StorageUsage,omitempty" name:"StorageUsage"` - - // X-P2P分享流量。单位 Byte - // 注意:此字段可能返回 null,表示取不到有效值。 - P2PFluxTotal *float64 `json:"P2PFluxTotal,omitempty" name:"P2PFluxTotal"` - - // X-P2P峰值带宽。 单位bps - // 注意:此字段可能返回 null,表示取不到有效值。 - P2PPeakValue *float64 `json:"P2PPeakValue,omitempty" name:"P2PPeakValue"` - - // RTMP推流路数 ( 直播推流) + // 拉流地址,只有在推流情况下才有 // 注意:此字段可能返回 null,表示取不到有效值。 - LivePushTotal *int64 `json:"LivePushTotal,omitempty" name:"LivePushTotal"` + Data *StreamAddress `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeStatisticSummaryResponse) ToJsonString() string { +func (r *DescribeLiveStreamResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeStatisticSummaryResponse) FromJsonString(s string) error { +func (r *DescribeLiveStreamResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeSubGroupsRequest struct { +type DescribeLiveVideoListRequest struct { *tchttp.BaseRequest - // 分组ID - GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + // 偏移量 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` - // 分组名称,根据名称模糊匹配子分组时为必填 - GroupName *string `json:"GroupName,omitempty" name:"GroupName"` + // 分页的每页数量 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` - // 偏移量,默认0 - Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + // 直播频道ID + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` - // 限制数,默认200 - Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + // 开始录制开始时间 + StartRecordTime *int64 `json:"StartRecordTime,omitempty" name:"StartRecordTime"` - // 是否统计子分组下的设备数,0:统计,1:不统计 - OnlyGroup *int64 `json:"OnlyGroup,omitempty" name:"OnlyGroup"` + // 开始录制结束时间 + EndRecordTime *int64 `json:"EndRecordTime,omitempty" name:"EndRecordTime"` + + // 过期开始时间 + StartExpireTime *int64 `json:"StartExpireTime,omitempty" name:"StartExpireTime"` + + // 过期结束时间 + EndExpireTime *int64 `json:"EndExpireTime,omitempty" name:"EndExpireTime"` + + // 文件大小范围 Byte + StartFileSize *int64 `json:"StartFileSize,omitempty" name:"StartFileSize"` + + // 文件大小范围 Byte + EndFileSize *int64 `json:"EndFileSize,omitempty" name:"EndFileSize"` + + // 录制状态,5: 录制回写完 + IsRecording *int64 `json:"IsRecording,omitempty" name:"IsRecording"` } -func (r *DescribeSubGroupsRequest) ToJsonString() string { +func (r *DescribeLiveVideoListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeSubGroupsRequest) FromJsonString(s string) error { +func (r *DescribeLiveVideoListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "GroupId") - delete(f, "GroupName") delete(f, "Offset") delete(f, "Limit") - delete(f, "OnlyGroup") + delete(f, "LiveChannelId") + delete(f, "StartRecordTime") + delete(f, "EndRecordTime") + delete(f, "StartExpireTime") + delete(f, "EndExpireTime") + delete(f, "StartFileSize") + delete(f, "EndFileSize") + delete(f, "IsRecording") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSubGroupsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLiveVideoListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeSubGroupsResponse struct { +type DescribeLiveVideoListResponse struct { *tchttp.BaseResponse Response *struct { - // 子分组详情列表 + // 总的条数 // 注意:此字段可能返回 null,表示取不到有效值。 - GroupList []*GroupItem `json:"GroupList,omitempty" name:"GroupList"` + Total *int64 `json:"Total,omitempty" name:"Total"` - // 子分组总数 + // 录制任务详情数组 // 注意:此字段可能返回 null,表示取不到有效值。 - TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + RecordList []*LiveRecordItem `json:"RecordList,omitempty" name:"RecordList"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeSubGroupsResponse) ToJsonString() string { +func (r *DescribeLiveVideoListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeSubGroupsResponse) FromJsonString(s string) error { +func (r *DescribeLiveVideoListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeSubscriptionStatusRequest struct { +type DescribeMessageForwardRequest struct { *tchttp.BaseRequest - // 设备ID - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + // 配置ID + IntId *int64 `json:"IntId,omitempty" name:"IntId"` } -func (r *DescribeSubscriptionStatusRequest) ToJsonString() string { +func (r *DescribeMessageForwardRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeSubscriptionStatusRequest) FromJsonString(s string) error { +func (r *DescribeMessageForwardRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceId") + delete(f, "IntId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSubscriptionStatusRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMessageForwardRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeSubscriptionStatusResponse struct { +type DescribeMessageForwardResponse struct { *tchttp.BaseResponse Response *struct { - // 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅 - AlarmStatus *int64 `json:"AlarmStatus,omitempty" name:"AlarmStatus"` + // 区域ID + // 注意:此字段可能返回 null,表示取不到有效值。 + RegionId *string `json:"RegionId,omitempty" name:"RegionId"` + + // 区域名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + RegionName *string `json:"RegionName,omitempty" name:"RegionName"` + + // 实例ID + // 注意:此字段可能返回 null,表示取不到有效值。 + Instance *string `json:"Instance,omitempty" name:"Instance"` + + // 实例名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + + // 配置ID + // 注意:此字段可能返回 null,表示取不到有效值。 + IntId *int64 `json:"IntId,omitempty" name:"IntId"` + + // json数组, 转发类型 1: 告警 2:GPS + // 注意:此字段可能返回 null,表示取不到有效值。 + MessageType *string `json:"MessageType,omitempty" name:"MessageType"` + + // kafka topic id + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicId *string `json:"TopicId,omitempty" name:"TopicId"` + + // 配置创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 用户Uin信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Uin *string `json:"Uin,omitempty" name:"Uin"` + + // kafka topic 名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeSubscriptionStatusResponse) ToJsonString() string { +func (r *DescribeMessageForwardResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeSubscriptionStatusResponse) FromJsonString(s string) error { +func (r *DescribeMessageForwardResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeVideoListRequest struct { +type DescribeMessageForwardsRequest struct { *tchttp.BaseRequest + // 数量限制 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 偏移 Offset *int64 `json:"Offset,omitempty" name:"Offset"` +} - // 限制 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` - - // 开始时间戳,秒级 - StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - - // 结束时间戳,秒级 - EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` - - // 设备Id - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 开始录制范围 开始 - StartRecordTime *int64 `json:"StartRecordTime,omitempty" name:"StartRecordTime"` - - // 开始录制范围 结束 - EndRecordTime *int64 `json:"EndRecordTime,omitempty" name:"EndRecordTime"` - - // 过期时间范围 开始 - StartExpireTime *int64 `json:"StartExpireTime,omitempty" name:"StartExpireTime"` - - // 过期时间范围 结束 - EndExpireTime *int64 `json:"EndExpireTime,omitempty" name:"EndExpireTime"` - - // 文件大小范围 开始 单位byte - StartFileSize *int64 `json:"StartFileSize,omitempty" name:"StartFileSize"` - - // 文件大小范围 结束 单位byte - EndFileSize *int64 `json:"EndFileSize,omitempty" name:"EndFileSize"` - - // 录制状态 99: 录制方已经回写状态 1: 开始录制了,等待回写 2: 已经到了时间模板的停止时间,在等待录制方回写 - IsRecording *int64 `json:"IsRecording,omitempty" name:"IsRecording"` - - // 通道ID默认必传 - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` - - // 录制计划ID - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` - - // 场景ID - SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` - - // 告警ID - WarnId *int64 `json:"WarnId,omitempty" name:"WarnId"` - - // 录制类型 1: 联动计划录制 2: 告警录制 - RecordType []*int64 `json:"RecordType,omitempty" name:"RecordType"` -} - -func (r *DescribeVideoListRequest) ToJsonString() string { +func (r *DescribeMessageForwardsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeVideoListRequest) FromJsonString(s string) error { +func (r *DescribeMessageForwardsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Offset") delete(f, "Limit") - delete(f, "StartTime") - delete(f, "EndTime") - delete(f, "DeviceId") - delete(f, "StartRecordTime") - delete(f, "EndRecordTime") - delete(f, "StartExpireTime") - delete(f, "EndExpireTime") - delete(f, "StartFileSize") - delete(f, "EndFileSize") - delete(f, "IsRecording") - delete(f, "ChannelId") - delete(f, "PlanId") - delete(f, "SceneId") - delete(f, "WarnId") - delete(f, "RecordType") + delete(f, "Offset") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeVideoListRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMessageForwardsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeVideoListResponse struct { +type DescribeMessageForwardsResponse struct { *tchttp.BaseResponse Response *struct { - // 总数 - TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` - - // 已废弃 - VideoList *RecordTaskItem `json:"VideoList,omitempty" name:"VideoList"` + // 配置总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Total *int64 `json:"Total,omitempty" name:"Total"` - // 录像详情列表 - RecordList []*RecordTaskItem `json:"RecordList,omitempty" name:"RecordList"` + // 配置列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + List []*MessageForward `json:"List,omitempty" name:"List"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeVideoListResponse) ToJsonString() string { +func (r *DescribeMessageForwardsResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeVideoListResponse) FromJsonString(s string) error { +func (r *DescribeMessageForwardsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DevGroupInfo struct { - - // 设备唯一标识 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 分组ID - GroupId *string `json:"GroupId,omitempty" name:"GroupId"` - - // 分组路径 - GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` - - // 父分组ID - ParentId *string `json:"ParentId,omitempty" name:"ParentId"` - - // 设备错误,仅在用户没权限或者设备已删除时返回具体结果 - Error *string `json:"Error,omitempty" name:"Error"` -} - -type DeviceItem struct { - - // 设备唯一标识 - // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 通道唯一标识 - // 注意:此字段可能返回 null,表示取不到有效值。 - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` -} - -type GetRecordDatesByDevRequest struct { +type DescribeMonitorDataByDateRequest struct { *tchttp.BaseRequest - // 设备唯一标识 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 偏移量,默认0 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` - - // 限制量,默认200 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` - - // 通道唯一标识 - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + // 开始时间戳 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - // 1: 云端录制 2: 本地录制 - Type *int64 `json:"Type,omitempty" name:"Type"` + // 结束时间戳 最多显示30天数据 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` } -func (r *GetRecordDatesByDevRequest) ToJsonString() string { +func (r *DescribeMonitorDataByDateRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordDatesByDevRequest) FromJsonString(s string) error { +func (r *DescribeMonitorDataByDateRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceId") - delete(f, "Offset") - delete(f, "Limit") - delete(f, "ChannelId") - delete(f, "Type") + delete(f, "StartTime") + delete(f, "EndTime") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordDatesByDevRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMonitorDataByDateRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetRecordDatesByDevResponse struct { +type DescribeMonitorDataByDateResponse struct { *tchttp.BaseResponse Response *struct { - // 含有录像文件的日期列表 + // 统计数据列表 // 注意:此字段可能返回 null,表示取不到有效值。 - Dates []*string `json:"Dates,omitempty" name:"Dates"` + Data []*RecordStatistic `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *GetRecordDatesByDevResponse) ToJsonString() string { +func (r *DescribeMonitorDataByDateResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordDatesByDevResponse) FromJsonString(s string) error { +func (r *DescribeMonitorDataByDateResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GetRecordPlanByDevRequest struct { +type DescribePresetListRequest struct { *tchttp.BaseRequest + // 视频通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + // 设备唯一标识 DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` } -func (r *GetRecordPlanByDevRequest) ToJsonString() string { +func (r *DescribePresetListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordPlanByDevRequest) FromJsonString(s string) error { +func (r *DescribePresetListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "ChannelId") delete(f, "DeviceId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordPlanByDevRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribePresetListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetRecordPlanByDevResponse struct { +type DescribePresetListResponse struct { *tchttp.BaseResponse Response *struct { - // 录制计划详情 + // 预置列表 // 注意:此字段可能返回 null,表示取不到有效值。 - Plan *RecordPlanItem `json:"Plan,omitempty" name:"Plan"` + Data []*PresetItem `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *GetRecordPlanByDevResponse) ToJsonString() string { +func (r *DescribePresetListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordPlanByDevResponse) FromJsonString(s string) error { +func (r *DescribePresetListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GetRecordPlanByIdRequest struct { +type DescribeRecordDatesByChannelRequest struct { *tchttp.BaseRequest - // 录制计划ID - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 1: 云端录制 2: 本地录制 + Type *int64 `json:"Type,omitempty" name:"Type"` + + // 限制量,默认200 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 偏移量,默认0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` } -func (r *GetRecordPlanByIdRequest) ToJsonString() string { +func (r *DescribeRecordDatesByChannelRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordPlanByIdRequest) FromJsonString(s string) error { +func (r *DescribeRecordDatesByChannelRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "PlanId") + delete(f, "DeviceId") + delete(f, "ChannelId") + delete(f, "Type") + delete(f, "Limit") + delete(f, "Offset") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordPlanByIdRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordDatesByChannelRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetRecordPlanByIdResponse struct { +type DescribeRecordDatesByChannelResponse struct { *tchttp.BaseResponse Response *struct { - // 录制计划详情 + // 含有录像文件的日期列表 // 注意:此字段可能返回 null,表示取不到有效值。 - Plan *RecordPlanItem `json:"Plan,omitempty" name:"Plan"` + Dates []*string `json:"Dates,omitempty" name:"Dates"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *GetRecordPlanByIdResponse) ToJsonString() string { +func (r *DescribeRecordDatesByChannelResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordPlanByIdResponse) FromJsonString(s string) error { +func (r *DescribeRecordDatesByChannelResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GetRecordPlansRequest struct { +type DescribeRecordDatesByLiveRequest struct { *tchttp.BaseRequest + + // 直播频道ID + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + + // 分页值,本地录制时参数无效 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 限制值,本地录制时参数无效 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` } -func (r *GetRecordPlansRequest) ToJsonString() string { +func (r *DescribeRecordDatesByLiveRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordPlansRequest) FromJsonString(s string) error { +func (r *DescribeRecordDatesByLiveRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "LiveChannelId") + delete(f, "Offset") + delete(f, "Limit") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordPlansRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordDatesByLiveRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetRecordPlansResponse struct { +type DescribeRecordDatesByLiveResponse struct { *tchttp.BaseResponse Response *struct { - // 录制计划详情·列表 - // 注意:此字段可能返回 null,表示取不到有效值。 - Plans []*RecordPlanItem `json:"Plans,omitempty" name:"Plans"` - - // 录制计划总数 + // 录制日期数组 // 注意:此字段可能返回 null,表示取不到有效值。 - TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + Dates []*string `json:"Dates,omitempty" name:"Dates"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *GetRecordPlansResponse) ToJsonString() string { +func (r *DescribeRecordDatesByLiveResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetRecordPlansResponse) FromJsonString(s string) error { +func (r *DescribeRecordDatesByLiveResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GetTimeTemplateByIdRequest struct { - *tchttp.BaseRequest +type DescribeRecordStreamData struct { - // 时间模板ID - TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` -} + // Rtsp地址 + RtspAddr *string `json:"RtspAddr,omitempty" name:"RtspAddr"` -func (r *GetTimeTemplateByIdRequest) ToJsonString() string { - b, _ := json.Marshal(r) - return string(b) + // Rtmp地址 + RtmpAddr *string `json:"RtmpAddr,omitempty" name:"RtmpAddr"` + + // Hls地址 + HlsAddr *string `json:"HlsAddr,omitempty" name:"HlsAddr"` + + // Flv地址 + FlvAddr *string `json:"FlvAddr,omitempty" name:"FlvAddr"` + + // 流Id + StreamId *string `json:"StreamId,omitempty" name:"StreamId"` } -// FromJsonString It is highly **NOT** recommended to use this function -// because it has no param check, nor strict type check -func (r *GetTimeTemplateByIdRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err +type DescribeRecordStreamRequest struct { + *tchttp.BaseRequest + + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 流失效时间,UNIX时间戳,30天内 + ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"` + + // 录像文件ID + RecordId *string `json:"RecordId,omitempty" name:"RecordId"` + + // 录像流开始时间,当录像文件ID为空时有效,UNIX时间戳 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 录像流结束时间,当录像文件iD为空时有效,UNIX时间戳 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` +} + +func (r *DescribeRecordStreamRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeRecordStreamRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err } - delete(f, "TemplateId") + delete(f, "DeviceId") + delete(f, "ExpireTime") + delete(f, "RecordId") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "ChannelId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTimeTemplateByIdRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordStreamRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetTimeTemplateByIdResponse struct { +type DescribeRecordStreamResponse struct { *tchttp.BaseResponse Response *struct { - // 时间模板详情 - // 注意:此字段可能返回 null,表示取不到有效值。 - Template *TimeTemplateItem `json:"Template,omitempty" name:"Template"` + // 结果 + Data *DescribeRecordStreamData `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *GetTimeTemplateByIdResponse) ToJsonString() string { +func (r *DescribeRecordStreamResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetTimeTemplateByIdResponse) FromJsonString(s string) error { +func (r *DescribeRecordStreamResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GetTimeTemplatesRequest struct { +type DescribeRecordingPlanByIdRequest struct { *tchttp.BaseRequest + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` } -func (r *GetTimeTemplatesRequest) ToJsonString() string { +func (r *DescribeRecordingPlanByIdRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetTimeTemplatesRequest) FromJsonString(s string) error { +func (r *DescribeRecordingPlanByIdRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "PlanId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTimeTemplatesRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordingPlanByIdRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetTimeTemplatesResponse struct { +type DescribeRecordingPlanByIdResponse struct { *tchttp.BaseResponse Response *struct { - // 时间模板列表 + // 录制计划详情 // 注意:此字段可能返回 null,表示取不到有效值。 - Templates []*TimeTemplateItem `json:"Templates,omitempty" name:"Templates"` - - // 时间模板总数 - TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + Plan *RecordPlanDetail `json:"Plan,omitempty" name:"Plan"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *GetTimeTemplatesResponse) ToJsonString() string { +func (r *DescribeRecordingPlanByIdResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetTimeTemplatesResponse) FromJsonString(s string) error { +func (r *DescribeRecordingPlanByIdResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GetVideoListByConRequest struct { +type DescribeRecordingPlansRequest struct { *tchttp.BaseRequest - - // 设备唯一标识 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 偏移量,默认0 - Offset *int64 `json:"Offset,omitempty" name:"Offset"` - - // 限制量,默认200 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` - - // 0:查询指定日期的录像;1:查询最近一天的录像;默认0 - LatestDay *int64 `json:"LatestDay,omitempty" name:"LatestDay"` - - // 指定某天。取值【YYYY-MM-DD】 - // 当LatestDay为空或为0时,本参数不允许为空。 - Date *string `json:"Date,omitempty" name:"Date"` - - // 通道唯一标识 - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` - - // 1: 云端录制 2: 本地录制 - Type *int64 `json:"Type,omitempty" name:"Type"` } -func (r *GetVideoListByConRequest) ToJsonString() string { +func (r *DescribeRecordingPlansRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetVideoListByConRequest) FromJsonString(s string) error { +func (r *DescribeRecordingPlansRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceId") - delete(f, "Offset") - delete(f, "Limit") - delete(f, "LatestDay") - delete(f, "Date") - delete(f, "ChannelId") - delete(f, "Type") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetVideoListByConRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRecordingPlansRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type GetVideoListByConResponse struct { +type DescribeRecordingPlansResponse struct { *tchttp.BaseResponse Response *struct { - // 录像详情列表 + // 录制计划详情·列表 // 注意:此字段可能返回 null,表示取不到有效值。 - VideoList []*RecordTaskItem `json:"VideoList,omitempty" name:"VideoList"` + Plans []*RecordPlanDetail `json:"Plans,omitempty" name:"Plans"` - // 录像总数 + // 录制计划总数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` @@ -3549,305 +4024,1929 @@ type GetVideoListByConResponse struct { } `json:"Response"` } -func (r *GetVideoListByConResponse) ToJsonString() string { +func (r *DescribeRecordingPlansResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *GetVideoListByConResponse) FromJsonString(s string) error { +func (r *DescribeRecordingPlansResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type GroupDeviceItem struct { - - // 设备唯一标识 - // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` - - // 设备名称 - // 注意:此字段可能返回 null,表示取不到有效值。 - NickName *string `json:"NickName,omitempty" name:"NickName"` - - // 设备状态 - // 注意:此字段可能返回 null,表示取不到有效值。 - Status *int64 `json:"Status,omitempty" name:"Status"` - - // 扩展信息 - // 注意:此字段可能返回 null,表示取不到有效值。 - ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` - - // 设备类型 - // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceType *int64 `json:"DeviceType,omitempty" name:"DeviceType"` - - // rtsp地址 - // 注意:此字段可能返回 null,表示取不到有效值。 - RTSPUrl *string `json:"RTSPUrl,omitempty" name:"RTSPUrl"` - - // 设备编码 - // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceCode *string `json:"DeviceCode,omitempty" name:"DeviceCode"` - - // 是否存在录像 - // 注意:此字段可能返回 null,表示取不到有效值。 - IsRecord *int64 `json:"IsRecord,omitempty" name:"IsRecord"` - - // 该设备是否可录制 - // 注意:此字段可能返回 null,表示取不到有效值。 - Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"` - - // 设备接入协议 - // 注意:此字段可能返回 null,表示取不到有效值。 - Protocol *string `json:"Protocol,omitempty" name:"Protocol"` +type DescribeSIPServerRequest struct { + *tchttp.BaseRequest } -type GroupInfo struct { +func (r *DescribeSIPServerRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 分组ID - GroupId *string `json:"GroupId,omitempty" name:"GroupId"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSIPServerRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSIPServerRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 分组名称 - GroupName *string `json:"GroupName,omitempty" name:"GroupName"` +type DescribeSIPServerResponse struct { + *tchttp.BaseResponse + Response *struct { - // 分组类型 - GroupType *string `json:"GroupType,omitempty" name:"GroupType"` + // SIP服务器相关配置项 + Data *ServerConfiguration `json:"Data,omitempty" name:"Data"` - // 分组路径 - GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 父分组ID - ParentId *string `json:"ParentId,omitempty" name:"ParentId"` +func (r *DescribeSIPServerResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 分组描述 - GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSIPServerResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 扩展信息 - ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` +type DescribeSceneRequest struct { + *tchttp.BaseRequest - // 创建时间 - CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` + // 场景ID + IntId *int64 `json:"IntId,omitempty" name:"IntId"` +} - // 分组状态 - // 注意:此字段可能返回 null,表示取不到有效值。 - GroupStatus *int64 `json:"GroupStatus,omitempty" name:"GroupStatus"` +func (r *DescribeSceneRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 设备不存在时产生的错误 - // 注意:此字段可能返回 null,表示取不到有效值。 - Error *string `json:"Error,omitempty" name:"Error"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSceneRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "IntId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSceneRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) } -type GroupItem struct { +type DescribeSceneResponse struct { + *tchttp.BaseResponse + Response *struct { - // 分组名称 + // 场景ID // 注意:此字段可能返回 null,表示取不到有效值。 - GroupName *string `json:"GroupName,omitempty" name:"GroupName"` + IntId *int64 `json:"IntId,omitempty" name:"IntId"` - // 父分组ID + // 录制时长(秒) // 注意:此字段可能返回 null,表示取不到有效值。 - ParentId *string `json:"ParentId,omitempty" name:"ParentId"` + RecordDuration *int64 `json:"RecordDuration,omitempty" name:"RecordDuration"` - // 分组ID + // 场景名称 // 注意:此字段可能返回 null,表示取不到有效值。 - GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + SceneName *string `json:"SceneName,omitempty" name:"SceneName"` - // 分组路径 + // 场景触发规则 // 注意:此字段可能返回 null,表示取不到有效值。 - GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` + SceneTrigger *string `json:"SceneTrigger,omitempty" name:"SceneTrigger"` - // 分组描述 + // 存储时长 (天) // 注意:此字段可能返回 null,表示取不到有效值。 - GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"` + StoreDuration *int64 `json:"StoreDuration,omitempty" name:"StoreDuration"` - // 分组绑定设备数 + // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 - DeviceNum *int64 `json:"DeviceNum,omitempty" name:"DeviceNum"` + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` - // 子分组数量 + // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 - SubGroupNum *int64 `json:"SubGroupNum,omitempty" name:"SubGroupNum"` + UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` - // 分组附加信息 - // 注意:此字段可能返回 null,表示取不到有效值。 - ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` + // 用户Uin + Uin *string `json:"Uin,omitempty" name:"Uin"` - // 分组类型 - // 注意:此字段可能返回 null,表示取不到有效值。 - GroupType *string `json:"GroupType,omitempty" name:"GroupType"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 创建时间 - // 注意:此字段可能返回 null,表示取不到有效值。 - CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` +func (r *DescribeSceneResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 分组状态 - // 注意:此字段可能返回 null,表示取不到有效值。 - GroupStatus *int64 `json:"GroupStatus,omitempty" name:"GroupStatus"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSceneResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) } -type LiveChannelInfo struct { +type DescribeScenesRequest struct { + *tchttp.BaseRequest - // 频道ID - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + // 条数限制 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` - // 频道名称 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` + // 偏移 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` +} - // 频道类型 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveChannelType *int64 `json:"LiveChannelType,omitempty" name:"LiveChannelType"` +func (r *DescribeScenesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 通道直播状态:1: 未推流,2: 推流中 - // 注意:此字段可能返回 null,表示取不到有效值。 - LiveStatus *int64 `json:"LiveStatus,omitempty" name:"LiveStatus"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeScenesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Limit") + delete(f, "Offset") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeScenesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 推流地址 - // 注意:此字段可能返回 null,表示取不到有效值。 - PushStreamAddress *string `json:"PushStreamAddress,omitempty" name:"PushStreamAddress"` +type DescribeScenesResponse struct { + *tchttp.BaseResponse + Response *struct { - // 创建时间 + // 场景总数 // 注意:此字段可能返回 null,表示取不到有效值。 - CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + Total *int64 `json:"Total,omitempty" name:"Total"` - // 修改时间 + // 场景列表 // 注意:此字段可能返回 null,表示取不到有效值。 - UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` -} - -type LiveChannelItem struct { + List []*SceneItem `json:"List,omitempty" name:"List"` - // 频道ID - ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 频道名称 - ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` +func (r *DescribeScenesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) } -type LiveRecordItem struct { +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeScenesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 录制文件自增ID - IntID *int64 `json:"IntID,omitempty" name:"IntID"` +type DescribeStatisticDetailsRequest struct { + *tchttp.BaseRequest - // 直播频道ID - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + // 开始日期,格式【YYYY-MM-DD】 + StartDate *string `json:"StartDate,omitempty" name:"StartDate"` - // 过期时间 - ExpectDeleteTime *int64 `json:"ExpectDeleteTime,omitempty" name:"ExpectDeleteTime"` + // 结束日期,格式【YYYY-MM-DD】 + EndDate *string `json:"EndDate,omitempty" name:"EndDate"` - // 录制时长 - RecordTimeLen *int64 `json:"RecordTimeLen,omitempty" name:"RecordTimeLen"` + // 统计项。取值范围: + // 1.录制设备数:RecordingDevice + // 2.非录制设备数:NonRecordingDevice + // 3.观看流量总数:WatchFlux + // 4.已用存储容量总数:StorageUsage + // 5. X-P2P分享流量: P2PFluxTotal + // 6. X-P2P峰值带宽: P2PPeakValue + // 7. RTMP推流路数(直播推流): LivePushTotal + StatisticField *string `json:"StatisticField,omitempty" name:"StatisticField"` +} - // 文件大小 - FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` +func (r *DescribeStatisticDetailsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 录制文件url - VideoUrl *string `json:"VideoUrl,omitempty" name:"VideoUrl"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeStatisticDetailsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartDate") + delete(f, "EndDate") + delete(f, "StatisticField") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStatisticDetailsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 录制计划ID - RecordPlanId *string `json:"RecordPlanId,omitempty" name:"RecordPlanId"` +type DescribeStatisticDetailsResponse struct { + *tchttp.BaseResponse + Response *struct { - // 录制开始时间 - StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + // 统计详情列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data []*StatisticItem `json:"Data,omitempty" name:"Data"` - // 录制结束时间 - EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` } -type LiveRecordPlanItem struct { - - // 计划ID - // 注意:此字段可能返回 null,表示取不到有效值。 - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` +func (r *DescribeStatisticDetailsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 计划名称 - // 注意:此字段可能返回 null,表示取不到有效值。 - PlanName *string `json:"PlanName,omitempty" name:"PlanName"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeStatisticDetailsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) } -type MessageForward struct { +type DescribeStatisticSummaryRequest struct { + *tchttp.BaseRequest - // 配置ID - // 注意:此字段可能返回 null,表示取不到有效值。 - IntId *int64 `json:"IntId,omitempty" name:"IntId"` + // 指定日期。格式【YYYY-MM-DD】 + Date *string `json:"Date,omitempty" name:"Date"` +} - // 用户Uin - // 注意:此字段可能返回 null,表示取不到有效值。 - Uin *string `json:"Uin,omitempty" name:"Uin"` +func (r *DescribeStatisticSummaryRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // json数组, 转发类型 1: 告警 2:GPS - // 注意:此字段可能返回 null,表示取不到有效值。 - MessageType *string `json:"MessageType,omitempty" name:"MessageType"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeStatisticSummaryRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Date") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStatisticSummaryRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 区域ID - // 注意:此字段可能返回 null,表示取不到有效值。 - RegionId *string `json:"RegionId,omitempty" name:"RegionId"` +type DescribeStatisticSummaryResponse struct { + *tchttp.BaseResponse + Response *struct { - // 区域名称 + // 录制设备总数 // 注意:此字段可能返回 null,表示取不到有效值。 - RegionName *string `json:"RegionName,omitempty" name:"RegionName"` + RecordingDevice *uint64 `json:"RecordingDevice,omitempty" name:"RecordingDevice"` - // 实例ID + // 非录制设备总数 // 注意:此字段可能返回 null,表示取不到有效值。 - Instance *string `json:"Instance,omitempty" name:"Instance"` + NonRecordingDevice *uint64 `json:"NonRecordingDevice,omitempty" name:"NonRecordingDevice"` - // 实例名称 + // 观看流量总数。为直播观看流量与点播观看流量之和。单位:GB // 注意:此字段可能返回 null,表示取不到有效值。 - InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + WatchFlux *float64 `json:"WatchFlux,omitempty" name:"WatchFlux"` - // kafka topic id + // 累计有效存储容量总数。单位:GB // 注意:此字段可能返回 null,表示取不到有效值。 - TopicId *string `json:"TopicId,omitempty" name:"TopicId"` + StorageUsage *float64 `json:"StorageUsage,omitempty" name:"StorageUsage"` - // 创建时间 + // X-P2P分享流量。单位 Byte // 注意:此字段可能返回 null,表示取不到有效值。 - CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + P2PFluxTotal *float64 `json:"P2PFluxTotal,omitempty" name:"P2PFluxTotal"` - // 更新时间 + // X-P2P峰值带宽。 单位bps // 注意:此字段可能返回 null,表示取不到有效值。 - UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` + P2PPeakValue *float64 `json:"P2PPeakValue,omitempty" name:"P2PPeakValue"` - // topic 名称 + // RTMP推流路数 ( 直播推流) // 注意:此字段可能返回 null,表示取不到有效值。 - TopicName *string `json:"TopicName,omitempty" name:"TopicName"` -} - -type ModifyBindPlanLiveChannelRequest struct { - *tchttp.BaseRequest - - // 直播录制计划ID - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` - - // 1: 绑定 2: 解绑 - Type *int64 `json:"Type,omitempty" name:"Type"` + LivePushTotal *int64 `json:"LivePushTotal,omitempty" name:"LivePushTotal"` - // 直播频道ID列表 - LiveChannelIds []*string `json:"LiveChannelIds,omitempty" name:"LiveChannelIds"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` } -func (r *ModifyBindPlanLiveChannelRequest) ToJsonString() string { +func (r *DescribeStatisticSummaryResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyBindPlanLiveChannelRequest) FromJsonString(s string) error { +func (r *DescribeStatisticSummaryResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeSubGroupsRequest struct { + *tchttp.BaseRequest + + // 分组ID + GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + + // 分组名称,根据名称模糊匹配子分组时为必填 + GroupName *string `json:"GroupName,omitempty" name:"GroupName"` + + // 偏移量,默认0 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 限制数,默认200 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 是否统计子分组下的设备数,0:统计,1:不统计 + OnlyGroup *int64 `json:"OnlyGroup,omitempty" name:"OnlyGroup"` +} + +func (r *DescribeSubGroupsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSubGroupsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "GroupId") + delete(f, "GroupName") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "OnlyGroup") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSubGroupsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeSubGroupsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 子分组详情列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupList []*GroupItem `json:"GroupList,omitempty" name:"GroupList"` + + // 子分组总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeSubGroupsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSubGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeSubscriptionStatusRequest struct { + *tchttp.BaseRequest + + // 设备ID + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` +} + +func (r *DescribeSubscriptionStatusRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSubscriptionStatusRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSubscriptionStatusRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeSubscriptionStatusResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅 + AlarmStatus *int64 `json:"AlarmStatus,omitempty" name:"AlarmStatus"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeSubscriptionStatusResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeSubscriptionStatusResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeVideoListByChannelRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 1: 云端录制 2: 本地录制 + Type *int64 `json:"Type,omitempty" name:"Type"` + + // 指定某天。取值【YYYY-MM-DD】 + // 为空时默认查询最近一天的记录 + Date *string `json:"Date,omitempty" name:"Date"` + + // 限制量,默认2000 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 偏移量,默认0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` +} + +func (r *DescribeVideoListByChannelRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeVideoListByChannelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + delete(f, "ChannelId") + delete(f, "Type") + delete(f, "Date") + delete(f, "Limit") + delete(f, "Offset") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeVideoListByChannelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeVideoListByChannelResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 录像详情列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + VideoList []*RecordTaskItem `json:"VideoList,omitempty" name:"VideoList"` + + // 录像总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeVideoListByChannelResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeVideoListByChannelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeVideoListRequest struct { + *tchttp.BaseRequest + + // 偏移 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 限制 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 开始时间戳,秒级 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 结束时间戳,秒级 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 开始录制范围 开始 + StartRecordTime *int64 `json:"StartRecordTime,omitempty" name:"StartRecordTime"` + + // 开始录制范围 结束 + EndRecordTime *int64 `json:"EndRecordTime,omitempty" name:"EndRecordTime"` + + // 过期时间范围 开始 + StartExpireTime *int64 `json:"StartExpireTime,omitempty" name:"StartExpireTime"` + + // 过期时间范围 结束 + EndExpireTime *int64 `json:"EndExpireTime,omitempty" name:"EndExpireTime"` + + // 文件大小范围 开始 单位byte + StartFileSize *int64 `json:"StartFileSize,omitempty" name:"StartFileSize"` + + // 文件大小范围 结束 单位byte + EndFileSize *int64 `json:"EndFileSize,omitempty" name:"EndFileSize"` + + // 录制状态 99: 录制方已经回写状态 1: 开始录制了,等待回写 2: 已经到了时间模板的停止时间,在等待录制方回写 + IsRecording *int64 `json:"IsRecording,omitempty" name:"IsRecording"` + + // 通道ID默认必传 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 场景ID + SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` + + // 告警ID + WarnId *int64 `json:"WarnId,omitempty" name:"WarnId"` + + // 录制类型 1: 联动计划录制 2: 告警录制 + RecordType []*int64 `json:"RecordType,omitempty" name:"RecordType"` +} + +func (r *DescribeVideoListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeVideoListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Offset") + delete(f, "Limit") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "DeviceId") + delete(f, "StartRecordTime") + delete(f, "EndRecordTime") + delete(f, "StartExpireTime") + delete(f, "EndExpireTime") + delete(f, "StartFileSize") + delete(f, "EndFileSize") + delete(f, "IsRecording") + delete(f, "ChannelId") + delete(f, "PlanId") + delete(f, "SceneId") + delete(f, "WarnId") + delete(f, "RecordType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeVideoListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeVideoListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 总数 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 已废弃 + VideoList *RecordTaskItem `json:"VideoList,omitempty" name:"VideoList"` + + // 录像详情列表 + RecordList []*RecordTaskItem `json:"RecordList,omitempty" name:"RecordList"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeVideoListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeVideoListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeWarnModRequest struct { + *tchttp.BaseRequest +} + +func (r *DescribeWarnModRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeWarnModRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeWarnModRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeWarnModResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 告警类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data *string `json:"Data,omitempty" name:"Data"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeWarnModResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeWarnModResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeWarningsRequest struct { + *tchttp.BaseRequest + + // 1:创建时间倒序 2:创建时间升序 3:level倒序 4:leve升序 + OrderType *int64 `json:"OrderType,omitempty" name:"OrderType"` + + // 可选设备id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 如果不传则查询所有,取值参见配置 + WarnLevelArray []*int64 `json:"WarnLevelArray,omitempty" name:"WarnLevelArray"` + + // 如果不传则查询所有,取值参见配置 + WarnModeArray []*int64 `json:"WarnModeArray,omitempty" name:"WarnModeArray"` + + // 不传认为是0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 不传认为是20 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 形似:2021-05-21 00:00:00 .取值在当前日前30天内,不传默认是当前日前30天日期 + DateBegin *string `json:"DateBegin,omitempty" name:"DateBegin"` + + // 形似:2021-05-21 23:59:59 .取值在当前日前30天内,不传默认是当前日前30天日期 + DateEnd *string `json:"DateEnd,omitempty" name:"DateEnd"` +} + +func (r *DescribeWarningsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeWarningsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "OrderType") + delete(f, "DeviceId") + delete(f, "WarnLevelArray") + delete(f, "WarnModeArray") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "DateBegin") + delete(f, "DateEnd") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeWarningsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeWarningsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Total *int64 `json:"Total,omitempty" name:"Total"` + + // 告警列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data []*WarningsData `json:"Data,omitempty" name:"Data"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeWarningsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeWarningsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeXP2PDataRequest struct { + *tchttp.BaseRequest + + // P2P应用ID + P2PAppId *string `json:"P2PAppId,omitempty" name:"P2PAppId"` + + // 查询开始时间 + From *int64 `json:"From,omitempty" name:"From"` + + // 查询结束时间 + To *int64 `json:"To,omitempty" name:"To"` + + // P2P通路ID + P2PChannelId *string `json:"P2PChannelId,omitempty" name:"P2PChannelId"` +} + +func (r *DescribeXP2PDataRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeXP2PDataRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "P2PAppId") + delete(f, "From") + delete(f, "To") + delete(f, "P2PChannelId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeXP2PDataRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeXP2PDataResponse struct { + *tchttp.BaseResponse + Response *struct { + + // [log_time,cdn_bytes , p2p_bytes, online_people, stuck_times, stuck_people,request,request_success,request_fail,play_fail] + // [时间戳,cdn流量(字节) , p2p流量(字节), 在线人数, 卡播次数, 卡播人数,起播请求次数,起播成功次数,起播失败次数,播放失败次数, pcdn cdn流量(字节), pcdn路由流量(字节), 上传流量(字节)] + // [1481016480, 46118502414, 75144943171, 61691, 3853, 0,0,0,0,0, 0, 0, 0] + // 注意:此字段可能返回 null,表示取不到有效值。 + Data *string `json:"Data,omitempty" name:"Data"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeXP2PDataResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeXP2PDataResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DevGroupInfo struct { + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 分组ID + GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + + // 分组路径 + GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` + + // 父分组ID + ParentId *string `json:"ParentId,omitempty" name:"ParentId"` + + // 设备错误,仅在用户没权限或者设备已删除时返回具体结果 + Error *string `json:"Error,omitempty" name:"Error"` +} + +type DeviceItem struct { + + // 设备唯一标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道唯一标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` +} + +type DeviceMonitorValue struct { + + // 统计值 + // 注意:此字段可能返回 null,表示取不到有效值。 + Value *float64 `json:"Value,omitempty" name:"Value"` + + // 统计时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + Time *int64 `json:"Time,omitempty" name:"Time"` +} + +type Events struct { + + // 开始时间,秒级时间戳 + // 注意:此字段可能返回 null,表示取不到有效值。 + EventTime *int64 `json:"EventTime,omitempty" name:"EventTime"` + + // 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断 + // 注意:此字段可能返回 null,表示取不到有效值。 + EventType *int64 `json:"EventType,omitempty" name:"EventType"` + + // 事件描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + EventDesc *string `json:"EventDesc,omitempty" name:"EventDesc"` + + // 设备类型 + DeviceType *int64 `json:"DeviceType,omitempty" name:"DeviceType"` + + // 设备地址 + DeviceAddress *string `json:"DeviceAddress,omitempty" name:"DeviceAddress"` + + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 通道Id + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 事件日志 + EventLog *string `json:"EventLog,omitempty" name:"EventLog"` + + // 设备备注名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` +} + +type GetRecordDatesByDevRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 限制量,默认200 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 偏移量,默认0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 1: 云端录制 2: 本地录制 + Type *int64 `json:"Type,omitempty" name:"Type"` +} + +func (r *GetRecordDatesByDevRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordDatesByDevRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + delete(f, "Limit") + delete(f, "Offset") + delete(f, "ChannelId") + delete(f, "Type") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordDatesByDevRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordDatesByDevResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 含有录像文件的日期列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Dates []*string `json:"Dates,omitempty" name:"Dates"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetRecordDatesByDevResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordDatesByDevResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordPlanByDevRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` +} + +func (r *GetRecordPlanByDevRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordPlanByDevRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordPlanByDevRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordPlanByDevResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 录制计划详情 + // 注意:此字段可能返回 null,表示取不到有效值。 + Plan *RecordPlanItem `json:"Plan,omitempty" name:"Plan"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetRecordPlanByDevResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordPlanByDevResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordPlanByIdRequest struct { + *tchttp.BaseRequest + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` +} + +func (r *GetRecordPlanByIdRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordPlanByIdRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "PlanId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordPlanByIdRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordPlanByIdResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 录制计划详情 + // 注意:此字段可能返回 null,表示取不到有效值。 + Plan *RecordPlanItem `json:"Plan,omitempty" name:"Plan"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetRecordPlanByIdResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordPlanByIdResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordPlansRequest struct { + *tchttp.BaseRequest +} + +func (r *GetRecordPlansRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordPlansRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetRecordPlansRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetRecordPlansResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 录制计划详情·列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Plans []*RecordPlanItem `json:"Plans,omitempty" name:"Plans"` + + // 录制计划总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetRecordPlansResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetRecordPlansResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetTimeTemplateByIdRequest struct { + *tchttp.BaseRequest + + // 时间模板ID + TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` +} + +func (r *GetTimeTemplateByIdRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetTimeTemplateByIdRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "TemplateId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTimeTemplateByIdRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetTimeTemplateByIdResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 时间模板详情 + // 注意:此字段可能返回 null,表示取不到有效值。 + Template *TimeTemplateItem `json:"Template,omitempty" name:"Template"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetTimeTemplateByIdResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetTimeTemplateByIdResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetTimeTemplatesRequest struct { + *tchttp.BaseRequest +} + +func (r *GetTimeTemplatesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetTimeTemplatesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTimeTemplatesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetTimeTemplatesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 时间模板列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Templates []*TimeTemplateItem `json:"Templates,omitempty" name:"Templates"` + + // 时间模板总数 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetTimeTemplatesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetTimeTemplatesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetVideoListByConRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 偏移量,默认0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 限制量,默认200 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 通道唯一标识 + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 0:查询指定日期的录像;1:查询最近一天的录像;默认0 + LatestDay *int64 `json:"LatestDay,omitempty" name:"LatestDay"` + + // 指定某天。取值【YYYY-MM-DD】 + // 为空时默认查询最近一天的记录 + Date *string `json:"Date,omitempty" name:"Date"` + + // 1: 云端录制 2: 本地录制 + Type *int64 `json:"Type,omitempty" name:"Type"` +} + +func (r *GetVideoListByConRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetVideoListByConRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "ChannelId") + delete(f, "LatestDay") + delete(f, "Date") + delete(f, "Type") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetVideoListByConRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GetVideoListByConResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 录像详情列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + VideoList []*RecordTaskItem `json:"VideoList,omitempty" name:"VideoList"` + + // 录像总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GetVideoListByConResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GetVideoListByConResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GroupDeviceItem struct { + + // 设备唯一标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 设备名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + NickName *string `json:"NickName,omitempty" name:"NickName"` + + // 设备状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *int64 `json:"Status,omitempty" name:"Status"` + + // 扩展信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` + + // 设备类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceType *int64 `json:"DeviceType,omitempty" name:"DeviceType"` + + // rtsp地址 + // 注意:此字段可能返回 null,表示取不到有效值。 + RTSPUrl *string `json:"RTSPUrl,omitempty" name:"RTSPUrl"` + + // 设备编码 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceCode *string `json:"DeviceCode,omitempty" name:"DeviceCode"` + + // 是否存在录像 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsRecord *int64 `json:"IsRecord,omitempty" name:"IsRecord"` + + // 该设备是否可录制 + // 注意:此字段可能返回 null,表示取不到有效值。 + Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"` + + // 设备接入协议 + // 注意:此字段可能返回 null,表示取不到有效值。 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 设备创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` + + // 设备通道总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + ChannelNum *int64 `json:"ChannelNum,omitempty" name:"ChannelNum"` + + // 设备视频通道总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + VideoChannelNum *int64 `json:"VideoChannelNum,omitempty" name:"VideoChannelNum"` +} + +type GroupInfo struct { + + // 分组ID + GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + + // 分组名称 + GroupName *string `json:"GroupName,omitempty" name:"GroupName"` + + // 分组类型 + GroupType *string `json:"GroupType,omitempty" name:"GroupType"` + + // 分组路径 + GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` + + // 父分组ID + ParentId *string `json:"ParentId,omitempty" name:"ParentId"` + + // 分组描述 + GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"` + + // 扩展信息 + ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` + + // 创建时间 + CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` + + // 分组状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupStatus *int64 `json:"GroupStatus,omitempty" name:"GroupStatus"` + + // 设备不存在时产生的错误 + // 注意:此字段可能返回 null,表示取不到有效值。 + Error *string `json:"Error,omitempty" name:"Error"` +} + +type GroupItem struct { + + // 分组名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupName *string `json:"GroupName,omitempty" name:"GroupName"` + + // 父分组ID + // 注意:此字段可能返回 null,表示取不到有效值。 + ParentId *string `json:"ParentId,omitempty" name:"ParentId"` + + // 分组ID + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupId *string `json:"GroupId,omitempty" name:"GroupId"` + + // 分组路径 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"` + + // 分组描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"` + + // 分组绑定设备数 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceNum *int64 `json:"DeviceNum,omitempty" name:"DeviceNum"` + + // 子分组数量 + // 注意:此字段可能返回 null,表示取不到有效值。 + SubGroupNum *int64 `json:"SubGroupNum,omitempty" name:"SubGroupNum"` + + // 分组附加信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"` + + // 分组类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupType *string `json:"GroupType,omitempty" name:"GroupType"` + + // 创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` + + // 分组状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupStatus *int64 `json:"GroupStatus,omitempty" name:"GroupStatus"` +} + +type LiveChannelInfo struct { + + // 频道ID + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + + // 频道名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` + + // 频道类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveChannelType *int64 `json:"LiveChannelType,omitempty" name:"LiveChannelType"` + + // 通道直播状态:1: 未推流,2: 推流中 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveStatus *int64 `json:"LiveStatus,omitempty" name:"LiveStatus"` + + // 推流地址 + // 注意:此字段可能返回 null,表示取不到有效值。 + PushStreamAddress *string `json:"PushStreamAddress,omitempty" name:"PushStreamAddress"` + + // 创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 修改时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` +} + +type LiveChannelItem struct { + + // 频道ID + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` + + // 频道名称 + ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` +} + +type LiveRecordItem struct { + + // 录制文件自增ID + IntID *int64 `json:"IntID,omitempty" name:"IntID"` + + // 直播频道ID + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + + // 过期时间 + ExpectDeleteTime *int64 `json:"ExpectDeleteTime,omitempty" name:"ExpectDeleteTime"` + + // 录制时长 + RecordTimeLen *int64 `json:"RecordTimeLen,omitempty" name:"RecordTimeLen"` + + // 文件大小 + FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` + + // 录制文件url + VideoUrl *string `json:"VideoUrl,omitempty" name:"VideoUrl"` + + // 录制计划ID + RecordPlanId *string `json:"RecordPlanId,omitempty" name:"RecordPlanId"` + + // 录制开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 录制结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` +} + +type LiveRecordPlanItem struct { + + // 计划ID + // 注意:此字段可能返回 null,表示取不到有效值。 + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 计划名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + PlanName *string `json:"PlanName,omitempty" name:"PlanName"` +} + +type MessageForward struct { + + // 配置ID + // 注意:此字段可能返回 null,表示取不到有效值。 + IntId *int64 `json:"IntId,omitempty" name:"IntId"` + + // 用户Uin + // 注意:此字段可能返回 null,表示取不到有效值。 + Uin *string `json:"Uin,omitempty" name:"Uin"` + + // json数组, 转发类型 1: 告警 2:GPS + // 注意:此字段可能返回 null,表示取不到有效值。 + MessageType *string `json:"MessageType,omitempty" name:"MessageType"` + + // 区域ID + // 注意:此字段可能返回 null,表示取不到有效值。 + RegionId *string `json:"RegionId,omitempty" name:"RegionId"` + + // 区域名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + RegionName *string `json:"RegionName,omitempty" name:"RegionName"` + + // 实例ID + // 注意:此字段可能返回 null,表示取不到有效值。 + Instance *string `json:"Instance,omitempty" name:"Instance"` + + // 实例名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + + // kafka topic id + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicId *string `json:"TopicId,omitempty" name:"TopicId"` + + // 创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 更新时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` + + // topic 名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicName *string `json:"TopicName,omitempty" name:"TopicName"` +} + +type ModifyBindPlanLiveChannelRequest struct { + *tchttp.BaseRequest + + // 直播录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 1: 绑定 2: 解绑 + Type *int64 `json:"Type,omitempty" name:"Type"` + + // 直播频道ID列表 + LiveChannelIds []*string `json:"LiveChannelIds,omitempty" name:"LiveChannelIds"` +} + +func (r *ModifyBindPlanLiveChannelRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindPlanLiveChannelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "PlanId") + delete(f, "Type") + delete(f, "LiveChannelIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBindPlanLiveChannelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindPlanLiveChannelResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyBindPlanLiveChannelResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindPlanLiveChannelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindRecordingPlanRequest struct { + *tchttp.BaseRequest + + // 操作类型: 1-绑定设备 ;2-解绑设备 + Type *int64 `json:"Type,omitempty" name:"Type"` + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 录制通道列表 + Channels []*ChannelItem `json:"Channels,omitempty" name:"Channels"` +} + +func (r *ModifyBindRecordingPlanRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindRecordingPlanRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Type") + delete(f, "PlanId") + delete(f, "Channels") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBindRecordingPlanRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindRecordingPlanResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyBindRecordingPlanResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindRecordingPlanResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindSceneChannelsRequest struct { + *tchttp.BaseRequest + + // 场景ID + SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` + + // 1: 绑定 2: 解绑 + Type *int64 `json:"Type,omitempty" name:"Type"` + + // 通道列表 + Channels []*ChannelItem `json:"Channels,omitempty" name:"Channels"` +} + +func (r *ModifyBindSceneChannelsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindSceneChannelsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SceneId") + delete(f, "Type") + delete(f, "Channels") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBindSceneChannelsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindSceneChannelsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyBindSceneChannelsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindSceneChannelsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindSceneDeviceRequest struct { + *tchttp.BaseRequest + + // 场景ID + SceneId *int64 `json:"SceneId,omitempty" name:"SceneId"` + + // 1: 绑定 2: 解绑 + Type *int64 `json:"Type,omitempty" name:"Type"` + + // 设备列表 + Devices []*DeviceItem `json:"Devices,omitempty" name:"Devices"` +} + +func (r *ModifyBindSceneDeviceRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindSceneDeviceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SceneId") + delete(f, "Type") + delete(f, "Devices") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBindSceneDeviceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyBindSceneDeviceResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyBindSceneDeviceResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyBindSceneDeviceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyDeviceDataRequest struct { + *tchttp.BaseRequest + + // 设备唯一标识 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 设备名称 + NickName *string `json:"NickName,omitempty" name:"NickName"` +} + +func (r *ModifyDeviceDataRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDeviceDataRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DeviceId") + delete(f, "NickName") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDeviceDataRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyDeviceDataResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 操作结果,“OK”表示成功,其他表示失败。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *string `json:"Status,omitempty" name:"Status"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyDeviceDataResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDeviceDataResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyLiveChannelRequest struct { + *tchttp.BaseRequest + + // 直播频道ID + LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + + // 直播频道名 + LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` +} + +func (r *ModifyLiveChannelRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyLiveChannelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "LiveChannelId") + delete(f, "LiveChannelName") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveChannelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyLiveChannelResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyLiveChannelResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyLiveChannelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyLiveRecordPlanRequest struct { + *tchttp.BaseRequest + + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 录制计划名 + PlanName *string `json:"PlanName,omitempty" name:"PlanName"` + + // 时间模板ID,固定直播时为必填 + TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` +} + +func (r *ModifyLiveRecordPlanRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyLiveRecordPlanRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "PlanId") - delete(f, "Type") - delete(f, "LiveChannelIds") + delete(f, "PlanName") + delete(f, "TemplateId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyBindPlanLiveChannelRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveRecordPlanRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type ModifyBindPlanLiveChannelResponse struct { +type ModifyLiveRecordPlanResponse struct { *tchttp.BaseResponse Response *struct { @@ -3856,102 +5955,98 @@ type ModifyBindPlanLiveChannelResponse struct { } `json:"Response"` } -func (r *ModifyBindPlanLiveChannelResponse) ToJsonString() string { +func (r *ModifyLiveRecordPlanResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyBindPlanLiveChannelResponse) FromJsonString(s string) error { +func (r *ModifyLiveRecordPlanResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type ModifyDeviceDataRequest struct { +type ModifyLiveVideoRequest struct { *tchttp.BaseRequest - // 设备唯一标识 - DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + // 视频ID 列表, 大小限制(100) + IntIDs []*int64 `json:"IntIDs,omitempty" name:"IntIDs"` - // 设备名称 - NickName *string `json:"NickName,omitempty" name:"NickName"` + // 过期时间 秒 (-1: 为永不过期) + ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"` } -func (r *ModifyDeviceDataRequest) ToJsonString() string { +func (r *ModifyLiveVideoRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyDeviceDataRequest) FromJsonString(s string) error { +func (r *ModifyLiveVideoRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "DeviceId") - delete(f, "NickName") + delete(f, "IntIDs") + delete(f, "ExpireTime") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDeviceDataRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveVideoRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type ModifyDeviceDataResponse struct { +type ModifyLiveVideoResponse struct { *tchttp.BaseResponse Response *struct { - // 操作结果,“OK”表示成功,其他表示失败。 - // 注意:此字段可能返回 null,表示取不到有效值。 - Status *string `json:"Status,omitempty" name:"Status"` - // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *ModifyDeviceDataResponse) ToJsonString() string { +func (r *ModifyLiveVideoResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyDeviceDataResponse) FromJsonString(s string) error { +func (r *ModifyLiveVideoResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type ModifyLiveChannelRequest struct { +type ModifyMessageForwardRequest struct { *tchttp.BaseRequest - // 直播频道ID - LiveChannelId *string `json:"LiveChannelId,omitempty" name:"LiveChannelId"` + // 配置ID + IntId *int64 `json:"IntId,omitempty" name:"IntId"` - // 直播频道名 - LiveChannelName *string `json:"LiveChannelName,omitempty" name:"LiveChannelName"` + // json数组, 转发类型 1: 告警 2:GPS + MessageType *string `json:"MessageType,omitempty" name:"MessageType"` } -func (r *ModifyLiveChannelRequest) ToJsonString() string { +func (r *ModifyMessageForwardRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyLiveChannelRequest) FromJsonString(s string) error { +func (r *ModifyMessageForwardRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "LiveChannelId") - delete(f, "LiveChannelName") + delete(f, "IntId") + delete(f, "MessageType") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveChannelRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyMessageForwardRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type ModifyLiveChannelResponse struct { +type ModifyMessageForwardResponse struct { *tchttp.BaseResponse Response *struct { @@ -3960,52 +6055,56 @@ type ModifyLiveChannelResponse struct { } `json:"Response"` } -func (r *ModifyLiveChannelResponse) ToJsonString() string { +func (r *ModifyMessageForwardResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyLiveChannelResponse) FromJsonString(s string) error { +func (r *ModifyMessageForwardResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type ModifyLiveRecordPlanRequest struct { +type ModifyPresetRequest struct { *tchttp.BaseRequest - // 录制计划ID - PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + // 通道ID + ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"` - // 录制计划名 - PlanName *string `json:"PlanName,omitempty" name:"PlanName"` + // 预置位编码 范围1-8 + PresetId *int64 `json:"PresetId,omitempty" name:"PresetId"` - // 时间模板ID,固定直播时为必填 - TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` + // 预制位名称 + PresetName *string `json:"PresetName,omitempty" name:"PresetName"` + + // 设备Id + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` } -func (r *ModifyLiveRecordPlanRequest) ToJsonString() string { +func (r *ModifyPresetRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyLiveRecordPlanRequest) FromJsonString(s string) error { +func (r *ModifyPresetRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "PlanId") - delete(f, "PlanName") - delete(f, "TemplateId") + delete(f, "ChannelId") + delete(f, "PresetId") + delete(f, "PresetName") + delete(f, "DeviceId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveRecordPlanRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyPresetRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type ModifyLiveRecordPlanResponse struct { +type ModifyPresetResponse struct { *tchttp.BaseResponse Response *struct { @@ -4014,98 +6113,113 @@ type ModifyLiveRecordPlanResponse struct { } `json:"Response"` } -func (r *ModifyLiveRecordPlanResponse) ToJsonString() string { +func (r *ModifyPresetResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyLiveRecordPlanResponse) FromJsonString(s string) error { +func (r *ModifyPresetResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type ModifyLiveVideoRequest struct { +type ModifyRecordingPlanRequest struct { *tchttp.BaseRequest - // 视频ID 列表, 大小限制(100) - IntIDs []*int64 `json:"IntIDs,omitempty" name:"IntIDs"` + // 录制计划ID + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` - // 过期时间 秒 (-1: 为永不过期) - ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"` + // 计划名称 + Name *string `json:"Name,omitempty" name:"Name"` + + // 时间模板ID + TimeTemplateId *string `json:"TimeTemplateId,omitempty" name:"TimeTemplateId"` } -func (r *ModifyLiveVideoRequest) ToJsonString() string { +func (r *ModifyRecordingPlanRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyLiveVideoRequest) FromJsonString(s string) error { +func (r *ModifyRecordingPlanRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "IntIDs") - delete(f, "ExpireTime") + delete(f, "PlanId") + delete(f, "Name") + delete(f, "TimeTemplateId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyLiveVideoRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyRecordingPlanRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type ModifyLiveVideoResponse struct { +type ModifyRecordingPlanResponse struct { *tchttp.BaseResponse Response *struct { + // 操作结果 + Status *string `json:"Status,omitempty" name:"Status"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *ModifyLiveVideoResponse) ToJsonString() string { +func (r *ModifyRecordingPlanResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyLiveVideoResponse) FromJsonString(s string) error { +func (r *ModifyRecordingPlanResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type ModifyMessageForwardRequest struct { +type ModifySceneRequest struct { *tchttp.BaseRequest - // 配置ID + // 场景ID IntId *int64 `json:"IntId,omitempty" name:"IntId"` - // json数组, 转发类型 1: 告警 2:GPS - MessageType *string `json:"MessageType,omitempty" name:"MessageType"` + // 场景名称 + SceneName *string `json:"SceneName,omitempty" name:"SceneName"` + + // 触发条件 + SceneTrigger *string `json:"SceneTrigger,omitempty" name:"SceneTrigger"` + + // 录制时长(秒) + RecordDuration *int64 `json:"RecordDuration,omitempty" name:"RecordDuration"` } -func (r *ModifyMessageForwardRequest) ToJsonString() string { +func (r *ModifySceneRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyMessageForwardRequest) FromJsonString(s string) error { +func (r *ModifySceneRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "IntId") - delete(f, "MessageType") + delete(f, "SceneName") + delete(f, "SceneTrigger") + delete(f, "RecordDuration") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyMessageForwardRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySceneRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type ModifyMessageForwardResponse struct { +type ModifySceneResponse struct { *tchttp.BaseResponse Response *struct { @@ -4114,14 +6228,14 @@ type ModifyMessageForwardResponse struct { } `json:"Response"` } -func (r *ModifyMessageForwardResponse) ToJsonString() string { +func (r *ModifySceneResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *ModifyMessageForwardResponse) FromJsonString(s string) error { +func (r *ModifySceneResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } @@ -4229,6 +6343,50 @@ func (r *ModifyVideoInfoResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type PresetItem struct { + + // 预置位ID + // 注意:此字段可能返回 null,表示取不到有效值。 + PresetId *int64 `json:"PresetId,omitempty" name:"PresetId"` + + // 预置位名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + PresetName *string `json:"PresetName,omitempty" name:"PresetName"` + + // 预置位状态 0:未设置预置位 1:已设置预置位 2:已设置预置位&看守位 + Status *int64 `json:"Status,omitempty" name:"Status"` + + // 预置位启用时的自动归位时间 + ResetTime *int64 `json:"ResetTime,omitempty" name:"ResetTime"` +} + +type RecordPlanDetail struct { + + // 计划ID + // 注意:此字段可能返回 null,表示取不到有效值。 + PlanId *string `json:"PlanId,omitempty" name:"PlanId"` + + // 计划名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitempty" name:"Name"` + + // 时间模板ID + // 注意:此字段可能返回 null,表示取不到有效值。 + TimeTemplateId *string `json:"TimeTemplateId,omitempty" name:"TimeTemplateId"` + + // 时间模板名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + TimeTemplateName *string `json:"TimeTemplateName,omitempty" name:"TimeTemplateName"` + + // 绑定的通道列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Channels []*ChannelItem `json:"Channels,omitempty" name:"Channels"` + + // 存储周期(天) + // 注意:此字段可能返回 null,表示取不到有效值。 + RecordStorageTime *int64 `json:"RecordStorageTime,omitempty" name:"RecordStorageTime"` +} + type RecordPlanItem struct { // 计划ID @@ -4256,6 +6414,32 @@ type RecordPlanItem struct { Devices []*DeviceItem `json:"Devices,omitempty" name:"Devices"` } +type RecordStatistic struct { + + // 时间戳 + // 注意:此字段可能返回 null,表示取不到有效值。 + Time *int64 `json:"Time,omitempty" name:"Time"` + + // 统计结果 + // 注意:此字段可能返回 null,表示取不到有效值。 + Value *RecordStatisticValue `json:"Value,omitempty" name:"Value"` +} + +type RecordStatisticValue struct { + + // 期望执行时间 秒 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExpectTimeLen *int64 `json:"ExpectTimeLen,omitempty" name:"ExpectTimeLen"` + + // 实际执行时间 秒 + // 注意:此字段可能返回 null,表示取不到有效值。 + RecordTimeLen *int64 `json:"RecordTimeLen,omitempty" name:"RecordTimeLen"` + + // 存储大小 G + // 注意:此字段可能返回 null,表示取不到有效值。 + FileSize *float64 `json:"FileSize,omitempty" name:"FileSize"` +} + type RecordTaskItem struct { // 录像任务ID @@ -4299,6 +6483,56 @@ type RecordTaskItem struct { RecordId *string `json:"RecordId,omitempty" name:"RecordId"` } +type ResetWarningRequest struct { + *tchttp.BaseRequest + + // 告警ID + Id *int64 `json:"Id,omitempty" name:"Id"` + + // Es中告警ID + Index *string `json:"Index,omitempty" name:"Index"` +} + +func (r *ResetWarningRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ResetWarningRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Id") + delete(f, "Index") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResetWarningRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ResetWarningResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ResetWarningResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ResetWarningResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type SceneItem struct { // 场景ID @@ -4391,11 +6625,11 @@ type TimeTemplateItem struct { // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` - // 是否全时录制,即7*24小时录制 + // 是否全时录制,即7*24小时录制 0-否 1-是 // 注意:此字段可能返回 null,表示取不到有效值。 IsAllWeek *int64 `json:"IsAllWeek,omitempty" name:"IsAllWeek"` - // 是否为自定义模板 + // 是否为自定义模板 0-否 1-是 // 注意:此字段可能返回 null,表示取不到有效值。 Type *int64 `json:"Type,omitempty" name:"Type"` @@ -4663,3 +6897,87 @@ func (r *UpdateTimeTemplateResponse) ToJsonString() string { func (r *UpdateTimeTemplateResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } + +type WarningsData struct { + + // 唯一ID + // 注意:此字段可能返回 null,表示取不到有效值。 + Id *int64 `json:"Id,omitempty" name:"Id"` + + // 设备ID + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` + + // 设备名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` + + // 告警通道 + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnChannel *string `json:"WarnChannel,omitempty" name:"WarnChannel"` + + // 告警级别 1: "一级警情", 2: "二级警情", 3: "三级警情", 4: "四级警情", + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnLevel *int64 `json:"WarnLevel,omitempty" name:"WarnLevel"` + + // 告警级别名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnLevelName *string `json:"WarnLevelName,omitempty" name:"WarnLevelName"` + + // 告警方式 2 设备报警 5 视频报警 6 设备故障报警 + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnMode *int64 `json:"WarnMode,omitempty" name:"WarnMode"` + + // 告警方式名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnModeName *string `json:"WarnModeName,omitempty" name:"WarnModeName"` + + // 告警类型 2: { + // Name: "设备报警", + // WarnType: map[int]string{ + // 1: "视频丢失报警", + // 2: "设备防拆报警", + // 3: "存储设备磁盘满报警", + // 4: "设备高温报警", + // 5: "设备低温报警", + // }, + // }, + // 5: { + // Name: "视频报警", + // WarnType: map[int]string{ + // 1: "人工视频报警", + // 2: "运动目标检测报警", + // 3: "遗留物检测报警", + // 4: "物体移除检测报警", + // 5: "绊线检测报警", + // 6: "入侵检测报警", + // 7: "逆行检测报警", + // 8: "徘徊检测报警", + // 9: "流量统计报警", + // 10: "密度检测报警", + // 11: "视频异常检测报警", + // 12: "快速移动报警", + // }, + // }, + // 6: { + // Name: "设备故障报警", + // WarnType: map[int]string{ + // 1: "存储设备磁盘故障报警", + // 2: "存储设备风扇故障报警", + // }, + // } + // 注意:此字段可能返回 null,表示取不到有效值。 + WarnType *int64 `json:"WarnType,omitempty" name:"WarnType"` + + // 是否删除 + // 注意:此字段可能返回 null,表示取不到有效值。 + Del *int64 `json:"Del,omitempty" name:"Del"` + + // 创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 更新时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` +} diff --git a/tencentcloud/ocr/v20181119/models.go b/tencentcloud/ocr/v20181119/models.go index e86ea7af8a..b948314dbb 100644 --- a/tencentcloud/ocr/v20181119/models.go +++ b/tencentcloud/ocr/v20181119/models.go @@ -464,7 +464,7 @@ func (r *BizLicenseOCRResponse) FromJsonString(s string) error { type BizLicenseVerifyResult struct { // “0“:一致 - // “-1”:此号未查询到结果 + // “-1”:不一致 RegNum *string `json:"RegNum,omitempty" name:"RegNum"` // “0“:一致 diff --git a/tencentcloud/sms/v20210111/errors.go b/tencentcloud/sms/v20210111/errors.go index 71761d0372..645b847f3a 100644 --- a/tencentcloud/sms/v20210111/errors.go +++ b/tencentcloud/sms/v20210111/errors.go @@ -50,7 +50,7 @@ const ( // 此模板 ID 未提交申请或不存在,不能进行修改操作,请检查您的 TemplateId是否填写正确。 FAILEDOPERATION_MISSINGTEMPLATETOMODIFY = "FailedOperation.MissingTemplateToModify" - // 非企业认证无法使用签名及模版相关接口,您可以[ 变更实名认证模式](https://cloud.tencent.com/document/product/378/34075),变更为企业认证用户后,约1小时左右生效。 + // 非企业认证无法使用签名及模板相关接口,您可以[ 变更实名认证模式](https://cloud.tencent.com/document/product/378/34075),变更为企业认证用户后,约1小时左右生效。 FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // 其他错误,一般是由于参数携带不符合要求导致,请参考API接口说明,如有需要请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。 @@ -176,7 +176,7 @@ const ( // 已存在相同的待审核签名。 INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" - // 验证码模板参数格式错误,验证码类模版,模版变量只能传入0 - 6位(包括6位)纯数字。 + // 验证码模板参数格式错误,验证码类模板,模板变量只能传入0 - 6位(包括6位)纯数字。 INVALIDPARAMETERVALUE_TEMPLATEPARAMETERFORMATERROR = "InvalidParameterValue.TemplateParameterFormatError" // 单个模板变量字符数超过12个,企业认证用户不限制单个变量值字数,您可以 [变更实名认证模式](https://cloud.tencent.com/document/product/378/34075),变更为企业认证用户后,该限制变更约1小时左右生效。 diff --git a/tencentcloud/vms/v20200902/errors.go b/tencentcloud/vms/v20200902/errors.go index 17e818a77b..688a9d0d24 100644 --- a/tencentcloud/vms/v20200902/errors.go +++ b/tencentcloud/vms/v20200902/errors.go @@ -44,7 +44,7 @@ const ( // 未申请号码或申请的号码资源已过期,请及时支付月功能费用和信息服务费用,具体操作请参见[购买指南](https://cloud.tencent.com/document/product/1128)。 FAILEDOPERATION_PHONENUMBERUNAPPLIEDOREXPIRED = "FailedOperation.PhonenumberUnappliedOrExpired" - // 模版未审核或请求的内容与审核通过的模版内容不匹配,请参见[1014错误详解](https://cloud.tencent.com/document/product/1128/38004#Q8)。 + // 模板未审核或请求的内容与审核通过的模板内容不匹配,请参见[1014错误详解](https://cloud.tencent.com/document/product/1128/38004 FAILEDOPERATION_TEMPLATEINCORRECTORUNAPPROVED = "FailedOperation.TemplateIncorrectOrUnapproved" // 访问上游超时网络,请稍后重试。