From 27fee21464cb90584e13abe985b78473fa2bb627 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Fri, 12 Apr 2024 17:19:53 +0800 Subject: [PATCH] release v1.0.898 --- CHANGELOG.md | 408 ++ SERVICE_CHANGELOG.md | 752 ++- products.md | 33 +- tencentcloud/aa/go.mod | 2 +- tencentcloud/aai/go.mod | 2 +- tencentcloud/acp/go.mod | 2 +- tencentcloud/advisor/go.mod | 2 +- tencentcloud/af/go.mod | 2 +- tencentcloud/afc/go.mod | 2 +- tencentcloud/aiart/go.mod | 2 +- tencentcloud/aiart/v20221229/client.go | 44 +- tencentcloud/aiart/v20221229/models.go | 18 +- tencentcloud/ame/go.mod | 2 +- tencentcloud/ams/go.mod | 2 +- tencentcloud/anicloud/go.mod | 2 +- tencentcloud/antiddos/go.mod | 2 +- tencentcloud/antiddos/v20200309/models.go | 4 + tencentcloud/apcas/go.mod | 2 +- tencentcloud/ape/go.mod | 2 +- tencentcloud/api/go.mod | 2 +- tencentcloud/apigateway/go.mod | 2 +- tencentcloud/apm/go.mod | 2 +- tencentcloud/as/go.mod | 2 +- tencentcloud/asr/go.mod | 2 +- tencentcloud/asw/go.mod | 2 +- tencentcloud/ba/go.mod | 2 +- tencentcloud/batch/go.mod | 2 +- tencentcloud/bda/go.mod | 2 +- tencentcloud/bi/go.mod | 2 +- tencentcloud/billing/go.mod | 2 +- tencentcloud/bizlive/go.mod | 2 +- tencentcloud/bm/go.mod | 2 +- tencentcloud/bma/go.mod | 2 +- tencentcloud/bmeip/go.mod | 2 +- tencentcloud/bmlb/go.mod | 2 +- tencentcloud/bmvpc/go.mod | 2 +- tencentcloud/bpaas/go.mod | 2 +- tencentcloud/bri/go.mod | 2 +- tencentcloud/bsca/go.mod | 2 +- tencentcloud/btoe/go.mod | 2 +- tencentcloud/cam/go.mod | 2 +- tencentcloud/captcha/go.mod | 2 +- tencentcloud/car/go.mod | 2 +- tencentcloud/cat/go.mod | 2 +- tencentcloud/cbs/go.mod | 2 +- tencentcloud/ccc/go.mod | 2 +- tencentcloud/cdb/go.mod | 2 +- tencentcloud/cdb/v20170320/client.go | 114 + tencentcloud/cdb/v20170320/errors.go | 3 + tencentcloud/cdb/v20170320/models.go | 164 + tencentcloud/cdc/go.mod | 2 +- tencentcloud/cdn/go.mod | 2 +- tencentcloud/cds/go.mod | 2 +- tencentcloud/cdwch/go.mod | 2 +- tencentcloud/cdwdoris/go.mod | 2 +- tencentcloud/cdwpg/go.mod | 2 +- tencentcloud/cfg/go.mod | 2 +- tencentcloud/cfs/go.mod | 2 +- tencentcloud/cfw/go.mod | 2 +- tencentcloud/chdfs/go.mod | 2 +- tencentcloud/ciam/go.mod | 2 +- tencentcloud/cii/go.mod | 2 +- tencentcloud/cim/go.mod | 2 +- tencentcloud/cis/go.mod | 2 +- tencentcloud/ckafka/go.mod | 2 +- tencentcloud/clb/go.mod | 2 +- tencentcloud/cloudaudit/go.mod | 2 +- tencentcloud/cloudhsm/go.mod | 2 +- tencentcloud/cloudstudio/go.mod | 2 +- tencentcloud/cls/go.mod | 2 +- tencentcloud/cme/go.mod | 2 +- tencentcloud/cmq/go.mod | 2 +- tencentcloud/cms/go.mod | 2 +- tencentcloud/common/http/request.go | 2 +- tencentcloud/config/go.mod | 2 +- tencentcloud/cpdp/go.mod | 2 +- tencentcloud/cr/go.mod | 2 +- tencentcloud/csip/go.mod | 2 +- tencentcloud/csxg/go.mod | 2 +- tencentcloud/cvm/go.mod | 2 +- tencentcloud/cwp/go.mod | 2 +- tencentcloud/cws/go.mod | 2 +- tencentcloud/cynosdb/go.mod | 2 +- tencentcloud/dasb/go.mod | 2 +- tencentcloud/dataintegration/go.mod | 2 +- tencentcloud/dayu/go.mod | 2 +- tencentcloud/dbbrain/go.mod | 2 +- tencentcloud/dbdc/go.mod | 2 +- tencentcloud/dc/go.mod | 2 +- tencentcloud/dcdb/go.mod | 2 +- tencentcloud/dlc/go.mod | 2 +- tencentcloud/dnspod/go.mod | 2 +- tencentcloud/domain/go.mod | 2 +- tencentcloud/drm/go.mod | 2 +- tencentcloud/ds/go.mod | 2 +- tencentcloud/dsgc/go.mod | 2 +- tencentcloud/dtf/go.mod | 2 +- tencentcloud/dts/go.mod | 2 +- tencentcloud/eb/go.mod | 2 +- tencentcloud/ecc/go.mod | 2 +- tencentcloud/ecdn/go.mod | 2 +- tencentcloud/ecm/go.mod | 2 +- tencentcloud/eiam/go.mod | 2 +- tencentcloud/eis/go.mod | 2 +- tencentcloud/emr/go.mod | 2 +- tencentcloud/es/go.mod | 2 +- tencentcloud/es/v20180416/models.go | 14 +- tencentcloud/ess/go.mod | 2 +- tencentcloud/essbasic/go.mod | 2 +- tencentcloud/facefusion/go.mod | 2 +- tencentcloud/faceid/go.mod | 2 +- tencentcloud/faceid/v20180301/client.go | 4 +- tencentcloud/faceid/v20180301/models.go | 3 + tencentcloud/fmu/go.mod | 2 +- tencentcloud/ft/go.mod | 2 +- tencentcloud/gaap/go.mod | 2 +- tencentcloud/gme/go.mod | 2 +- tencentcloud/goosefs/go.mod | 2 +- tencentcloud/gpm/go.mod | 2 +- tencentcloud/gs/go.mod | 2 +- tencentcloud/gse/go.mod | 2 +- tencentcloud/habo/go.mod | 2 +- tencentcloud/hai/go.mod | 2 +- tencentcloud/hasim/go.mod | 2 +- tencentcloud/hcm/go.mod | 2 +- tencentcloud/hunyuan/go.mod | 2 +- tencentcloud/hunyuan/v20230901/client.go | 32 +- tencentcloud/hunyuan/v20230901/models.go | 163 +- tencentcloud/iai/go.mod | 2 +- tencentcloud/ic/go.mod | 2 +- tencentcloud/icr/go.mod | 2 +- tencentcloud/ie/go.mod | 2 +- tencentcloud/iecp/go.mod | 2 +- tencentcloud/iir/go.mod | 2 +- tencentcloud/ims/go.mod | 2 +- tencentcloud/ioa/go.mod | 2 +- tencentcloud/iot/go.mod | 2 +- tencentcloud/iotcloud/go.mod | 2 +- tencentcloud/iotexplorer/go.mod | 2 +- tencentcloud/iottid/go.mod | 2 +- tencentcloud/iotvideo/go.mod | 2 +- tencentcloud/iotvideoindustry/go.mod | 2 +- tencentcloud/irp/go.mod | 2 +- tencentcloud/iss/go.mod | 2 +- tencentcloud/ivld/go.mod | 2 +- tencentcloud/keewidb/go.mod | 2 +- tencentcloud/kms/go.mod | 2 +- tencentcloud/lcic/go.mod | 2 +- tencentcloud/lighthouse/go.mod | 2 +- tencentcloud/live/go.mod | 2 +- tencentcloud/lke/doc.go | 2 + tencentcloud/lke/go.mod | 5 + tencentcloud/lke/v20231130/client.go | 3731 +++++++++++ tencentcloud/lke/v20231130/errors.go | 34 + tencentcloud/lke/v20231130/models.go | 7202 +++++++++++++++++++++ tencentcloud/lowcode/go.mod | 2 +- tencentcloud/lp/go.mod | 2 +- tencentcloud/mall/go.mod | 2 +- tencentcloud/mariadb/go.mod | 2 +- tencentcloud/market/go.mod | 2 +- tencentcloud/memcached/go.mod | 2 +- tencentcloud/mgobe/go.mod | 2 +- tencentcloud/mmps/go.mod | 2 +- tencentcloud/mna/go.mod | 2 +- tencentcloud/mna/v20210119/client.go | 10 + tencentcloud/mna/v20210119/errors.go | 12 + tencentcloud/mna/v20210119/models.go | 145 +- tencentcloud/mongodb/go.mod | 2 +- tencentcloud/monitor/go.mod | 2 +- tencentcloud/mps/go.mod | 2 +- tencentcloud/mrs/go.mod | 2 +- tencentcloud/ms/go.mod | 2 +- tencentcloud/msp/go.mod | 2 +- tencentcloud/mvj/go.mod | 2 +- tencentcloud/nlp/go.mod | 2 +- tencentcloud/npp/go.mod | 2 +- tencentcloud/oceanus/go.mod | 2 +- tencentcloud/ocr/go.mod | 2 +- tencentcloud/omics/go.mod | 2 +- tencentcloud/organization/go.mod | 2 +- tencentcloud/partners/go.mod | 2 +- tencentcloud/pds/go.mod | 2 +- tencentcloud/postgres/go.mod | 2 +- tencentcloud/privatedns/go.mod | 2 +- tencentcloud/pts/go.mod | 2 +- tencentcloud/rce/go.mod | 2 +- tencentcloud/redis/go.mod | 2 +- tencentcloud/redis/v20180412/models.go | 2 +- tencentcloud/region/go.mod | 2 +- tencentcloud/rkp/go.mod | 2 +- tencentcloud/rp/go.mod | 2 +- tencentcloud/rum/go.mod | 2 +- tencentcloud/scf/go.mod | 2 +- tencentcloud/ses/go.mod | 2 +- tencentcloud/smh/go.mod | 2 +- tencentcloud/smop/go.mod | 2 +- tencentcloud/smpn/go.mod | 2 +- tencentcloud/sms/go.mod | 2 +- tencentcloud/sms/v20210111/models.go | 2 + tencentcloud/soe/go.mod | 2 +- tencentcloud/solar/go.mod | 2 +- tencentcloud/sqlserver/go.mod | 2 +- tencentcloud/ssa/go.mod | 2 +- tencentcloud/ssl/go.mod | 2 +- tencentcloud/sslpod/go.mod | 2 +- tencentcloud/ssm/go.mod | 2 +- tencentcloud/sts/go.mod | 2 +- tencentcloud/svp/go.mod | 2 +- tencentcloud/taf/go.mod | 2 +- tencentcloud/tag/go.mod | 2 +- tencentcloud/tan/go.mod | 2 +- tencentcloud/tat/go.mod | 2 +- tencentcloud/tav/go.mod | 2 +- tencentcloud/tbaas/go.mod | 2 +- tencentcloud/tbm/go.mod | 2 +- tencentcloud/tbp/go.mod | 2 +- tencentcloud/tcaplusdb/go.mod | 2 +- tencentcloud/tcb/go.mod | 2 +- tencentcloud/tcbr/go.mod | 2 +- tencentcloud/tcex/go.mod | 2 +- tencentcloud/tchd/go.mod | 2 +- tencentcloud/tci/go.mod | 2 +- tencentcloud/tcm/go.mod | 2 +- tencentcloud/tcr/go.mod | 2 +- tencentcloud/tcss/go.mod | 2 +- tencentcloud/tdcpg/go.mod | 2 +- tencentcloud/tdid/go.mod | 2 +- tencentcloud/tdmq/go.mod | 2 +- tencentcloud/tds/go.mod | 2 +- tencentcloud/tem/go.mod | 2 +- tencentcloud/teo/go.mod | 2 +- tencentcloud/thpc/go.mod | 2 +- tencentcloud/tia/go.mod | 2 +- tencentcloud/tic/go.mod | 2 +- tencentcloud/ticm/go.mod | 2 +- tencentcloud/tics/go.mod | 2 +- tencentcloud/tiems/go.mod | 2 +- tencentcloud/tiia/go.mod | 2 +- tencentcloud/tione/go.mod | 2 +- tencentcloud/tione/v20211111/models.go | 16 +- tencentcloud/tiw/go.mod | 2 +- tencentcloud/tke/go.mod | 2 +- tencentcloud/tkgdq/go.mod | 2 +- tencentcloud/tms/go.mod | 2 +- tencentcloud/tmt/go.mod | 2 +- tencentcloud/tourism/go.mod | 2 +- tencentcloud/trdp/go.mod | 2 +- tencentcloud/trocket/go.mod | 2 +- tencentcloud/trp/go.mod | 2 +- tencentcloud/trro/go.mod | 2 +- tencentcloud/trtc/go.mod | 2 +- tencentcloud/trtc/v20190722/models.go | 16 +- tencentcloud/tse/go.mod | 2 +- tencentcloud/tsf/go.mod | 2 +- tencentcloud/tsw/go.mod | 2 +- tencentcloud/tts/go.mod | 2 +- tencentcloud/ump/go.mod | 2 +- tencentcloud/vm/go.mod | 2 +- tencentcloud/vms/go.mod | 2 +- tencentcloud/vod/go.mod | 2 +- tencentcloud/vpc/go.mod | 2 +- tencentcloud/vrs/go.mod | 2 +- tencentcloud/waf/go.mod | 2 +- tencentcloud/wav/go.mod | 2 +- tencentcloud/wedata/go.mod | 2 +- tencentcloud/wedata/v20210820/client.go | 545 +- tencentcloud/wedata/v20210820/models.go | 1068 +-- tencentcloud/weilingwith/go.mod | 2 +- tencentcloud/wss/go.mod | 2 +- tencentcloud/yinsuda/go.mod | 2 +- tencentcloud/youmall/go.mod | 2 +- tencentcloud/yunjing/go.mod | 2 +- tencentcloud/yunsou/go.mod | 2 +- testing/go.mod | 4 +- testing/integration/import_test.go | 14 + 275 files changed, 13060 insertions(+), 1994 deletions(-) create mode 100644 tencentcloud/lke/doc.go create mode 100644 tencentcloud/lke/go.mod create mode 100644 tencentcloud/lke/v20231130/client.go create mode 100644 tencentcloud/lke/v20231130/errors.go create mode 100644 tencentcloud/lke/v20231130/models.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 612ab1dd19..6830b177e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,411 @@ +# Release v1.0.898 + +## T-Sec-DDoS防护(Anti-DDoS)(antiddos) 版本:2020-03-09 + +### 第 65 次发布 + +发布时间:2024-04-12 01:07:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [BGPInstance](https://cloud.tencent.com/document/api/297/95396#BGPInstance) + + * 新增成员:SuperPackFlag + + + + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 155 次发布 + +发布时间:2024-04-12 01:09:15 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CheckMigrateCluster](https://cloud.tencent.com/document/api/236/105117) +* [DescribeClusterInfo](https://cloud.tencent.com/document/api/236/105116) + +新增数据结构: + +* [AddressInfo](https://cloud.tencent.com/document/api/236/15878#AddressInfo) +* [ClusterNodeInfo](https://cloud.tencent.com/document/api/236/15878#ClusterNodeInfo) + + + +## Elasticsearch Service(es) 版本:2018-04-16 + +### 第 56 次发布 + +发布时间:2024-04-11 16:23:06 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateServerlessInstance](https://cloud.tencent.com/document/api/845/104318) + + * **修改入参**:Zone, VpcId, SubnetId + + + + +## 人脸核身(faceid) 版本:2018-03-01 + +### 第 74 次发布 + +发布时间:2024-04-12 01:15:49 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [RuleIdConfig](https://cloud.tencent.com/document/api/1007/41958#RuleIdConfig) + + * 新增成员:MouthOpenRecognition + + + + +## 腾讯混元大模型(hunyuan) 版本:2023-09-01 + +### 第 3 次发布 + +发布时间:2024-04-11 20:37:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ChatPro](https://cloud.tencent.com/document/api/1729/101837) + + * 新增入参:Stream, StreamModeration + +* [ChatStd](https://cloud.tencent.com/document/api/1729/101836) + + * 新增入参:Stream, StreamModeration + + +修改数据结构: + +* [Choice](https://cloud.tencent.com/document/api/1729/101838#Choice) + + * 新增成员:Message + + + + +## 大模型知识引擎(lke) 版本:2023-11-30 + +### 第 1 次发布 + +发布时间:2024-04-11 17:23:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CheckAttributeLabelExist](https://cloud.tencent.com/document/api/1759/105047) +* [CheckAttributeLabelRefer](https://cloud.tencent.com/document/api/1759/105046) +* [CreateApp](https://cloud.tencent.com/document/api/1759/105074) +* [CreateAttributeLabel](https://cloud.tencent.com/document/api/1759/105045) +* [CreateCorp](https://cloud.tencent.com/document/api/1759/105103) +* [CreateQA](https://cloud.tencent.com/document/api/1759/105037) +* [CreateQACate](https://cloud.tencent.com/document/api/1759/105036) +* [CreateRejectedQuestion](https://cloud.tencent.com/document/api/1759/105102) +* [CreateRelease](https://cloud.tencent.com/document/api/1759/105079) +* [DeleteApp](https://cloud.tencent.com/document/api/1759/105073) +* [DeleteAttributeLabel](https://cloud.tencent.com/document/api/1759/105044) +* [DeleteDoc](https://cloud.tencent.com/document/api/1759/105101) +* [DeleteQA](https://cloud.tencent.com/document/api/1759/105035) +* [DeleteQACate](https://cloud.tencent.com/document/api/1759/105034) +* [DeleteRejectedQuestion](https://cloud.tencent.com/document/api/1759/105100) +* [DescribeApp](https://cloud.tencent.com/document/api/1759/105072) +* [DescribeAttributeLabel](https://cloud.tencent.com/document/api/1759/105043) +* [DescribeCorp](https://cloud.tencent.com/document/api/1759/105099) +* [DescribeDoc](https://cloud.tencent.com/document/api/1759/105071) +* [DescribeQA](https://cloud.tencent.com/document/api/1759/105098) +* [DescribeRefer](https://cloud.tencent.com/document/api/1759/105070) +* [DescribeRelease](https://cloud.tencent.com/document/api/1759/105078) +* [DescribeReleaseInfo](https://cloud.tencent.com/document/api/1759/105033) +* [DescribeRobotBizIDByAppKey](https://cloud.tencent.com/document/api/1759/105051) +* [DescribeStorageCredential](https://cloud.tencent.com/document/api/1759/105050) +* [DescribeUnsatisfiedReplyContext](https://cloud.tencent.com/document/api/1759/105032) +* [ExportAttributeLabel](https://cloud.tencent.com/document/api/1759/105042) +* [ExportQAList](https://cloud.tencent.com/document/api/1759/105097) +* [ExportUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105031) +* [GenerateQA](https://cloud.tencent.com/document/api/1759/105069) +* [GetAppKnowledgeCount](https://cloud.tencent.com/document/api/1759/105068) +* [GetAppSecret](https://cloud.tencent.com/document/api/1759/105049) +* [GetDocPreview](https://cloud.tencent.com/document/api/1759/105067) +* [GetEmbedding](https://cloud.tencent.com/document/api/1759/105084) +* [GetMsgRecord](https://cloud.tencent.com/document/api/1759/105090) +* [GetTaskStatus](https://cloud.tencent.com/document/api/1759/105096) +* [GetWsToken](https://cloud.tencent.com/document/api/1759/105089) +* [GroupQA](https://cloud.tencent.com/document/api/1759/105030) +* [IgnoreUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105029) +* [IsTransferIntent](https://cloud.tencent.com/document/api/1759/105088) +* [ListApp](https://cloud.tencent.com/document/api/1759/105066) +* [ListAppCategory](https://cloud.tencent.com/document/api/1759/105065) +* [ListAttributeLabel](https://cloud.tencent.com/document/api/1759/105041) +* [ListDoc](https://cloud.tencent.com/document/api/1759/105064) +* [ListModel](https://cloud.tencent.com/document/api/1759/105063) +* [ListQA](https://cloud.tencent.com/document/api/1759/105028) +* [ListQACate](https://cloud.tencent.com/document/api/1759/105027) +* [ListRejectedQuestion](https://cloud.tencent.com/document/api/1759/105095) +* [ListRejectedQuestionPreview](https://cloud.tencent.com/document/api/1759/105062) +* [ListRelease](https://cloud.tencent.com/document/api/1759/105077) +* [ListReleaseConfigPreview](https://cloud.tencent.com/document/api/1759/105076) +* [ListReleaseDocPreview](https://cloud.tencent.com/document/api/1759/105061) +* [ListReleaseQAPreview](https://cloud.tencent.com/document/api/1759/105060) +* [ListSelectDoc](https://cloud.tencent.com/document/api/1759/105094) +* [ListUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105026) +* [ModifyApp](https://cloud.tencent.com/document/api/1759/105059) +* [ModifyAttributeLabel](https://cloud.tencent.com/document/api/1759/105040) +* [ModifyDoc](https://cloud.tencent.com/document/api/1759/105058) +* [ModifyDocAttrRange](https://cloud.tencent.com/document/api/1759/105057) +* [ModifyQA](https://cloud.tencent.com/document/api/1759/105025) +* [ModifyQAAttrRange](https://cloud.tencent.com/document/api/1759/105024) +* [ModifyQACate](https://cloud.tencent.com/document/api/1759/105023) +* [ModifyRejectedQuestion](https://cloud.tencent.com/document/api/1759/105093) +* [ParseDoc](https://cloud.tencent.com/document/api/1759/105083) +* [QueryParseDocResult](https://cloud.tencent.com/document/api/1759/105082) +* [QueryRewrite](https://cloud.tencent.com/document/api/1759/105081) +* [RateMsgRecord](https://cloud.tencent.com/document/api/1759/105087) +* [ResetSession](https://cloud.tencent.com/document/api/1759/105086) +* [RetryDocAudit](https://cloud.tencent.com/document/api/1759/105056) +* [RetryDocParse](https://cloud.tencent.com/document/api/1759/105055) +* [RetryRelease](https://cloud.tencent.com/document/api/1759/105092) +* [SaveDoc](https://cloud.tencent.com/document/api/1759/105054) +* [StopDocParse](https://cloud.tencent.com/document/api/1759/105053) +* [UploadAttributeLabel](https://cloud.tencent.com/document/api/1759/105039) +* [VerifyQA](https://cloud.tencent.com/document/api/1759/105022) + +新增数据结构: + +* [AppConfig](https://cloud.tencent.com/document/api/1759/105104#AppConfig) +* [AppInfo](https://cloud.tencent.com/document/api/1759/105104#AppInfo) +* [AppModel](https://cloud.tencent.com/document/api/1759/105104#AppModel) +* [AttrLabel](https://cloud.tencent.com/document/api/1759/105104#AttrLabel) +* [AttrLabelDetail](https://cloud.tencent.com/document/api/1759/105104#AttrLabelDetail) +* [AttrLabelRefer](https://cloud.tencent.com/document/api/1759/105104#AttrLabelRefer) +* [AttributeFilters](https://cloud.tencent.com/document/api/1759/105104#AttributeFilters) +* [AttributeLabel](https://cloud.tencent.com/document/api/1759/105104#AttributeLabel) +* [BaseConfig](https://cloud.tencent.com/document/api/1759/105104#BaseConfig) +* [ClassifyConfig](https://cloud.tencent.com/document/api/1759/105104#ClassifyConfig) +* [ClassifyLabel](https://cloud.tencent.com/document/api/1759/105104#ClassifyLabel) +* [Context](https://cloud.tencent.com/document/api/1759/105104#Context) +* [Credentials](https://cloud.tencent.com/document/api/1759/105104#Credentials) +* [EmbeddingObject](https://cloud.tencent.com/document/api/1759/105104#EmbeddingObject) +* [Filters](https://cloud.tencent.com/document/api/1759/105104#Filters) +* [GetWsTokenReq_Label](https://cloud.tencent.com/document/api/1759/105104#GetWsTokenReq_Label) +* [Highlight](https://cloud.tencent.com/document/api/1759/105104#Highlight) +* [KnowledgeQaConfig](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaConfig) +* [KnowledgeQaOutput](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaOutput) +* [KnowledgeQaSearch](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaSearch) +* [Label](https://cloud.tencent.com/document/api/1759/105104#Label) +* [ListAppCategoryRspOption](https://cloud.tencent.com/document/api/1759/105104#ListAppCategoryRspOption) +* [ListDocItem](https://cloud.tencent.com/document/api/1759/105104#ListDocItem) +* [ListQaItem](https://cloud.tencent.com/document/api/1759/105104#ListQaItem) +* [ListReleaseItem](https://cloud.tencent.com/document/api/1759/105104#ListReleaseItem) +* [Message](https://cloud.tencent.com/document/api/1759/105104#Message) +* [ModelInfo](https://cloud.tencent.com/document/api/1759/105104#ModelInfo) +* [MsgRecord](https://cloud.tencent.com/document/api/1759/105104#MsgRecord) +* [MsgRecordReference](https://cloud.tencent.com/document/api/1759/105104#MsgRecordReference) +* [Option](https://cloud.tencent.com/document/api/1759/105104#Option) +* [QACate](https://cloud.tencent.com/document/api/1759/105104#QACate) +* [QAList](https://cloud.tencent.com/document/api/1759/105104#QAList) +* [QAQuery](https://cloud.tencent.com/document/api/1759/105104#QAQuery) +* [ReferDetail](https://cloud.tencent.com/document/api/1759/105104#ReferDetail) +* [RejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#RejectedQuestion) +* [ReleaseConfigs](https://cloud.tencent.com/document/api/1759/105104#ReleaseConfigs) +* [ReleaseDoc](https://cloud.tencent.com/document/api/1759/105104#ReleaseDoc) +* [ReleaseQA](https://cloud.tencent.com/document/api/1759/105104#ReleaseQA) +* [ReleaseRejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#ReleaseRejectedQuestion) +* [SummaryConfig](https://cloud.tencent.com/document/api/1759/105104#SummaryConfig) +* [SummaryOutput](https://cloud.tencent.com/document/api/1759/105104#SummaryOutput) +* [TaskParams](https://cloud.tencent.com/document/api/1759/105104#TaskParams) +* [UnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105104#UnsatisfiedReply) + + + +## 多网聚合加速(mna) 版本:2021-01-19 + +### 第 18 次发布 + +发布时间:2024-04-12 01:19:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddDevice](https://cloud.tencent.com/document/api/1385/80483) + + * 新增入参:LicensePayMode, GroupName, GroupId + +* [GetFlowStatistic](https://cloud.tencent.com/document/api/1385/80486) + + * 新增入参:DeviceList + +* [GetStatisticData](https://cloud.tencent.com/document/api/1385/80479) + + * 新增入参:DeviceList, GroupId + +* [OrderFlowPackage](https://cloud.tencent.com/document/api/1385/102108) + + * 新增入参:FlowTruncFlag + + +修改数据结构: + +* [ActivateHardware](https://cloud.tencent.com/document/api/1385/55846#ActivateHardware) + + * 新增成员:LicensePayMode, GroupId, GroupName + +* [DeviceBaseInfo](https://cloud.tencent.com/document/api/1385/55846#DeviceBaseInfo) + + * 新增成员:LicensePayMode, Payer, GroupId, GroupName + +* [DeviceDetails](https://cloud.tencent.com/document/api/1385/55846#DeviceDetails) + + * **修改成员**:GatewaySite, BusinessDownRate, BusinessUpRate + +* [FlowPackageInfo](https://cloud.tencent.com/document/api/1385/55846#FlowPackageInfo) + + * 新增成员:TruncFlag, CapacityRemainPrecise + +* [HardwareInfo](https://cloud.tencent.com/document/api/1385/55846#HardwareInfo) + + * 新增成员:LicensePayMode, Payer, GroupId, GroupName + + * **修改成员**:DeviceId, DeviceName, ActiveTime, LastOnlineTime, Description, VendorDescription, LicenseChargingMode, CreateTime, SN + +* [VendorHardware](https://cloud.tencent.com/document/api/1385/55846#VendorHardware) + + * 新增成员:LicensePayMode, Payer + + * **修改成员**:HardwareId, SN, CreateTime, Status, ActiveTime, Description, DeviceId, LicenseChargingMode, LastOnlineTime + + + + +## TI-ONE 训练平台(tione) 版本:2021-11-11 + +### 第 57 次发布 + +发布时间:2024-04-12 01:25:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094) + + * 新增入参:EncodedStartCmdInfo + + +新增数据结构: + +* [EncodedStartCmdInfo](https://cloud.tencent.com/document/api/851/75051#EncodedStartCmdInfo) + + + +## TI-ONE 训练平台(tione) 版本:2019-10-22 + + + +## 实时音视频(trtc) 版本:2019-07-22 + +### 第 70 次发布 + +发布时间:2024-04-12 01:26:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [McuBackgroundCustomRender](https://cloud.tencent.com/document/api/647/44055#McuBackgroundCustomRender) + +修改数据结构: + +* [McuLayout](https://cloud.tencent.com/document/api/647/44055#McuLayout) + + * 新增成员:BackgroundCustomRender + + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 85 次发布 + +发布时间:2024-04-12 01:28:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* CreateInLongAgent +* DeleteInLongAgent +* DescribeClusterNamespaceList +* DescribeInLongAgentList +* DescribeInLongAgentTaskList +* DescribeInLongAgentVpcList +* DescribeInLongTkeClusterList +* DescribeIntegrationStatisticsAgentStatus +* DescribeStandardRuleDetailInfoList +* RestartInLongAgent +* UpdateInLongAgent + +**删除数据结构**: + +* CvmAgentStatus +* InLongAgentDetail +* InLongAgentTask +* InLongTkeDetail +* Namespace + +修改数据结构: + +* [InstanceList](https://cloud.tencent.com/document/api/1267/76336#InstanceList) + + * **修改成员**:CostTime, CurRunDate, CycleType, DoFlag, InCharge, LastLog, SchedulerDesc, StartTime, State, TaskId, TaskName, TryLimit + +* [InstanceLogList](https://cloud.tencent.com/document/api/1267/76336#InstanceLogList) + + * **修改成员**:TaskId, CurRunDate, Tries, LastUpdate, BrokerIp, FileSize, OriginFileName, CreateTime, InstanceLogType, TaskName, CostTime + +* [IntegrationInstanceLog](https://cloud.tencent.com/document/api/1267/76336#IntegrationInstanceLog) + + * **修改成员**:LogInfo + + + + # Release v1.0.897 ## 语音识别(asr) 版本:2019-06-14 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 3fab4c83f5..b9e88fd8c0 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,51 @@ # 本版本更新包含以下内容: -## 语音识别(asr) 版本:2019-06-14 +## T-Sec-DDoS防护(Anti-DDoS)(antiddos) 版本:2020-03-09 -### 第 34 次发布 +### 第 65 次发布 -发布时间:2024-04-11 01:07:46 +发布时间:2024-04-12 01:07:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [BGPInstance](https://cloud.tencent.com/document/api/297/95396#BGPInstance) + + * 新增成员:SuperPackFlag + + + + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 155 次发布 + +发布时间:2024-04-12 01:09:15 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CheckMigrateCluster](https://cloud.tencent.com/document/api/236/105117) +* [DescribeClusterInfo](https://cloud.tencent.com/document/api/236/105116) + +新增数据结构: + +* [AddressInfo](https://cloud.tencent.com/document/api/236/15878#AddressInfo) +* [ClusterNodeInfo](https://cloud.tencent.com/document/api/236/15878#ClusterNodeInfo) + + + +## Elasticsearch Service(es) 版本:2018-04-16 + +### 第 56 次发布 + +发布时间:2024-04-11 16:23:06 本次发布包含了以下内容: @@ -12,18 +53,37 @@ 修改接口: -* [CreateRecTask](https://cloud.tencent.com/document/api/1093/37823) +* [CreateServerlessInstance](https://cloud.tencent.com/document/api/845/104318) -* [SentenceRecognition](https://cloud.tencent.com/document/api/1093/35646) + * **修改入参**:Zone, VpcId, SubnetId -## 智能视图计算平台(iss) 版本:2023-05-17 +## 人脸核身(faceid) 版本:2018-03-01 -### 第 13 次发布 +### 第 74 次发布 -发布时间:2024-04-11 01:17:04 +发布时间:2024-04-12 01:15:49 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [RuleIdConfig](https://cloud.tencent.com/document/api/1007/41958#RuleIdConfig) + + * 新增成员:MouthOpenRecognition + + + + +## 腾讯混元大模型(hunyuan) 版本:2023-09-01 + +### 第 3 次发布 + +发布时间:2024-04-11 20:37:23 本次发布包含了以下内容: @@ -31,72 +91,317 @@ 修改接口: -* [UpdateUserDevice](https://cloud.tencent.com/document/api/1344/95867) +* [ChatPro](https://cloud.tencent.com/document/api/1729/101837) - * 新增入参:AudioSwitch, SubscribeSwitch + * 新增入参:Stream, StreamModeration + +* [ChatStd](https://cloud.tencent.com/document/api/1729/101836) + + * 新增入参:Stream, StreamModeration 修改数据结构: -* [DescribeDeviceData](https://cloud.tencent.com/document/api/1344/95952#DescribeDeviceData) +* [Choice](https://cloud.tencent.com/document/api/1729/101838#Choice) - * 新增成员:AudioSwitch, SubscribeSwitch + * 新增成员:Message -## 云直播CSS(live) 版本:2018-08-01 +## 大模型知识引擎(lke) 版本:2023-11-30 -### 第 125 次发布 +### 第 1 次发布 + +发布时间:2024-04-11 17:23:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CheckAttributeLabelExist](https://cloud.tencent.com/document/api/1759/105047) +* [CheckAttributeLabelRefer](https://cloud.tencent.com/document/api/1759/105046) +* [CreateApp](https://cloud.tencent.com/document/api/1759/105074) +* [CreateAttributeLabel](https://cloud.tencent.com/document/api/1759/105045) +* [CreateCorp](https://cloud.tencent.com/document/api/1759/105103) +* [CreateQA](https://cloud.tencent.com/document/api/1759/105037) +* [CreateQACate](https://cloud.tencent.com/document/api/1759/105036) +* [CreateRejectedQuestion](https://cloud.tencent.com/document/api/1759/105102) +* [CreateRelease](https://cloud.tencent.com/document/api/1759/105079) +* [DeleteApp](https://cloud.tencent.com/document/api/1759/105073) +* [DeleteAttributeLabel](https://cloud.tencent.com/document/api/1759/105044) +* [DeleteDoc](https://cloud.tencent.com/document/api/1759/105101) +* [DeleteQA](https://cloud.tencent.com/document/api/1759/105035) +* [DeleteQACate](https://cloud.tencent.com/document/api/1759/105034) +* [DeleteRejectedQuestion](https://cloud.tencent.com/document/api/1759/105100) +* [DescribeApp](https://cloud.tencent.com/document/api/1759/105072) +* [DescribeAttributeLabel](https://cloud.tencent.com/document/api/1759/105043) +* [DescribeCorp](https://cloud.tencent.com/document/api/1759/105099) +* [DescribeDoc](https://cloud.tencent.com/document/api/1759/105071) +* [DescribeQA](https://cloud.tencent.com/document/api/1759/105098) +* [DescribeRefer](https://cloud.tencent.com/document/api/1759/105070) +* [DescribeRelease](https://cloud.tencent.com/document/api/1759/105078) +* [DescribeReleaseInfo](https://cloud.tencent.com/document/api/1759/105033) +* [DescribeRobotBizIDByAppKey](https://cloud.tencent.com/document/api/1759/105051) +* [DescribeStorageCredential](https://cloud.tencent.com/document/api/1759/105050) +* [DescribeUnsatisfiedReplyContext](https://cloud.tencent.com/document/api/1759/105032) +* [ExportAttributeLabel](https://cloud.tencent.com/document/api/1759/105042) +* [ExportQAList](https://cloud.tencent.com/document/api/1759/105097) +* [ExportUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105031) +* [GenerateQA](https://cloud.tencent.com/document/api/1759/105069) +* [GetAppKnowledgeCount](https://cloud.tencent.com/document/api/1759/105068) +* [GetAppSecret](https://cloud.tencent.com/document/api/1759/105049) +* [GetDocPreview](https://cloud.tencent.com/document/api/1759/105067) +* [GetEmbedding](https://cloud.tencent.com/document/api/1759/105084) +* [GetMsgRecord](https://cloud.tencent.com/document/api/1759/105090) +* [GetTaskStatus](https://cloud.tencent.com/document/api/1759/105096) +* [GetWsToken](https://cloud.tencent.com/document/api/1759/105089) +* [GroupQA](https://cloud.tencent.com/document/api/1759/105030) +* [IgnoreUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105029) +* [IsTransferIntent](https://cloud.tencent.com/document/api/1759/105088) +* [ListApp](https://cloud.tencent.com/document/api/1759/105066) +* [ListAppCategory](https://cloud.tencent.com/document/api/1759/105065) +* [ListAttributeLabel](https://cloud.tencent.com/document/api/1759/105041) +* [ListDoc](https://cloud.tencent.com/document/api/1759/105064) +* [ListModel](https://cloud.tencent.com/document/api/1759/105063) +* [ListQA](https://cloud.tencent.com/document/api/1759/105028) +* [ListQACate](https://cloud.tencent.com/document/api/1759/105027) +* [ListRejectedQuestion](https://cloud.tencent.com/document/api/1759/105095) +* [ListRejectedQuestionPreview](https://cloud.tencent.com/document/api/1759/105062) +* [ListRelease](https://cloud.tencent.com/document/api/1759/105077) +* [ListReleaseConfigPreview](https://cloud.tencent.com/document/api/1759/105076) +* [ListReleaseDocPreview](https://cloud.tencent.com/document/api/1759/105061) +* [ListReleaseQAPreview](https://cloud.tencent.com/document/api/1759/105060) +* [ListSelectDoc](https://cloud.tencent.com/document/api/1759/105094) +* [ListUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105026) +* [ModifyApp](https://cloud.tencent.com/document/api/1759/105059) +* [ModifyAttributeLabel](https://cloud.tencent.com/document/api/1759/105040) +* [ModifyDoc](https://cloud.tencent.com/document/api/1759/105058) +* [ModifyDocAttrRange](https://cloud.tencent.com/document/api/1759/105057) +* [ModifyQA](https://cloud.tencent.com/document/api/1759/105025) +* [ModifyQAAttrRange](https://cloud.tencent.com/document/api/1759/105024) +* [ModifyQACate](https://cloud.tencent.com/document/api/1759/105023) +* [ModifyRejectedQuestion](https://cloud.tencent.com/document/api/1759/105093) +* [ParseDoc](https://cloud.tencent.com/document/api/1759/105083) +* [QueryParseDocResult](https://cloud.tencent.com/document/api/1759/105082) +* [QueryRewrite](https://cloud.tencent.com/document/api/1759/105081) +* [RateMsgRecord](https://cloud.tencent.com/document/api/1759/105087) +* [ResetSession](https://cloud.tencent.com/document/api/1759/105086) +* [RetryDocAudit](https://cloud.tencent.com/document/api/1759/105056) +* [RetryDocParse](https://cloud.tencent.com/document/api/1759/105055) +* [RetryRelease](https://cloud.tencent.com/document/api/1759/105092) +* [SaveDoc](https://cloud.tencent.com/document/api/1759/105054) +* [StopDocParse](https://cloud.tencent.com/document/api/1759/105053) +* [UploadAttributeLabel](https://cloud.tencent.com/document/api/1759/105039) +* [VerifyQA](https://cloud.tencent.com/document/api/1759/105022) + +新增数据结构: + +* [AppConfig](https://cloud.tencent.com/document/api/1759/105104#AppConfig) +* [AppInfo](https://cloud.tencent.com/document/api/1759/105104#AppInfo) +* [AppModel](https://cloud.tencent.com/document/api/1759/105104#AppModel) +* [AttrLabel](https://cloud.tencent.com/document/api/1759/105104#AttrLabel) +* [AttrLabelDetail](https://cloud.tencent.com/document/api/1759/105104#AttrLabelDetail) +* [AttrLabelRefer](https://cloud.tencent.com/document/api/1759/105104#AttrLabelRefer) +* [AttributeFilters](https://cloud.tencent.com/document/api/1759/105104#AttributeFilters) +* [AttributeLabel](https://cloud.tencent.com/document/api/1759/105104#AttributeLabel) +* [BaseConfig](https://cloud.tencent.com/document/api/1759/105104#BaseConfig) +* [ClassifyConfig](https://cloud.tencent.com/document/api/1759/105104#ClassifyConfig) +* [ClassifyLabel](https://cloud.tencent.com/document/api/1759/105104#ClassifyLabel) +* [Context](https://cloud.tencent.com/document/api/1759/105104#Context) +* [Credentials](https://cloud.tencent.com/document/api/1759/105104#Credentials) +* [EmbeddingObject](https://cloud.tencent.com/document/api/1759/105104#EmbeddingObject) +* [Filters](https://cloud.tencent.com/document/api/1759/105104#Filters) +* [GetWsTokenReq_Label](https://cloud.tencent.com/document/api/1759/105104#GetWsTokenReq_Label) +* [Highlight](https://cloud.tencent.com/document/api/1759/105104#Highlight) +* [KnowledgeQaConfig](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaConfig) +* [KnowledgeQaOutput](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaOutput) +* [KnowledgeQaSearch](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaSearch) +* [Label](https://cloud.tencent.com/document/api/1759/105104#Label) +* [ListAppCategoryRspOption](https://cloud.tencent.com/document/api/1759/105104#ListAppCategoryRspOption) +* [ListDocItem](https://cloud.tencent.com/document/api/1759/105104#ListDocItem) +* [ListQaItem](https://cloud.tencent.com/document/api/1759/105104#ListQaItem) +* [ListReleaseItem](https://cloud.tencent.com/document/api/1759/105104#ListReleaseItem) +* [Message](https://cloud.tencent.com/document/api/1759/105104#Message) +* [ModelInfo](https://cloud.tencent.com/document/api/1759/105104#ModelInfo) +* [MsgRecord](https://cloud.tencent.com/document/api/1759/105104#MsgRecord) +* [MsgRecordReference](https://cloud.tencent.com/document/api/1759/105104#MsgRecordReference) +* [Option](https://cloud.tencent.com/document/api/1759/105104#Option) +* [QACate](https://cloud.tencent.com/document/api/1759/105104#QACate) +* [QAList](https://cloud.tencent.com/document/api/1759/105104#QAList) +* [QAQuery](https://cloud.tencent.com/document/api/1759/105104#QAQuery) +* [ReferDetail](https://cloud.tencent.com/document/api/1759/105104#ReferDetail) +* [RejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#RejectedQuestion) +* [ReleaseConfigs](https://cloud.tencent.com/document/api/1759/105104#ReleaseConfigs) +* [ReleaseDoc](https://cloud.tencent.com/document/api/1759/105104#ReleaseDoc) +* [ReleaseQA](https://cloud.tencent.com/document/api/1759/105104#ReleaseQA) +* [ReleaseRejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#ReleaseRejectedQuestion) +* [SummaryConfig](https://cloud.tencent.com/document/api/1759/105104#SummaryConfig) +* [SummaryOutput](https://cloud.tencent.com/document/api/1759/105104#SummaryOutput) +* [TaskParams](https://cloud.tencent.com/document/api/1759/105104#TaskParams) +* [UnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105104#UnsatisfiedReply) -发布时间:2024-04-11 01:17:46 + + +## 多网聚合加速(mna) 版本:2021-01-19 + +### 第 18 次发布 + +发布时间:2024-04-12 01:19:07 本次发布包含了以下内容: 改善已有的文档。 +修改接口: + +* [AddDevice](https://cloud.tencent.com/document/api/1385/80483) + + * 新增入参:LicensePayMode, GroupName, GroupId + +* [GetFlowStatistic](https://cloud.tencent.com/document/api/1385/80486) + + * 新增入参:DeviceList + +* [GetStatisticData](https://cloud.tencent.com/document/api/1385/80479) + + * 新增入参:DeviceList, GroupId + +* [OrderFlowPackage](https://cloud.tencent.com/document/api/1385/102108) + + * 新增入参:FlowTruncFlag + + 修改数据结构: -* [DomainInfo](https://cloud.tencent.com/document/api/267/20474#DomainInfo) +* [ActivateHardware](https://cloud.tencent.com/document/api/1385/55846#ActivateHardware) - * **修改成员**:Name, Type, Status, CreateTime, BCName, TargetDomain, PlayType, IsDelayLive, CurrentCName, RentTag, RentExpireTime, IsMiniProgramLive + * 新增成员:LicensePayMode, GroupId, GroupName +* [DeviceBaseInfo](https://cloud.tencent.com/document/api/1385/55846#DeviceBaseInfo) + * 新增成员:LicensePayMode, Payer, GroupId, GroupName +* [DeviceDetails](https://cloud.tencent.com/document/api/1385/55846#DeviceDetails) -## 腾讯云可观测平台(monitor) 版本:2018-07-24 + * **修改成员**:GatewaySite, BusinessDownRate, BusinessUpRate -### 第 109 次发布 +* [FlowPackageInfo](https://cloud.tencent.com/document/api/1385/55846#FlowPackageInfo) -发布时间:2024-04-11 01:18:27 + * 新增成员:TruncFlag, CapacityRemainPrecise + +* [HardwareInfo](https://cloud.tencent.com/document/api/1385/55846#HardwareInfo) + + * 新增成员:LicensePayMode, Payer, GroupId, GroupName + + * **修改成员**:DeviceId, DeviceName, ActiveTime, LastOnlineTime, Description, VendorDescription, LicenseChargingMode, CreateTime, SN + +* [VendorHardware](https://cloud.tencent.com/document/api/1385/55846#VendorHardware) + + * 新增成员:LicensePayMode, Payer + + * **修改成员**:HardwareId, SN, CreateTime, Status, ActiveTime, Description, DeviceId, LicenseChargingMode, LastOnlineTime + + + + +## TI-ONE 训练平台(tione) 版本:2021-11-11 + +### 第 57 次发布 + +发布时间:2024-04-12 01:25:11 本次发布包含了以下内容: 改善已有的文档。 -**删除接口**: +修改接口: -* SendCustomAlarmMsg +* [CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094) + + * 新增入参:EncodedStartCmdInfo + + +新增数据结构: + +* [EncodedStartCmdInfo](https://cloud.tencent.com/document/api/851/75051#EncodedStartCmdInfo) + + + +## TI-ONE 训练平台(tione) 版本:2019-10-22 ## 实时音视频(trtc) 版本:2019-07-22 -### 第 69 次发布 +### 第 70 次发布 -发布时间:2024-04-11 01:24:46 +发布时间:2024-04-12 01:26:18 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增数据结构: -* [DescribeWebRecord](https://cloud.tencent.com/document/api/647/104542) +* [McuBackgroundCustomRender](https://cloud.tencent.com/document/api/647/44055#McuBackgroundCustomRender) - * 新增入参:SdkAppId, RecordId +修改数据结构: - * **修改入参**:TaskId +* [McuLayout](https://cloud.tencent.com/document/api/647/44055#McuLayout) + + * 新增成员:BackgroundCustomRender + + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 85 次发布 + +发布时间:2024-04-12 01:28:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* CreateInLongAgent +* DeleteInLongAgent +* DescribeClusterNamespaceList +* DescribeInLongAgentList +* DescribeInLongAgentTaskList +* DescribeInLongAgentVpcList +* DescribeInLongTkeClusterList +* DescribeIntegrationStatisticsAgentStatus +* DescribeStandardRuleDetailInfoList +* RestartInLongAgent +* UpdateInLongAgent + +**删除数据结构**: + +* CvmAgentStatus +* InLongAgentDetail +* InLongAgentTask +* InLongTkeDetail +* Namespace + +修改数据结构: + +* [InstanceList](https://cloud.tencent.com/document/api/1267/76336#InstanceList) + + * **修改成员**:CostTime, CurRunDate, CycleType, DoFlag, InCharge, LastLog, SchedulerDesc, StartTime, State, TaskId, TaskName, TryLimit + +* [InstanceLogList](https://cloud.tencent.com/document/api/1267/76336#InstanceLogList) + + * **修改成员**:TaskId, CurRunDate, Tries, LastUpdate, BrokerIp, FileSize, OriginFileName, CreateTime, InstanceLogType, TaskName, CostTime + +* [IntegrationInstanceLog](https://cloud.tencent.com/document/api/1267/76336#IntegrationInstanceLog) + + * **修改成员**:LogInfo @@ -1876,6 +2181,21 @@ ## T-Sec-DDoS防护(Anti-DDoS)(antiddos) 版本:2020-03-09 +### 第 65 次发布 + +发布时间:2024-04-12 01:07:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [BGPInstance](https://cloud.tencent.com/document/api/297/95396#BGPInstance) + + * 新增成员:SuperPackFlag + + ### 第 64 次发布 发布时间:2024-01-19 01:06:05 @@ -16146,6 +16466,24 @@ ## 云数据库 MySQL(cdb) 版本:2017-03-20 +### 第 155 次发布 + +发布时间:2024-04-12 01:09:15 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CheckMigrateCluster](https://cloud.tencent.com/document/api/236/105117)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeClusterInfo](https://cloud.tencent.com/document/api/236/105116)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AddressInfo](https://cloud.tencent.com/document/api/236/15878#AddressInfo)](https://cloud.tencent.com/document/api/236/15878#[AddressInfo](https://cloud.tencent.com/document/api/236/15878#AddressInfo)) +* [[ClusterNodeInfo](https://cloud.tencent.com/document/api/236/15878#ClusterNodeInfo)](https://cloud.tencent.com/document/api/236/15878#[ClusterNodeInfo](https://cloud.tencent.com/document/api/236/15878#ClusterNodeInfo)) + ### 第 154 次发布 发布时间:2024-03-26 01:09:47 @@ -58464,6 +58802,21 @@ ## Elasticsearch Service(es) 版本:2018-04-16 +### 第 56 次发布 + +发布时间:2024-04-11 16:23:06 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateServerlessInstance](https://cloud.tencent.com/document/api/845/104318) + + * **修改入参**:Zone, VpcId, SubnetId + + ### 第 55 次发布 发布时间:2024-03-28 10:47:55 @@ -66130,6 +66483,21 @@ ## 人脸核身(faceid) 版本:2018-03-01 +### 第 74 次发布 + +发布时间:2024-04-12 01:15:49 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [RuleIdConfig](https://cloud.tencent.com/document/api/1007/41958#RuleIdConfig) + + * 新增成员:MouthOpenRecognition + + ### 第 73 次发布 发布时间:2024-03-27 01:17:36 @@ -71066,6 +71434,32 @@ ## 腾讯混元大模型(hunyuan) 版本:2023-09-01 +### 第 3 次发布 + +发布时间:2024-04-11 20:37:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ChatPro](https://cloud.tencent.com/document/api/1729/101837) + + * 新增入参:Stream, StreamModeration + +* [ChatStd](https://cloud.tencent.com/document/api/1729/101836) + + * 新增入参:Stream, StreamModeration + + +修改数据结构: + +* [Choice](https://cloud.tencent.com/document/api/1729/101838#Choice) + + * 新增成员:Message + + ### 第 2 次发布 发布时间:2024-01-05 01:17:08 @@ -83797,6 +84191,143 @@ +## 大模型知识引擎(lke) 版本:2023-11-30 + +### 第 1 次发布 + +发布时间:2024-04-11 17:23:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CheckAttributeLabelExist](https://cloud.tencent.com/document/api/1759/105047)](https://cloud.tencent.com/document/api/#/#) +* [[CheckAttributeLabelRefer](https://cloud.tencent.com/document/api/1759/105046)](https://cloud.tencent.com/document/api/#/#) +* [[CreateApp](https://cloud.tencent.com/document/api/1759/105074)](https://cloud.tencent.com/document/api/#/#) +* [[CreateAttributeLabel](https://cloud.tencent.com/document/api/1759/105045)](https://cloud.tencent.com/document/api/#/#) +* [[CreateCorp](https://cloud.tencent.com/document/api/1759/105103)](https://cloud.tencent.com/document/api/#/#) +* [[CreateQA](https://cloud.tencent.com/document/api/1759/105037)](https://cloud.tencent.com/document/api/#/#) +* [[CreateQACate](https://cloud.tencent.com/document/api/1759/105036)](https://cloud.tencent.com/document/api/#/#) +* [[CreateRejectedQuestion](https://cloud.tencent.com/document/api/1759/105102)](https://cloud.tencent.com/document/api/#/#) +* [[CreateRelease](https://cloud.tencent.com/document/api/1759/105079)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteApp](https://cloud.tencent.com/document/api/1759/105073)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteAttributeLabel](https://cloud.tencent.com/document/api/1759/105044)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteDoc](https://cloud.tencent.com/document/api/1759/105101)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteQA](https://cloud.tencent.com/document/api/1759/105035)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteQACate](https://cloud.tencent.com/document/api/1759/105034)](https://cloud.tencent.com/document/api/#/#) +* [[DeleteRejectedQuestion](https://cloud.tencent.com/document/api/1759/105100)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeApp](https://cloud.tencent.com/document/api/1759/105072)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeAttributeLabel](https://cloud.tencent.com/document/api/1759/105043)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeCorp](https://cloud.tencent.com/document/api/1759/105099)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeDoc](https://cloud.tencent.com/document/api/1759/105071)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeQA](https://cloud.tencent.com/document/api/1759/105098)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRefer](https://cloud.tencent.com/document/api/1759/105070)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRelease](https://cloud.tencent.com/document/api/1759/105078)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeReleaseInfo](https://cloud.tencent.com/document/api/1759/105033)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRobotBizIDByAppKey](https://cloud.tencent.com/document/api/1759/105051)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeStorageCredential](https://cloud.tencent.com/document/api/1759/105050)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeUnsatisfiedReplyContext](https://cloud.tencent.com/document/api/1759/105032)](https://cloud.tencent.com/document/api/#/#) +* [[ExportAttributeLabel](https://cloud.tencent.com/document/api/1759/105042)](https://cloud.tencent.com/document/api/#/#) +* [[ExportQAList](https://cloud.tencent.com/document/api/1759/105097)](https://cloud.tencent.com/document/api/#/#) +* [[ExportUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105031)](https://cloud.tencent.com/document/api/#/#) +* [[GenerateQA](https://cloud.tencent.com/document/api/1759/105069)](https://cloud.tencent.com/document/api/#/#) +* [[GetAppKnowledgeCount](https://cloud.tencent.com/document/api/1759/105068)](https://cloud.tencent.com/document/api/#/#) +* [[GetAppSecret](https://cloud.tencent.com/document/api/1759/105049)](https://cloud.tencent.com/document/api/#/#) +* [[GetDocPreview](https://cloud.tencent.com/document/api/1759/105067)](https://cloud.tencent.com/document/api/#/#) +* [[GetEmbedding](https://cloud.tencent.com/document/api/1759/105084)](https://cloud.tencent.com/document/api/#/#) +* [[GetMsgRecord](https://cloud.tencent.com/document/api/1759/105090)](https://cloud.tencent.com/document/api/#/#) +* [[GetTaskStatus](https://cloud.tencent.com/document/api/1759/105096)](https://cloud.tencent.com/document/api/#/#) +* [[GetWsToken](https://cloud.tencent.com/document/api/1759/105089)](https://cloud.tencent.com/document/api/#/#) +* [[GroupQA](https://cloud.tencent.com/document/api/1759/105030)](https://cloud.tencent.com/document/api/#/#) +* [[IgnoreUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105029)](https://cloud.tencent.com/document/api/#/#) +* [[IsTransferIntent](https://cloud.tencent.com/document/api/1759/105088)](https://cloud.tencent.com/document/api/#/#) +* [[ListApp](https://cloud.tencent.com/document/api/1759/105066)](https://cloud.tencent.com/document/api/#/#) +* [[ListAppCategory](https://cloud.tencent.com/document/api/1759/105065)](https://cloud.tencent.com/document/api/#/#) +* [[ListAttributeLabel](https://cloud.tencent.com/document/api/1759/105041)](https://cloud.tencent.com/document/api/#/#) +* [[ListDoc](https://cloud.tencent.com/document/api/1759/105064)](https://cloud.tencent.com/document/api/#/#) +* [[ListModel](https://cloud.tencent.com/document/api/1759/105063)](https://cloud.tencent.com/document/api/#/#) +* [[ListQA](https://cloud.tencent.com/document/api/1759/105028)](https://cloud.tencent.com/document/api/#/#) +* [[ListQACate](https://cloud.tencent.com/document/api/1759/105027)](https://cloud.tencent.com/document/api/#/#) +* [[ListRejectedQuestion](https://cloud.tencent.com/document/api/1759/105095)](https://cloud.tencent.com/document/api/#/#) +* [[ListRejectedQuestionPreview](https://cloud.tencent.com/document/api/1759/105062)](https://cloud.tencent.com/document/api/#/#) +* [[ListRelease](https://cloud.tencent.com/document/api/1759/105077)](https://cloud.tencent.com/document/api/#/#) +* [[ListReleaseConfigPreview](https://cloud.tencent.com/document/api/1759/105076)](https://cloud.tencent.com/document/api/#/#) +* [[ListReleaseDocPreview](https://cloud.tencent.com/document/api/1759/105061)](https://cloud.tencent.com/document/api/#/#) +* [[ListReleaseQAPreview](https://cloud.tencent.com/document/api/1759/105060)](https://cloud.tencent.com/document/api/#/#) +* [[ListSelectDoc](https://cloud.tencent.com/document/api/1759/105094)](https://cloud.tencent.com/document/api/#/#) +* [[ListUnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105026)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyApp](https://cloud.tencent.com/document/api/1759/105059)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyAttributeLabel](https://cloud.tencent.com/document/api/1759/105040)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyDoc](https://cloud.tencent.com/document/api/1759/105058)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyDocAttrRange](https://cloud.tencent.com/document/api/1759/105057)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyQA](https://cloud.tencent.com/document/api/1759/105025)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyQAAttrRange](https://cloud.tencent.com/document/api/1759/105024)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyQACate](https://cloud.tencent.com/document/api/1759/105023)](https://cloud.tencent.com/document/api/#/#) +* [[ModifyRejectedQuestion](https://cloud.tencent.com/document/api/1759/105093)](https://cloud.tencent.com/document/api/#/#) +* [[ParseDoc](https://cloud.tencent.com/document/api/1759/105083)](https://cloud.tencent.com/document/api/#/#) +* [[QueryParseDocResult](https://cloud.tencent.com/document/api/1759/105082)](https://cloud.tencent.com/document/api/#/#) +* [[QueryRewrite](https://cloud.tencent.com/document/api/1759/105081)](https://cloud.tencent.com/document/api/#/#) +* [[RateMsgRecord](https://cloud.tencent.com/document/api/1759/105087)](https://cloud.tencent.com/document/api/#/#) +* [[ResetSession](https://cloud.tencent.com/document/api/1759/105086)](https://cloud.tencent.com/document/api/#/#) +* [[RetryDocAudit](https://cloud.tencent.com/document/api/1759/105056)](https://cloud.tencent.com/document/api/#/#) +* [[RetryDocParse](https://cloud.tencent.com/document/api/1759/105055)](https://cloud.tencent.com/document/api/#/#) +* [[RetryRelease](https://cloud.tencent.com/document/api/1759/105092)](https://cloud.tencent.com/document/api/#/#) +* [[SaveDoc](https://cloud.tencent.com/document/api/1759/105054)](https://cloud.tencent.com/document/api/#/#) +* [[StopDocParse](https://cloud.tencent.com/document/api/1759/105053)](https://cloud.tencent.com/document/api/#/#) +* [[UploadAttributeLabel](https://cloud.tencent.com/document/api/1759/105039)](https://cloud.tencent.com/document/api/#/#) +* [[VerifyQA](https://cloud.tencent.com/document/api/1759/105022)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AppConfig](https://cloud.tencent.com/document/api/1759/105104#AppConfig)](https://cloud.tencent.com/document/api/1759/105104#[AppConfig](https://cloud.tencent.com/document/api/1759/105104#AppConfig)) +* [[AppInfo](https://cloud.tencent.com/document/api/1759/105104#AppInfo)](https://cloud.tencent.com/document/api/1759/105104#[AppInfo](https://cloud.tencent.com/document/api/1759/105104#AppInfo)) +* [[AppModel](https://cloud.tencent.com/document/api/1759/105104#AppModel)](https://cloud.tencent.com/document/api/1759/105104#[AppModel](https://cloud.tencent.com/document/api/1759/105104#AppModel)) +* [[AttrLabel](https://cloud.tencent.com/document/api/1759/105104#AttrLabel)](https://cloud.tencent.com/document/api/1759/105104#[AttrLabel](https://cloud.tencent.com/document/api/1759/105104#AttrLabel)) +* [[AttrLabelDetail](https://cloud.tencent.com/document/api/1759/105104#AttrLabelDetail)](https://cloud.tencent.com/document/api/1759/105104#[AttrLabelDetail](https://cloud.tencent.com/document/api/1759/105104#AttrLabelDetail)) +* [[AttrLabelRefer](https://cloud.tencent.com/document/api/1759/105104#AttrLabelRefer)](https://cloud.tencent.com/document/api/1759/105104#[AttrLabelRefer](https://cloud.tencent.com/document/api/1759/105104#AttrLabelRefer)) +* [[AttributeFilters](https://cloud.tencent.com/document/api/1759/105104#AttributeFilters)](https://cloud.tencent.com/document/api/1759/105104#[AttributeFilters](https://cloud.tencent.com/document/api/1759/105104#AttributeFilters)) +* [[AttributeLabel](https://cloud.tencent.com/document/api/1759/105104#AttributeLabel)](https://cloud.tencent.com/document/api/1759/105104#[AttributeLabel](https://cloud.tencent.com/document/api/1759/105104#AttributeLabel)) +* [[BaseConfig](https://cloud.tencent.com/document/api/1759/105104#BaseConfig)](https://cloud.tencent.com/document/api/1759/105104#[BaseConfig](https://cloud.tencent.com/document/api/1759/105104#BaseConfig)) +* [[ClassifyConfig](https://cloud.tencent.com/document/api/1759/105104#ClassifyConfig)](https://cloud.tencent.com/document/api/1759/105104#[ClassifyConfig](https://cloud.tencent.com/document/api/1759/105104#ClassifyConfig)) +* [[ClassifyLabel](https://cloud.tencent.com/document/api/1759/105104#ClassifyLabel)](https://cloud.tencent.com/document/api/1759/105104#[ClassifyLabel](https://cloud.tencent.com/document/api/1759/105104#ClassifyLabel)) +* [[Context](https://cloud.tencent.com/document/api/1759/105104#Context)](https://cloud.tencent.com/document/api/1759/105104#[Context](https://cloud.tencent.com/document/api/1759/105104#Context)) +* [[Credentials](https://cloud.tencent.com/document/api/1759/105104#Credentials)](https://cloud.tencent.com/document/api/1759/105104#[Credentials](https://cloud.tencent.com/document/api/1759/105104#Credentials)) +* [[EmbeddingObject](https://cloud.tencent.com/document/api/1759/105104#EmbeddingObject)](https://cloud.tencent.com/document/api/1759/105104#[EmbeddingObject](https://cloud.tencent.com/document/api/1759/105104#EmbeddingObject)) +* [[Filters](https://cloud.tencent.com/document/api/1759/105104#Filters)](https://cloud.tencent.com/document/api/1759/105104#[Filters](https://cloud.tencent.com/document/api/1759/105104#Filters)) +* [[GetWsTokenReq_Label](https://cloud.tencent.com/document/api/1759/105104#GetWsTokenReq_Label)](https://cloud.tencent.com/document/api/1759/105104#[GetWsTokenReq_Label](https://cloud.tencent.com/document/api/1759/105104#GetWsTokenReq_Label)) +* [[Highlight](https://cloud.tencent.com/document/api/1759/105104#Highlight)](https://cloud.tencent.com/document/api/1759/105104#[Highlight](https://cloud.tencent.com/document/api/1759/105104#Highlight)) +* [[KnowledgeQaConfig](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaConfig)](https://cloud.tencent.com/document/api/1759/105104#[KnowledgeQaConfig](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaConfig)) +* [[KnowledgeQaOutput](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaOutput)](https://cloud.tencent.com/document/api/1759/105104#[KnowledgeQaOutput](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaOutput)) +* [[KnowledgeQaSearch](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaSearch)](https://cloud.tencent.com/document/api/1759/105104#[KnowledgeQaSearch](https://cloud.tencent.com/document/api/1759/105104#KnowledgeQaSearch)) +* [[Label](https://cloud.tencent.com/document/api/1759/105104#Label)](https://cloud.tencent.com/document/api/1759/105104#[Label](https://cloud.tencent.com/document/api/1759/105104#Label)) +* [[ListAppCategoryRspOption](https://cloud.tencent.com/document/api/1759/105104#ListAppCategoryRspOption)](https://cloud.tencent.com/document/api/1759/105104#[ListAppCategoryRspOption](https://cloud.tencent.com/document/api/1759/105104#ListAppCategoryRspOption)) +* [[ListDocItem](https://cloud.tencent.com/document/api/1759/105104#ListDocItem)](https://cloud.tencent.com/document/api/1759/105104#[ListDocItem](https://cloud.tencent.com/document/api/1759/105104#ListDocItem)) +* [[ListQaItem](https://cloud.tencent.com/document/api/1759/105104#ListQaItem)](https://cloud.tencent.com/document/api/1759/105104#[ListQaItem](https://cloud.tencent.com/document/api/1759/105104#ListQaItem)) +* [[ListReleaseItem](https://cloud.tencent.com/document/api/1759/105104#ListReleaseItem)](https://cloud.tencent.com/document/api/1759/105104#[ListReleaseItem](https://cloud.tencent.com/document/api/1759/105104#ListReleaseItem)) +* [[Message](https://cloud.tencent.com/document/api/1759/105104#Message)](https://cloud.tencent.com/document/api/1759/105104#[Message](https://cloud.tencent.com/document/api/1759/105104#Message)) +* [[ModelInfo](https://cloud.tencent.com/document/api/1759/105104#ModelInfo)](https://cloud.tencent.com/document/api/1759/105104#[ModelInfo](https://cloud.tencent.com/document/api/1759/105104#ModelInfo)) +* [[MsgRecord](https://cloud.tencent.com/document/api/1759/105104#MsgRecord)](https://cloud.tencent.com/document/api/1759/105104#[MsgRecord](https://cloud.tencent.com/document/api/1759/105104#MsgRecord)) +* [[MsgRecordReference](https://cloud.tencent.com/document/api/1759/105104#MsgRecordReference)](https://cloud.tencent.com/document/api/1759/105104#[MsgRecordReference](https://cloud.tencent.com/document/api/1759/105104#MsgRecordReference)) +* [[Option](https://cloud.tencent.com/document/api/1759/105104#Option)](https://cloud.tencent.com/document/api/1759/105104#[Option](https://cloud.tencent.com/document/api/1759/105104#Option)) +* [[QACate](https://cloud.tencent.com/document/api/1759/105104#QACate)](https://cloud.tencent.com/document/api/1759/105104#[QACate](https://cloud.tencent.com/document/api/1759/105104#QACate)) +* [[QAList](https://cloud.tencent.com/document/api/1759/105104#QAList)](https://cloud.tencent.com/document/api/1759/105104#[QAList](https://cloud.tencent.com/document/api/1759/105104#QAList)) +* [[QAQuery](https://cloud.tencent.com/document/api/1759/105104#QAQuery)](https://cloud.tencent.com/document/api/1759/105104#[QAQuery](https://cloud.tencent.com/document/api/1759/105104#QAQuery)) +* [[ReferDetail](https://cloud.tencent.com/document/api/1759/105104#ReferDetail)](https://cloud.tencent.com/document/api/1759/105104#[ReferDetail](https://cloud.tencent.com/document/api/1759/105104#ReferDetail)) +* [[RejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#RejectedQuestion)](https://cloud.tencent.com/document/api/1759/105104#[RejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#RejectedQuestion)) +* [[ReleaseConfigs](https://cloud.tencent.com/document/api/1759/105104#ReleaseConfigs)](https://cloud.tencent.com/document/api/1759/105104#[ReleaseConfigs](https://cloud.tencent.com/document/api/1759/105104#ReleaseConfigs)) +* [[ReleaseDoc](https://cloud.tencent.com/document/api/1759/105104#ReleaseDoc)](https://cloud.tencent.com/document/api/1759/105104#[ReleaseDoc](https://cloud.tencent.com/document/api/1759/105104#ReleaseDoc)) +* [[ReleaseQA](https://cloud.tencent.com/document/api/1759/105104#ReleaseQA)](https://cloud.tencent.com/document/api/1759/105104#[ReleaseQA](https://cloud.tencent.com/document/api/1759/105104#ReleaseQA)) +* [[ReleaseRejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#ReleaseRejectedQuestion)](https://cloud.tencent.com/document/api/1759/105104#[ReleaseRejectedQuestion](https://cloud.tencent.com/document/api/1759/105104#ReleaseRejectedQuestion)) +* [[SummaryConfig](https://cloud.tencent.com/document/api/1759/105104#SummaryConfig)](https://cloud.tencent.com/document/api/1759/105104#[SummaryConfig](https://cloud.tencent.com/document/api/1759/105104#SummaryConfig)) +* [[SummaryOutput](https://cloud.tencent.com/document/api/1759/105104#SummaryOutput)](https://cloud.tencent.com/document/api/1759/105104#[SummaryOutput](https://cloud.tencent.com/document/api/1759/105104#SummaryOutput)) +* [[TaskParams](https://cloud.tencent.com/document/api/1759/105104#TaskParams)](https://cloud.tencent.com/document/api/1759/105104#[TaskParams](https://cloud.tencent.com/document/api/1759/105104#TaskParams)) +* [[UnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105104#UnsatisfiedReply)](https://cloud.tencent.com/document/api/1759/105104#[UnsatisfiedReply](https://cloud.tencent.com/document/api/1759/105104#UnsatisfiedReply)) + + + + ## 云开发低码(lowcode) 版本:2021-01-08 ### 第 1 次发布 @@ -85420,6 +85951,64 @@ ## 多网聚合加速(mna) 版本:2021-01-19 +### 第 18 次发布 + +发布时间:2024-04-12 01:19:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddDevice](https://cloud.tencent.com/document/api/1385/80483) + + * 新增入参:LicensePayMode, GroupName, GroupId + +* [GetFlowStatistic](https://cloud.tencent.com/document/api/1385/80486) + + * 新增入参:DeviceList + +* [GetStatisticData](https://cloud.tencent.com/document/api/1385/80479) + + * 新增入参:DeviceList, GroupId + +* [OrderFlowPackage](https://cloud.tencent.com/document/api/1385/102108) + + * 新增入参:FlowTruncFlag + + +修改数据结构: + +* [ActivateHardware](https://cloud.tencent.com/document/api/1385/55846#ActivateHardware) + + * 新增成员:LicensePayMode, GroupId, GroupName + +* [DeviceBaseInfo](https://cloud.tencent.com/document/api/1385/55846#DeviceBaseInfo) + + * 新增成员:LicensePayMode, Payer, GroupId, GroupName + +* [DeviceDetails](https://cloud.tencent.com/document/api/1385/55846#DeviceDetails) + + * **修改成员**:GatewaySite, BusinessDownRate, BusinessUpRate + +* [FlowPackageInfo](https://cloud.tencent.com/document/api/1385/55846#FlowPackageInfo) + + * 新增成员:TruncFlag, CapacityRemainPrecise + +* [HardwareInfo](https://cloud.tencent.com/document/api/1385/55846#HardwareInfo) + + * 新增成员:LicensePayMode, Payer, GroupId, GroupName + + * **修改成员**:DeviceId, DeviceName, ActiveTime, LastOnlineTime, Description, VendorDescription, LicenseChargingMode, CreateTime, SN + +* [VendorHardware](https://cloud.tencent.com/document/api/1385/55846#VendorHardware) + + * 新增成员:LicensePayMode, Payer + + * **修改成员**:HardwareId, SN, CreateTime, Status, ActiveTime, Description, DeviceId, LicenseChargingMode, LastOnlineTime + + ### 第 17 次发布 发布时间:2024-03-01 01:20:25 @@ -125890,6 +126479,25 @@ ## TI-ONE 训练平台(tione) 版本:2021-11-11 +### 第 57 次发布 + +发布时间:2024-04-12 01:25:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateTrainingTask](https://cloud.tencent.com/document/api/851/75094) + + * 新增入参:EncodedStartCmdInfo + + +新增数据结构: + +* [[EncodedStartCmdInfo](https://cloud.tencent.com/document/api/851/75051#EncodedStartCmdInfo)](https://cloud.tencent.com/document/api/851/75051#[EncodedStartCmdInfo](https://cloud.tencent.com/document/api/851/75051#EncodedStartCmdInfo)) + ### 第 56 次发布 发布时间:2024-04-10 01:24:24 @@ -133107,6 +133715,25 @@ ## 实时音视频(trtc) 版本:2019-07-22 +### 第 70 次发布 + +发布时间:2024-04-12 01:26:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [[McuBackgroundCustomRender](https://cloud.tencent.com/document/api/647/44055#McuBackgroundCustomRender)](https://cloud.tencent.com/document/api/647/44055#[McuBackgroundCustomRender](https://cloud.tencent.com/document/api/647/44055#McuBackgroundCustomRender)) + +修改数据结构: + +* [McuLayout](https://cloud.tencent.com/document/api/647/44055#McuLayout) + + * 新增成员:BackgroundCustomRender + + ### 第 69 次发布 发布时间:2024-04-11 01:24:46 @@ -150578,6 +151205,51 @@ ## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 85 次发布 + +发布时间:2024-04-12 01:28:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* CreateInLongAgent +* DeleteInLongAgent +* DescribeClusterNamespaceList +* DescribeInLongAgentList +* DescribeInLongAgentTaskList +* DescribeInLongAgentVpcList +* DescribeInLongTkeClusterList +* DescribeIntegrationStatisticsAgentStatus +* DescribeStandardRuleDetailInfoList +* RestartInLongAgent +* UpdateInLongAgent + +**删除数据结构**: + +* CvmAgentStatus +* InLongAgentDetail +* InLongAgentTask +* InLongTkeDetail +* Namespace + +修改数据结构: + +* [InstanceList](https://cloud.tencent.com/document/api/1267/76336#InstanceList) + + * **修改成员**:CostTime, CurRunDate, CycleType, DoFlag, InCharge, LastLog, SchedulerDesc, StartTime, State, TaskId, TaskName, TryLimit + +* [InstanceLogList](https://cloud.tencent.com/document/api/1267/76336#InstanceLogList) + + * **修改成员**:TaskId, CurRunDate, Tries, LastUpdate, BrokerIp, FileSize, OriginFileName, CreateTime, InstanceLogType, TaskName, CostTime + +* [IntegrationInstanceLog](https://cloud.tencent.com/document/api/1267/76336#IntegrationInstanceLog) + + * **修改成员**:LogInfo + + ### 第 84 次发布 发布时间:2024-04-01 01:31:06 @@ -153230,7 +153902,7 @@ 修改接口: -* [DescribeInLongAgentList](https://cloud.tencent.com/document/api/1267/82510) +* [DescribeInLongAgentList](https://cloud.tencent.com/document/api/#/#) * 新增入参:AgentTypes @@ -153485,33 +154157,33 @@ * [CommitIntegrationTask](https://cloud.tencent.com/document/api/1267/82526) * [CreateHiveTable](https://cloud.tencent.com/document/api/1267/82525) * [CreateHiveTableByDDL](https://cloud.tencent.com/document/api/1267/82524) -* [CreateInLongAgent](https://cloud.tencent.com/document/api/1267/82523) +* [CreateInLongAgent](https://cloud.tencent.com/document/api/#/#) * [CreateIntegrationNode](https://cloud.tencent.com/document/api/1267/82522) * [CreateIntegrationTask](https://cloud.tencent.com/document/api/1267/82521) * [CreateOfflineTask](https://cloud.tencent.com/document/api/1267/82520) * [CreateTaskAlarmRegular](https://cloud.tencent.com/document/api/1267/82519) -* [DeleteInLongAgent](https://cloud.tencent.com/document/api/1267/82518) +* [DeleteInLongAgent](https://cloud.tencent.com/document/api/#/#) * [DeleteIntegrationNode](https://cloud.tencent.com/document/api/1267/82517) * [DeleteIntegrationTask](https://cloud.tencent.com/document/api/1267/82516) * [DeleteOfflineTask](https://cloud.tencent.com/document/api/1267/82515) * [DeleteTaskAlarmRegular](https://cloud.tencent.com/document/api/1267/82514) * [DescribeAlarmEvents](https://cloud.tencent.com/document/api/1267/82513) * [DescribeAlarmReceiver](https://cloud.tencent.com/document/api/1267/82512) -* [DescribeClusterNamespaceList](https://cloud.tencent.com/document/api/1267/82511) +* [DescribeClusterNamespaceList](https://cloud.tencent.com/document/api/#/#) * [DescribeDataSourceInfoList](https://cloud.tencent.com/document/api/1267/82546) * [DescribeDataTypes](https://cloud.tencent.com/document/api/1267/82552) * [DescribeDatabaseInfoList](https://cloud.tencent.com/document/api/1267/82545) -* [DescribeInLongAgentList](https://cloud.tencent.com/document/api/1267/82510) -* [DescribeInLongAgentTaskList](https://cloud.tencent.com/document/api/1267/82509) -* [DescribeInLongAgentVpcList](https://cloud.tencent.com/document/api/1267/82508) -* [DescribeInLongTkeClusterList](https://cloud.tencent.com/document/api/1267/82507) +* [DescribeInLongAgentList](https://cloud.tencent.com/document/api/#/#) +* [DescribeInLongAgentTaskList](https://cloud.tencent.com/document/api/#/#) +* [DescribeInLongAgentVpcList](https://cloud.tencent.com/document/api/#/#) +* [DescribeInLongTkeClusterList](https://cloud.tencent.com/document/api/#/#) * [DescribeInstanceLastLog](https://cloud.tencent.com/document/api/1267/82506) * [DescribeInstanceList](https://cloud.tencent.com/document/api/1267/82505) * [DescribeInstanceLog](https://cloud.tencent.com/document/api/1267/82504) * [DescribeInstanceLogList](https://cloud.tencent.com/document/api/1267/82503) * [DescribeIntegrationNode](https://cloud.tencent.com/document/api/1267/82502) * [DescribeIntegrationStatistics](https://cloud.tencent.com/document/api/1267/82501) -* [DescribeIntegrationStatisticsAgentStatus](https://cloud.tencent.com/document/api/1267/82500) +* [DescribeIntegrationStatisticsAgentStatus](https://cloud.tencent.com/document/api/#/#) * [DescribeIntegrationStatisticsInstanceTrend](https://cloud.tencent.com/document/api/1267/82499) * [DescribeIntegrationStatisticsRecordsTrend](https://cloud.tencent.com/document/api/1267/82498) * [DescribeIntegrationStatisticsTaskStatus](https://cloud.tencent.com/document/api/1267/82497) @@ -153524,7 +154196,7 @@ * [DescribeRealTimeTaskInstanceNodeInfo](https://cloud.tencent.com/document/api/1267/82491) * [DescribeRealTimeTaskMetricOverview](https://cloud.tencent.com/document/api/1267/82490) * [DescribeRealTimeTaskSpeed](https://cloud.tencent.com/document/api/1267/82489) -* [DescribeStandardRuleDetailInfoList](https://cloud.tencent.com/document/api/1267/82488) +* [DescribeStandardRuleDetailInfoList](https://cloud.tencent.com/document/api/#/#) * [DescribeStreamTaskLogList](https://cloud.tencent.com/document/api/1267/82487) * [DescribeTableInfoList](https://cloud.tencent.com/document/api/1267/82543) * [DescribeTableSchemaInfo](https://cloud.tencent.com/document/api/1267/82542) @@ -153544,7 +154216,7 @@ * [ModifyIntegrationTask](https://cloud.tencent.com/document/api/1267/82477) * [ModifyTaskAlarmRegular](https://cloud.tencent.com/document/api/1267/82476) * [ModifyTaskName](https://cloud.tencent.com/document/api/1267/82475) -* [RestartInLongAgent](https://cloud.tencent.com/document/api/1267/82474) +* [RestartInLongAgent](https://cloud.tencent.com/document/api/#/#) * [ResumeIntegrationTask](https://cloud.tencent.com/document/api/1267/82473) * [RobAndLockIntegrationTask](https://cloud.tencent.com/document/api/1267/82472) * [StartIntegrationTask](https://cloud.tencent.com/document/api/1267/82471) @@ -153552,7 +154224,7 @@ * [SuspendIntegrationTask](https://cloud.tencent.com/document/api/1267/82469) * [TaskLog](https://cloud.tencent.com/document/api/1267/82468) * [UnlockIntegrationTask](https://cloud.tencent.com/document/api/1267/82467) -* [UpdateInLongAgent](https://cloud.tencent.com/document/api/1267/82466) +* [UpdateInLongAgent](https://cloud.tencent.com/document/api/#/#) 新增数据结构: diff --git a/products.md b/products.md index 97664fb5dd..c4945c0ad6 100644 --- a/products.md +++ b/products.md @@ -6,11 +6,11 @@ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-03-20 01:07:31 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-03-27 01:07:50 | -| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-04-10 01:07:40 | +| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-04-12 01:07:15 | | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 | | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-03-20 01:07:34 | | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 | -| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-03-20 01:07:36 | +| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-04-12 01:07:18 | | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 | | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 | | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 | @@ -40,9 +40,9 @@ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-03-20 01:09:28 | | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 | | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-04-10 01:09:30 | -| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-27 01:10:04 | +| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-04-12 01:09:15 | | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 | -| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-03-21 01:09:58 | +| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-04-12 01:09:42 | | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-03-20 01:10:22 | | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-04-04 01:10:06 | | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-04-09 01:09:52 | @@ -55,11 +55,11 @@ | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 | | 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) | 2024-03-28 01:11:33 | +| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-04-12 01:10:35 | | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-03-28 01:11:53 | | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 | -| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-03-29 01:12:12 | +| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-04-12 01:11:02 | | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-03-27 01:12:06 | | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 | | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-03-20 01:12:14 | @@ -95,11 +95,11 @@ | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-03-20 01:16:13 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-03-27 01:16:55 | -| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-03-28 10:47:55 | +| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-04-11 16:23:06 | | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-04-10 01:15:19 | | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-04-10 01:15:33 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-03-20 01:17:05 | -| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-04-10 01:15:48 | +| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-04-12 01:15:49 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-03-20 01:17:11 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-04-04 01:15:50 | @@ -112,7 +112,7 @@ | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-03-22 01:16:13 | | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 | | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-03-20 01:17:36 | -| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-03-20 01:17:37 | +| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-04-11 20:52:21 | | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 | | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 | | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-03-20 01:17:48 | @@ -135,6 +135,7 @@ | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-04-09 01:17:28 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-04-09 01:17:37 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-04-11 01:17:46 | +| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-04-11 17:23:26 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 | | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 | @@ -143,7 +144,7 @@ | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-03-20 01:20:22 | | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 | | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-03-20 01:20:23 | -| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-03-20 01:20:25 | +| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-04-12 01:19:07 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-04-09 01:18:23 | | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-04-11 01:18:27 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-04-02 01:19:24 | @@ -163,7 +164,7 @@ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-03-20 01:22:42 | | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-03-27 01:23:10 | | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-03-20 01:22:53 | -| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-04-02 01:20:49 | +| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-04-12 01:21:07 | | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-03-20 01:23:06 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 | @@ -173,7 +174,7 @@ | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-03-20 01:23:27 | | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-04-11 01:20:38 | | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-03-20 01:23:29 | -| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-03-20 01:23:30 | +| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-04-12 01:21:45 | | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 | | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 | | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-04-10 01:21:30 | @@ -205,7 +206,7 @@ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-04-02 01:23:41 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-03-20 01:26:12 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-03-20 01:26:14 | -| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-04-10 01:23:57 | +| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-04-12 01:24:21 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-03-20 01:27:05 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 | @@ -213,7 +214,7 @@ | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2024-03-20 01:27:08 | | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 | | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-03-20 01:27:09 | -| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-04-10 01:24:24 | +| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-04-12 01:25:11 | | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 | | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-03-20 01:28:56 | | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 | @@ -224,7 +225,7 @@ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-04-04 01:25:24 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-26 01:27:42 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-04-11 01:24:46 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-04-12 01:26:18 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-04-02 01:25:46 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-03-20 01:29:39 | | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 | @@ -237,7 +238,7 @@ | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-03-20 01:31:28 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 | -| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-04-01 01:31:06 | +| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-04-12 01:28:34 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-04-03 11:34:07 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-03-20 01:33:11 | diff --git a/tencentcloud/aa/go.mod b/tencentcloud/aa/go.mod index dd31b61a06..c17e720c31 100644 --- a/tencentcloud/aa/go.mod +++ b/tencentcloud/aa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/aai/go.mod b/tencentcloud/aai/go.mod index 216dedba38..9e8ff1714a 100644 --- a/tencentcloud/aai/go.mod +++ b/tencentcloud/aai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/acp/go.mod b/tencentcloud/acp/go.mod index f1fc5e45ba..38c76092bc 100644 --- a/tencentcloud/acp/go.mod +++ b/tencentcloud/acp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/acp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/advisor/go.mod b/tencentcloud/advisor/go.mod index eadbc249a2..5ee03d8379 100644 --- a/tencentcloud/advisor/go.mod +++ b/tencentcloud/advisor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/af/go.mod b/tencentcloud/af/go.mod index eb1cf1d252..8945bf13de 100644 --- a/tencentcloud/af/go.mod +++ b/tencentcloud/af/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/afc/go.mod b/tencentcloud/afc/go.mod index 6c830b2617..f82f88b474 100644 --- a/tencentcloud/afc/go.mod +++ b/tencentcloud/afc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/aiart/go.mod b/tencentcloud/aiart/go.mod index aaf9ad0d8f..86bccaeb6b 100644 --- a/tencentcloud/aiart/go.mod +++ b/tencentcloud/aiart/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aiart go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/aiart/v20221229/client.go b/tencentcloud/aiart/v20221229/client.go index 9ae632e406..185ee7521e 100644 --- a/tencentcloud/aiart/v20221229/client.go +++ b/tencentcloud/aiart/v20221229/client.go @@ -65,17 +65,9 @@ func NewImageToImageResponse() (response *ImageToImageResponse) { } // ImageToImage -// 智能图生图接口将根据输入的图片及辅助描述文本,智能生成与之相关的结果图。 +// 智能图生图接口提供基础版图生图能力,将根据输入的图像及文本描述,智能生成风格转化后的图像。建议避免输入人像过小、姿势复杂、人数较多的人像图片。 // -// 输入:单边分辨率小于2000、转成 Base64 字符串后小于 5MB 的图片,建议同时输入描述文本。 -// -// 输出:对应风格及分辨率的 AI 生成图。 -// -// 可支持的风格详见 [智能图生图风格列表](https://cloud.tencent.com/document/product/1668/86250),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。 -// -// -// -// 请求频率限制为1次/秒。 +// 智能图生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 // // 可能返回的错误码: // AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" @@ -111,17 +103,9 @@ func (c *Client) ImageToImage(request *ImageToImageRequest) (response *ImageToIm } // ImageToImage -// 智能图生图接口将根据输入的图片及辅助描述文本,智能生成与之相关的结果图。 -// -// 输入:单边分辨率小于2000、转成 Base64 字符串后小于 5MB 的图片,建议同时输入描述文本。 -// -// 输出:对应风格及分辨率的 AI 生成图。 -// -// 可支持的风格详见 [智能图生图风格列表](https://cloud.tencent.com/document/product/1668/86250),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。 +// 智能图生图接口提供基础版图生图能力,将根据输入的图像及文本描述,智能生成风格转化后的图像。建议避免输入人像过小、姿势复杂、人数较多的人像图片。 // -// -// -// 请求频率限制为1次/秒。 +// 智能图生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 // // 可能返回的错误码: // AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" @@ -364,17 +348,11 @@ func NewTextToImageResponse() (response *TextToImageResponse) { } // TextToImage -// 智能文生图接口将根据输入的描述文本,智能生成与之相关的结果图。 -// -// 输入:256个字符以内的描述性文本,推荐使用中文。 -// -// 输出:对应风格及分辨率的 AI 生成图。 -// -// 可支持的风格详见 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。 +// 智能文生图接口提供基础版文生图能力,将根据输入的文本描述,智能生成与之相关的结果图。 // // // -// 请求频率限制为1次/秒。 +// 智能文生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 // // 可能返回的错误码: // AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" @@ -407,17 +385,11 @@ func (c *Client) TextToImage(request *TextToImageRequest) (response *TextToImage } // TextToImage -// 智能文生图接口将根据输入的描述文本,智能生成与之相关的结果图。 -// -// 输入:256个字符以内的描述性文本,推荐使用中文。 -// -// 输出:对应风格及分辨率的 AI 生成图。 -// -// 可支持的风格详见 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。 +// 智能文生图接口提供基础版文生图能力,将根据输入的文本描述,智能生成与之相关的结果图。 // // // -// 请求频率限制为1次/秒。 +// 智能文生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 // // 可能返回的错误码: // AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" diff --git a/tencentcloud/aiart/v20221229/models.go b/tencentcloud/aiart/v20221229/models.go index b12b1f1cd0..699f5704c2 100644 --- a/tencentcloud/aiart/v20221229/models.go +++ b/tencentcloud/aiart/v20221229/models.go @@ -25,13 +25,13 @@ type ImageToImageRequestParams struct { // 输入图 Base64 数据。 // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 - // 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB。 InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` // 输入图 Url。 // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 - // 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于8MB。 InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` // 文本描述。 @@ -50,7 +50,8 @@ type ImageToImageRequestParams struct { Styles []*string `json:"Styles,omitnil,omitempty" name:"Styles"` // 生成图结果的配置,包括输出图片分辨率和尺寸等。 - // 支持生成以下分辨率的图片:origin(与输入图分辨率一致)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin。 + // 支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3)。 + // 不传默认使用origin。 ResultConfig *ResultConfig `json:"ResultConfig,omitnil,omitempty" name:"ResultConfig"` // 为生成结果图添加标识的开关,默认为1。 @@ -79,13 +80,13 @@ type ImageToImageRequest struct { // 输入图 Base64 数据。 // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 - // 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB。 InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` // 输入图 Url。 // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 - // 图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于8MB。 InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` // 文本描述。 @@ -104,7 +105,8 @@ type ImageToImageRequest struct { Styles []*string `json:"Styles,omitnil,omitempty" name:"Styles"` // 生成图结果的配置,包括输出图片分辨率和尺寸等。 - // 支持生成以下分辨率的图片:origin(与输入图分辨率一致)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin。 + // 支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3)。 + // 不传默认使用origin。 ResultConfig *ResultConfig `json:"ResultConfig,omitnil,omitempty" name:"ResultConfig"` // 为生成结果图添加标识的开关,默认为1。 @@ -283,9 +285,9 @@ func (r *QueryTextToImageProJobResponse) FromJsonString(s string) error { type ResultConfig struct { // 生成图分辨率 // - // 智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768 + // 智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。 // - // 智能图生图支持生成以下分辨率的图片:origin(与输入图分辨率一致)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪 + // 智能图生图支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪。 Resolution *string `json:"Resolution,omitnil,omitempty" name:"Resolution"` } diff --git a/tencentcloud/ame/go.mod b/tencentcloud/ame/go.mod index 1a74796e83..4287ffedfe 100644 --- a/tencentcloud/ame/go.mod +++ b/tencentcloud/ame/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ams/go.mod b/tencentcloud/ams/go.mod index 7c8a6bbdd7..260e75f39f 100644 --- a/tencentcloud/ams/go.mod +++ b/tencentcloud/ams/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/anicloud/go.mod b/tencentcloud/anicloud/go.mod index b696836743..f94432bf0a 100644 --- a/tencentcloud/anicloud/go.mod +++ b/tencentcloud/anicloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/anicloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/antiddos/go.mod b/tencentcloud/antiddos/go.mod index 17d2982fbe..d2d366f0b5 100644 --- a/tencentcloud/antiddos/go.mod +++ b/tencentcloud/antiddos/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/antiddos/v20200309/models.go b/tencentcloud/antiddos/v20200309/models.go index c884ca6830..dff72a180d 100644 --- a/tencentcloud/antiddos/v20200309/models.go +++ b/tencentcloud/antiddos/v20200309/models.go @@ -549,6 +549,10 @@ type BGPInstance struct { // 是否是商业模式优化-普惠版 // 注意:此字段可能返回 null,表示取不到有效值。 PlanCntFlag *uint64 `json:"PlanCntFlag,omitnil,omitempty" name:"PlanCntFlag"` + + // 是否为超级高防包 + // 注意:此字段可能返回 null,表示取不到有效值。 + SuperPackFlag *uint64 `json:"SuperPackFlag,omitnil,omitempty" name:"SuperPackFlag"` } type BGPInstanceSpecification struct { diff --git a/tencentcloud/apcas/go.mod b/tencentcloud/apcas/go.mod index 47937e62d3..0c4316c82e 100644 --- a/tencentcloud/apcas/go.mod +++ b/tencentcloud/apcas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ape/go.mod b/tencentcloud/ape/go.mod index 993518ce0b..d37e873690 100644 --- a/tencentcloud/ape/go.mod +++ b/tencentcloud/ape/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/api/go.mod b/tencentcloud/api/go.mod index 4a9e4f9331..d755342522 100644 --- a/tencentcloud/api/go.mod +++ b/tencentcloud/api/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/apigateway/go.mod b/tencentcloud/apigateway/go.mod index 5c9b4e7930..11d2888bf0 100644 --- a/tencentcloud/apigateway/go.mod +++ b/tencentcloud/apigateway/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/apm/go.mod b/tencentcloud/apm/go.mod index 925a8d3f7b..5365a6f896 100644 --- a/tencentcloud/apm/go.mod +++ b/tencentcloud/apm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/as/go.mod b/tencentcloud/as/go.mod index a643a3566f..067441b98a 100644 --- a/tencentcloud/as/go.mod +++ b/tencentcloud/as/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/asr/go.mod b/tencentcloud/asr/go.mod index 25768378d0..2419369f49 100644 --- a/tencentcloud/asr/go.mod +++ b/tencentcloud/asr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/asw/go.mod b/tencentcloud/asw/go.mod index 92eaea20b5..27cdf8507b 100644 --- a/tencentcloud/asw/go.mod +++ b/tencentcloud/asw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ba/go.mod b/tencentcloud/ba/go.mod index d3de96c5b9..42a7daa206 100644 --- a/tencentcloud/ba/go.mod +++ b/tencentcloud/ba/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/batch/go.mod b/tencentcloud/batch/go.mod index fa8d15bf1d..3778e135a1 100644 --- a/tencentcloud/batch/go.mod +++ b/tencentcloud/batch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bda/go.mod b/tencentcloud/bda/go.mod index 5b55b074e1..adba6e9b40 100644 --- a/tencentcloud/bda/go.mod +++ b/tencentcloud/bda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bi/go.mod b/tencentcloud/bi/go.mod index 10bc043965..5255c1ff57 100644 --- a/tencentcloud/bi/go.mod +++ b/tencentcloud/bi/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/billing/go.mod b/tencentcloud/billing/go.mod index 751ac3c2c5..c6c147bd26 100644 --- a/tencentcloud/billing/go.mod +++ b/tencentcloud/billing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bizlive/go.mod b/tencentcloud/bizlive/go.mod index cd2c2de5a8..c917ff895b 100644 --- a/tencentcloud/bizlive/go.mod +++ b/tencentcloud/bizlive/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bm/go.mod b/tencentcloud/bm/go.mod index cdd4792417..0c7fb38938 100644 --- a/tencentcloud/bm/go.mod +++ b/tencentcloud/bm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bma/go.mod b/tencentcloud/bma/go.mod index f7c69ed485..17b0a5d1d2 100644 --- a/tencentcloud/bma/go.mod +++ b/tencentcloud/bma/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bma go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bmeip/go.mod b/tencentcloud/bmeip/go.mod index 3c45085f8b..accaed9d14 100644 --- a/tencentcloud/bmeip/go.mod +++ b/tencentcloud/bmeip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bmlb/go.mod b/tencentcloud/bmlb/go.mod index d060a943c2..e5dc021d8d 100644 --- a/tencentcloud/bmlb/go.mod +++ b/tencentcloud/bmlb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bmvpc/go.mod b/tencentcloud/bmvpc/go.mod index 6e717a5501..6e7f8013e8 100644 --- a/tencentcloud/bmvpc/go.mod +++ b/tencentcloud/bmvpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bpaas/go.mod b/tencentcloud/bpaas/go.mod index 4411c6e42c..6204e5337a 100644 --- a/tencentcloud/bpaas/go.mod +++ b/tencentcloud/bpaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bpaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bri/go.mod b/tencentcloud/bri/go.mod index 2d597d8b9a..8a32e1f578 100644 --- a/tencentcloud/bri/go.mod +++ b/tencentcloud/bri/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/bsca/go.mod b/tencentcloud/bsca/go.mod index a0c74357c5..d3da95568b 100644 --- a/tencentcloud/bsca/go.mod +++ b/tencentcloud/bsca/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bsca go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/btoe/go.mod b/tencentcloud/btoe/go.mod index e2eb875440..692cfab7b8 100644 --- a/tencentcloud/btoe/go.mod +++ b/tencentcloud/btoe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cam/go.mod b/tencentcloud/cam/go.mod index deed34099f..94cf6bb129 100644 --- a/tencentcloud/cam/go.mod +++ b/tencentcloud/cam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/captcha/go.mod b/tencentcloud/captcha/go.mod index a6036b4816..f068c03d59 100644 --- a/tencentcloud/captcha/go.mod +++ b/tencentcloud/captcha/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/car/go.mod b/tencentcloud/car/go.mod index 31db5bab3b..45b229a4b9 100644 --- a/tencentcloud/car/go.mod +++ b/tencentcloud/car/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/car go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cat/go.mod b/tencentcloud/cat/go.mod index 40d6d513b4..3f01f5762d 100644 --- a/tencentcloud/cat/go.mod +++ b/tencentcloud/cat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cbs/go.mod b/tencentcloud/cbs/go.mod index 985d49a373..2c9faa9a80 100644 --- a/tencentcloud/cbs/go.mod +++ b/tencentcloud/cbs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ccc/go.mod b/tencentcloud/ccc/go.mod index 62db7c9775..764ca84367 100644 --- a/tencentcloud/ccc/go.mod +++ b/tencentcloud/ccc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cdb/go.mod b/tencentcloud/cdb/go.mod index 9939e2f6e3..119f24885f 100644 --- a/tencentcloud/cdb/go.mod +++ b/tencentcloud/cdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cdb/v20170320/client.go b/tencentcloud/cdb/v20170320/client.go index 553560cdd8..19a4dc27ff 100644 --- a/tencentcloud/cdb/v20170320/client.go +++ b/tencentcloud/cdb/v20170320/client.go @@ -397,6 +397,67 @@ func (c *Client) BalanceRoGroupLoadWithContext(ctx context.Context, request *Bal return } +func NewCheckMigrateClusterRequest() (request *CheckMigrateClusterRequest) { + request = &CheckMigrateClusterRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("cdb", APIVersion, "CheckMigrateCluster") + + + return +} + +func NewCheckMigrateClusterResponse() (response *CheckMigrateClusterResponse) { + response = &CheckMigrateClusterResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CheckMigrateCluster +// 高可用实例一键迁移到集群版校验 +// +// 可能返回的错误码: +// FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" +// INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" +// INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" +// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" +// INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" +func (c *Client) CheckMigrateCluster(request *CheckMigrateClusterRequest) (response *CheckMigrateClusterResponse, err error) { + return c.CheckMigrateClusterWithContext(context.Background(), request) +} + +// CheckMigrateCluster +// 高可用实例一键迁移到集群版校验 +// +// 可能返回的错误码: +// FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" +// INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" +// INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" +// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" +// INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" +func (c *Client) CheckMigrateClusterWithContext(ctx context.Context, request *CheckMigrateClusterRequest) (response *CheckMigrateClusterResponse, err error) { + if request == nil { + request = NewCheckMigrateClusterRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CheckMigrateCluster require credential") + } + + request.SetContext(ctx) + + response = NewCheckMigrateClusterResponse() + err = c.Send(request, response) + return +} + func NewCloseAuditServiceRequest() (request *CloseAuditServiceRequest) { request = &CloseAuditServiceRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -4102,6 +4163,59 @@ func (c *Client) DescribeCloneListWithContext(ctx context.Context, request *Desc return } +func NewDescribeClusterInfoRequest() (request *DescribeClusterInfoRequest) { + request = &DescribeClusterInfoRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("cdb", APIVersion, "DescribeClusterInfo") + + + return +} + +func NewDescribeClusterInfoResponse() (response *DescribeClusterInfoResponse) { + response = &DescribeClusterInfoResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeClusterInfo +// 本接口(DescribeClusterInfo)用于查询集群版实例信息。 +// +// 可能返回的错误码: +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) DescribeClusterInfo(request *DescribeClusterInfoRequest) (response *DescribeClusterInfoResponse, err error) { + return c.DescribeClusterInfoWithContext(context.Background(), request) +} + +// DescribeClusterInfo +// 本接口(DescribeClusterInfo)用于查询集群版实例信息。 +// +// 可能返回的错误码: +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" +// INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) DescribeClusterInfoWithContext(ctx context.Context, request *DescribeClusterInfoRequest) (response *DescribeClusterInfoResponse, err error) { + if request == nil { + request = NewDescribeClusterInfoRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeClusterInfo require credential") + } + + request.SetContext(ctx) + + response = NewDescribeClusterInfoResponse() + err = c.Send(request, response) + return +} + func NewDescribeCpuExpandStrategyRequest() (request *DescribeCpuExpandStrategyRequest) { request = &DescribeCpuExpandStrategyRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/cdb/v20170320/errors.go b/tencentcloud/cdb/v20170320/errors.go index 04d604c029..8c218c55dd 100644 --- a/tencentcloud/cdb/v20170320/errors.go +++ b/tencentcloud/cdb/v20170320/errors.go @@ -578,6 +578,9 @@ const ( // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" + // 未授权操作。 + UNAUTHORIZEDOPERATION = "UnauthorizedOperation" + // 认证失败,没有足够权限。 UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" diff --git a/tencentcloud/cdb/v20170320/models.go b/tencentcloud/cdb/v20170320/models.go index 53f45f05be..232816f2d9 100644 --- a/tencentcloud/cdb/v20170320/models.go +++ b/tencentcloud/cdb/v20170320/models.go @@ -161,6 +161,29 @@ func (r *AddTimeWindowResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type AddressInfo struct { + // 地址的资源id标识。 + ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` + + // 地址所在的vpc。 + UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` + + // 地址所在的子网。 + UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` + + // 地址的vip。 + Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` + + // 地址的端口。 + VPort *int64 `json:"VPort,omitnil,omitempty" name:"VPort"` + + // 外网地址域名。 + WanDomain *string `json:"WanDomain,omitnil,omitempty" name:"WanDomain"` + + // 外网地址端口。 + WanPort *int64 `json:"WanPort,omitnil,omitempty" name:"WanPort"` +} + // Predefined struct for user type AdjustCdbProxyAddressRequestParams struct { // 代理组ID @@ -1263,6 +1286,57 @@ type CdbZoneSellConf struct { EngineType []*string `json:"EngineType,omitnil,omitempty" name:"EngineType"` } +// Predefined struct for user +type CheckMigrateClusterRequestParams struct { + +} + +type CheckMigrateClusterRequest struct { + *tchttp.BaseRequest + +} + +func (r *CheckMigrateClusterRequest) 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 *CheckMigrateClusterRequest) 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", "CheckMigrateClusterRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CheckMigrateClusterResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CheckMigrateClusterResponse struct { + *tchttp.BaseResponse + Response *CheckMigrateClusterResponseParams `json:"Response"` +} + +func (r *CheckMigrateClusterResponse) 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 *CheckMigrateClusterResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type CloneItem struct { // 克隆任务的源实例Id。 SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"` @@ -1535,6 +1609,24 @@ func (r *CloseWanServiceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ClusterNodeInfo struct { + // 节点id。 + NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"` + + // 节点的角色。 + Role *string `json:"Role,omitnil,omitempty" name:"Role"` + + // 节点所在可用区。 + Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` + + // 节点的权重 + Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` + + // 节点状态。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *string `json:"Status,omitnil,omitempty" name:"Status"` +} + type ColumnPrivilege struct { // 数据库名 Database *string `json:"Database,omitnil,omitempty" name:"Database"` @@ -6181,6 +6273,78 @@ func (r *DescribeCloneListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeClusterInfoRequestParams struct { + // 实例id。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeClusterInfoRequest struct { + *tchttp.BaseRequest + + // 实例id。 + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeClusterInfoRequest) 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 *DescribeClusterInfoRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeClusterInfoRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeClusterInfoResponseParams struct { + // 实例名称。 + ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` + + // 集群读写地址信息。 + ReadWriteAddress *AddressInfo `json:"ReadWriteAddress,omitnil,omitempty" name:"ReadWriteAddress"` + + // 集群只读地址信息。 + ReadOnlyAddress []*AddressInfo `json:"ReadOnlyAddress,omitnil,omitempty" name:"ReadOnlyAddress"` + + // 集群节点列表信息。 + NodeList []*ClusterNodeInfo `json:"NodeList,omitnil,omitempty" name:"NodeList"` + + // 只读空间保护阈值,单位GB + ReadonlyLimit *int64 `json:"ReadonlyLimit,omitnil,omitempty" name:"ReadonlyLimit"` + + // 实例节点数。 + NodeCount *int64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeClusterInfoResponse struct { + *tchttp.BaseResponse + Response *DescribeClusterInfoResponseParams `json:"Response"` +} + +func (r *DescribeClusterInfoResponse) 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 *DescribeClusterInfoResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeCpuExpandStrategyRequestParams struct { // 实例 ID 。 diff --git a/tencentcloud/cdc/go.mod b/tencentcloud/cdc/go.mod index db6220540f..6e47496130 100644 --- a/tencentcloud/cdc/go.mod +++ b/tencentcloud/cdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cdn/go.mod b/tencentcloud/cdn/go.mod index b0efc65589..0180b19e7f 100644 --- a/tencentcloud/cdn/go.mod +++ b/tencentcloud/cdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cds/go.mod b/tencentcloud/cds/go.mod index 63ff5f82c7..feda2fe9c0 100644 --- a/tencentcloud/cds/go.mod +++ b/tencentcloud/cds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cdwch/go.mod b/tencentcloud/cdwch/go.mod index d12352e2ca..46cd9461fa 100644 --- a/tencentcloud/cdwch/go.mod +++ b/tencentcloud/cdwch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cdwdoris/go.mod b/tencentcloud/cdwdoris/go.mod index ca0a3b09fa..8110ef5115 100644 --- a/tencentcloud/cdwdoris/go.mod +++ b/tencentcloud/cdwdoris/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwdoris go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cdwpg/go.mod b/tencentcloud/cdwpg/go.mod index 38ef356733..8d5db4143e 100644 --- a/tencentcloud/cdwpg/go.mod +++ b/tencentcloud/cdwpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cfg/go.mod b/tencentcloud/cfg/go.mod index 228b214228..5533e745ee 100644 --- a/tencentcloud/cfg/go.mod +++ b/tencentcloud/cfg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cfs/go.mod b/tencentcloud/cfs/go.mod index 101dc8c2d1..385a8322d8 100644 --- a/tencentcloud/cfs/go.mod +++ b/tencentcloud/cfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cfw/go.mod b/tencentcloud/cfw/go.mod index 3039595807..e91beeefae 100644 --- a/tencentcloud/cfw/go.mod +++ b/tencentcloud/cfw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/chdfs/go.mod b/tencentcloud/chdfs/go.mod index 91612e3ae6..61f85f412f 100644 --- a/tencentcloud/chdfs/go.mod +++ b/tencentcloud/chdfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ciam/go.mod b/tencentcloud/ciam/go.mod index c011783b58..2bbf3ea649 100644 --- a/tencentcloud/ciam/go.mod +++ b/tencentcloud/ciam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ciam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cii/go.mod b/tencentcloud/cii/go.mod index 3e1c037444..ca5427341d 100644 --- a/tencentcloud/cii/go.mod +++ b/tencentcloud/cii/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cim/go.mod b/tencentcloud/cim/go.mod index f3b8a392ef..070bc7880f 100644 --- a/tencentcloud/cim/go.mod +++ b/tencentcloud/cim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cis/go.mod b/tencentcloud/cis/go.mod index 2e06629468..5d98edc877 100644 --- a/tencentcloud/cis/go.mod +++ b/tencentcloud/cis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ckafka/go.mod b/tencentcloud/ckafka/go.mod index 6e952ce695..db0a57abfe 100644 --- a/tencentcloud/ckafka/go.mod +++ b/tencentcloud/ckafka/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/clb/go.mod b/tencentcloud/clb/go.mod index b88b0143bc..a1802d0619 100644 --- a/tencentcloud/clb/go.mod +++ b/tencentcloud/clb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cloudaudit/go.mod b/tencentcloud/cloudaudit/go.mod index ddfa832aca..ff29936238 100644 --- a/tencentcloud/cloudaudit/go.mod +++ b/tencentcloud/cloudaudit/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cloudhsm/go.mod b/tencentcloud/cloudhsm/go.mod index 296ae74194..73cbf18a39 100644 --- a/tencentcloud/cloudhsm/go.mod +++ b/tencentcloud/cloudhsm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cloudstudio/go.mod b/tencentcloud/cloudstudio/go.mod index 96b8dad691..017fe945eb 100644 --- a/tencentcloud/cloudstudio/go.mod +++ b/tencentcloud/cloudstudio/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudstudio go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cls/go.mod b/tencentcloud/cls/go.mod index 986be43f5c..635055163f 100644 --- a/tencentcloud/cls/go.mod +++ b/tencentcloud/cls/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cme/go.mod b/tencentcloud/cme/go.mod index 78e06e35a4..75b3b67e0a 100644 --- a/tencentcloud/cme/go.mod +++ b/tencentcloud/cme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cmq/go.mod b/tencentcloud/cmq/go.mod index a7c3dfb505..9b0e6066fc 100644 --- a/tencentcloud/cmq/go.mod +++ b/tencentcloud/cmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cms/go.mod b/tencentcloud/cms/go.mod index 0bc6daffbe..5143a4433f 100644 --- a/tencentcloud/cms/go.mod +++ b/tencentcloud/cms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index 7807570ef0..da0716a4f4 100644 --- a/tencentcloud/common/http/request.go +++ b/tencentcloud/common/http/request.go @@ -265,7 +265,7 @@ func CompleteCommonParams(request Request, region string, requestClient 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.897" + params["RequestClient"] = "SDK_GO_1.0.898" if requestClient != "" { params["RequestClient"] += ": " + requestClient } diff --git a/tencentcloud/config/go.mod b/tencentcloud/config/go.mod index 0227fde534..02a5c0ada1 100644 --- a/tencentcloud/config/go.mod +++ b/tencentcloud/config/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cpdp/go.mod b/tencentcloud/cpdp/go.mod index 6a78b336f9..46a1fc7621 100644 --- a/tencentcloud/cpdp/go.mod +++ b/tencentcloud/cpdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cr/go.mod b/tencentcloud/cr/go.mod index ed1de54a5e..447621b581 100644 --- a/tencentcloud/cr/go.mod +++ b/tencentcloud/cr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/csip/go.mod b/tencentcloud/csip/go.mod index 096356f24e..5409923d78 100644 --- a/tencentcloud/csip/go.mod +++ b/tencentcloud/csip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/csxg/go.mod b/tencentcloud/csxg/go.mod index ac713e1aec..42e6984248 100644 --- a/tencentcloud/csxg/go.mod +++ b/tencentcloud/csxg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csxg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cvm/go.mod b/tencentcloud/cvm/go.mod index 9d37bb8cd5..c989623709 100644 --- a/tencentcloud/cvm/go.mod +++ b/tencentcloud/cvm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cwp/go.mod b/tencentcloud/cwp/go.mod index 1a065a2d22..eb96bd485b 100644 --- a/tencentcloud/cwp/go.mod +++ b/tencentcloud/cwp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cws/go.mod b/tencentcloud/cws/go.mod index 47a6367b83..1980ab59c3 100644 --- a/tencentcloud/cws/go.mod +++ b/tencentcloud/cws/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/cynosdb/go.mod b/tencentcloud/cynosdb/go.mod index 1702d0dfe3..ed6de5adab 100644 --- a/tencentcloud/cynosdb/go.mod +++ b/tencentcloud/cynosdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dasb/go.mod b/tencentcloud/dasb/go.mod index 2598d80d01..ff0b7ba04e 100644 --- a/tencentcloud/dasb/go.mod +++ b/tencentcloud/dasb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dasb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dataintegration/go.mod b/tencentcloud/dataintegration/go.mod index aca72ca54b..199029d7c7 100644 --- a/tencentcloud/dataintegration/go.mod +++ b/tencentcloud/dataintegration/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dataintegration go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dayu/go.mod b/tencentcloud/dayu/go.mod index d9b9a195f4..0454e4ce8c 100644 --- a/tencentcloud/dayu/go.mod +++ b/tencentcloud/dayu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dbbrain/go.mod b/tencentcloud/dbbrain/go.mod index 2f62d52f6b..3ee9843205 100644 --- a/tencentcloud/dbbrain/go.mod +++ b/tencentcloud/dbbrain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dbdc/go.mod b/tencentcloud/dbdc/go.mod index aca6204e30..c81894e12a 100644 --- a/tencentcloud/dbdc/go.mod +++ b/tencentcloud/dbdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dc/go.mod b/tencentcloud/dc/go.mod index 4fc0e90cbe..baa2bef575 100644 --- a/tencentcloud/dc/go.mod +++ b/tencentcloud/dc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dcdb/go.mod b/tencentcloud/dcdb/go.mod index 27c1f08c1c..09506dce54 100644 --- a/tencentcloud/dcdb/go.mod +++ b/tencentcloud/dcdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dlc/go.mod b/tencentcloud/dlc/go.mod index 2a94c2aa93..076d85be17 100644 --- a/tencentcloud/dlc/go.mod +++ b/tencentcloud/dlc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dnspod/go.mod b/tencentcloud/dnspod/go.mod index d125baf928..fa1899339f 100644 --- a/tencentcloud/dnspod/go.mod +++ b/tencentcloud/dnspod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/domain/go.mod b/tencentcloud/domain/go.mod index d823bc40c7..311bfd108c 100644 --- a/tencentcloud/domain/go.mod +++ b/tencentcloud/domain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/drm/go.mod b/tencentcloud/drm/go.mod index 567c343013..5f2a9806dc 100644 --- a/tencentcloud/drm/go.mod +++ b/tencentcloud/drm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ds/go.mod b/tencentcloud/ds/go.mod index 2c3120230b..5513f2eb1e 100644 --- a/tencentcloud/ds/go.mod +++ b/tencentcloud/ds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dsgc/go.mod b/tencentcloud/dsgc/go.mod index 993c551e4b..a344d929e2 100644 --- a/tencentcloud/dsgc/go.mod +++ b/tencentcloud/dsgc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dsgc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dtf/go.mod b/tencentcloud/dtf/go.mod index d958e746dc..4b495159b4 100644 --- a/tencentcloud/dtf/go.mod +++ b/tencentcloud/dtf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/dts/go.mod b/tencentcloud/dts/go.mod index 9273c80773..f9b71294bb 100644 --- a/tencentcloud/dts/go.mod +++ b/tencentcloud/dts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/eb/go.mod b/tencentcloud/eb/go.mod index 37cc5939bf..da568fccfb 100644 --- a/tencentcloud/eb/go.mod +++ b/tencentcloud/eb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ecc/go.mod b/tencentcloud/ecc/go.mod index 98f8e742a8..5b8db33208 100644 --- a/tencentcloud/ecc/go.mod +++ b/tencentcloud/ecc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ecdn/go.mod b/tencentcloud/ecdn/go.mod index b296096fe9..3534b273e7 100644 --- a/tencentcloud/ecdn/go.mod +++ b/tencentcloud/ecdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ecm/go.mod b/tencentcloud/ecm/go.mod index 102ece53df..8a69ec4b8e 100644 --- a/tencentcloud/ecm/go.mod +++ b/tencentcloud/ecm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/eiam/go.mod b/tencentcloud/eiam/go.mod index a882fe568b..80302718a2 100644 --- a/tencentcloud/eiam/go.mod +++ b/tencentcloud/eiam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/eis/go.mod b/tencentcloud/eis/go.mod index fe5de959ae..28d9c1ef5e 100644 --- a/tencentcloud/eis/go.mod +++ b/tencentcloud/eis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/emr/go.mod b/tencentcloud/emr/go.mod index faabb72248..958565cd7c 100644 --- a/tencentcloud/emr/go.mod +++ b/tencentcloud/emr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/es/go.mod b/tencentcloud/es/go.mod index ee8560bacb..e3e719e0da 100644 --- a/tencentcloud/es/go.mod +++ b/tencentcloud/es/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/es/v20180416/models.go b/tencentcloud/es/v20180416/models.go index a089426876..b231d58183 100644 --- a/tencentcloud/es/v20180416/models.go +++ b/tencentcloud/es/v20180416/models.go @@ -946,6 +946,9 @@ func (r *CreateLogstashInstanceResponse) FromJsonString(s string) error { // Predefined struct for user type CreateServerlessInstanceRequestParams struct { + // 索引名,需以-AppId结尾 + IndexName *string `json:"IndexName,omitnil,omitempty" name:"IndexName"` + // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` @@ -955,9 +958,6 @@ type CreateServerlessInstanceRequestParams struct { // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` - // 索引名,需以-AppId结尾 - IndexName *string `json:"IndexName,omitnil,omitempty" name:"IndexName"` - // 创建的索引元数据JSON,如mappings、settings IndexMetaJson *string `json:"IndexMetaJson,omitnil,omitempty" name:"IndexMetaJson"` @@ -986,6 +986,9 @@ type CreateServerlessInstanceRequestParams struct { type CreateServerlessInstanceRequest struct { *tchttp.BaseRequest + // 索引名,需以-AppId结尾 + IndexName *string `json:"IndexName,omitnil,omitempty" name:"IndexName"` + // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` @@ -995,9 +998,6 @@ type CreateServerlessInstanceRequest struct { // 子网ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` - // 索引名,需以-AppId结尾 - IndexName *string `json:"IndexName,omitnil,omitempty" name:"IndexName"` - // 创建的索引元数据JSON,如mappings、settings IndexMetaJson *string `json:"IndexMetaJson,omitnil,omitempty" name:"IndexMetaJson"` @@ -1035,10 +1035,10 @@ func (r *CreateServerlessInstanceRequest) FromJsonString(s string) error { if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "IndexName") delete(f, "Zone") delete(f, "VpcId") delete(f, "SubnetId") - delete(f, "IndexName") delete(f, "IndexMetaJson") delete(f, "SpaceId") delete(f, "Username") diff --git a/tencentcloud/ess/go.mod b/tencentcloud/ess/go.mod index 66c5ba254f..deb448cb55 100644 --- a/tencentcloud/ess/go.mod +++ b/tencentcloud/ess/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ess go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/essbasic/go.mod b/tencentcloud/essbasic/go.mod index 74e7b2270b..d05539d495 100644 --- a/tencentcloud/essbasic/go.mod +++ b/tencentcloud/essbasic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/facefusion/go.mod b/tencentcloud/facefusion/go.mod index 26b39d6e67..b5be904ac4 100644 --- a/tencentcloud/facefusion/go.mod +++ b/tencentcloud/facefusion/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/faceid/go.mod b/tencentcloud/faceid/go.mod index 6062f9d4fd..2d8b949fab 100644 --- a/tencentcloud/faceid/go.mod +++ b/tencentcloud/faceid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/faceid/v20180301/client.go b/tencentcloud/faceid/v20180301/client.go index 720ff09406..8178b99f3d 100644 --- a/tencentcloud/faceid/v20180301/client.go +++ b/tencentcloud/faceid/v20180301/client.go @@ -1693,7 +1693,7 @@ func NewImageRecognitionResponse() (response *ImageRecognitionResponse) { } // ImageRecognition -// 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人。 +// 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人(该接口已停止接入,新客户请使用照片人脸核身(V2.0)接口)。 // // 可能返回的错误码: // FAILEDOPERATION_COMPAREFAIL = "FailedOperation.CompareFail" @@ -1729,7 +1729,7 @@ func (c *Client) ImageRecognition(request *ImageRecognitionRequest) (response *I } // ImageRecognition -// 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人。 +// 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人(该接口已停止接入,新客户请使用照片人脸核身(V2.0)接口)。 // // 可能返回的错误码: // FAILEDOPERATION_COMPAREFAIL = "FailedOperation.CompareFail" diff --git a/tencentcloud/faceid/v20180301/models.go b/tencentcloud/faceid/v20180301/models.go index 84957d237e..7b15b85279 100644 --- a/tencentcloud/faceid/v20180301/models.go +++ b/tencentcloud/faceid/v20180301/models.go @@ -4382,6 +4382,9 @@ type RuleIdConfig struct { // 0:问答模式,DetectAuth接口需要传入IntentionQuestions字段; // 1:点头模式,DetectAuth接口需要传入IntentionActions字段; IntentionType *int64 `json:"IntentionType,omitnil,omitempty" name:"IntentionType"` + + // 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。 + MouthOpenRecognition *bool `json:"MouthOpenRecognition,omitnil,omitempty" name:"MouthOpenRecognition"` } type WeChatBillDetail struct { diff --git a/tencentcloud/fmu/go.mod b/tencentcloud/fmu/go.mod index d30ab25128..599726813e 100644 --- a/tencentcloud/fmu/go.mod +++ b/tencentcloud/fmu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ft/go.mod b/tencentcloud/ft/go.mod index d0d40f0e27..99f41e34ce 100644 --- a/tencentcloud/ft/go.mod +++ b/tencentcloud/ft/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/gaap/go.mod b/tencentcloud/gaap/go.mod index ff566525e6..f9541daf43 100644 --- a/tencentcloud/gaap/go.mod +++ b/tencentcloud/gaap/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/gme/go.mod b/tencentcloud/gme/go.mod index b239fb7aea..a1fee6119d 100644 --- a/tencentcloud/gme/go.mod +++ b/tencentcloud/gme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/goosefs/go.mod b/tencentcloud/goosefs/go.mod index 6f967d61e0..4ce5030952 100644 --- a/tencentcloud/goosefs/go.mod +++ b/tencentcloud/goosefs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/goosefs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/gpm/go.mod b/tencentcloud/gpm/go.mod index a49839f7b7..39a0b952bc 100644 --- a/tencentcloud/gpm/go.mod +++ b/tencentcloud/gpm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/gs/go.mod b/tencentcloud/gs/go.mod index ced28d1590..b28a37ec8b 100644 --- a/tencentcloud/gs/go.mod +++ b/tencentcloud/gs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/gse/go.mod b/tencentcloud/gse/go.mod index 8f178d4af5..d560f39fef 100644 --- a/tencentcloud/gse/go.mod +++ b/tencentcloud/gse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/habo/go.mod b/tencentcloud/habo/go.mod index 3080b246be..31b8c12338 100644 --- a/tencentcloud/habo/go.mod +++ b/tencentcloud/habo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/hai/go.mod b/tencentcloud/hai/go.mod index 56ae115165..fd0c333288 100644 --- a/tencentcloud/hai/go.mod +++ b/tencentcloud/hai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/hasim/go.mod b/tencentcloud/hasim/go.mod index a8e505d7bf..f4fa8cd2c8 100644 --- a/tencentcloud/hasim/go.mod +++ b/tencentcloud/hasim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hasim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/hcm/go.mod b/tencentcloud/hcm/go.mod index 3c5c9f20bd..71b11c0e59 100644 --- a/tencentcloud/hcm/go.mod +++ b/tencentcloud/hcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/hunyuan/go.mod b/tencentcloud/hunyuan/go.mod index cef23112a5..18799d438c 100644 --- a/tencentcloud/hunyuan/go.mod +++ b/tencentcloud/hunyuan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hunyuan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/hunyuan/v20230901/client.go b/tencentcloud/hunyuan/v20230901/client.go index 3e6db6be26..43eee6bd12 100644 --- a/tencentcloud/hunyuan/v20230901/client.go +++ b/tencentcloud/hunyuan/v20230901/client.go @@ -63,15 +63,15 @@ func NewChatProResponse() (response *ChatProResponse) { } // ChatPro -// 腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。 +// 腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。 // // // -// 1.本接口暂不支持返回图片内容。 +// 1. 本接口暂不支持返回图片内容。 // -// 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 +// 2. 默认单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 // -// 3.请使用SDK调用本接口 ,每种开发语言的SDK GitHub仓库examples/hunyuan/v20230901/目录下有提供示例供参考。 +// 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。 // // 可能返回的错误码: // FAILEDOPERATION_ENGINEREQUESTTIMEOUT = "FailedOperation.EngineRequestTimeout" @@ -91,15 +91,15 @@ func (c *Client) ChatPro(request *ChatProRequest) (response *ChatProResponse, er } // ChatPro -// 腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。 +// 腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。 // // // -// 1.本接口暂不支持返回图片内容。 +// 1. 本接口暂不支持返回图片内容。 // -// 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 +// 2. 默认单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 // -// 3.请使用SDK调用本接口 ,每种开发语言的SDK GitHub仓库examples/hunyuan/v20230901/目录下有提供示例供参考。 +// 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。 // // 可能返回的错误码: // FAILEDOPERATION_ENGINEREQUESTTIMEOUT = "FailedOperation.EngineRequestTimeout" @@ -148,15 +148,15 @@ func NewChatStdResponse() (response *ChatStdResponse) { } // ChatStd -// 腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。 +// 腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。 // // // -// 1.本接口暂不支持返回图片内容。 +// 1. 本接口暂不支持返回图片内容。 // -// 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 +// 2. 默认单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 // -// 3.请使用SDK调用本接口 ,每种开发语言的SDK GitHub仓库examples/hunyuan/v20230901/目录下有提供示例供参考。 +// 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。 // // 可能返回的错误码: // FAILEDOPERATION_ENGINEREQUESTTIMEOUT = "FailedOperation.EngineRequestTimeout" @@ -177,15 +177,15 @@ func (c *Client) ChatStd(request *ChatStdRequest) (response *ChatStdResponse, er } // ChatStd -// 腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。 +// 腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。 // // // -// 1.本接口暂不支持返回图片内容。 +// 1. 本接口暂不支持返回图片内容。 // -// 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 +// 2. 默认单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。 // -// 3.请使用SDK调用本接口 ,每种开发语言的SDK GitHub仓库examples/hunyuan/v20230901/目录下有提供示例供参考。 +// 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。 // // 可能返回的错误码: // FAILEDOPERATION_ENGINEREQUESTTIMEOUT = "FailedOperation.EngineRequestTimeout" diff --git a/tencentcloud/hunyuan/v20230901/models.go b/tencentcloud/hunyuan/v20230901/models.go index 9c1691f395..d929cdcae6 100644 --- a/tencentcloud/hunyuan/v20230901/models.go +++ b/tencentcloud/hunyuan/v20230901/models.go @@ -24,22 +24,41 @@ import ( type ChatProRequestParams struct { // 聊天上下文信息。 // 说明: - // 1.长度最多为40, 按对话时间从旧到新在数组中排列。 - // 2.Message的Role当前可选值:system、user、assistant,其中,system角色是可选的,如果存在,必须位于列表的最开始。user和assistant需要交替出现(一问一答),最后一个为user提问, 且Content不能为空。 - // 3.Messages中Content总长度不超过16000 token,超过则会截断最前面的内容,只保留尾部内容。建议不超过4000 token。 + // 1. 长度最多为 40,按对话时间从旧到新在数组中排列。 + // 2. Message 的 Role 当前可选值:system、user、assistant。其中,system 角色是可选的,如果存在,必须位于列表的最开始。此外,user 和 assistant 需交替出现(一问一答),以 user 提问开始和结束,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。 + // 3. Messages 中 Content 总长度不超过 16000 Token,超过则会截断最前面的内容,只保留尾部内容。建议不超过 4000 Token。 Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` // 说明: - // 1.影响输出文本的多样性,取值越大,生成文本的多样性越强。 - // 2.默认1.0,取值区间为[0.0, 1.0]。 - // 3.非必要不建议使用, 不合理的取值会影响效果。 + // 1. 影响输出文本的多样性,取值越大,生成文本的多样性越强。 + // 2. 默认 1.0,取值区间为 [0.0, 1.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 TopP *float64 `json:"TopP,omitnil,omitempty" name:"TopP"` // 说明: - // 1.较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 - // 2.默认1.0,取值区间为[0.0,2.0]。 - // 3.非必要不建议使用,不合理的取值会影响效果。 + // 1. 较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 + // 2. 默认 1.0,取值区间为 [0.0,2.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 Temperature *float64 `json:"Temperature,omitnil,omitempty" name:"Temperature"` + + // 流式调用开关。 + // 说明: + // 1. 未传值时默认为流式调用。 + // 2. 流式调用时以 SSE 协议增量返回结果。 + // 3. 非流式调用时接口响应耗时较长,非必要不建议使用。 + // 4. 非流式调用时只返回一次最终结果,调用方式与普通 HTTP 请求无异。 + Stream *bool `json:"Stream,omitnil,omitempty" name:"Stream"` + + // 流式输出审核开关。 + // 说明: + // 1. 当 Stream 字段值为 true 时,该字段有效。 + // 2. 未传值时默认不使用流式输出审核。 + // 3. 如果值为 true,将对输出内容进行分段审核,审核通过的内容流式输出返回。如果出现审核不过,响应中的 finish_reason 值为 sensitive。 + // 4. 如果值为 false,则需要审核完所有输出内容后再返回结果。 + // + // 注意: + // 当选择流式输出审核时,可能会出现部分内容已输出,但中间某一段响应中的 finish_reason 值为 sensitive,此时说明安全审核未通过。如果业务场景有实时文字上屏的需求,需要自行撤回已上屏的内容,并建议自定义替换为一条提示语,如 “这个问题我不方便回答,不如我们换个话题试试”,以保障终端体验。 + StreamModeration *bool `json:"StreamModeration,omitnil,omitempty" name:"StreamModeration"` } type ChatProRequest struct { @@ -47,22 +66,41 @@ type ChatProRequest struct { // 聊天上下文信息。 // 说明: - // 1.长度最多为40, 按对话时间从旧到新在数组中排列。 - // 2.Message的Role当前可选值:system、user、assistant,其中,system角色是可选的,如果存在,必须位于列表的最开始。user和assistant需要交替出现(一问一答),最后一个为user提问, 且Content不能为空。 - // 3.Messages中Content总长度不超过16000 token,超过则会截断最前面的内容,只保留尾部内容。建议不超过4000 token。 + // 1. 长度最多为 40,按对话时间从旧到新在数组中排列。 + // 2. Message 的 Role 当前可选值:system、user、assistant。其中,system 角色是可选的,如果存在,必须位于列表的最开始。此外,user 和 assistant 需交替出现(一问一答),以 user 提问开始和结束,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。 + // 3. Messages 中 Content 总长度不超过 16000 Token,超过则会截断最前面的内容,只保留尾部内容。建议不超过 4000 Token。 Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` // 说明: - // 1.影响输出文本的多样性,取值越大,生成文本的多样性越强。 - // 2.默认1.0,取值区间为[0.0, 1.0]。 - // 3.非必要不建议使用, 不合理的取值会影响效果。 + // 1. 影响输出文本的多样性,取值越大,生成文本的多样性越强。 + // 2. 默认 1.0,取值区间为 [0.0, 1.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 TopP *float64 `json:"TopP,omitnil,omitempty" name:"TopP"` // 说明: - // 1.较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 - // 2.默认1.0,取值区间为[0.0,2.0]。 - // 3.非必要不建议使用,不合理的取值会影响效果。 + // 1. 较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 + // 2. 默认 1.0,取值区间为 [0.0,2.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 Temperature *float64 `json:"Temperature,omitnil,omitempty" name:"Temperature"` + + // 流式调用开关。 + // 说明: + // 1. 未传值时默认为流式调用。 + // 2. 流式调用时以 SSE 协议增量返回结果。 + // 3. 非流式调用时接口响应耗时较长,非必要不建议使用。 + // 4. 非流式调用时只返回一次最终结果,调用方式与普通 HTTP 请求无异。 + Stream *bool `json:"Stream,omitnil,omitempty" name:"Stream"` + + // 流式输出审核开关。 + // 说明: + // 1. 当 Stream 字段值为 true 时,该字段有效。 + // 2. 未传值时默认不使用流式输出审核。 + // 3. 如果值为 true,将对输出内容进行分段审核,审核通过的内容流式输出返回。如果出现审核不过,响应中的 finish_reason 值为 sensitive。 + // 4. 如果值为 false,则需要审核完所有输出内容后再返回结果。 + // + // 注意: + // 当选择流式输出审核时,可能会出现部分内容已输出,但中间某一段响应中的 finish_reason 值为 sensitive,此时说明安全审核未通过。如果业务场景有实时文字上屏的需求,需要自行撤回已上屏的内容,并建议自定义替换为一条提示语,如 “这个问题我不方便回答,不如我们换个话题试试”,以保障终端体验。 + StreamModeration *bool `json:"StreamModeration,omitnil,omitempty" name:"StreamModeration"` } func (r *ChatProRequest) ToJsonString() string { @@ -80,6 +118,8 @@ func (r *ChatProRequest) FromJsonString(s string) error { delete(f, "Messages") delete(f, "TopP") delete(f, "Temperature") + delete(f, "Stream") + delete(f, "StreamModeration") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ChatProRequest has unknown keys!", "") } @@ -94,22 +134,41 @@ func (r *ChatProRequest) FromJsonString(s string) error { type ChatStdRequestParams struct { // 聊天上下文信息。 // 说明: - // 1.长度最多为40, 按对话时间从旧到新在数组中排列。 - // 2.Message的Role当前可选值:user、assistant,其中,user和assistant需要交替出现(一问一答),最后一个为user提问, 且Content不能为空。 - // 3.Messages中Content总长度不超过16000 token,超过则会截断最前面的内容,只保留尾部内容。建议不超过4000 token。 + // 1. 长度最多为 40,按对话时间从旧到新在数组中排列。 + // 2. Message 的 Role 当前可选值:user、assistant。其中,user 和 assistant 需交替出现(一问一答),以 user 提问开始和结束,且 Content 不能为空。Role 的顺序示例:[user assistant user assistant user ...]。 + // 3. Messages 中 Content 总长度不超过 16000 Token,超过则会截断最前面的内容,只保留尾部内容。建议不超过 4000 Token。 Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` // 说明: - // 1.影响输出文本的多样性,取值越大,生成文本的多样性越强。 - // 2.默认1.0,取值区间为[0.0, 1.0]。 - // 3.非必要不建议使用, 不合理的取值会影响效果。 + // 1. 影响输出文本的多样性,取值越大,生成文本的多样性越强。 + // 2. 默认 1.0,取值区间为 [0.0, 1.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 TopP *float64 `json:"TopP,omitnil,omitempty" name:"TopP"` // 说明: - // 1.较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 - // 2.默认1.0,取值区间为[0.0,2.0]。 - // 3.非必要不建议使用,不合理的取值会影响效果。 + // 1. 较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 + // 2. 默认 1.0,取值区间为 [0.0,2.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 Temperature *float64 `json:"Temperature,omitnil,omitempty" name:"Temperature"` + + // 流式调用开关。 + // 说明: + // 1. 未传值时默认为流式调用。 + // 2. 流式调用时以 SSE 协议增量返回结果。 + // 3. 非流式调用时接口响应耗时较长,非必要不建议使用。 + // 4. 非流式调用时只返回一次最终结果,调用方式与普通 HTTP 请求无异。 + Stream *bool `json:"Stream,omitnil,omitempty" name:"Stream"` + + // 流式输出审核开关。 + // 说明: + // 1. 当 Stream 字段值为 true 时,该字段有效。 + // 2. 未传值时默认不使用流式输出审核。 + // 3. 如果值为 true,将对输出内容进行分段审核,审核通过的内容流式输出返回。如果出现审核不过,响应中的 finish_reason 值为 sensitive。 + // 4. 如果值为 false,则需要审核完所有输出内容后再返回结果。 + // + // 注意: + // 当选择流式输出审核时,可能会出现部分内容已输出,但中间某一段响应中的 finish_reason 值为 sensitive,此时说明安全审核未通过。如果业务场景有实时文字上屏的需求,需要自行撤回已上屏的内容,并建议自定义替换为一条提示语,如 “这个问题我不方便回答,不如我们换个话题试试”,以保障终端体验。 + StreamModeration *bool `json:"StreamModeration,omitnil,omitempty" name:"StreamModeration"` } type ChatStdRequest struct { @@ -117,22 +176,41 @@ type ChatStdRequest struct { // 聊天上下文信息。 // 说明: - // 1.长度最多为40, 按对话时间从旧到新在数组中排列。 - // 2.Message的Role当前可选值:user、assistant,其中,user和assistant需要交替出现(一问一答),最后一个为user提问, 且Content不能为空。 - // 3.Messages中Content总长度不超过16000 token,超过则会截断最前面的内容,只保留尾部内容。建议不超过4000 token。 + // 1. 长度最多为 40,按对话时间从旧到新在数组中排列。 + // 2. Message 的 Role 当前可选值:user、assistant。其中,user 和 assistant 需交替出现(一问一答),以 user 提问开始和结束,且 Content 不能为空。Role 的顺序示例:[user assistant user assistant user ...]。 + // 3. Messages 中 Content 总长度不超过 16000 Token,超过则会截断最前面的内容,只保留尾部内容。建议不超过 4000 Token。 Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` // 说明: - // 1.影响输出文本的多样性,取值越大,生成文本的多样性越强。 - // 2.默认1.0,取值区间为[0.0, 1.0]。 - // 3.非必要不建议使用, 不合理的取值会影响效果。 + // 1. 影响输出文本的多样性,取值越大,生成文本的多样性越强。 + // 2. 默认 1.0,取值区间为 [0.0, 1.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 TopP *float64 `json:"TopP,omitnil,omitempty" name:"TopP"` // 说明: - // 1.较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 - // 2.默认1.0,取值区间为[0.0,2.0]。 - // 3.非必要不建议使用,不合理的取值会影响效果。 + // 1. 较高的数值会使输出更加随机,而较低的数值会使其更加集中和确定。 + // 2. 默认 1.0,取值区间为 [0.0,2.0]。 + // 3. 非必要不建议使用,不合理的取值会影响效果。 Temperature *float64 `json:"Temperature,omitnil,omitempty" name:"Temperature"` + + // 流式调用开关。 + // 说明: + // 1. 未传值时默认为流式调用。 + // 2. 流式调用时以 SSE 协议增量返回结果。 + // 3. 非流式调用时接口响应耗时较长,非必要不建议使用。 + // 4. 非流式调用时只返回一次最终结果,调用方式与普通 HTTP 请求无异。 + Stream *bool `json:"Stream,omitnil,omitempty" name:"Stream"` + + // 流式输出审核开关。 + // 说明: + // 1. 当 Stream 字段值为 true 时,该字段有效。 + // 2. 未传值时默认不使用流式输出审核。 + // 3. 如果值为 true,将对输出内容进行分段审核,审核通过的内容流式输出返回。如果出现审核不过,响应中的 finish_reason 值为 sensitive。 + // 4. 如果值为 false,则需要审核完所有输出内容后再返回结果。 + // + // 注意: + // 当选择流式输出审核时,可能会出现部分内容已输出,但中间某一段响应中的 finish_reason 值为 sensitive,此时说明安全审核未通过。如果业务场景有实时文字上屏的需求,需要自行撤回已上屏的内容,并建议自定义替换为一条提示语,如 “这个问题我不方便回答,不如我们换个话题试试”,以保障终端体验。 + StreamModeration *bool `json:"StreamModeration,omitnil,omitempty" name:"StreamModeration"` } func (r *ChatStdRequest) ToJsonString() string { @@ -150,6 +228,8 @@ func (r *ChatStdRequest) FromJsonString(s string) error { delete(f, "Messages") delete(f, "TopP") delete(f, "Temperature") + delete(f, "Stream") + delete(f, "StreamModeration") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ChatStdRequest has unknown keys!", "") } @@ -161,11 +241,16 @@ func (r *ChatStdRequest) FromJsonString(s string) error { } type Choice struct { - // 流式结束标志位,为 stop 则表示尾包。 + // 结束标志位,为 stop 则表示尾包。 FinishReason *string `json:"FinishReason,omitnil,omitempty" name:"FinishReason"` - // 返回值。 + // 增量返回值,流式调用时使用该字段。 + // 注意:此字段可能返回 null,表示取不到有效值。 Delta *Delta `json:"Delta,omitnil,omitempty" name:"Delta"` + + // 返回值,非流式调用时使用该字段。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Message *Message `json:"Message,omitnil,omitempty" name:"Message"` } type Delta struct { @@ -335,7 +420,7 @@ type Message struct { // 角色 Role *string `json:"Role,omitnil,omitempty" name:"Role"` - // 消息的内容 + // 消息内容 Content *string `json:"Content,omitnil,omitempty" name:"Content"` } diff --git a/tencentcloud/iai/go.mod b/tencentcloud/iai/go.mod index 5f62890113..9d736126cc 100644 --- a/tencentcloud/iai/go.mod +++ b/tencentcloud/iai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ic/go.mod b/tencentcloud/ic/go.mod index f515b44563..4befb4915f 100644 --- a/tencentcloud/ic/go.mod +++ b/tencentcloud/ic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/icr/go.mod b/tencentcloud/icr/go.mod index baa9603ee2..ab277c73ac 100644 --- a/tencentcloud/icr/go.mod +++ b/tencentcloud/icr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/icr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ie/go.mod b/tencentcloud/ie/go.mod index d4d91a5f4d..0750617216 100644 --- a/tencentcloud/ie/go.mod +++ b/tencentcloud/ie/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iecp/go.mod b/tencentcloud/iecp/go.mod index 6860aedb90..9bde6f70f0 100644 --- a/tencentcloud/iecp/go.mod +++ b/tencentcloud/iecp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iir/go.mod b/tencentcloud/iir/go.mod index 702392a50d..3eb7ba0c95 100644 --- a/tencentcloud/iir/go.mod +++ b/tencentcloud/iir/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ims/go.mod b/tencentcloud/ims/go.mod index 667a968421..f0604cfd11 100644 --- a/tencentcloud/ims/go.mod +++ b/tencentcloud/ims/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ioa/go.mod b/tencentcloud/ioa/go.mod index 2e21441595..4c5d058dce 100644 --- a/tencentcloud/ioa/go.mod +++ b/tencentcloud/ioa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ioa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iot/go.mod b/tencentcloud/iot/go.mod index e9d6638488..fd7ec514d0 100644 --- a/tencentcloud/iot/go.mod +++ b/tencentcloud/iot/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iotcloud/go.mod b/tencentcloud/iotcloud/go.mod index 77f2128072..d2845af402 100644 --- a/tencentcloud/iotcloud/go.mod +++ b/tencentcloud/iotcloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iotexplorer/go.mod b/tencentcloud/iotexplorer/go.mod index 307aa56252..8a0125ec1a 100644 --- a/tencentcloud/iotexplorer/go.mod +++ b/tencentcloud/iotexplorer/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iottid/go.mod b/tencentcloud/iottid/go.mod index dde296a6e4..ff5958f134 100644 --- a/tencentcloud/iottid/go.mod +++ b/tencentcloud/iottid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iotvideo/go.mod b/tencentcloud/iotvideo/go.mod index 29363f6914..e316b29d9e 100644 --- a/tencentcloud/iotvideo/go.mod +++ b/tencentcloud/iotvideo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iotvideoindustry/go.mod b/tencentcloud/iotvideoindustry/go.mod index a380b6fac0..2b783c833f 100644 --- a/tencentcloud/iotvideoindustry/go.mod +++ b/tencentcloud/iotvideoindustry/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/irp/go.mod b/tencentcloud/irp/go.mod index ba895c8a67..7e846e61d7 100644 --- a/tencentcloud/irp/go.mod +++ b/tencentcloud/irp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/irp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/iss/go.mod b/tencentcloud/iss/go.mod index 2287a101e4..96877b9462 100644 --- a/tencentcloud/iss/go.mod +++ b/tencentcloud/iss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ivld/go.mod b/tencentcloud/ivld/go.mod index ade5de51e5..066457ddc2 100644 --- a/tencentcloud/ivld/go.mod +++ b/tencentcloud/ivld/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/keewidb/go.mod b/tencentcloud/keewidb/go.mod index 6d671ae9b1..731c144099 100644 --- a/tencentcloud/keewidb/go.mod +++ b/tencentcloud/keewidb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/keewidb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/kms/go.mod b/tencentcloud/kms/go.mod index afdb62c2f9..8be213724b 100644 --- a/tencentcloud/kms/go.mod +++ b/tencentcloud/kms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/lcic/go.mod b/tencentcloud/lcic/go.mod index 65bc70fa03..e27c8cf5db 100644 --- a/tencentcloud/lcic/go.mod +++ b/tencentcloud/lcic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/lighthouse/go.mod b/tencentcloud/lighthouse/go.mod index 006bc41a62..611d81892a 100644 --- a/tencentcloud/lighthouse/go.mod +++ b/tencentcloud/lighthouse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/live/go.mod b/tencentcloud/live/go.mod index 4fb9d39135..ba73d43649 100644 --- a/tencentcloud/live/go.mod +++ b/tencentcloud/live/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/lke/doc.go b/tencentcloud/lke/doc.go new file mode 100644 index 0000000000..67693c9381 --- /dev/null +++ b/tencentcloud/lke/doc.go @@ -0,0 +1,2 @@ +// Package doc +package doc \ No newline at end of file diff --git a/tencentcloud/lke/go.mod b/tencentcloud/lke/go.mod new file mode 100644 index 0000000000..92d939e821 --- /dev/null +++ b/tencentcloud/lke/go.mod @@ -0,0 +1,5 @@ +module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke + +go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/lke/v20231130/client.go b/tencentcloud/lke/v20231130/client.go new file mode 100644 index 0000000000..5a228d1f6d --- /dev/null +++ b/tencentcloud/lke/v20231130/client.go @@ -0,0 +1,3731 @@ +// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v20231130 + +import ( + "context" + "errors" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" + tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile" +) + +const APIVersion = "2023-11-30" + +type Client struct { + common.Client +} + +// Deprecated +func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error) { + cpf := profile.NewClientProfile() + client = &Client{} + client.Init(region).WithSecretId(secretId, secretKey).WithProfile(cpf) + return +} + +func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error) { + client = &Client{} + client.Init(region). + WithCredential(credential). + WithProfile(clientProfile) + return +} + + +func NewCheckAttributeLabelExistRequest() (request *CheckAttributeLabelExistRequest) { + request = &CheckAttributeLabelExistRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CheckAttributeLabelExist") + + + return +} + +func NewCheckAttributeLabelExistResponse() (response *CheckAttributeLabelExistResponse) { + response = &CheckAttributeLabelExistResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CheckAttributeLabelExist +// 检查属性下的标签名是否存在 +func (c *Client) CheckAttributeLabelExist(request *CheckAttributeLabelExistRequest) (response *CheckAttributeLabelExistResponse, err error) { + return c.CheckAttributeLabelExistWithContext(context.Background(), request) +} + +// CheckAttributeLabelExist +// 检查属性下的标签名是否存在 +func (c *Client) CheckAttributeLabelExistWithContext(ctx context.Context, request *CheckAttributeLabelExistRequest) (response *CheckAttributeLabelExistResponse, err error) { + if request == nil { + request = NewCheckAttributeLabelExistRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CheckAttributeLabelExist require credential") + } + + request.SetContext(ctx) + + response = NewCheckAttributeLabelExistResponse() + err = c.Send(request, response) + return +} + +func NewCheckAttributeLabelReferRequest() (request *CheckAttributeLabelReferRequest) { + request = &CheckAttributeLabelReferRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CheckAttributeLabelRefer") + + + return +} + +func NewCheckAttributeLabelReferResponse() (response *CheckAttributeLabelReferResponse) { + response = &CheckAttributeLabelReferResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CheckAttributeLabelRefer +// 检查属性标签引用 +func (c *Client) CheckAttributeLabelRefer(request *CheckAttributeLabelReferRequest) (response *CheckAttributeLabelReferResponse, err error) { + return c.CheckAttributeLabelReferWithContext(context.Background(), request) +} + +// CheckAttributeLabelRefer +// 检查属性标签引用 +func (c *Client) CheckAttributeLabelReferWithContext(ctx context.Context, request *CheckAttributeLabelReferRequest) (response *CheckAttributeLabelReferResponse, err error) { + if request == nil { + request = NewCheckAttributeLabelReferRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CheckAttributeLabelRefer require credential") + } + + request.SetContext(ctx) + + response = NewCheckAttributeLabelReferResponse() + err = c.Send(request, response) + return +} + +func NewCreateAppRequest() (request *CreateAppRequest) { + request = &CreateAppRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateApp") + + + return +} + +func NewCreateAppResponse() (response *CreateAppResponse) { + response = &CreateAppResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateApp +// 创建只是引擎应用,包括:知识管理应用、知识摘要应用、标签提取应用。 +func (c *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error) { + return c.CreateAppWithContext(context.Background(), request) +} + +// CreateApp +// 创建只是引擎应用,包括:知识管理应用、知识摘要应用、标签提取应用。 +func (c *Client) CreateAppWithContext(ctx context.Context, request *CreateAppRequest) (response *CreateAppResponse, err error) { + if request == nil { + request = NewCreateAppRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateApp require credential") + } + + request.SetContext(ctx) + + response = NewCreateAppResponse() + err = c.Send(request, response) + return +} + +func NewCreateAttributeLabelRequest() (request *CreateAttributeLabelRequest) { + request = &CreateAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateAttributeLabel") + + + return +} + +func NewCreateAttributeLabelResponse() (response *CreateAttributeLabelResponse) { + response = &CreateAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateAttributeLabel +// 创建属性 +func (c *Client) CreateAttributeLabel(request *CreateAttributeLabelRequest) (response *CreateAttributeLabelResponse, err error) { + return c.CreateAttributeLabelWithContext(context.Background(), request) +} + +// CreateAttributeLabel +// 创建属性 +func (c *Client) CreateAttributeLabelWithContext(ctx context.Context, request *CreateAttributeLabelRequest) (response *CreateAttributeLabelResponse, err error) { + if request == nil { + request = NewCreateAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewCreateAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewCreateCorpRequest() (request *CreateCorpRequest) { + request = &CreateCorpRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateCorp") + + + return +} + +func NewCreateCorpResponse() (response *CreateCorpResponse) { + response = &CreateCorpResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateCorp +// 创建企业 +func (c *Client) CreateCorp(request *CreateCorpRequest) (response *CreateCorpResponse, err error) { + return c.CreateCorpWithContext(context.Background(), request) +} + +// CreateCorp +// 创建企业 +func (c *Client) CreateCorpWithContext(ctx context.Context, request *CreateCorpRequest) (response *CreateCorpResponse, err error) { + if request == nil { + request = NewCreateCorpRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateCorp require credential") + } + + request.SetContext(ctx) + + response = NewCreateCorpResponse() + err = c.Send(request, response) + return +} + +func NewCreateQARequest() (request *CreateQARequest) { + request = &CreateQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateQA") + + + return +} + +func NewCreateQAResponse() (response *CreateQAResponse) { + response = &CreateQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateQA +// 录入问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateQA(request *CreateQARequest) (response *CreateQAResponse, err error) { + return c.CreateQAWithContext(context.Background(), request) +} + +// CreateQA +// 录入问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateQAWithContext(ctx context.Context, request *CreateQARequest) (response *CreateQAResponse, err error) { + if request == nil { + request = NewCreateQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateQA require credential") + } + + request.SetContext(ctx) + + response = NewCreateQAResponse() + err = c.Send(request, response) + return +} + +func NewCreateQACateRequest() (request *CreateQACateRequest) { + request = &CreateQACateRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateQACate") + + + return +} + +func NewCreateQACateResponse() (response *CreateQACateResponse) { + response = &CreateQACateResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateQACate +// 创建QA分类 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateQACate(request *CreateQACateRequest) (response *CreateQACateResponse, err error) { + return c.CreateQACateWithContext(context.Background(), request) +} + +// CreateQACate +// 创建QA分类 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateQACateWithContext(ctx context.Context, request *CreateQACateRequest) (response *CreateQACateResponse, err error) { + if request == nil { + request = NewCreateQACateRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateQACate require credential") + } + + request.SetContext(ctx) + + response = NewCreateQACateResponse() + err = c.Send(request, response) + return +} + +func NewCreateRejectedQuestionRequest() (request *CreateRejectedQuestionRequest) { + request = &CreateRejectedQuestionRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateRejectedQuestion") + + + return +} + +func NewCreateRejectedQuestionResponse() (response *CreateRejectedQuestionResponse) { + response = &CreateRejectedQuestionResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateRejectedQuestion +// 创建拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateRejectedQuestion(request *CreateRejectedQuestionRequest) (response *CreateRejectedQuestionResponse, err error) { + return c.CreateRejectedQuestionWithContext(context.Background(), request) +} + +// CreateRejectedQuestion +// 创建拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateRejectedQuestionWithContext(ctx context.Context, request *CreateRejectedQuestionRequest) (response *CreateRejectedQuestionResponse, err error) { + if request == nil { + request = NewCreateRejectedQuestionRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateRejectedQuestion require credential") + } + + request.SetContext(ctx) + + response = NewCreateRejectedQuestionResponse() + err = c.Send(request, response) + return +} + +func NewCreateReleaseRequest() (request *CreateReleaseRequest) { + request = &CreateReleaseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "CreateRelease") + + + return +} + +func NewCreateReleaseResponse() (response *CreateReleaseResponse) { + response = &CreateReleaseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// CreateRelease +// 创建发布 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateRelease(request *CreateReleaseRequest) (response *CreateReleaseResponse, err error) { + return c.CreateReleaseWithContext(context.Background(), request) +} + +// CreateRelease +// 创建发布 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateReleaseWithContext(ctx context.Context, request *CreateReleaseRequest) (response *CreateReleaseResponse, err error) { + if request == nil { + request = NewCreateReleaseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("CreateRelease require credential") + } + + request.SetContext(ctx) + + response = NewCreateReleaseResponse() + err = c.Send(request, response) + return +} + +func NewDeleteAppRequest() (request *DeleteAppRequest) { + request = &DeleteAppRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DeleteApp") + + + return +} + +func NewDeleteAppResponse() (response *DeleteAppResponse) { + response = &DeleteAppResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteApp +// 删除应用 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteApp(request *DeleteAppRequest) (response *DeleteAppResponse, err error) { + return c.DeleteAppWithContext(context.Background(), request) +} + +// DeleteApp +// 删除应用 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteAppWithContext(ctx context.Context, request *DeleteAppRequest) (response *DeleteAppResponse, err error) { + if request == nil { + request = NewDeleteAppRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteApp require credential") + } + + request.SetContext(ctx) + + response = NewDeleteAppResponse() + err = c.Send(request, response) + return +} + +func NewDeleteAttributeLabelRequest() (request *DeleteAttributeLabelRequest) { + request = &DeleteAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DeleteAttributeLabel") + + + return +} + +func NewDeleteAttributeLabelResponse() (response *DeleteAttributeLabelResponse) { + response = &DeleteAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteAttributeLabel +// 删除属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteAttributeLabel(request *DeleteAttributeLabelRequest) (response *DeleteAttributeLabelResponse, err error) { + return c.DeleteAttributeLabelWithContext(context.Background(), request) +} + +// DeleteAttributeLabel +// 删除属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteAttributeLabelWithContext(ctx context.Context, request *DeleteAttributeLabelRequest) (response *DeleteAttributeLabelResponse, err error) { + if request == nil { + request = NewDeleteAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewDeleteAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewDeleteDocRequest() (request *DeleteDocRequest) { + request = &DeleteDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DeleteDoc") + + + return +} + +func NewDeleteDocResponse() (response *DeleteDocResponse) { + response = &DeleteDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteDoc +// 创建企业 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteDoc(request *DeleteDocRequest) (response *DeleteDocResponse, err error) { + return c.DeleteDocWithContext(context.Background(), request) +} + +// DeleteDoc +// 创建企业 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteDocWithContext(ctx context.Context, request *DeleteDocRequest) (response *DeleteDocResponse, err error) { + if request == nil { + request = NewDeleteDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteDoc require credential") + } + + request.SetContext(ctx) + + response = NewDeleteDocResponse() + err = c.Send(request, response) + return +} + +func NewDeleteQARequest() (request *DeleteQARequest) { + request = &DeleteQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DeleteQA") + + + return +} + +func NewDeleteQAResponse() (response *DeleteQAResponse) { + response = &DeleteQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteQA +// 删除问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteQA(request *DeleteQARequest) (response *DeleteQAResponse, err error) { + return c.DeleteQAWithContext(context.Background(), request) +} + +// DeleteQA +// 删除问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteQAWithContext(ctx context.Context, request *DeleteQARequest) (response *DeleteQAResponse, err error) { + if request == nil { + request = NewDeleteQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteQA require credential") + } + + request.SetContext(ctx) + + response = NewDeleteQAResponse() + err = c.Send(request, response) + return +} + +func NewDeleteQACateRequest() (request *DeleteQACateRequest) { + request = &DeleteQACateRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DeleteQACate") + + + return +} + +func NewDeleteQACateResponse() (response *DeleteQACateResponse) { + response = &DeleteQACateResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteQACate +// 分类删除 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteQACate(request *DeleteQACateRequest) (response *DeleteQACateResponse, err error) { + return c.DeleteQACateWithContext(context.Background(), request) +} + +// DeleteQACate +// 分类删除 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteQACateWithContext(ctx context.Context, request *DeleteQACateRequest) (response *DeleteQACateResponse, err error) { + if request == nil { + request = NewDeleteQACateRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteQACate require credential") + } + + request.SetContext(ctx) + + response = NewDeleteQACateResponse() + err = c.Send(request, response) + return +} + +func NewDeleteRejectedQuestionRequest() (request *DeleteRejectedQuestionRequest) { + request = &DeleteRejectedQuestionRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DeleteRejectedQuestion") + + + return +} + +func NewDeleteRejectedQuestionResponse() (response *DeleteRejectedQuestionResponse) { + response = &DeleteRejectedQuestionResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteRejectedQuestion +// 删除拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteRejectedQuestion(request *DeleteRejectedQuestionRequest) (response *DeleteRejectedQuestionResponse, err error) { + return c.DeleteRejectedQuestionWithContext(context.Background(), request) +} + +// DeleteRejectedQuestion +// 删除拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteRejectedQuestionWithContext(ctx context.Context, request *DeleteRejectedQuestionRequest) (response *DeleteRejectedQuestionResponse, err error) { + if request == nil { + request = NewDeleteRejectedQuestionRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteRejectedQuestion require credential") + } + + request.SetContext(ctx) + + response = NewDeleteRejectedQuestionResponse() + err = c.Send(request, response) + return +} + +func NewDescribeAppRequest() (request *DescribeAppRequest) { + request = &DescribeAppRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeApp") + + + return +} + +func NewDescribeAppResponse() (response *DescribeAppResponse) { + response = &DescribeAppResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeApp +// 获取企业下应用详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeApp(request *DescribeAppRequest) (response *DescribeAppResponse, err error) { + return c.DescribeAppWithContext(context.Background(), request) +} + +// DescribeApp +// 获取企业下应用详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeAppWithContext(ctx context.Context, request *DescribeAppRequest) (response *DescribeAppResponse, err error) { + if request == nil { + request = NewDescribeAppRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeApp require credential") + } + + request.SetContext(ctx) + + response = NewDescribeAppResponse() + err = c.Send(request, response) + return +} + +func NewDescribeAttributeLabelRequest() (request *DescribeAttributeLabelRequest) { + request = &DescribeAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeAttributeLabel") + + + return +} + +func NewDescribeAttributeLabelResponse() (response *DescribeAttributeLabelResponse) { + response = &DescribeAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeAttributeLabel +// 查询属性标签详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeAttributeLabel(request *DescribeAttributeLabelRequest) (response *DescribeAttributeLabelResponse, err error) { + return c.DescribeAttributeLabelWithContext(context.Background(), request) +} + +// DescribeAttributeLabel +// 查询属性标签详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeAttributeLabelWithContext(ctx context.Context, request *DescribeAttributeLabelRequest) (response *DescribeAttributeLabelResponse, err error) { + if request == nil { + request = NewDescribeAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewDescribeAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewDescribeCorpRequest() (request *DescribeCorpRequest) { + request = &DescribeCorpRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeCorp") + + + return +} + +func NewDescribeCorpResponse() (response *DescribeCorpResponse) { + response = &DescribeCorpResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeCorp +// 企业详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeCorp(request *DescribeCorpRequest) (response *DescribeCorpResponse, err error) { + return c.DescribeCorpWithContext(context.Background(), request) +} + +// DescribeCorp +// 企业详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeCorpWithContext(ctx context.Context, request *DescribeCorpRequest) (response *DescribeCorpResponse, err error) { + if request == nil { + request = NewDescribeCorpRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeCorp require credential") + } + + request.SetContext(ctx) + + response = NewDescribeCorpResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDocRequest() (request *DescribeDocRequest) { + request = &DescribeDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeDoc") + + + return +} + +func NewDescribeDocResponse() (response *DescribeDocResponse) { + response = &DescribeDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeDoc +// 文档详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeDoc(request *DescribeDocRequest) (response *DescribeDocResponse, err error) { + return c.DescribeDocWithContext(context.Background(), request) +} + +// DescribeDoc +// 文档详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeDocWithContext(ctx context.Context, request *DescribeDocRequest) (response *DescribeDocResponse, err error) { + if request == nil { + request = NewDescribeDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeDoc require credential") + } + + request.SetContext(ctx) + + response = NewDescribeDocResponse() + err = c.Send(request, response) + return +} + +func NewDescribeQARequest() (request *DescribeQARequest) { + request = &DescribeQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeQA") + + + return +} + +func NewDescribeQAResponse() (response *DescribeQAResponse) { + response = &DescribeQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeQA +// 问答详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeQA(request *DescribeQARequest) (response *DescribeQAResponse, err error) { + return c.DescribeQAWithContext(context.Background(), request) +} + +// DescribeQA +// 问答详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeQAWithContext(ctx context.Context, request *DescribeQARequest) (response *DescribeQAResponse, err error) { + if request == nil { + request = NewDescribeQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeQA require credential") + } + + request.SetContext(ctx) + + response = NewDescribeQAResponse() + err = c.Send(request, response) + return +} + +func NewDescribeReferRequest() (request *DescribeReferRequest) { + request = &DescribeReferRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeRefer") + + + return +} + +func NewDescribeReferResponse() (response *DescribeReferResponse) { + response = &DescribeReferResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeRefer +// 获取来源详情列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeRefer(request *DescribeReferRequest) (response *DescribeReferResponse, err error) { + return c.DescribeReferWithContext(context.Background(), request) +} + +// DescribeRefer +// 获取来源详情列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeReferWithContext(ctx context.Context, request *DescribeReferRequest) (response *DescribeReferResponse, err error) { + if request == nil { + request = NewDescribeReferRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeRefer require credential") + } + + request.SetContext(ctx) + + response = NewDescribeReferResponse() + err = c.Send(request, response) + return +} + +func NewDescribeReleaseRequest() (request *DescribeReleaseRequest) { + request = &DescribeReleaseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeRelease") + + + return +} + +func NewDescribeReleaseResponse() (response *DescribeReleaseResponse) { + response = &DescribeReleaseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeRelease +// 发布详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeRelease(request *DescribeReleaseRequest) (response *DescribeReleaseResponse, err error) { + return c.DescribeReleaseWithContext(context.Background(), request) +} + +// DescribeRelease +// 发布详情 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeReleaseWithContext(ctx context.Context, request *DescribeReleaseRequest) (response *DescribeReleaseResponse, err error) { + if request == nil { + request = NewDescribeReleaseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeRelease require credential") + } + + request.SetContext(ctx) + + response = NewDescribeReleaseResponse() + err = c.Send(request, response) + return +} + +func NewDescribeReleaseInfoRequest() (request *DescribeReleaseInfoRequest) { + request = &DescribeReleaseInfoRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeReleaseInfo") + + + return +} + +func NewDescribeReleaseInfoResponse() (response *DescribeReleaseInfoResponse) { + response = &DescribeReleaseInfoResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeReleaseInfo +// 拉取发布按钮状态、最后发布时间 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeReleaseInfo(request *DescribeReleaseInfoRequest) (response *DescribeReleaseInfoResponse, err error) { + return c.DescribeReleaseInfoWithContext(context.Background(), request) +} + +// DescribeReleaseInfo +// 拉取发布按钮状态、最后发布时间 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeReleaseInfoWithContext(ctx context.Context, request *DescribeReleaseInfoRequest) (response *DescribeReleaseInfoResponse, err error) { + if request == nil { + request = NewDescribeReleaseInfoRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeReleaseInfo require credential") + } + + request.SetContext(ctx) + + response = NewDescribeReleaseInfoResponse() + err = c.Send(request, response) + return +} + +func NewDescribeRobotBizIDByAppKeyRequest() (request *DescribeRobotBizIDByAppKeyRequest) { + request = &DescribeRobotBizIDByAppKeyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeRobotBizIDByAppKey") + + + return +} + +func NewDescribeRobotBizIDByAppKeyResponse() (response *DescribeRobotBizIDByAppKeyResponse) { + response = &DescribeRobotBizIDByAppKeyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeRobotBizIDByAppKey +// 通过appKey获取机器人业务ID +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeRobotBizIDByAppKey(request *DescribeRobotBizIDByAppKeyRequest) (response *DescribeRobotBizIDByAppKeyResponse, err error) { + return c.DescribeRobotBizIDByAppKeyWithContext(context.Background(), request) +} + +// DescribeRobotBizIDByAppKey +// 通过appKey获取机器人业务ID +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeRobotBizIDByAppKeyWithContext(ctx context.Context, request *DescribeRobotBizIDByAppKeyRequest) (response *DescribeRobotBizIDByAppKeyResponse, err error) { + if request == nil { + request = NewDescribeRobotBizIDByAppKeyRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeRobotBizIDByAppKey require credential") + } + + request.SetContext(ctx) + + response = NewDescribeRobotBizIDByAppKeyResponse() + err = c.Send(request, response) + return +} + +func NewDescribeStorageCredentialRequest() (request *DescribeStorageCredentialRequest) { + request = &DescribeStorageCredentialRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeStorageCredential") + + + return +} + +func NewDescribeStorageCredentialResponse() (response *DescribeStorageCredentialResponse) { + response = &DescribeStorageCredentialResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeStorageCredential +// 获取文件上传临时密钥 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeStorageCredential(request *DescribeStorageCredentialRequest) (response *DescribeStorageCredentialResponse, err error) { + return c.DescribeStorageCredentialWithContext(context.Background(), request) +} + +// DescribeStorageCredential +// 获取文件上传临时密钥 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeStorageCredentialWithContext(ctx context.Context, request *DescribeStorageCredentialRequest) (response *DescribeStorageCredentialResponse, err error) { + if request == nil { + request = NewDescribeStorageCredentialRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeStorageCredential require credential") + } + + request.SetContext(ctx) + + response = NewDescribeStorageCredentialResponse() + err = c.Send(request, response) + return +} + +func NewDescribeUnsatisfiedReplyContextRequest() (request *DescribeUnsatisfiedReplyContextRequest) { + request = &DescribeUnsatisfiedReplyContextRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "DescribeUnsatisfiedReplyContext") + + + return +} + +func NewDescribeUnsatisfiedReplyContextResponse() (response *DescribeUnsatisfiedReplyContextResponse) { + response = &DescribeUnsatisfiedReplyContextResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeUnsatisfiedReplyContext +// 获取不满意回复上下文 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeUnsatisfiedReplyContext(request *DescribeUnsatisfiedReplyContextRequest) (response *DescribeUnsatisfiedReplyContextResponse, err error) { + return c.DescribeUnsatisfiedReplyContextWithContext(context.Background(), request) +} + +// DescribeUnsatisfiedReplyContext +// 获取不满意回复上下文 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeUnsatisfiedReplyContextWithContext(ctx context.Context, request *DescribeUnsatisfiedReplyContextRequest) (response *DescribeUnsatisfiedReplyContextResponse, err error) { + if request == nil { + request = NewDescribeUnsatisfiedReplyContextRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeUnsatisfiedReplyContext require credential") + } + + request.SetContext(ctx) + + response = NewDescribeUnsatisfiedReplyContextResponse() + err = c.Send(request, response) + return +} + +func NewExportAttributeLabelRequest() (request *ExportAttributeLabelRequest) { + request = &ExportAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ExportAttributeLabel") + + + return +} + +func NewExportAttributeLabelResponse() (response *ExportAttributeLabelResponse) { + response = &ExportAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ExportAttributeLabel +// 导出属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ExportAttributeLabel(request *ExportAttributeLabelRequest) (response *ExportAttributeLabelResponse, err error) { + return c.ExportAttributeLabelWithContext(context.Background(), request) +} + +// ExportAttributeLabel +// 导出属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ExportAttributeLabelWithContext(ctx context.Context, request *ExportAttributeLabelRequest) (response *ExportAttributeLabelResponse, err error) { + if request == nil { + request = NewExportAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ExportAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewExportAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewExportQAListRequest() (request *ExportQAListRequest) { + request = &ExportQAListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ExportQAList") + + + return +} + +func NewExportQAListResponse() (response *ExportQAListResponse) { + response = &ExportQAListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ExportQAList +// 导出QA列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ExportQAList(request *ExportQAListRequest) (response *ExportQAListResponse, err error) { + return c.ExportQAListWithContext(context.Background(), request) +} + +// ExportQAList +// 导出QA列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ExportQAListWithContext(ctx context.Context, request *ExportQAListRequest) (response *ExportQAListResponse, err error) { + if request == nil { + request = NewExportQAListRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ExportQAList require credential") + } + + request.SetContext(ctx) + + response = NewExportQAListResponse() + err = c.Send(request, response) + return +} + +func NewExportUnsatisfiedReplyRequest() (request *ExportUnsatisfiedReplyRequest) { + request = &ExportUnsatisfiedReplyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ExportUnsatisfiedReply") + + + return +} + +func NewExportUnsatisfiedReplyResponse() (response *ExportUnsatisfiedReplyResponse) { + response = &ExportUnsatisfiedReplyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ExportUnsatisfiedReply +// 导出不满意回复 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ExportUnsatisfiedReply(request *ExportUnsatisfiedReplyRequest) (response *ExportUnsatisfiedReplyResponse, err error) { + return c.ExportUnsatisfiedReplyWithContext(context.Background(), request) +} + +// ExportUnsatisfiedReply +// 导出不满意回复 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ExportUnsatisfiedReplyWithContext(ctx context.Context, request *ExportUnsatisfiedReplyRequest) (response *ExportUnsatisfiedReplyResponse, err error) { + if request == nil { + request = NewExportUnsatisfiedReplyRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ExportUnsatisfiedReply require credential") + } + + request.SetContext(ctx) + + response = NewExportUnsatisfiedReplyResponse() + err = c.Send(request, response) + return +} + +func NewGenerateQARequest() (request *GenerateQARequest) { + request = &GenerateQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GenerateQA") + + + return +} + +func NewGenerateQAResponse() (response *GenerateQAResponse) { + response = &GenerateQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GenerateQA +// 文档生成问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GenerateQA(request *GenerateQARequest) (response *GenerateQAResponse, err error) { + return c.GenerateQAWithContext(context.Background(), request) +} + +// GenerateQA +// 文档生成问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GenerateQAWithContext(ctx context.Context, request *GenerateQARequest) (response *GenerateQAResponse, err error) { + if request == nil { + request = NewGenerateQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GenerateQA require credential") + } + + request.SetContext(ctx) + + response = NewGenerateQAResponse() + err = c.Send(request, response) + return +} + +func NewGetAppKnowledgeCountRequest() (request *GetAppKnowledgeCountRequest) { + request = &GetAppKnowledgeCountRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetAppKnowledgeCount") + + + return +} + +func NewGetAppKnowledgeCountResponse() (response *GetAppKnowledgeCountResponse) { + response = &GetAppKnowledgeCountResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetAppKnowledgeCount +// 获取模型列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetAppKnowledgeCount(request *GetAppKnowledgeCountRequest) (response *GetAppKnowledgeCountResponse, err error) { + return c.GetAppKnowledgeCountWithContext(context.Background(), request) +} + +// GetAppKnowledgeCount +// 获取模型列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetAppKnowledgeCountWithContext(ctx context.Context, request *GetAppKnowledgeCountRequest) (response *GetAppKnowledgeCountResponse, err error) { + if request == nil { + request = NewGetAppKnowledgeCountRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetAppKnowledgeCount require credential") + } + + request.SetContext(ctx) + + response = NewGetAppKnowledgeCountResponse() + err = c.Send(request, response) + return +} + +func NewGetAppSecretRequest() (request *GetAppSecretRequest) { + request = &GetAppSecretRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetAppSecret") + + + return +} + +func NewGetAppSecretResponse() (response *GetAppSecretResponse) { + response = &GetAppSecretResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetAppSecret +// 获取应用密钥 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetAppSecret(request *GetAppSecretRequest) (response *GetAppSecretResponse, err error) { + return c.GetAppSecretWithContext(context.Background(), request) +} + +// GetAppSecret +// 获取应用密钥 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetAppSecretWithContext(ctx context.Context, request *GetAppSecretRequest) (response *GetAppSecretResponse, err error) { + if request == nil { + request = NewGetAppSecretRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetAppSecret require credential") + } + + request.SetContext(ctx) + + response = NewGetAppSecretResponse() + err = c.Send(request, response) + return +} + +func NewGetDocPreviewRequest() (request *GetDocPreviewRequest) { + request = &GetDocPreviewRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetDocPreview") + + + return +} + +func NewGetDocPreviewResponse() (response *GetDocPreviewResponse) { + response = &GetDocPreviewResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetDocPreview +// 获取文档预览信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetDocPreview(request *GetDocPreviewRequest) (response *GetDocPreviewResponse, err error) { + return c.GetDocPreviewWithContext(context.Background(), request) +} + +// GetDocPreview +// 获取文档预览信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetDocPreviewWithContext(ctx context.Context, request *GetDocPreviewRequest) (response *GetDocPreviewResponse, err error) { + if request == nil { + request = NewGetDocPreviewRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetDocPreview require credential") + } + + request.SetContext(ctx) + + response = NewGetDocPreviewResponse() + err = c.Send(request, response) + return +} + +func NewGetEmbeddingRequest() (request *GetEmbeddingRequest) { + request = &GetEmbeddingRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetEmbedding") + + + return +} + +func NewGetEmbeddingResponse() (response *GetEmbeddingResponse) { + response = &GetEmbeddingResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetEmbedding +// 获取特征向量 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetEmbedding(request *GetEmbeddingRequest) (response *GetEmbeddingResponse, err error) { + return c.GetEmbeddingWithContext(context.Background(), request) +} + +// GetEmbedding +// 获取特征向量 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetEmbeddingWithContext(ctx context.Context, request *GetEmbeddingRequest) (response *GetEmbeddingResponse, err error) { + if request == nil { + request = NewGetEmbeddingRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetEmbedding require credential") + } + + request.SetContext(ctx) + + response = NewGetEmbeddingResponse() + err = c.Send(request, response) + return +} + +func NewGetMsgRecordRequest() (request *GetMsgRecordRequest) { + request = &GetMsgRecordRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetMsgRecord") + + + return +} + +func NewGetMsgRecordResponse() (response *GetMsgRecordResponse) { + response = &GetMsgRecordResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetMsgRecord +// 获取推荐问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetMsgRecord(request *GetMsgRecordRequest) (response *GetMsgRecordResponse, err error) { + return c.GetMsgRecordWithContext(context.Background(), request) +} + +// GetMsgRecord +// 获取推荐问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetMsgRecordWithContext(ctx context.Context, request *GetMsgRecordRequest) (response *GetMsgRecordResponse, err error) { + if request == nil { + request = NewGetMsgRecordRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetMsgRecord require credential") + } + + request.SetContext(ctx) + + response = NewGetMsgRecordResponse() + err = c.Send(request, response) + return +} + +func NewGetTaskStatusRequest() (request *GetTaskStatusRequest) { + request = &GetTaskStatusRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetTaskStatus") + + + return +} + +func NewGetTaskStatusResponse() (response *GetTaskStatusResponse) { + response = &GetTaskStatusResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetTaskStatus +// 获取任务状态 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetTaskStatus(request *GetTaskStatusRequest) (response *GetTaskStatusResponse, err error) { + return c.GetTaskStatusWithContext(context.Background(), request) +} + +// GetTaskStatus +// 获取任务状态 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetTaskStatusWithContext(ctx context.Context, request *GetTaskStatusRequest) (response *GetTaskStatusResponse, err error) { + if request == nil { + request = NewGetTaskStatusRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetTaskStatus require credential") + } + + request.SetContext(ctx) + + response = NewGetTaskStatusResponse() + err = c.Send(request, response) + return +} + +func NewGetWsTokenRequest() (request *GetWsTokenRequest) { + request = &GetWsTokenRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GetWsToken") + + + return +} + +func NewGetWsTokenResponse() (response *GetWsTokenResponse) { + response = &GetWsTokenResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GetWsToken +// 获取ws token +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetWsToken(request *GetWsTokenRequest) (response *GetWsTokenResponse, err error) { + return c.GetWsTokenWithContext(context.Background(), request) +} + +// GetWsToken +// 获取ws token +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GetWsTokenWithContext(ctx context.Context, request *GetWsTokenRequest) (response *GetWsTokenResponse, err error) { + if request == nil { + request = NewGetWsTokenRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GetWsToken require credential") + } + + request.SetContext(ctx) + + response = NewGetWsTokenResponse() + err = c.Send(request, response) + return +} + +func NewGroupQARequest() (request *GroupQARequest) { + request = &GroupQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "GroupQA") + + + return +} + +func NewGroupQAResponse() (response *GroupQAResponse) { + response = &GroupQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GroupQA +// QA分组 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GroupQA(request *GroupQARequest) (response *GroupQAResponse, err error) { + return c.GroupQAWithContext(context.Background(), request) +} + +// GroupQA +// QA分组 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) GroupQAWithContext(ctx context.Context, request *GroupQARequest) (response *GroupQAResponse, err error) { + if request == nil { + request = NewGroupQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GroupQA require credential") + } + + request.SetContext(ctx) + + response = NewGroupQAResponse() + err = c.Send(request, response) + return +} + +func NewIgnoreUnsatisfiedReplyRequest() (request *IgnoreUnsatisfiedReplyRequest) { + request = &IgnoreUnsatisfiedReplyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "IgnoreUnsatisfiedReply") + + + return +} + +func NewIgnoreUnsatisfiedReplyResponse() (response *IgnoreUnsatisfiedReplyResponse) { + response = &IgnoreUnsatisfiedReplyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// IgnoreUnsatisfiedReply +// 忽略不满意回复 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) IgnoreUnsatisfiedReply(request *IgnoreUnsatisfiedReplyRequest) (response *IgnoreUnsatisfiedReplyResponse, err error) { + return c.IgnoreUnsatisfiedReplyWithContext(context.Background(), request) +} + +// IgnoreUnsatisfiedReply +// 忽略不满意回复 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) IgnoreUnsatisfiedReplyWithContext(ctx context.Context, request *IgnoreUnsatisfiedReplyRequest) (response *IgnoreUnsatisfiedReplyResponse, err error) { + if request == nil { + request = NewIgnoreUnsatisfiedReplyRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("IgnoreUnsatisfiedReply require credential") + } + + request.SetContext(ctx) + + response = NewIgnoreUnsatisfiedReplyResponse() + err = c.Send(request, response) + return +} + +func NewIsTransferIntentRequest() (request *IsTransferIntentRequest) { + request = &IsTransferIntentRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "IsTransferIntent") + + + return +} + +func NewIsTransferIntentResponse() (response *IsTransferIntentResponse) { + response = &IsTransferIntentResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// IsTransferIntent +// 是否意图转人工 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) IsTransferIntent(request *IsTransferIntentRequest) (response *IsTransferIntentResponse, err error) { + return c.IsTransferIntentWithContext(context.Background(), request) +} + +// IsTransferIntent +// 是否意图转人工 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) IsTransferIntentWithContext(ctx context.Context, request *IsTransferIntentRequest) (response *IsTransferIntentResponse, err error) { + if request == nil { + request = NewIsTransferIntentRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("IsTransferIntent require credential") + } + + request.SetContext(ctx) + + response = NewIsTransferIntentResponse() + err = c.Send(request, response) + return +} + +func NewListAppRequest() (request *ListAppRequest) { + request = &ListAppRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListApp") + + + return +} + +func NewListAppResponse() (response *ListAppResponse) { + response = &ListAppResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListApp +// 获取企业下应用列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListApp(request *ListAppRequest) (response *ListAppResponse, err error) { + return c.ListAppWithContext(context.Background(), request) +} + +// ListApp +// 获取企业下应用列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListAppWithContext(ctx context.Context, request *ListAppRequest) (response *ListAppResponse, err error) { + if request == nil { + request = NewListAppRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListApp require credential") + } + + request.SetContext(ctx) + + response = NewListAppResponse() + err = c.Send(request, response) + return +} + +func NewListAppCategoryRequest() (request *ListAppCategoryRequest) { + request = &ListAppCategoryRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListAppCategory") + + + return +} + +func NewListAppCategoryResponse() (response *ListAppCategoryResponse) { + response = &ListAppCategoryResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListAppCategory +// 应用类型列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListAppCategory(request *ListAppCategoryRequest) (response *ListAppCategoryResponse, err error) { + return c.ListAppCategoryWithContext(context.Background(), request) +} + +// ListAppCategory +// 应用类型列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListAppCategoryWithContext(ctx context.Context, request *ListAppCategoryRequest) (response *ListAppCategoryResponse, err error) { + if request == nil { + request = NewListAppCategoryRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListAppCategory require credential") + } + + request.SetContext(ctx) + + response = NewListAppCategoryResponse() + err = c.Send(request, response) + return +} + +func NewListAttributeLabelRequest() (request *ListAttributeLabelRequest) { + request = &ListAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListAttributeLabel") + + + return +} + +func NewListAttributeLabelResponse() (response *ListAttributeLabelResponse) { + response = &ListAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListAttributeLabel +// 查询属性标签列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListAttributeLabel(request *ListAttributeLabelRequest) (response *ListAttributeLabelResponse, err error) { + return c.ListAttributeLabelWithContext(context.Background(), request) +} + +// ListAttributeLabel +// 查询属性标签列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListAttributeLabelWithContext(ctx context.Context, request *ListAttributeLabelRequest) (response *ListAttributeLabelResponse, err error) { + if request == nil { + request = NewListAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewListAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewListDocRequest() (request *ListDocRequest) { + request = &ListDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListDoc") + + + return +} + +func NewListDocResponse() (response *ListDocResponse) { + response = &ListDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListDoc +// 文档列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListDoc(request *ListDocRequest) (response *ListDocResponse, err error) { + return c.ListDocWithContext(context.Background(), request) +} + +// ListDoc +// 文档列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListDocWithContext(ctx context.Context, request *ListDocRequest) (response *ListDocResponse, err error) { + if request == nil { + request = NewListDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListDoc require credential") + } + + request.SetContext(ctx) + + response = NewListDocResponse() + err = c.Send(request, response) + return +} + +func NewListModelRequest() (request *ListModelRequest) { + request = &ListModelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListModel") + + + return +} + +func NewListModelResponse() (response *ListModelResponse) { + response = &ListModelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListModel +// 获取模型列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListModel(request *ListModelRequest) (response *ListModelResponse, err error) { + return c.ListModelWithContext(context.Background(), request) +} + +// ListModel +// 获取模型列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListModelWithContext(ctx context.Context, request *ListModelRequest) (response *ListModelResponse, err error) { + if request == nil { + request = NewListModelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListModel require credential") + } + + request.SetContext(ctx) + + response = NewListModelResponse() + err = c.Send(request, response) + return +} + +func NewListQARequest() (request *ListQARequest) { + request = &ListQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListQA") + + + return +} + +func NewListQAResponse() (response *ListQAResponse) { + response = &ListQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListQA +// 问答列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListQA(request *ListQARequest) (response *ListQAResponse, err error) { + return c.ListQAWithContext(context.Background(), request) +} + +// ListQA +// 问答列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListQAWithContext(ctx context.Context, request *ListQARequest) (response *ListQAResponse, err error) { + if request == nil { + request = NewListQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListQA require credential") + } + + request.SetContext(ctx) + + response = NewListQAResponse() + err = c.Send(request, response) + return +} + +func NewListQACateRequest() (request *ListQACateRequest) { + request = &ListQACateRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListQACate") + + + return +} + +func NewListQACateResponse() (response *ListQACateResponse) { + response = &ListQACateResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListQACate +// 获取QA分类 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListQACate(request *ListQACateRequest) (response *ListQACateResponse, err error) { + return c.ListQACateWithContext(context.Background(), request) +} + +// ListQACate +// 获取QA分类 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListQACateWithContext(ctx context.Context, request *ListQACateRequest) (response *ListQACateResponse, err error) { + if request == nil { + request = NewListQACateRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListQACate require credential") + } + + request.SetContext(ctx) + + response = NewListQACateResponse() + err = c.Send(request, response) + return +} + +func NewListRejectedQuestionRequest() (request *ListRejectedQuestionRequest) { + request = &ListRejectedQuestionRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListRejectedQuestion") + + + return +} + +func NewListRejectedQuestionResponse() (response *ListRejectedQuestionResponse) { + response = &ListRejectedQuestionResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListRejectedQuestion +// 获取拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListRejectedQuestion(request *ListRejectedQuestionRequest) (response *ListRejectedQuestionResponse, err error) { + return c.ListRejectedQuestionWithContext(context.Background(), request) +} + +// ListRejectedQuestion +// 获取拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListRejectedQuestionWithContext(ctx context.Context, request *ListRejectedQuestionRequest) (response *ListRejectedQuestionResponse, err error) { + if request == nil { + request = NewListRejectedQuestionRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListRejectedQuestion require credential") + } + + request.SetContext(ctx) + + response = NewListRejectedQuestionResponse() + err = c.Send(request, response) + return +} + +func NewListRejectedQuestionPreviewRequest() (request *ListRejectedQuestionPreviewRequest) { + request = &ListRejectedQuestionPreviewRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListRejectedQuestionPreview") + + + return +} + +func NewListRejectedQuestionPreviewResponse() (response *ListRejectedQuestionPreviewResponse) { + response = &ListRejectedQuestionPreviewResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListRejectedQuestionPreview +// 发布拒答问题预览 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListRejectedQuestionPreview(request *ListRejectedQuestionPreviewRequest) (response *ListRejectedQuestionPreviewResponse, err error) { + return c.ListRejectedQuestionPreviewWithContext(context.Background(), request) +} + +// ListRejectedQuestionPreview +// 发布拒答问题预览 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListRejectedQuestionPreviewWithContext(ctx context.Context, request *ListRejectedQuestionPreviewRequest) (response *ListRejectedQuestionPreviewResponse, err error) { + if request == nil { + request = NewListRejectedQuestionPreviewRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListRejectedQuestionPreview require credential") + } + + request.SetContext(ctx) + + response = NewListRejectedQuestionPreviewResponse() + err = c.Send(request, response) + return +} + +func NewListReleaseRequest() (request *ListReleaseRequest) { + request = &ListReleaseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListRelease") + + + return +} + +func NewListReleaseResponse() (response *ListReleaseResponse) { + response = &ListReleaseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListRelease +// 发布列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListRelease(request *ListReleaseRequest) (response *ListReleaseResponse, err error) { + return c.ListReleaseWithContext(context.Background(), request) +} + +// ListRelease +// 发布列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseWithContext(ctx context.Context, request *ListReleaseRequest) (response *ListReleaseResponse, err error) { + if request == nil { + request = NewListReleaseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListRelease require credential") + } + + request.SetContext(ctx) + + response = NewListReleaseResponse() + err = c.Send(request, response) + return +} + +func NewListReleaseConfigPreviewRequest() (request *ListReleaseConfigPreviewRequest) { + request = &ListReleaseConfigPreviewRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListReleaseConfigPreview") + + + return +} + +func NewListReleaseConfigPreviewResponse() (response *ListReleaseConfigPreviewResponse) { + response = &ListReleaseConfigPreviewResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListReleaseConfigPreview +// 发布配置项预览 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseConfigPreview(request *ListReleaseConfigPreviewRequest) (response *ListReleaseConfigPreviewResponse, err error) { + return c.ListReleaseConfigPreviewWithContext(context.Background(), request) +} + +// ListReleaseConfigPreview +// 发布配置项预览 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseConfigPreviewWithContext(ctx context.Context, request *ListReleaseConfigPreviewRequest) (response *ListReleaseConfigPreviewResponse, err error) { + if request == nil { + request = NewListReleaseConfigPreviewRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListReleaseConfigPreview require credential") + } + + request.SetContext(ctx) + + response = NewListReleaseConfigPreviewResponse() + err = c.Send(request, response) + return +} + +func NewListReleaseDocPreviewRequest() (request *ListReleaseDocPreviewRequest) { + request = &ListReleaseDocPreviewRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListReleaseDocPreview") + + + return +} + +func NewListReleaseDocPreviewResponse() (response *ListReleaseDocPreviewResponse) { + response = &ListReleaseDocPreviewResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListReleaseDocPreview +// 发布文档预览 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseDocPreview(request *ListReleaseDocPreviewRequest) (response *ListReleaseDocPreviewResponse, err error) { + return c.ListReleaseDocPreviewWithContext(context.Background(), request) +} + +// ListReleaseDocPreview +// 发布文档预览 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseDocPreviewWithContext(ctx context.Context, request *ListReleaseDocPreviewRequest) (response *ListReleaseDocPreviewResponse, err error) { + if request == nil { + request = NewListReleaseDocPreviewRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListReleaseDocPreview require credential") + } + + request.SetContext(ctx) + + response = NewListReleaseDocPreviewResponse() + err = c.Send(request, response) + return +} + +func NewListReleaseQAPreviewRequest() (request *ListReleaseQAPreviewRequest) { + request = &ListReleaseQAPreviewRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListReleaseQAPreview") + + + return +} + +func NewListReleaseQAPreviewResponse() (response *ListReleaseQAPreviewResponse) { + response = &ListReleaseQAPreviewResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListReleaseQAPreview +// 文档列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseQAPreview(request *ListReleaseQAPreviewRequest) (response *ListReleaseQAPreviewResponse, err error) { + return c.ListReleaseQAPreviewWithContext(context.Background(), request) +} + +// ListReleaseQAPreview +// 文档列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListReleaseQAPreviewWithContext(ctx context.Context, request *ListReleaseQAPreviewRequest) (response *ListReleaseQAPreviewResponse, err error) { + if request == nil { + request = NewListReleaseQAPreviewRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListReleaseQAPreview require credential") + } + + request.SetContext(ctx) + + response = NewListReleaseQAPreviewResponse() + err = c.Send(request, response) + return +} + +func NewListSelectDocRequest() (request *ListSelectDocRequest) { + request = &ListSelectDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListSelectDoc") + + + return +} + +func NewListSelectDocResponse() (response *ListSelectDocResponse) { + response = &ListSelectDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListSelectDoc +// 获取账户信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListSelectDoc(request *ListSelectDocRequest) (response *ListSelectDocResponse, err error) { + return c.ListSelectDocWithContext(context.Background(), request) +} + +// ListSelectDoc +// 获取账户信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListSelectDocWithContext(ctx context.Context, request *ListSelectDocRequest) (response *ListSelectDocResponse, err error) { + if request == nil { + request = NewListSelectDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListSelectDoc require credential") + } + + request.SetContext(ctx) + + response = NewListSelectDocResponse() + err = c.Send(request, response) + return +} + +func NewListUnsatisfiedReplyRequest() (request *ListUnsatisfiedReplyRequest) { + request = &ListUnsatisfiedReplyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ListUnsatisfiedReply") + + + return +} + +func NewListUnsatisfiedReplyResponse() (response *ListUnsatisfiedReplyResponse) { + response = &ListUnsatisfiedReplyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListUnsatisfiedReply +// 查询不满意回复列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListUnsatisfiedReply(request *ListUnsatisfiedReplyRequest) (response *ListUnsatisfiedReplyResponse, err error) { + return c.ListUnsatisfiedReplyWithContext(context.Background(), request) +} + +// ListUnsatisfiedReply +// 查询不满意回复列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ListUnsatisfiedReplyWithContext(ctx context.Context, request *ListUnsatisfiedReplyRequest) (response *ListUnsatisfiedReplyResponse, err error) { + if request == nil { + request = NewListUnsatisfiedReplyRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListUnsatisfiedReply require credential") + } + + request.SetContext(ctx) + + response = NewListUnsatisfiedReplyResponse() + err = c.Send(request, response) + return +} + +func NewModifyAppRequest() (request *ModifyAppRequest) { + request = &ModifyAppRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyApp") + + + return +} + +func NewModifyAppResponse() (response *ModifyAppResponse) { + response = &ModifyAppResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyApp +// 修改应用请求结构体 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyApp(request *ModifyAppRequest) (response *ModifyAppResponse, err error) { + return c.ModifyAppWithContext(context.Background(), request) +} + +// ModifyApp +// 修改应用请求结构体 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyAppWithContext(ctx context.Context, request *ModifyAppRequest) (response *ModifyAppResponse, err error) { + if request == nil { + request = NewModifyAppRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyApp require credential") + } + + request.SetContext(ctx) + + response = NewModifyAppResponse() + err = c.Send(request, response) + return +} + +func NewModifyAttributeLabelRequest() (request *ModifyAttributeLabelRequest) { + request = &ModifyAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyAttributeLabel") + + + return +} + +func NewModifyAttributeLabelResponse() (response *ModifyAttributeLabelResponse) { + response = &ModifyAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyAttributeLabel +// 编辑属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyAttributeLabel(request *ModifyAttributeLabelRequest) (response *ModifyAttributeLabelResponse, err error) { + return c.ModifyAttributeLabelWithContext(context.Background(), request) +} + +// ModifyAttributeLabel +// 编辑属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyAttributeLabelWithContext(ctx context.Context, request *ModifyAttributeLabelRequest) (response *ModifyAttributeLabelResponse, err error) { + if request == nil { + request = NewModifyAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewModifyAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewModifyDocRequest() (request *ModifyDocRequest) { + request = &ModifyDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyDoc") + + + return +} + +func NewModifyDocResponse() (response *ModifyDocResponse) { + response = &ModifyDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyDoc +// 修改文档 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyDoc(request *ModifyDocRequest) (response *ModifyDocResponse, err error) { + return c.ModifyDocWithContext(context.Background(), request) +} + +// ModifyDoc +// 修改文档 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyDocWithContext(ctx context.Context, request *ModifyDocRequest) (response *ModifyDocResponse, err error) { + if request == nil { + request = NewModifyDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyDoc require credential") + } + + request.SetContext(ctx) + + response = NewModifyDocResponse() + err = c.Send(request, response) + return +} + +func NewModifyDocAttrRangeRequest() (request *ModifyDocAttrRangeRequest) { + request = &ModifyDocAttrRangeRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyDocAttrRange") + + + return +} + +func NewModifyDocAttrRangeResponse() (response *ModifyDocAttrRangeResponse) { + response = &ModifyDocAttrRangeResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyDocAttrRange +// 批量修改文档适用范围 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyDocAttrRange(request *ModifyDocAttrRangeRequest) (response *ModifyDocAttrRangeResponse, err error) { + return c.ModifyDocAttrRangeWithContext(context.Background(), request) +} + +// ModifyDocAttrRange +// 批量修改文档适用范围 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyDocAttrRangeWithContext(ctx context.Context, request *ModifyDocAttrRangeRequest) (response *ModifyDocAttrRangeResponse, err error) { + if request == nil { + request = NewModifyDocAttrRangeRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyDocAttrRange require credential") + } + + request.SetContext(ctx) + + response = NewModifyDocAttrRangeResponse() + err = c.Send(request, response) + return +} + +func NewModifyQARequest() (request *ModifyQARequest) { + request = &ModifyQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyQA") + + + return +} + +func NewModifyQAResponse() (response *ModifyQAResponse) { + response = &ModifyQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyQA +// 更新问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyQA(request *ModifyQARequest) (response *ModifyQAResponse, err error) { + return c.ModifyQAWithContext(context.Background(), request) +} + +// ModifyQA +// 更新问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyQAWithContext(ctx context.Context, request *ModifyQARequest) (response *ModifyQAResponse, err error) { + if request == nil { + request = NewModifyQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyQA require credential") + } + + request.SetContext(ctx) + + response = NewModifyQAResponse() + err = c.Send(request, response) + return +} + +func NewModifyQAAttrRangeRequest() (request *ModifyQAAttrRangeRequest) { + request = &ModifyQAAttrRangeRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyQAAttrRange") + + + return +} + +func NewModifyQAAttrRangeResponse() (response *ModifyQAAttrRangeResponse) { + response = &ModifyQAAttrRangeResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyQAAttrRange +// 批量修改问答适用范围 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyQAAttrRange(request *ModifyQAAttrRangeRequest) (response *ModifyQAAttrRangeResponse, err error) { + return c.ModifyQAAttrRangeWithContext(context.Background(), request) +} + +// ModifyQAAttrRange +// 批量修改问答适用范围 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyQAAttrRangeWithContext(ctx context.Context, request *ModifyQAAttrRangeRequest) (response *ModifyQAAttrRangeResponse, err error) { + if request == nil { + request = NewModifyQAAttrRangeRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyQAAttrRange require credential") + } + + request.SetContext(ctx) + + response = NewModifyQAAttrRangeResponse() + err = c.Send(request, response) + return +} + +func NewModifyQACateRequest() (request *ModifyQACateRequest) { + request = &ModifyQACateRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyQACate") + + + return +} + +func NewModifyQACateResponse() (response *ModifyQACateResponse) { + response = &ModifyQACateResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyQACate +// 更新QA分类 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyQACate(request *ModifyQACateRequest) (response *ModifyQACateResponse, err error) { + return c.ModifyQACateWithContext(context.Background(), request) +} + +// ModifyQACate +// 更新QA分类 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyQACateWithContext(ctx context.Context, request *ModifyQACateRequest) (response *ModifyQACateResponse, err error) { + if request == nil { + request = NewModifyQACateRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyQACate require credential") + } + + request.SetContext(ctx) + + response = NewModifyQACateResponse() + err = c.Send(request, response) + return +} + +func NewModifyRejectedQuestionRequest() (request *ModifyRejectedQuestionRequest) { + request = &ModifyRejectedQuestionRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ModifyRejectedQuestion") + + + return +} + +func NewModifyRejectedQuestionResponse() (response *ModifyRejectedQuestionResponse) { + response = &ModifyRejectedQuestionResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ModifyRejectedQuestion +// 修改拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyRejectedQuestion(request *ModifyRejectedQuestionRequest) (response *ModifyRejectedQuestionResponse, err error) { + return c.ModifyRejectedQuestionWithContext(context.Background(), request) +} + +// ModifyRejectedQuestion +// 修改拒答问题 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) ModifyRejectedQuestionWithContext(ctx context.Context, request *ModifyRejectedQuestionRequest) (response *ModifyRejectedQuestionResponse, err error) { + if request == nil { + request = NewModifyRejectedQuestionRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ModifyRejectedQuestion require credential") + } + + request.SetContext(ctx) + + response = NewModifyRejectedQuestionResponse() + err = c.Send(request, response) + return +} + +func NewParseDocRequest() (request *ParseDocRequest) { + request = &ParseDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ParseDoc") + + + return +} + +func NewParseDocResponse() (response *ParseDocResponse) { + response = &ParseDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ParseDoc +// 解析拆分文件 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) ParseDoc(request *ParseDocRequest) (response *ParseDocResponse, err error) { + return c.ParseDocWithContext(context.Background(), request) +} + +// ParseDoc +// 解析拆分文件 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) ParseDocWithContext(ctx context.Context, request *ParseDocRequest) (response *ParseDocResponse, err error) { + if request == nil { + request = NewParseDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ParseDoc require credential") + } + + request.SetContext(ctx) + + response = NewParseDocResponse() + err = c.Send(request, response) + return +} + +func NewQueryParseDocResultRequest() (request *QueryParseDocResultRequest) { + request = &QueryParseDocResultRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "QueryParseDocResult") + + + return +} + +func NewQueryParseDocResultResponse() (response *QueryParseDocResultResponse) { + response = &QueryParseDocResultResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// QueryParseDocResult +// 查询文件解析结果 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) QueryParseDocResult(request *QueryParseDocResultRequest) (response *QueryParseDocResultResponse, err error) { + return c.QueryParseDocResultWithContext(context.Background(), request) +} + +// QueryParseDocResult +// 查询文件解析结果 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) QueryParseDocResultWithContext(ctx context.Context, request *QueryParseDocResultRequest) (response *QueryParseDocResultResponse, err error) { + if request == nil { + request = NewQueryParseDocResultRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("QueryParseDocResult require credential") + } + + request.SetContext(ctx) + + response = NewQueryParseDocResultResponse() + err = c.Send(request, response) + return +} + +func NewQueryRewriteRequest() (request *QueryRewriteRequest) { + request = &QueryRewriteRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "QueryRewrite") + + + return +} + +func NewQueryRewriteResponse() (response *QueryRewriteResponse) { + response = &QueryRewriteResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// QueryRewrite +// 多轮改写 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) QueryRewrite(request *QueryRewriteRequest) (response *QueryRewriteResponse, err error) { + return c.QueryRewriteWithContext(context.Background(), request) +} + +// QueryRewrite +// 多轮改写 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) QueryRewriteWithContext(ctx context.Context, request *QueryRewriteRequest) (response *QueryRewriteResponse, err error) { + if request == nil { + request = NewQueryRewriteRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("QueryRewrite require credential") + } + + request.SetContext(ctx) + + response = NewQueryRewriteResponse() + err = c.Send(request, response) + return +} + +func NewRateMsgRecordRequest() (request *RateMsgRecordRequest) { + request = &RateMsgRecordRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "RateMsgRecord") + + + return +} + +func NewRateMsgRecordResponse() (response *RateMsgRecordResponse) { + response = &RateMsgRecordResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// RateMsgRecord +// 是否意图转人工 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) RateMsgRecord(request *RateMsgRecordRequest) (response *RateMsgRecordResponse, err error) { + return c.RateMsgRecordWithContext(context.Background(), request) +} + +// RateMsgRecord +// 是否意图转人工 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) RateMsgRecordWithContext(ctx context.Context, request *RateMsgRecordRequest) (response *RateMsgRecordResponse, err error) { + if request == nil { + request = NewRateMsgRecordRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("RateMsgRecord require credential") + } + + request.SetContext(ctx) + + response = NewRateMsgRecordResponse() + err = c.Send(request, response) + return +} + +func NewResetSessionRequest() (request *ResetSessionRequest) { + request = &ResetSessionRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "ResetSession") + + + return +} + +func NewResetSessionResponse() (response *ResetSessionResponse) { + response = &ResetSessionResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ResetSession +// 重置会话 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) ResetSession(request *ResetSessionRequest) (response *ResetSessionResponse, err error) { + return c.ResetSessionWithContext(context.Background(), request) +} + +// ResetSession +// 重置会话 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +func (c *Client) ResetSessionWithContext(ctx context.Context, request *ResetSessionRequest) (response *ResetSessionResponse, err error) { + if request == nil { + request = NewResetSessionRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ResetSession require credential") + } + + request.SetContext(ctx) + + response = NewResetSessionResponse() + err = c.Send(request, response) + return +} + +func NewRetryDocAuditRequest() (request *RetryDocAuditRequest) { + request = &RetryDocAuditRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "RetryDocAudit") + + + return +} + +func NewRetryDocAuditResponse() (response *RetryDocAuditResponse) { + response = &RetryDocAuditResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// RetryDocAudit +// 文档解析重试 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) RetryDocAudit(request *RetryDocAuditRequest) (response *RetryDocAuditResponse, err error) { + return c.RetryDocAuditWithContext(context.Background(), request) +} + +// RetryDocAudit +// 文档解析重试 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) RetryDocAuditWithContext(ctx context.Context, request *RetryDocAuditRequest) (response *RetryDocAuditResponse, err error) { + if request == nil { + request = NewRetryDocAuditRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("RetryDocAudit require credential") + } + + request.SetContext(ctx) + + response = NewRetryDocAuditResponse() + err = c.Send(request, response) + return +} + +func NewRetryDocParseRequest() (request *RetryDocParseRequest) { + request = &RetryDocParseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "RetryDocParse") + + + return +} + +func NewRetryDocParseResponse() (response *RetryDocParseResponse) { + response = &RetryDocParseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// RetryDocParse +// 文档解析重试 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) RetryDocParse(request *RetryDocParseRequest) (response *RetryDocParseResponse, err error) { + return c.RetryDocParseWithContext(context.Background(), request) +} + +// RetryDocParse +// 文档解析重试 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) RetryDocParseWithContext(ctx context.Context, request *RetryDocParseRequest) (response *RetryDocParseResponse, err error) { + if request == nil { + request = NewRetryDocParseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("RetryDocParse require credential") + } + + request.SetContext(ctx) + + response = NewRetryDocParseResponse() + err = c.Send(request, response) + return +} + +func NewRetryReleaseRequest() (request *RetryReleaseRequest) { + request = &RetryReleaseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "RetryRelease") + + + return +} + +func NewRetryReleaseResponse() (response *RetryReleaseResponse) { + response = &RetryReleaseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// RetryRelease +// 发布暂停后重试 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) RetryRelease(request *RetryReleaseRequest) (response *RetryReleaseResponse, err error) { + return c.RetryReleaseWithContext(context.Background(), request) +} + +// RetryRelease +// 发布暂停后重试 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) RetryReleaseWithContext(ctx context.Context, request *RetryReleaseRequest) (response *RetryReleaseResponse, err error) { + if request == nil { + request = NewRetryReleaseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("RetryRelease require credential") + } + + request.SetContext(ctx) + + response = NewRetryReleaseResponse() + err = c.Send(request, response) + return +} + +func NewSaveDocRequest() (request *SaveDocRequest) { + request = &SaveDocRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "SaveDoc") + + + return +} + +func NewSaveDocResponse() (response *SaveDocResponse) { + response = &SaveDocResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// SaveDoc +// 保存文档 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) SaveDoc(request *SaveDocRequest) (response *SaveDocResponse, err error) { + return c.SaveDocWithContext(context.Background(), request) +} + +// SaveDoc +// 保存文档 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) SaveDocWithContext(ctx context.Context, request *SaveDocRequest) (response *SaveDocResponse, err error) { + if request == nil { + request = NewSaveDocRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("SaveDoc require credential") + } + + request.SetContext(ctx) + + response = NewSaveDocResponse() + err = c.Send(request, response) + return +} + +func NewStopDocParseRequest() (request *StopDocParseRequest) { + request = &StopDocParseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "StopDocParse") + + + return +} + +func NewStopDocParseResponse() (response *StopDocParseResponse) { + response = &StopDocParseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// StopDocParse +// 终止文档解析 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) StopDocParse(request *StopDocParseRequest) (response *StopDocParseResponse, err error) { + return c.StopDocParseWithContext(context.Background(), request) +} + +// StopDocParse +// 终止文档解析 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) StopDocParseWithContext(ctx context.Context, request *StopDocParseRequest) (response *StopDocParseResponse, err error) { + if request == nil { + request = NewStopDocParseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("StopDocParse require credential") + } + + request.SetContext(ctx) + + response = NewStopDocParseResponse() + err = c.Send(request, response) + return +} + +func NewUploadAttributeLabelRequest() (request *UploadAttributeLabelRequest) { + request = &UploadAttributeLabelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "UploadAttributeLabel") + + + return +} + +func NewUploadAttributeLabelResponse() (response *UploadAttributeLabelResponse) { + response = &UploadAttributeLabelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// UploadAttributeLabel +// 上传导入属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) UploadAttributeLabel(request *UploadAttributeLabelRequest) (response *UploadAttributeLabelResponse, err error) { + return c.UploadAttributeLabelWithContext(context.Background(), request) +} + +// UploadAttributeLabel +// 上传导入属性标签 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) UploadAttributeLabelWithContext(ctx context.Context, request *UploadAttributeLabelRequest) (response *UploadAttributeLabelResponse, err error) { + if request == nil { + request = NewUploadAttributeLabelRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("UploadAttributeLabel require credential") + } + + request.SetContext(ctx) + + response = NewUploadAttributeLabelResponse() + err = c.Send(request, response) + return +} + +func NewVerifyQARequest() (request *VerifyQARequest) { + request = &VerifyQARequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("lke", APIVersion, "VerifyQA") + + + return +} + +func NewVerifyQAResponse() (response *VerifyQAResponse) { + response = &VerifyQAResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// VerifyQA +// 校验问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) VerifyQA(request *VerifyQARequest) (response *VerifyQAResponse, err error) { + return c.VerifyQAWithContext(context.Background(), request) +} + +// VerifyQA +// 校验问答 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) VerifyQAWithContext(ctx context.Context, request *VerifyQARequest) (response *VerifyQAResponse, err error) { + if request == nil { + request = NewVerifyQARequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("VerifyQA require credential") + } + + request.SetContext(ctx) + + response = NewVerifyQAResponse() + err = c.Send(request, response) + return +} diff --git a/tencentcloud/lke/v20231130/errors.go b/tencentcloud/lke/v20231130/errors.go new file mode 100644 index 0000000000..f198c97488 --- /dev/null +++ b/tencentcloud/lke/v20231130/errors.go @@ -0,0 +1,34 @@ +// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v20231130 + +const ( + // 此产品的特有错误码 + + // 操作失败。 + FAILEDOPERATION = "FailedOperation" + + // 内部错误。 + INTERNALERROR = "InternalError" + + // 参数错误。 + INVALIDPARAMETER = "InvalidParameter" + + // 超过配额限制。 + LIMITEXCEEDED = "LimitExceeded" + + // 请求的次数超过了频率限制。 + REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +) diff --git a/tencentcloud/lke/v20231130/models.go b/tencentcloud/lke/v20231130/models.go new file mode 100644 index 0000000000..a789340def --- /dev/null +++ b/tencentcloud/lke/v20231130/models.go @@ -0,0 +1,7202 @@ +// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v20231130 + +import ( + tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" + tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" +) + +type AppConfig struct { + // 知识问答管理应用配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + KnowledgeQa *KnowledgeQaConfig `json:"KnowledgeQa,omitnil,omitempty" name:"KnowledgeQa"` + + // 知识摘要应用配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Summary *SummaryConfig `json:"Summary,omitnil,omitempty" name:"Summary"` + + // 标签提取应用配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Classify *ClassifyConfig `json:"Classify,omitnil,omitempty" name:"Classify"` +} + +type AppInfo struct { + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + // 注意:此字段可能返回 null,表示取不到有效值。 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 应用类型描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + AppTypeDesc *string `json:"AppTypeDesc,omitnil,omitempty" name:"AppTypeDesc"` + + // 应用ID + // 注意:此字段可能返回 null,表示取不到有效值。 + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 应用头像 + // 注意:此字段可能返回 null,表示取不到有效值。 + Avatar *string `json:"Avatar,omitnil,omitempty" name:"Avatar"` + + // 应用描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` + + // 应用状态,1:未上线,2:运行中,3:停用 + // 注意:此字段可能返回 null,表示取不到有效值。 + AppStatus *uint64 `json:"AppStatus,omitnil,omitempty" name:"AppStatus"` + + // 状态说明 + // 注意:此字段可能返回 null,表示取不到有效值。 + AppStatusDesc *string `json:"AppStatusDesc,omitnil,omitempty" name:"AppStatusDesc"` + + // 修改时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 最后修改人 + // 注意:此字段可能返回 null,表示取不到有效值。 + Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` + + // 模型名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` + + // 模型别名 + // 注意:此字段可能返回 null,表示取不到有效值。 + ModelAliasName *string `json:"ModelAliasName,omitnil,omitempty" name:"ModelAliasName"` +} + +type AppModel struct { + // 模型名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 模型描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` + + // 上下文指代轮次 + // 注意:此字段可能返回 null,表示取不到有效值。 + ContextLimit *uint64 `json:"ContextLimit,omitnil,omitempty" name:"ContextLimit"` + + // 模型别名 + // 注意:此字段可能返回 null,表示取不到有效值。 + AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` +} + +type AttrLabel struct { + // 属性标签来源 + // 注意:此字段可能返回 null,表示取不到有效值。 + Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 属性ID + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrBizId *string `json:"AttrBizId,omitnil,omitempty" name:"AttrBizId"` + + // 属性标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 标签ID + // 注意:此字段可能返回 null,表示取不到有效值。 + Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` +} + +type AttrLabelDetail struct { + // 属性ID + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrBizId *string `json:"AttrBizId,omitnil,omitempty" name:"AttrBizId"` + + // 属性标识 + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 标签名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + LabelNames []*string `json:"LabelNames,omitnil,omitempty" name:"LabelNames"` + + // 属性标签是否在更新中 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsUpdating *bool `json:"IsUpdating,omitnil,omitempty" name:"IsUpdating"` +} + +type AttrLabelRefer struct { + // 属性标签来源,1:属性标签 + Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 标签ID + LabelBizIds []*string `json:"LabelBizIds,omitnil,omitempty" name:"LabelBizIds"` +} + +type AttributeFilters struct { + // 检索,属性或标签名称 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` +} + +type AttributeLabel struct { + // 标签ID + // 注意:此字段可能返回 null,表示取不到有效值。 + LabelBizId *string `json:"LabelBizId,omitnil,omitempty" name:"LabelBizId"` + + // 标签名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` + + // 相似标签名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + SimilarLabels []*string `json:"SimilarLabels,omitnil,omitempty" name:"SimilarLabels"` +} + +type BaseConfig struct { + // 应用名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 机器人头像 + Avatar *string `json:"Avatar,omitnil,omitempty" name:"Avatar"` + + // 机器人描述 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` +} + +// Predefined struct for user +type CheckAttributeLabelExistRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性名称 + LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 滚动加载,最后一个属性标签ID + LastLabelBizId *string `json:"LastLabelBizId,omitnil,omitempty" name:"LastLabelBizId"` +} + +type CheckAttributeLabelExistRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性名称 + LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 滚动加载,最后一个属性标签ID + LastLabelBizId *string `json:"LastLabelBizId,omitnil,omitempty" name:"LastLabelBizId"` +} + +func (r *CheckAttributeLabelExistRequest) 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 *CheckAttributeLabelExistRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "LabelName") + delete(f, "AttributeBizId") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "LastLabelBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CheckAttributeLabelExistRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CheckAttributeLabelExistResponseParams struct { + // 是否存在 + IsExist *bool `json:"IsExist,omitnil,omitempty" name:"IsExist"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CheckAttributeLabelExistResponse struct { + *tchttp.BaseResponse + Response *CheckAttributeLabelExistResponseParams `json:"Response"` +} + +func (r *CheckAttributeLabelExistResponse) 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 *CheckAttributeLabelExistResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CheckAttributeLabelReferRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 属性标签 + LabelBizId *string `json:"LabelBizId,omitnil,omitempty" name:"LabelBizId"` + + // 属性ID + AttributeBizId []*string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` +} + +type CheckAttributeLabelReferRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 属性标签 + LabelBizId *string `json:"LabelBizId,omitnil,omitempty" name:"LabelBizId"` + + // 属性ID + AttributeBizId []*string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` +} + +func (r *CheckAttributeLabelReferRequest) 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 *CheckAttributeLabelReferRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "LabelBizId") + delete(f, "AttributeBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CheckAttributeLabelReferRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CheckAttributeLabelReferResponseParams struct { + // 是否引用 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CheckAttributeLabelReferResponse struct { + *tchttp.BaseResponse + Response *CheckAttributeLabelReferResponseParams `json:"Response"` +} + +func (r *CheckAttributeLabelReferResponse) 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 *CheckAttributeLabelReferResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ClassifyConfig struct { + // 模型配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Model *AppModel `json:"Model,omitnil,omitempty" name:"Model"` + + // 标签列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Labels []*ClassifyLabel `json:"Labels,omitnil,omitempty" name:"Labels"` +} + +type ClassifyLabel struct { + // 标签名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 标签描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + Description *string `json:"Description,omitnil,omitempty" name:"Description"` + + // 标签取值范围 + // 注意:此字段可能返回 null,表示取不到有效值。 + Values []*string `json:"Values,omitnil,omitempty" name:"Values"` +} + +type Context struct { + // 消息记录ID信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + RecordBizId *string `json:"RecordBizId,omitnil,omitempty" name:"RecordBizId"` + + // 是否为用户 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsVisitor *bool `json:"IsVisitor,omitnil,omitempty" name:"IsVisitor"` + + // 昵称 + // 注意:此字段可能返回 null,表示取不到有效值。 + NickName *string `json:"NickName,omitnil,omitempty" name:"NickName"` + + // 头像 + // 注意:此字段可能返回 null,表示取不到有效值。 + Avatar *string `json:"Avatar,omitnil,omitempty" name:"Avatar"` + + // 消息内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` +} + +// Predefined struct for user +type CreateAppRequestParams struct { + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 应用基础配置 + BaseConfig *BaseConfig `json:"BaseConfig,omitnil,omitempty" name:"BaseConfig"` +} + +type CreateAppRequest struct { + *tchttp.BaseRequest + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 应用基础配置 + BaseConfig *BaseConfig `json:"BaseConfig,omitnil,omitempty" name:"BaseConfig"` +} + +func (r *CreateAppRequest) 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 *CreateAppRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppType") + delete(f, "BaseConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateAppRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateAppResponseParams struct { + // 应用ID + // 注意:此字段可能返回 null,表示取不到有效值。 + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateAppResponse struct { + *tchttp.BaseResponse + Response *CreateAppResponseParams `json:"Response"` +} + +func (r *CreateAppResponse) 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 *CreateAppResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性标识 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 属性标签 + Labels []*AttributeLabel `json:"Labels,omitnil,omitempty" name:"Labels"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type CreateAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性标识 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 属性标签 + Labels []*AttributeLabel `json:"Labels,omitnil,omitempty" name:"Labels"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *CreateAttributeLabelRequest) 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 *CreateAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "AttrKey") + delete(f, "AttrName") + delete(f, "Labels") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateAttributeLabelResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *CreateAttributeLabelResponseParams `json:"Response"` +} + +func (r *CreateAttributeLabelResponse) 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 *CreateAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateCorpRequestParams struct { + // 企业全称 + FullName *string `json:"FullName,omitnil,omitempty" name:"FullName"` + + // 联系人名称 + ContactName *string `json:"ContactName,omitnil,omitempty" name:"ContactName"` + + // 联系人邮箱 + Email *string `json:"Email,omitnil,omitempty" name:"Email"` + + // 联系人手机号 + Telephone *string `json:"Telephone,omitnil,omitempty" name:"Telephone"` +} + +type CreateCorpRequest struct { + *tchttp.BaseRequest + + // 企业全称 + FullName *string `json:"FullName,omitnil,omitempty" name:"FullName"` + + // 联系人名称 + ContactName *string `json:"ContactName,omitnil,omitempty" name:"ContactName"` + + // 联系人邮箱 + Email *string `json:"Email,omitnil,omitempty" name:"Email"` + + // 联系人手机号 + Telephone *string `json:"Telephone,omitnil,omitempty" name:"Telephone"` +} + +func (r *CreateCorpRequest) 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 *CreateCorpRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "FullName") + delete(f, "ContactName") + delete(f, "Email") + delete(f, "Telephone") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCorpRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateCorpResponseParams struct { + // 企业ID + CorpBizId *string `json:"CorpBizId,omitnil,omitempty" name:"CorpBizId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateCorpResponse struct { + *tchttp.BaseResponse + Response *CreateCorpResponseParams `json:"Response"` +} + +func (r *CreateCorpResponse) 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 *CreateCorpResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateQACateRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 父级业务ID + ParentBizId *string `json:"ParentBizId,omitnil,omitempty" name:"ParentBizId"` + + // 分类名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` +} + +type CreateQACateRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 父级业务ID + ParentBizId *string `json:"ParentBizId,omitnil,omitempty" name:"ParentBizId"` + + // 分类名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` +} + +func (r *CreateQACateRequest) 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 *CreateQACateRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ParentBizId") + delete(f, "Name") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateQACateRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateQACateResponseParams struct { + // 是否可新增 + CanAdd *bool `json:"CanAdd,omitnil,omitempty" name:"CanAdd"` + + // 是否可编辑 + CanEdit *bool `json:"CanEdit,omitnil,omitempty" name:"CanEdit"` + + // 是否可删除 + CanDelete *bool `json:"CanDelete,omitnil,omitempty" name:"CanDelete"` + + // 分类业务ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateQACateResponse struct { + *tchttp.BaseResponse + Response *CreateQACateResponseParams `json:"Response"` +} + +func (r *CreateQACateResponse) 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 *CreateQACateResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateQARequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 自定义参数 + CustomParam *string `json:"CustomParam,omitnil,omitempty" name:"CustomParam"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +type CreateQARequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 自定义参数 + CustomParam *string `json:"CustomParam,omitnil,omitempty" name:"CustomParam"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +func (r *CreateQARequest) 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 *CreateQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "Question") + delete(f, "Answer") + delete(f, "AttrRange") + delete(f, "CustomParam") + delete(f, "AttrLabels") + delete(f, "DocBizId") + delete(f, "CateBizId") + delete(f, "ExpireStart") + delete(f, "ExpireEnd") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateQAResponseParams struct { + // 问答ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateQAResponse struct { + *tchttp.BaseResponse + Response *CreateQAResponseParams `json:"Response"` +} + +func (r *CreateQAResponse) 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 *CreateQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateRejectedQuestionRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 拒答问题 + // + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 拒答问题来源的数据源唯一id,取值1,2 + // + BusinessSource *uint64 `json:"BusinessSource,omitnil,omitempty" name:"BusinessSource"` + + // 拒答问题来源的数据源唯一id + // + BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"` +} + +type CreateRejectedQuestionRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 拒答问题 + // + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 拒答问题来源的数据源唯一id,取值1,2 + // + BusinessSource *uint64 `json:"BusinessSource,omitnil,omitempty" name:"BusinessSource"` + + // 拒答问题来源的数据源唯一id + // + BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"` +} + +func (r *CreateRejectedQuestionRequest) 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 *CreateRejectedQuestionRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "Question") + delete(f, "BusinessSource") + delete(f, "BusinessId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRejectedQuestionRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateRejectedQuestionResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateRejectedQuestionResponse struct { + *tchttp.BaseResponse + Response *CreateRejectedQuestionResponseParams `json:"Response"` +} + +func (r *CreateRejectedQuestionResponse) 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 *CreateRejectedQuestionResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateReleaseRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 发布描述 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` +} + +type CreateReleaseRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 发布描述 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` +} + +func (r *CreateReleaseRequest) 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 *CreateReleaseRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "Desc") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateReleaseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type CreateReleaseResponseParams struct { + // 发布ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type CreateReleaseResponse struct { + *tchttp.BaseResponse + Response *CreateReleaseResponseParams `json:"Response"` +} + +func (r *CreateReleaseResponse) 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 *CreateReleaseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Credentials struct { + // token + // 注意:此字段可能返回 null,表示取不到有效值。 + Token *string `json:"Token,omitnil,omitempty" name:"Token"` + + // 临时证书密钥ID + // 注意:此字段可能返回 null,表示取不到有效值。 + TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` + + // 临时证书密钥Key + // 注意:此字段可能返回 null,表示取不到有效值。 + TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` +} + +// Predefined struct for user +type DeleteAppRequestParams struct { + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` +} + +type DeleteAppRequest struct { + *tchttp.BaseRequest + + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` +} + +func (r *DeleteAppRequest) 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 *DeleteAppRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppBizId") + delete(f, "AppType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteAppRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteAppResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteAppResponse struct { + *tchttp.BaseResponse + Response *DeleteAppResponseParams `json:"Response"` +} + +func (r *DeleteAppResponse) 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 *DeleteAppResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性ID + AttributeBizIds []*string `json:"AttributeBizIds,omitnil,omitempty" name:"AttributeBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type DeleteAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性ID + AttributeBizIds []*string `json:"AttributeBizIds,omitnil,omitempty" name:"AttributeBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *DeleteAttributeLabelRequest) 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 *DeleteAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "AttributeBizIds") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteAttributeLabelResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *DeleteAttributeLabelResponseParams `json:"Response"` +} + +func (r *DeleteAttributeLabelResponse) 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 *DeleteAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteDocRequestParams struct { + // 文档业务ID列表 + DocBizIds []*string `json:"DocBizIds,omitnil,omitempty" name:"DocBizIds"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type DeleteDocRequest struct { + *tchttp.BaseRequest + + // 文档业务ID列表 + DocBizIds []*string `json:"DocBizIds,omitnil,omitempty" name:"DocBizIds"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *DeleteDocRequest) 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 *DeleteDocRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DocBizIds") + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteDocResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteDocResponse struct { + *tchttp.BaseResponse + Response *DeleteDocResponseParams `json:"Response"` +} + +func (r *DeleteDocResponse) 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 *DeleteDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteQACateRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 分类业务ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` +} + +type DeleteQACateRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 分类业务ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` +} + +func (r *DeleteQACateRequest) 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 *DeleteQACateRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "CateBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteQACateRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteQACateResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteQACateResponse struct { + *tchttp.BaseResponse + Response *DeleteQACateResponseParams `json:"Response"` +} + +func (r *DeleteQACateResponse) 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 *DeleteQACateResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteQARequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问答ID + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` +} + +type DeleteQARequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问答ID + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` +} + +func (r *DeleteQARequest) 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 *DeleteQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "QaBizIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteQAResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteQAResponse struct { + *tchttp.BaseResponse + Response *DeleteQAResponseParams `json:"Response"` +} + +func (r *DeleteQAResponse) 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 *DeleteQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteRejectedQuestionRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 拒答问题来源的数据源唯一id + // + // + RejectedBizIds []*string `json:"RejectedBizIds,omitnil,omitempty" name:"RejectedBizIds"` +} + +type DeleteRejectedQuestionRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 拒答问题来源的数据源唯一id + // + // + RejectedBizIds []*string `json:"RejectedBizIds,omitnil,omitempty" name:"RejectedBizIds"` +} + +func (r *DeleteRejectedQuestionRequest) 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 *DeleteRejectedQuestionRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "RejectedBizIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteRejectedQuestionRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteRejectedQuestionResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteRejectedQuestionResponse struct { + *tchttp.BaseResponse + Response *DeleteRejectedQuestionResponseParams `json:"Response"` +} + +func (r *DeleteRejectedQuestionResponse) 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 *DeleteRejectedQuestionResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeAppRequestParams struct { + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 是否发布后的配置 + IsRelease *bool `json:"IsRelease,omitnil,omitempty" name:"IsRelease"` +} + +type DescribeAppRequest struct { + *tchttp.BaseRequest + + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 是否发布后的配置 + IsRelease *bool `json:"IsRelease,omitnil,omitempty" name:"IsRelease"` +} + +func (r *DescribeAppRequest) 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 *DescribeAppRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppBizId") + delete(f, "AppType") + delete(f, "IsRelease") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAppRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeAppResponseParams struct { + // 应用 ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 应用类型说明 + AppTypeDesc *string `json:"AppTypeDesc,omitnil,omitempty" name:"AppTypeDesc"` + + // 应用类型说明 + BaseConfig *BaseConfig `json:"BaseConfig,omitnil,omitempty" name:"BaseConfig"` + + // 应用配置 + AppConfig *AppConfig `json:"AppConfig,omitnil,omitempty" name:"AppConfig"` + + // 头像是否在申诉中 + AvatarInAppeal *bool `json:"AvatarInAppeal,omitnil,omitempty" name:"AvatarInAppeal"` + + // 角色描述是否在申诉中 + RoleInAppeal *bool `json:"RoleInAppeal,omitnil,omitempty" name:"RoleInAppeal"` + + // 名称是否在申诉中 + NameInAppeal *bool `json:"NameInAppeal,omitnil,omitempty" name:"NameInAppeal"` + + // 欢迎语是否在申诉中 + GreetingInAppeal *bool `json:"GreetingInAppeal,omitnil,omitempty" name:"GreetingInAppeal"` + + // 未知问题回复语是否在申诉中 + BareAnswerInAppeal *bool `json:"BareAnswerInAppeal,omitnil,omitempty" name:"BareAnswerInAppeal"` + + // 应用appKey + AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeAppResponse struct { + *tchttp.BaseResponse + Response *DescribeAppResponseParams `json:"Response"` +} + +func (r *DescribeAppResponse) 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 *DescribeAppResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 每次加载的数量 + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 查询标签或相似标签 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 滚动加载游标的标签ID + LastLabelBizId *string `json:"LastLabelBizId,omitnil,omitempty" name:"LastLabelBizId"` +} + +type DescribeAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 每次加载的数量 + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 查询标签或相似标签 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 滚动加载游标的标签ID + LastLabelBizId *string `json:"LastLabelBizId,omitnil,omitempty" name:"LastLabelBizId"` +} + +func (r *DescribeAttributeLabelRequest) 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 *DescribeAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "AttributeBizId") + delete(f, "Limit") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "Query") + delete(f, "LastLabelBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeAttributeLabelResponseParams struct { + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 属性标识 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 标签数量 + LabelNumber *string `json:"LabelNumber,omitnil,omitempty" name:"LabelNumber"` + + // 标签名称 + Labels []*AttributeLabel `json:"Labels,omitnil,omitempty" name:"Labels"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *DescribeAttributeLabelResponseParams `json:"Response"` +} + +func (r *DescribeAttributeLabelResponse) 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 *DescribeAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeCorpRequestParams struct { + +} + +type DescribeCorpRequest struct { + *tchttp.BaseRequest + +} + +func (r *DescribeCorpRequest) 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 *DescribeCorpRequest) 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", "DescribeCorpRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeCorpResponseParams struct { + // 企业ID + CorpBizId *string `json:"CorpBizId,omitnil,omitempty" name:"CorpBizId"` + + // 机器人配额 + RobotQuota *uint64 `json:"RobotQuota,omitnil,omitempty" name:"RobotQuota"` + + // 企业全称 + FullName *string `json:"FullName,omitnil,omitempty" name:"FullName"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeCorpResponse struct { + *tchttp.BaseResponse + Response *DescribeCorpResponseParams `json:"Response"` +} + +func (r *DescribeCorpResponse) 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 *DescribeCorpResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeDocRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +type DescribeDocRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +func (r *DescribeDocRequest) 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 *DescribeDocRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeDocResponseParams struct { + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 文件名称 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文件类型 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // cos路径 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 文档状态(5审核通过 7审核中 8审核不通过 9审核通过 10待发布 11发布中 12发布成功 13学习中 14学习失败) + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 文档状态描述 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 生成失败原因 + Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` + + // 答案中是否引用 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 问答对数量 + QaNum *int64 `json:"QaNum,omitnil,omitempty" name:"QaNum"` + + // 是否删除 + IsDeleted *bool `json:"IsDeleted,omitnil,omitempty" name:"IsDeleted"` + + // 文档来源 + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 文档来源描述 + SourceDesc *string `json:"SourceDesc,omitnil,omitempty" name:"SourceDesc"` + + // 是否允许重新生成 + IsAllowRestart *bool `json:"IsAllowRestart,omitnil,omitempty" name:"IsAllowRestart"` + + // qa是否已删除 + IsDeletedQa *bool `json:"IsDeletedQa,omitnil,omitempty" name:"IsDeletedQa"` + + // 问答是否生成中 + IsCreatingQa *bool `json:"IsCreatingQa,omitnil,omitempty" name:"IsCreatingQa"` + + // 是否允许删除 + IsAllowDelete *bool `json:"IsAllowDelete,omitnil,omitempty" name:"IsAllowDelete"` + + // 是否允许操作引用开关 + IsAllowRefer *bool `json:"IsAllowRefer,omitnil,omitempty" name:"IsAllowRefer"` + + // 是否生成过问答 + IsCreatedQa *bool `json:"IsCreatedQa,omitnil,omitempty" name:"IsCreatedQa"` + + // 文档字符量 + DocCharSize *string `json:"DocCharSize,omitnil,omitempty" name:"DocCharSize"` + + // 是否允许编辑 + IsAllowEdit *bool `json:"IsAllowEdit,omitnil,omitempty" name:"IsAllowEdit"` + + // 属性标签适用范围 1:全部,2:按条件范围 + AttrRange *int64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签 + AttrLabels []*AttrLabel `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeDocResponse struct { + *tchttp.BaseResponse + Response *DescribeDocResponseParams `json:"Response"` +} + +func (r *DescribeDocResponse) 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 *DescribeDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeQARequestParams struct { + // QA业务ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type DescribeQARequest struct { + *tchttp.BaseRequest + + // QA业务ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *DescribeQARequest) 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 *DescribeQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "QaBizId") + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeQAResponseParams struct { + // QA业务ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 自定义参数 + CustomParam *string `json:"CustomParam,omitnil,omitempty" name:"CustomParam"` + + // 来源 + Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 来源描述 + SourceDesc *string `json:"SourceDesc,omitnil,omitempty" name:"SourceDesc"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 状态 + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 状态描述 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 是否允许校验 + IsAllowAccept *bool `json:"IsAllowAccept,omitnil,omitempty" name:"IsAllowAccept"` + + // 是否允许删除 + IsAllowDelete *bool `json:"IsAllowDelete,omitnil,omitempty" name:"IsAllowDelete"` + + // 是否允许编辑 + IsAllowEdit *bool `json:"IsAllowEdit,omitnil,omitempty" name:"IsAllowEdit"` + + // 文档id + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 文档名称 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文档类型 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // 分片ID + SegmentBizId *string `json:"SegmentBizId,omitnil,omitempty" name:"SegmentBizId"` + + // 分片内容 + PageContent *string `json:"PageContent,omitnil,omitempty" name:"PageContent"` + + // 分片高亮内容 + Highlights []*Highlight `json:"Highlights,omitnil,omitempty" name:"Highlights"` + + // 分片内容 + OrgData *string `json:"OrgData,omitnil,omitempty" name:"OrgData"` + + // 属性标签适用范围 + AttrRange *int64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签 + AttrLabels []*AttrLabel `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeQAResponse struct { + *tchttp.BaseResponse + Response *DescribeQAResponseParams `json:"Response"` +} + +func (r *DescribeQAResponse) 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 *DescribeQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeReferRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 引用ID + ReferBizIds []*string `json:"ReferBizIds,omitnil,omitempty" name:"ReferBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type DescribeReferRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 引用ID + ReferBizIds []*string `json:"ReferBizIds,omitnil,omitempty" name:"ReferBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *DescribeReferRequest) 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 *DescribeReferRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ReferBizIds") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReferRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeReferResponseParams struct { + // 引用列表 + List []*ReferDetail `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeReferResponse struct { + *tchttp.BaseResponse + Response *DescribeReferResponseParams `json:"Response"` +} + +func (r *DescribeReferResponse) 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 *DescribeReferResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeReleaseInfoRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type DescribeReleaseInfoRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *DescribeReleaseInfoRequest) 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 *DescribeReleaseInfoRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReleaseInfoRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeReleaseInfoResponseParams struct { + // 最后发布时间 + LastTime *string `json:"LastTime,omitnil,omitempty" name:"LastTime"` + + // 发布状态 + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 是否编辑过 + IsUpdated *bool `json:"IsUpdated,omitnil,omitempty" name:"IsUpdated"` + + // 失败原因 + Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeReleaseInfoResponse struct { + *tchttp.BaseResponse + Response *DescribeReleaseInfoResponseParams `json:"Response"` +} + +func (r *DescribeReleaseInfoResponse) 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 *DescribeReleaseInfoResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeReleaseRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 发布详情 + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` +} + +type DescribeReleaseRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 发布详情 + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` +} + +func (r *DescribeReleaseRequest) 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 *DescribeReleaseRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ReleaseBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReleaseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeReleaseResponseParams struct { + // 创建时间 + CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 发布描述 + Description *string `json:"Description,omitnil,omitempty" name:"Description"` + + // 发布状态(1待发布 2发布中 3发布成功 4发布失败 5发布中 6发布中 7发布失败 9发布暂停) + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 发布状态描述 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeReleaseResponse struct { + *tchttp.BaseResponse + Response *DescribeReleaseResponseParams `json:"Response"` +} + +func (r *DescribeReleaseResponse) 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 *DescribeReleaseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeRobotBizIDByAppKeyRequestParams struct { + // 机器人appkey + AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"` +} + +type DescribeRobotBizIDByAppKeyRequest struct { + *tchttp.BaseRequest + + // 机器人appkey + AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"` +} + +func (r *DescribeRobotBizIDByAppKeyRequest) 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 *DescribeRobotBizIDByAppKeyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppKey") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeRobotBizIDByAppKeyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeRobotBizIDByAppKeyResponseParams struct { + // 机器人业务ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeRobotBizIDByAppKeyResponse struct { + *tchttp.BaseResponse + Response *DescribeRobotBizIDByAppKeyResponseParams `json:"Response"` +} + +func (r *DescribeRobotBizIDByAppKeyResponse) 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 *DescribeRobotBizIDByAppKeyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeStorageCredentialRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type DescribeStorageCredentialRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *DescribeStorageCredentialRequest) 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 *DescribeStorageCredentialRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStorageCredentialRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeStorageCredentialResponseParams struct { + // 密钥信息 + Credentials *Credentials `json:"Credentials,omitnil,omitempty" name:"Credentials"` + + // 失效时间 + ExpiredTime *int64 `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` + + // 开始时间 + StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 对象存储桶 + Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` + + // 对象存储可用区 + Region *string `json:"Region,omitnil,omitempty" name:"Region"` + + // 目录 + FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"` + + // 存储类型 + Type *string `json:"Type,omitnil,omitempty" name:"Type"` + + // 主号 + CorpUin *string `json:"CorpUin,omitnil,omitempty" name:"CorpUin"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeStorageCredentialResponse struct { + *tchttp.BaseResponse + Response *DescribeStorageCredentialResponseParams `json:"Response"` +} + +func (r *DescribeStorageCredentialResponse) 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 *DescribeStorageCredentialResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeUnsatisfiedReplyContextRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 回复ID + ReplyBizId *string `json:"ReplyBizId,omitnil,omitempty" name:"ReplyBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type DescribeUnsatisfiedReplyContextRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 回复ID + ReplyBizId *string `json:"ReplyBizId,omitnil,omitempty" name:"ReplyBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *DescribeUnsatisfiedReplyContextRequest) 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 *DescribeUnsatisfiedReplyContextRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ReplyBizId") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeUnsatisfiedReplyContextRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeUnsatisfiedReplyContextResponseParams struct { + // 不满意回复上下文 + // 注意:此字段可能返回 null,表示取不到有效值。 + List []*Context `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeUnsatisfiedReplyContextResponse struct { + *tchttp.BaseResponse + Response *DescribeUnsatisfiedReplyContextResponseParams `json:"Response"` +} + +func (r *DescribeUnsatisfiedReplyContextResponse) 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 *DescribeUnsatisfiedReplyContextResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type EmbeddingObject struct { + // 向量 + Embedding []*float64 `json:"Embedding,omitnil,omitempty" name:"Embedding"` +} + +// Predefined struct for user +type ExportAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 属性ID + AttributeBizIds []*string `json:"AttributeBizIds,omitnil,omitempty" name:"AttributeBizIds"` + + // 根据筛选数据导出 + Filters *AttributeFilters `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +type ExportAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 属性ID + AttributeBizIds []*string `json:"AttributeBizIds,omitnil,omitempty" name:"AttributeBizIds"` + + // 根据筛选数据导出 + Filters *AttributeFilters `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +func (r *ExportAttributeLabelRequest) 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 *ExportAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "AttributeBizIds") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ExportAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ExportAttributeLabelResponseParams struct { + // 导出任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ExportAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *ExportAttributeLabelResponseParams `json:"Response"` +} + +func (r *ExportAttributeLabelResponse) 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 *ExportAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ExportQAListRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // QA业务ID + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` + + // 查询参数 + Filters *QAQuery `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +type ExportQAListRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // QA业务ID + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` + + // 查询参数 + Filters *QAQuery `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +func (r *ExportQAListRequest) 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 *ExportQAListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "QaBizIds") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ExportQAListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ExportQAListResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ExportQAListResponse struct { + *tchttp.BaseResponse + Response *ExportQAListResponseParams `json:"Response"` +} + +func (r *ExportQAListResponse) 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 *ExportQAListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ExportUnsatisfiedReplyRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 勾选导出ID列表 + ReplyBizIds []*string `json:"ReplyBizIds,omitnil,omitempty" name:"ReplyBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 检索过滤器 + Filters *Filters `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +type ExportUnsatisfiedReplyRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 勾选导出ID列表 + ReplyBizIds []*string `json:"ReplyBizIds,omitnil,omitempty" name:"ReplyBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 检索过滤器 + Filters *Filters `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +func (r *ExportUnsatisfiedReplyRequest) 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 *ExportUnsatisfiedReplyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ReplyBizIds") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ExportUnsatisfiedReplyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ExportUnsatisfiedReplyResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ExportUnsatisfiedReplyResponse struct { + *tchttp.BaseResponse + Response *ExportUnsatisfiedReplyResponseParams `json:"Response"` +} + +func (r *ExportUnsatisfiedReplyResponse) 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 *ExportUnsatisfiedReplyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Filters struct { + // 检索,用户问题或答案 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 错误类型检索 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` +} + +// Predefined struct for user +type GenerateQARequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizIds []*string `json:"DocBizIds,omitnil,omitempty" name:"DocBizIds"` +} + +type GenerateQARequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizIds []*string `json:"DocBizIds,omitnil,omitempty" name:"DocBizIds"` +} + +func (r *GenerateQARequest) 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 *GenerateQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GenerateQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GenerateQAResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GenerateQAResponse struct { + *tchttp.BaseResponse + Response *GenerateQAResponseParams `json:"Response"` +} + +func (r *GenerateQAResponse) 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 *GenerateQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetAppKnowledgeCountRequestParams struct { + // 类型:doc-文档;qa-问答对 + Type *string `json:"Type,omitnil,omitempty" name:"Type"` + + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type GetAppKnowledgeCountRequest struct { + *tchttp.BaseRequest + + // 类型:doc-文档;qa-问答对 + Type *string `json:"Type,omitnil,omitempty" name:"Type"` + + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *GetAppKnowledgeCountRequest) 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 *GetAppKnowledgeCountRequest) 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, "AppBizId") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetAppKnowledgeCountRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetAppKnowledgeCountResponseParams struct { + // 总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetAppKnowledgeCountResponse struct { + *tchttp.BaseResponse + Response *GetAppKnowledgeCountResponseParams `json:"Response"` +} + +func (r *GetAppKnowledgeCountResponse) 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 *GetAppKnowledgeCountResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetAppSecretRequestParams struct { + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` +} + +type GetAppSecretRequest struct { + *tchttp.BaseRequest + + // 应用ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` +} + +func (r *GetAppSecretRequest) 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 *GetAppSecretRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetAppSecretRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetAppSecretResponseParams struct { + // 应用密钥 + AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 是否发布 + IsRelease *bool `json:"IsRelease,omitnil,omitempty" name:"IsRelease"` + + // 是否有查看权限 + HasPermission *bool `json:"HasPermission,omitnil,omitempty" name:"HasPermission"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetAppSecretResponse struct { + *tchttp.BaseResponse + Response *GetAppSecretResponseParams `json:"Response"` +} + +func (r *GetAppSecretResponse) 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 *GetAppSecretResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetDocPreviewRequestParams struct { + // 文档业务ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type GetDocPreviewRequest struct { + *tchttp.BaseRequest + + // 文档业务ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *GetDocPreviewRequest) 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 *GetDocPreviewRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "DocBizId") + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetDocPreviewRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetDocPreviewResponseParams struct { + // 文件名 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文件类型 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // cos路径 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // cos临时地址 + Url *string `json:"Url,omitnil,omitempty" name:"Url"` + + // cos桶 + Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetDocPreviewResponse struct { + *tchttp.BaseResponse + Response *GetDocPreviewResponseParams `json:"Response"` +} + +func (r *GetDocPreviewResponse) 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 *GetDocPreviewResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetEmbeddingRequestParams struct { + // 模型名称 + Model *string `json:"Model,omitnil,omitempty" name:"Model"` + + // 需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条 + Inputs []*string `json:"Inputs,omitnil,omitempty" name:"Inputs"` + + // 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false + Online *bool `json:"Online,omitnil,omitempty" name:"Online"` +} + +type GetEmbeddingRequest struct { + *tchttp.BaseRequest + + // 模型名称 + Model *string `json:"Model,omitnil,omitempty" name:"Model"` + + // 需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条 + Inputs []*string `json:"Inputs,omitnil,omitempty" name:"Inputs"` + + // 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false + Online *bool `json:"Online,omitnil,omitempty" name:"Online"` +} + +func (r *GetEmbeddingRequest) 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 *GetEmbeddingRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Model") + delete(f, "Inputs") + delete(f, "Online") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetEmbeddingRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetEmbeddingResponseParams struct { + // 特征 + Data []*EmbeddingObject `json:"Data,omitnil,omitempty" name:"Data"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetEmbeddingResponse struct { + *tchttp.BaseResponse + Response *GetEmbeddingResponseParams `json:"Response"` +} + +func (r *GetEmbeddingResponse) 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 *GetEmbeddingResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetMsgRecordRequestParams struct { + // 类型 + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 数量 + Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` + + // 会话sessionid + SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` + + // 最后一条记录ID + LastRecordId *string `json:"LastRecordId,omitnil,omitempty" name:"LastRecordId"` + + // 机器人AppKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` +} + +type GetMsgRecordRequest struct { + *tchttp.BaseRequest + + // 类型 + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 数量 + Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` + + // 会话sessionid + SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` + + // 最后一条记录ID + LastRecordId *string `json:"LastRecordId,omitnil,omitempty" name:"LastRecordId"` + + // 机器人AppKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` +} + +func (r *GetMsgRecordRequest) 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 *GetMsgRecordRequest) 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, "Count") + delete(f, "SessionId") + delete(f, "LastRecordId") + delete(f, "BotAppKey") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetMsgRecordRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetMsgRecordResponseParams struct { + // 会话记录 + Records []*MsgRecord `json:"Records,omitnil,omitempty" name:"Records"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetMsgRecordResponse struct { + *tchttp.BaseResponse + Response *GetMsgRecordResponseParams `json:"Response"` +} + +func (r *GetMsgRecordResponse) 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 *GetMsgRecordResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetTaskStatusRequestParams struct { + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 任务类型 + TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type GetTaskStatusRequest struct { + *tchttp.BaseRequest + + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 任务类型 + TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *GetTaskStatusRequest) 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 *GetTaskStatusRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "TaskId") + delete(f, "TaskType") + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskStatusRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetTaskStatusResponseParams struct { + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 任务类型 + TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` + + // 任务状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *string `json:"Status,omitnil,omitempty" name:"Status"` + + // 任务消息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Message *string `json:"Message,omitnil,omitempty" name:"Message"` + + // 任务参数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Params *TaskParams `json:"Params,omitnil,omitempty" name:"Params"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetTaskStatusResponse struct { + *tchttp.BaseResponse + Response *GetTaskStatusResponseParams `json:"Response"` +} + +func (r *GetTaskStatusResponse) 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 *GetTaskStatusResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GetWsTokenReq_Label struct { + // 标签名 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 标签值 + Values []*string `json:"Values,omitnil,omitempty" name:"Values"` +} + +// Predefined struct for user +type GetWsTokenRequestParams struct { + // 接入类型 + Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 机器人AppKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` + + // 坐席ID + VisitorBizId *string `json:"VisitorBizId,omitnil,omitempty" name:"VisitorBizId"` + + // 坐席标签 + VisitorLabels []*GetWsTokenReq_Label `json:"VisitorLabels,omitnil,omitempty" name:"VisitorLabels"` +} + +type GetWsTokenRequest struct { + *tchttp.BaseRequest + + // 接入类型 + Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 机器人AppKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` + + // 坐席ID + VisitorBizId *string `json:"VisitorBizId,omitnil,omitempty" name:"VisitorBizId"` + + // 坐席标签 + VisitorLabels []*GetWsTokenReq_Label `json:"VisitorLabels,omitnil,omitempty" name:"VisitorLabels"` +} + +func (r *GetWsTokenRequest) 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 *GetWsTokenRequest) 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, "BotAppKey") + delete(f, "VisitorBizId") + delete(f, "VisitorLabels") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetWsTokenRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GetWsTokenResponseParams struct { + // token值 + Token *string `json:"Token,omitnil,omitempty" name:"Token"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GetWsTokenResponse struct { + *tchttp.BaseResponse + Response *GetWsTokenResponseParams `json:"Response"` +} + +func (r *GetWsTokenResponse) 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 *GetWsTokenResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GroupQARequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // QA业务ID列表 + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` + + // 分组 ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` +} + +type GroupQARequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // QA业务ID列表 + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` + + // 分组 ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` +} + +func (r *GroupQARequest) 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 *GroupQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "QaBizIds") + delete(f, "CateBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GroupQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GroupQAResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GroupQAResponse struct { + *tchttp.BaseResponse + Response *GroupQAResponseParams `json:"Response"` +} + +func (r *GroupQAResponse) 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 *GroupQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Highlight struct { + // 高亮启始位置 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + StartPos *string `json:"StartPos,omitnil,omitempty" name:"StartPos"` + + // 高亮结束位置 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + EndPos *string `json:"EndPos,omitnil,omitempty" name:"EndPos"` + + // 高亮子文本 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + Text *string `json:"Text,omitnil,omitempty" name:"Text"` +} + +// Predefined struct for user +type IgnoreUnsatisfiedReplyRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 不满意回复ID + ReplyBizIds []*string `json:"ReplyBizIds,omitnil,omitempty" name:"ReplyBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type IgnoreUnsatisfiedReplyRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 不满意回复ID + ReplyBizIds []*string `json:"ReplyBizIds,omitnil,omitempty" name:"ReplyBizIds"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *IgnoreUnsatisfiedReplyRequest) 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 *IgnoreUnsatisfiedReplyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ReplyBizIds") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "IgnoreUnsatisfiedReplyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type IgnoreUnsatisfiedReplyResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type IgnoreUnsatisfiedReplyResponse struct { + *tchttp.BaseResponse + Response *IgnoreUnsatisfiedReplyResponseParams `json:"Response"` +} + +func (r *IgnoreUnsatisfiedReplyResponse) 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 *IgnoreUnsatisfiedReplyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type IsTransferIntentRequestParams struct { + // 内容 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` + + // 机器人appKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` +} + +type IsTransferIntentRequest struct { + *tchttp.BaseRequest + + // 内容 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` + + // 机器人appKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` +} + +func (r *IsTransferIntentRequest) 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 *IsTransferIntentRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Content") + delete(f, "BotAppKey") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "IsTransferIntentRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type IsTransferIntentResponseParams struct { + // 是否意图转人工 + Hit *bool `json:"Hit,omitnil,omitempty" name:"Hit"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type IsTransferIntentResponse struct { + *tchttp.BaseResponse + Response *IsTransferIntentResponseParams `json:"Response"` +} + +func (r *IsTransferIntentResponse) 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 *IsTransferIntentResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type KnowledgeQaConfig struct { + // 欢迎语,200字符以内 + // 注意:此字段可能返回 null,表示取不到有效值。 + Greeting *string `json:"Greeting,omitnil,omitempty" name:"Greeting"` + + // 角色描述,300字符以内 + // 注意:此字段可能返回 null,表示取不到有效值。 + RoleDescription *string `json:"RoleDescription,omitnil,omitempty" name:"RoleDescription"` + + // 模型配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Model *AppModel `json:"Model,omitnil,omitempty" name:"Model"` + + // 知识搜索配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Search []*KnowledgeQaSearch `json:"Search,omitnil,omitempty" name:"Search"` + + // 知识管理输出配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Output *KnowledgeQaOutput `json:"Output,omitnil,omitempty" name:"Output"` +} + +type KnowledgeQaOutput struct { + // 输出方式 1:流式 2:非流式 + // 注意:此字段可能返回 null,表示取不到有效值。 + Method *uint64 `json:"Method,omitnil,omitempty" name:"Method"` + + // 通用模型回复 + // 注意:此字段可能返回 null,表示取不到有效值。 + UseGeneralKnowledge *bool `json:"UseGeneralKnowledge,omitnil,omitempty" name:"UseGeneralKnowledge"` + + // 未知回复语,300字符以内 + // 注意:此字段可能返回 null,表示取不到有效值。 + BareAnswer *string `json:"BareAnswer,omitnil,omitempty" name:"BareAnswer"` +} + +type KnowledgeQaSearch struct { + // 知识来源 doc:文档,qa:问答 taskflow:业务流程,search:搜索增强 + // 注意:此字段可能返回 null,表示取不到有效值。 + Type *string `json:"Type,omitnil,omitempty" name:"Type"` + + // 问答-回复灵活度 1:已采纳答案直接回复 2:已采纳润色后回复 + // 注意:此字段可能返回 null,表示取不到有效值。 + ReplyFlexibility *uint64 `json:"ReplyFlexibility,omitnil,omitempty" name:"ReplyFlexibility"` + + // 搜索增强-搜索引擎状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + UseSearchEngine *bool `json:"UseSearchEngine,omitnil,omitempty" name:"UseSearchEngine"` + + // 是否显示搜索引擎检索状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + ShowSearchEngine *bool `json:"ShowSearchEngine,omitnil,omitempty" name:"ShowSearchEngine"` + + // 知识来源,是否选择 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsEnabled *bool `json:"IsEnabled,omitnil,omitempty" name:"IsEnabled"` + + // 问答最大召回数量, 默认2,限制5 + // 注意:此字段可能返回 null,表示取不到有效值。 + QaTopN *uint64 `json:"QaTopN,omitnil,omitempty" name:"QaTopN"` + + // 文档最大召回数量, 默认3,限制5 + // 注意:此字段可能返回 null,表示取不到有效值。 + DocTopN *uint64 `json:"DocTopN,omitnil,omitempty" name:"DocTopN"` +} + +type Label struct { + // 标签ID + // 注意:此字段可能返回 null,表示取不到有效值。 + LabelBizId *string `json:"LabelBizId,omitnil,omitempty" name:"LabelBizId"` + + // 标签名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` +} + +// Predefined struct for user +type ListAppCategoryRequestParams struct { + +} + +type ListAppCategoryRequest struct { + *tchttp.BaseRequest + +} + +func (r *ListAppCategoryRequest) 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 *ListAppCategoryRequest) 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", "ListAppCategoryRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListAppCategoryResponseParams struct { + // 应用类型列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + List []*ListAppCategoryRspOption `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListAppCategoryResponse struct { + *tchttp.BaseResponse + Response *ListAppCategoryResponseParams `json:"Response"` +} + +func (r *ListAppCategoryResponse) 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 *ListAppCategoryResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ListAppCategoryRspOption struct { + // 类型名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Text *string `json:"Text,omitnil,omitempty" name:"Text"` + + // 类型值 + // 注意:此字段可能返回 null,表示取不到有效值。 + Value *string `json:"Value,omitnil,omitempty" name:"Value"` + + // 类型log + // 注意:此字段可能返回 null,表示取不到有效值。 + Logo *string `json:"Logo,omitnil,omitempty" name:"Logo"` +} + +// Predefined struct for user +type ListAppRequestParams struct { + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 每页数目,整型 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 页码,整型 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 关键词:应用/修改人 + Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type ListAppRequest struct { + *tchttp.BaseRequest + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 每页数目,整型 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 页码,整型 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 关键词:应用/修改人 + Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *ListAppRequest) 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 *ListAppRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppType") + delete(f, "PageSize") + delete(f, "PageNumber") + delete(f, "Keyword") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListAppRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListAppResponseParams struct { + // 数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 标签列表 + List []*AppInfo `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListAppResponse struct { + *tchttp.BaseResponse + Response *ListAppResponseParams `json:"Response"` +} + +func (r *ListAppResponse) 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 *ListAppResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` +} + +type ListAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` +} + +func (r *ListAttributeLabelRequest) 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 *ListAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "Query") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListAttributeLabelResponseParams struct { + // 总数 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 列表 + List []*AttrLabelDetail `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *ListAttributeLabelResponseParams `json:"Response"` +} + +func (r *ListAttributeLabelResponse) 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 *ListAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ListDocItem struct { + // 文档ID + // 注意:此字段可能返回 null,表示取不到有效值。 + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 文件名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文件类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // cos路径 + // 注意:此字段可能返回 null,表示取不到有效值。 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // 更新时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 文档状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 文档状态描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 原因 + // 注意:此字段可能返回 null,表示取不到有效值。 + Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` + + // 答案中是否引用 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 问答对数量 + // 注意:此字段可能返回 null,表示取不到有效值。 + QaNum *int64 `json:"QaNum,omitnil,omitempty" name:"QaNum"` + + // 是否已删除 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsDeleted *bool `json:"IsDeleted,omitnil,omitempty" name:"IsDeleted"` + + // 文档来源 + // 注意:此字段可能返回 null,表示取不到有效值。 + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 文档来源描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + SourceDesc *string `json:"SourceDesc,omitnil,omitempty" name:"SourceDesc"` + + // 是否允许重新生成 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsAllowRestart *bool `json:"IsAllowRestart,omitnil,omitempty" name:"IsAllowRestart"` + + // qa是否已删除 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsDeletedQa *bool `json:"IsDeletedQa,omitnil,omitempty" name:"IsDeletedQa"` + + // 问答是否生成中 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsCreatingQa *bool `json:"IsCreatingQa,omitnil,omitempty" name:"IsCreatingQa"` + + // 是否允许删除 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsAllowDelete *bool `json:"IsAllowDelete,omitnil,omitempty" name:"IsAllowDelete"` + + // 是否允许操作引用开关 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsAllowRefer *bool `json:"IsAllowRefer,omitnil,omitempty" name:"IsAllowRefer"` + + // 问答是否生成过 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsCreatedQa *bool `json:"IsCreatedQa,omitnil,omitempty" name:"IsCreatedQa"` + + // 文档字符量 + // 注意:此字段可能返回 null,表示取不到有效值。 + DocCharSize *string `json:"DocCharSize,omitnil,omitempty" name:"DocCharSize"` + + // 属性标签适用范围 + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签 + // 注意:此字段可能返回 null,表示取不到有效值。 + AttrLabels []*AttrLabel `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 是否允许编辑 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsAllowEdit *bool `json:"IsAllowEdit,omitnil,omitempty" name:"IsAllowEdit"` + + // 外部引用链接类型 0:系统链接 1:自定义链接 + // 值为1时,WebUrl 字段不能为空,否则不生效。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ReferUrlType *uint64 `json:"ReferUrlType,omitnil,omitempty" name:"ReferUrlType"` + + // 网页(或自定义链接)地址 + // 注意:此字段可能返回 null,表示取不到有效值。 + WebUrl *string `json:"WebUrl,omitnil,omitempty" name:"WebUrl"` + + // 有效开始时间,unix时间戳 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +// Predefined struct for user +type ListDocRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 文档状态: 7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期 + Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"` +} + +type ListDocRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 文档状态: 7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期 + Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"` +} + +func (r *ListDocRequest) 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 *ListDocRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + delete(f, "Status") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListDocResponseParams struct { + // 文档数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 文档列表 + List []*ListDocItem `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListDocResponse struct { + *tchttp.BaseResponse + Response *ListDocResponseParams `json:"Response"` +} + +func (r *ListDocResponse) 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 *ListDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListModelRequestParams struct { + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type ListModelRequest struct { + *tchttp.BaseRequest + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *ListModelRequest) 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 *ListModelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppType") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListModelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListModelResponseParams struct { + // 模型列表 + List []*ModelInfo `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListModelResponse struct { + *tchttp.BaseResponse + Response *ListModelResponseParams `json:"Response"` +} + +func (r *ListModelResponse) 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 *ListModelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListQACateRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +type ListQACateRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` +} + +func (r *ListQACateRequest) 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 *ListQACateRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListQACateRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListQACateResponseParams struct { + // 列表 + List []*QACate `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListQACateResponse struct { + *tchttp.BaseResponse + Response *ListQACateResponseParams `json:"Response"` +} + +func (r *ListQACateResponse) 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 *ListQACateResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListQARequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页大小 + PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询问题 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 校验状态(1未校验2采纳3不采纳) + AcceptStatus []*int64 `json:"AcceptStatus,omitnil,omitempty" name:"AcceptStatus"` + + // 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败) + ReleaseStatus []*int64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 来源(1 文档生成 2 批量导入 3 手动添加) + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 查询答案 + QueryAnswer *string `json:"QueryAnswer,omitnil,omitempty" name:"QueryAnswer"` + + // QA业务ID列表 + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` +} + +type ListQARequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页大小 + PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询问题 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 校验状态(1未校验2采纳3不采纳) + AcceptStatus []*int64 `json:"AcceptStatus,omitnil,omitempty" name:"AcceptStatus"` + + // 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败) + ReleaseStatus []*int64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 来源(1 文档生成 2 批量导入 3 手动添加) + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 查询答案 + QueryAnswer *string `json:"QueryAnswer,omitnil,omitempty" name:"QueryAnswer"` + + // QA业务ID列表 + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` +} + +func (r *ListQARequest) 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 *ListQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + delete(f, "AcceptStatus") + delete(f, "ReleaseStatus") + delete(f, "DocBizId") + delete(f, "Source") + delete(f, "QueryAnswer") + delete(f, "QaBizIds") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListQAResponseParams struct { + // 问答数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 待校验问答数量 + WaitVerifyTotal *string `json:"WaitVerifyTotal,omitnil,omitempty" name:"WaitVerifyTotal"` + + // 未采纳问答数量 + NotAcceptedTotal *string `json:"NotAcceptedTotal,omitnil,omitempty" name:"NotAcceptedTotal"` + + // 已采纳问答数量 + AcceptedTotal *string `json:"AcceptedTotal,omitnil,omitempty" name:"AcceptedTotal"` + + // 页码 + PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 问答详情 + List []*ListQaItem `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListQAResponse struct { + *tchttp.BaseResponse + Response *ListQAResponseParams `json:"Response"` +} + +func (r *ListQAResponse) 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 *ListQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ListQaItem struct { + // 问答ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 来源 + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 来源描述 + SourceDesc *string `json:"SourceDesc,omitnil,omitempty" name:"SourceDesc"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 状态 + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 状态描述 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 是否允许编辑 + IsAllowEdit *bool `json:"IsAllowEdit,omitnil,omitempty" name:"IsAllowEdit"` + + // 是否允许删除 + IsAllowDelete *bool `json:"IsAllowDelete,omitnil,omitempty" name:"IsAllowDelete"` + + // 是否允许校验 + IsAllowAccept *bool `json:"IsAllowAccept,omitnil,omitempty" name:"IsAllowAccept"` + + // 文档名称 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文档类型 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // 问答字符数 + QaCharSize *string `json:"QaCharSize,omitnil,omitempty" name:"QaCharSize"` +} + +// Predefined struct for user +type ListRejectedQuestionPreviewRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布单ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 状态(1新增2更新3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` +} + +type ListRejectedQuestionPreviewRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布单ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 状态(1新增2更新3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` +} + +func (r *ListRejectedQuestionPreviewRequest) 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 *ListRejectedQuestionPreviewRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + delete(f, "ReleaseBizId") + delete(f, "Actions") + delete(f, "StartTime") + delete(f, "EndTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListRejectedQuestionPreviewRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListRejectedQuestionPreviewResponseParams struct { + // 文档数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 文档列表 + List []*ReleaseRejectedQuestion `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListRejectedQuestionPreviewResponse struct { + *tchttp.BaseResponse + Response *ListRejectedQuestionPreviewResponseParams `json:"Response"` +} + +func (r *ListRejectedQuestionPreviewResponse) 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 *ListRejectedQuestionPreviewResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListRejectedQuestionRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` +} + +type ListRejectedQuestionRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` +} + +func (r *ListRejectedQuestionRequest) 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 *ListRejectedQuestionRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListRejectedQuestionRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListRejectedQuestionResponseParams struct { + // 总数 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 拒答问题列表 + List []*RejectedQuestion `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListRejectedQuestionResponse struct { + *tchttp.BaseResponse + Response *ListRejectedQuestionResponseParams `json:"Response"` +} + +func (r *ListRejectedQuestionResponse) 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 *ListRejectedQuestionResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseConfigPreviewRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布单ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 状态(1新增2更新3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 发布状态 + ReleaseStatus []*uint64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` +} + +type ListReleaseConfigPreviewRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布单ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 状态(1新增2更新3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 发布状态 + ReleaseStatus []*uint64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` +} + +func (r *ListReleaseConfigPreviewRequest) 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 *ListReleaseConfigPreviewRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + delete(f, "ReleaseBizId") + delete(f, "Actions") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "ReleaseStatus") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListReleaseConfigPreviewRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseConfigPreviewResponseParams struct { + // 数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 配置项列表 + List []*ReleaseConfigs `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListReleaseConfigPreviewResponse struct { + *tchttp.BaseResponse + Response *ListReleaseConfigPreviewResponseParams `json:"Response"` +} + +func (r *ListReleaseConfigPreviewResponse) 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 *ListReleaseConfigPreviewResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseDocPreviewRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布业务ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 状态(1新增2修改3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` +} + +type ListReleaseDocPreviewRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布业务ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 状态(1新增2修改3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` +} + +func (r *ListReleaseDocPreviewRequest) 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 *ListReleaseDocPreviewRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + delete(f, "ReleaseBizId") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "Actions") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListReleaseDocPreviewRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseDocPreviewResponseParams struct { + // 文档数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 文档列表 + List []*ReleaseDoc `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListReleaseDocPreviewResponse struct { + *tchttp.BaseResponse + Response *ListReleaseDocPreviewResponseParams `json:"Response"` +} + +func (r *ListReleaseDocPreviewResponse) 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 *ListReleaseDocPreviewResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ListReleaseItem struct { + // 版本ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 发布人 + Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` + + // 发布描述 + Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 发布状态 + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 发布状态描述 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 失败原因 + Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` + + // 发布成功数 + SuccessCount *int64 `json:"SuccessCount,omitnil,omitempty" name:"SuccessCount"` + + // 发布失败数 + FailCount *int64 `json:"FailCount,omitnil,omitempty" name:"FailCount"` +} + +// Predefined struct for user +type ListReleaseQAPreviewRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布单ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 状态(1新增2修改3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` + + // 发布状态(4发布成功5发布失败) + ReleaseStatus []*uint64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` +} + +type ListReleaseQAPreviewRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 发布单ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` + + // 开始时间 + StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` + + // 状态(1新增2修改3删除) + Actions []*uint64 `json:"Actions,omitnil,omitempty" name:"Actions"` + + // 发布状态(4发布成功5发布失败) + ReleaseStatus []*uint64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` +} + +func (r *ListReleaseQAPreviewRequest) 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 *ListReleaseQAPreviewRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "Query") + delete(f, "ReleaseBizId") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "Actions") + delete(f, "ReleaseStatus") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListReleaseQAPreviewRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseQAPreviewResponseParams struct { + // 文档数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 文档列表 + List []*ReleaseQA `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListReleaseQAPreviewResponse struct { + *tchttp.BaseResponse + Response *ListReleaseQAPreviewResponseParams `json:"Response"` +} + +func (r *ListReleaseQAPreviewResponse) 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 *ListReleaseQAPreviewResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` +} + +type ListReleaseRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` +} + +func (r *ListReleaseRequest) 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 *ListReleaseRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListReleaseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListReleaseResponseParams struct { + // 发布列表数量 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 发布列表 + List []*ListReleaseItem `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListReleaseResponse struct { + *tchttp.BaseResponse + Response *ListReleaseResponseParams `json:"Response"` +} + +func (r *ListReleaseResponse) 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 *ListReleaseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListSelectDocRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档名称 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文档状态: 7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期 + Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"` +} + +type ListSelectDocRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档名称 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文档状态: 7 审核中、8 审核失败、10 待发布、11 发布中、12 已发布、13 学习中、14 学习失败 20 已过期 + Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"` +} + +func (r *ListSelectDocRequest) 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 *ListSelectDocRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "FileName") + delete(f, "Status") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListSelectDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListSelectDocResponseParams struct { + // 下拉框内容 + List []*Option `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListSelectDocResponse struct { + *tchttp.BaseResponse + Response *ListSelectDocResponseParams `json:"Response"` +} + +func (r *ListSelectDocResponse) 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 *ListSelectDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListUnsatisfiedReplyRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 分页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 用户请求(问题或答案) + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 错误类型检索 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` +} + +type ListUnsatisfiedReplyRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 页码 + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 分页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 用户请求(问题或答案) + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 错误类型检索 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` +} + +func (r *ListUnsatisfiedReplyRequest) 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 *ListUnsatisfiedReplyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "PageNumber") + delete(f, "PageSize") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "Query") + delete(f, "Reasons") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListUnsatisfiedReplyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListUnsatisfiedReplyResponseParams struct { + // 总数 + Total *string `json:"Total,omitnil,omitempty" name:"Total"` + + // 不满意回复列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + List []*UnsatisfiedReply `json:"List,omitnil,omitempty" name:"List"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListUnsatisfiedReplyResponse struct { + *tchttp.BaseResponse + Response *ListUnsatisfiedReplyResponseParams `json:"Response"` +} + +func (r *ListUnsatisfiedReplyResponse) 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 *ListUnsatisfiedReplyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Message struct { + // role表示角色 user标识用户提问,assistant标识返回的答案 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + Role *string `json:"Role,omitnil,omitempty" name:"Role"` + + // 对话内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` +} + +type ModelInfo struct { + // 模型名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` + + // 模型描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + ModelDesc *string `json:"ModelDesc,omitnil,omitempty" name:"ModelDesc"` + + // 模型名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` +} + +// Predefined struct for user +type ModifyAppRequestParams struct { + // 应用 ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 应用基础配置 + BaseConfig *BaseConfig `json:"BaseConfig,omitnil,omitempty" name:"BaseConfig"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 应用配置 + AppConfig *AppConfig `json:"AppConfig,omitnil,omitempty" name:"AppConfig"` +} + +type ModifyAppRequest struct { + *tchttp.BaseRequest + + // 应用 ID + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取 + AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` + + // 应用基础配置 + BaseConfig *BaseConfig `json:"BaseConfig,omitnil,omitempty" name:"BaseConfig"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 应用配置 + AppConfig *AppConfig `json:"AppConfig,omitnil,omitempty" name:"AppConfig"` +} + +func (r *ModifyAppRequest) 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 *ModifyAppRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AppBizId") + delete(f, "AppType") + delete(f, "BaseConfig") + delete(f, "LoginSubAccountUin") + delete(f, "AppConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyAppRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyAppResponseParams struct { + // 应用App + // 注意:此字段可能返回 null,表示取不到有效值。 + AppBizId *string `json:"AppBizId,omitnil,omitempty" name:"AppBizId"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyAppResponse struct { + *tchttp.BaseResponse + Response *ModifyAppResponseParams `json:"Response"` +} + +func (r *ModifyAppResponse) 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 *ModifyAppResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 属性标识 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 删除的属性标签 + DeleteLabelBizIds []*string `json:"DeleteLabelBizIds,omitnil,omitempty" name:"DeleteLabelBizIds"` + + // 新增或编辑的属性标签 + Labels []*AttributeLabel `json:"Labels,omitnil,omitempty" name:"Labels"` +} + +type ModifyAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 属性ID + AttributeBizId *string `json:"AttributeBizId,omitnil,omitempty" name:"AttributeBizId"` + + // 属性标识 + AttrKey *string `json:"AttrKey,omitnil,omitempty" name:"AttrKey"` + + // 属性名称 + AttrName *string `json:"AttrName,omitnil,omitempty" name:"AttrName"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 删除的属性标签 + DeleteLabelBizIds []*string `json:"DeleteLabelBizIds,omitnil,omitempty" name:"DeleteLabelBizIds"` + + // 新增或编辑的属性标签 + Labels []*AttributeLabel `json:"Labels,omitnil,omitempty" name:"Labels"` +} + +func (r *ModifyAttributeLabelRequest) 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 *ModifyAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "AttributeBizId") + delete(f, "AttrKey") + delete(f, "AttrName") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "DeleteLabelBizIds") + delete(f, "Labels") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyAttributeLabelResponseParams struct { + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *ModifyAttributeLabelResponseParams `json:"Response"` +} + +func (r *ModifyAttributeLabelResponse) 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 *ModifyAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyDocAttrRangeRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizIds []*string `json:"DocBizIds,omitnil,omitempty" name:"DocBizIds"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` +} + +type ModifyDocAttrRangeRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizIds []*string `json:"DocBizIds,omitnil,omitempty" name:"DocBizIds"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` +} + +func (r *ModifyDocAttrRangeRequest) 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 *ModifyDocAttrRangeRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizIds") + delete(f, "AttrRange") + delete(f, "AttrLabels") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDocAttrRangeRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyDocAttrRangeResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyDocAttrRangeResponse struct { + *tchttp.BaseResponse + Response *ModifyDocAttrRangeResponseParams `json:"Response"` +} + +func (r *ModifyDocAttrRangeResponse) 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 *ModifyDocAttrRangeResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyDocRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 是否引用链接 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 适用范围,关联的属性标签 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 网页(或自定义链接)地址 + WebUrl *string `json:"WebUrl,omitnil,omitempty" name:"WebUrl"` + + // 外部引用链接类型 0:系统链接 1:自定义链接 + // 值为1时,WebUrl 字段不能为空,否则不生效。 + ReferUrlType *uint64 `json:"ReferUrlType,omitnil,omitempty" name:"ReferUrlType"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +type ModifyDocRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 是否引用链接 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` + + // 适用范围,关联的属性标签 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 网页(或自定义链接)地址 + WebUrl *string `json:"WebUrl,omitnil,omitempty" name:"WebUrl"` + + // 外部引用链接类型 0:系统链接 1:自定义链接 + // 值为1时,WebUrl 字段不能为空,否则不生效。 + ReferUrlType *uint64 `json:"ReferUrlType,omitnil,omitempty" name:"ReferUrlType"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +func (r *ModifyDocRequest) 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 *ModifyDocRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizId") + delete(f, "IsRefer") + delete(f, "AttrRange") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + delete(f, "AttrLabels") + delete(f, "WebUrl") + delete(f, "ReferUrlType") + delete(f, "ExpireStart") + delete(f, "ExpireEnd") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyDocResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyDocResponse struct { + *tchttp.BaseResponse + Response *ModifyDocResponseParams `json:"Response"` +} + +func (r *ModifyDocResponse) 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 *ModifyDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyQAAttrRangeRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问答ID + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` +} + +type ModifyQAAttrRangeRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问答ID + QaBizIds []*string `json:"QaBizIds,omitnil,omitempty" name:"QaBizIds"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` +} + +func (r *ModifyQAAttrRangeRequest) 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 *ModifyQAAttrRangeRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "QaBizIds") + delete(f, "AttrRange") + delete(f, "AttrLabels") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyQAAttrRangeRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyQAAttrRangeResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyQAAttrRangeResponse struct { + *tchttp.BaseResponse + Response *ModifyQAAttrRangeResponseParams `json:"Response"` +} + +func (r *ModifyQAAttrRangeResponse) 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 *ModifyQAAttrRangeResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyQACateRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 分类名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 分类业务ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` +} + +type ModifyQACateRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 分类名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 分类业务ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` +} + +func (r *ModifyQACateRequest) 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 *ModifyQACateRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "Name") + delete(f, "CateBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyQACateRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyQACateResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyQACateResponse struct { + *tchttp.BaseResponse + Response *ModifyQACateResponseParams `json:"Response"` +} + +func (r *ModifyQACateResponse) 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 *ModifyQACateResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyQARequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问答ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 自定义参数 + CustomParam *string `json:"CustomParam,omitnil,omitempty" name:"CustomParam"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +type ModifyQARequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 问答ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 自定义参数 + CustomParam *string `json:"CustomParam,omitnil,omitempty" name:"CustomParam"` + + // 属性标签适用范围 1:全部,2:按条件 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` +} + +func (r *ModifyQARequest) 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 *ModifyQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "QaBizId") + delete(f, "Question") + delete(f, "Answer") + delete(f, "CustomParam") + delete(f, "AttrRange") + delete(f, "AttrLabels") + delete(f, "DocBizId") + delete(f, "CateBizId") + delete(f, "ExpireStart") + delete(f, "ExpireEnd") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyQAResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyQAResponse struct { + *tchttp.BaseResponse + Response *ModifyQAResponseParams `json:"Response"` +} + +func (r *ModifyQAResponse) 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 *ModifyQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyRejectedQuestionRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 拒答问题 + // + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 拒答问题来源的数据源唯一id + // + // + RejectedBizId *string `json:"RejectedBizId,omitnil,omitempty" name:"RejectedBizId"` +} + +type ModifyRejectedQuestionRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 拒答问题 + // + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 拒答问题来源的数据源唯一id + // + // + RejectedBizId *string `json:"RejectedBizId,omitnil,omitempty" name:"RejectedBizId"` +} + +func (r *ModifyRejectedQuestionRequest) 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 *ModifyRejectedQuestionRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "Question") + delete(f, "RejectedBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyRejectedQuestionRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ModifyRejectedQuestionResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ModifyRejectedQuestionResponse struct { + *tchttp.BaseResponse + Response *ModifyRejectedQuestionResponseParams `json:"Response"` +} + +func (r *ModifyRejectedQuestionResponse) 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 *ModifyRejectedQuestionResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type MsgRecord struct { + // 内容 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` + + // 记录ID + RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` + + // 关联记录ID + RelatedRecordId *string `json:"RelatedRecordId,omitnil,omitempty" name:"RelatedRecordId"` + + // 是否来自自己 + IsFromSelf *bool `json:"IsFromSelf,omitnil,omitempty" name:"IsFromSelf"` + + // 发送者名称 + FromName *string `json:"FromName,omitnil,omitempty" name:"FromName"` + + // 发送者头像 + FromAvatar *string `json:"FromAvatar,omitnil,omitempty" name:"FromAvatar"` + + // 时间戳 + Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` + + // 是否已读 + HasRead *bool `json:"HasRead,omitnil,omitempty" name:"HasRead"` + + // 评价 + Score *uint64 `json:"Score,omitnil,omitempty" name:"Score"` + + // 是否评分 + CanRating *bool `json:"CanRating,omitnil,omitempty" name:"CanRating"` + + // 记录类型 + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 引用来源 + References []*MsgRecordReference `json:"References,omitnil,omitempty" name:"References"` + + // 评价原因 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` + + // 是否大模型 + IsLlmGenerated *bool `json:"IsLlmGenerated,omitnil,omitempty" name:"IsLlmGenerated"` +} + +type MsgRecordReference struct { + // id + Id *string `json:"Id,omitnil,omitempty" name:"Id"` + + // 链接 + Url *string `json:"Url,omitnil,omitempty" name:"Url"` + + // 类型 + Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` + + // 名称 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 来源文档ID + DocId *string `json:"DocId,omitnil,omitempty" name:"DocId"` +} + +type Option struct { + // 文本 + // 注意:此字段可能返回 null,表示取不到有效值。 + Text *string `json:"Text,omitnil,omitempty" name:"Text"` + + // 值 + // 注意:此字段可能返回 null,表示取不到有效值。 + Value *string `json:"Value,omitnil,omitempty" name:"Value"` + + // 文件字符数 + // 注意:此字段可能返回 null,表示取不到有效值。 + CharSize *string `json:"CharSize,omitnil,omitempty" name:"CharSize"` + + // 文件类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` +} + +// Predefined struct for user +type ParseDocRequestParams struct { + // 文件名称(需要包括文件后缀, 最大长度1024字节) + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 文件下载链接 (支持的文件类型: docx, txt, markdown, pdf) + Url *string `json:"Url,omitnil,omitempty" name:"Url"` + + // 任务ID, 用于幂等去重, 业务自行定义(最大长度64字节) + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 切分策略 + Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"` + + // 默认值: split + Operate *string `json:"Operate,omitnil,omitempty" name:"Operate"` +} + +type ParseDocRequest struct { + *tchttp.BaseRequest + + // 文件名称(需要包括文件后缀, 最大长度1024字节) + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 文件下载链接 (支持的文件类型: docx, txt, markdown, pdf) + Url *string `json:"Url,omitnil,omitempty" name:"Url"` + + // 任务ID, 用于幂等去重, 业务自行定义(最大长度64字节) + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 切分策略 + Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"` + + // 默认值: split + Operate *string `json:"Operate,omitnil,omitempty" name:"Operate"` +} + +func (r *ParseDocRequest) 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 *ParseDocRequest) 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, "Url") + delete(f, "TaskId") + delete(f, "Policy") + delete(f, "Operate") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ParseDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ParseDocResponseParams struct { + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ParseDocResponse struct { + *tchttp.BaseResponse + Response *ParseDocResponseParams `json:"Response"` +} + +func (r *ParseDocResponse) 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 *ParseDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type QACate struct { + // QA分类的业务ID + // 注意:此字段可能返回 null,表示取不到有效值。 + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 分类名称 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 分类下QA数量 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` + + // 是否可新增 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + CanAdd *bool `json:"CanAdd,omitnil,omitempty" name:"CanAdd"` + + // 是否可编辑 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + CanEdit *bool `json:"CanEdit,omitnil,omitempty" name:"CanEdit"` + + // 是否可删除 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + CanDelete *bool `json:"CanDelete,omitnil,omitempty" name:"CanDelete"` + + // 子分类 + // 注意:此字段可能返回 null,表示取不到有效值。 + Children []*QACate `json:"Children,omitnil,omitempty" name:"Children"` +} + +type QAList struct { + // 问答ID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 是否采纳 + IsAccepted *bool `json:"IsAccepted,omitnil,omitempty" name:"IsAccepted"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` +} + +type QAQuery struct { + // 页码 + // + PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"` + + // 每页数量 + PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 查询内容 + Query *string `json:"Query,omitnil,omitempty" name:"Query"` + + // 分类ID + CateBizId *string `json:"CateBizId,omitnil,omitempty" name:"CateBizId"` + + // 校验状态 + AcceptStatus []*uint64 `json:"AcceptStatus,omitnil,omitempty" name:"AcceptStatus"` + + // 发布状态 + ReleaseStatus []*uint64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // QAID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 来源 + Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 查询答案 + QueryAnswer *string `json:"QueryAnswer,omitnil,omitempty" name:"QueryAnswer"` +} + +// Predefined struct for user +type QueryParseDocResultRequestParams struct { + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` +} + +type QueryParseDocResultRequest struct { + *tchttp.BaseRequest + + // 任务ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` +} + +func (r *QueryParseDocResultRequest) 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 *QueryParseDocResultRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "TaskId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryParseDocResultRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type QueryParseDocResultResponseParams struct { + // 等待 / 执行中 / 成功 / 失败 + Status *string `json:"Status,omitnil,omitempty" name:"Status"` + + // 解析后的文件内容 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // 文件下载地址 + Url *string `json:"Url,omitnil,omitempty" name:"Url"` + + // 解析失败原因 + Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type QueryParseDocResultResponse struct { + *tchttp.BaseResponse + Response *QueryParseDocResultResponseParams `json:"Response"` +} + +func (r *QueryParseDocResultResponse) 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 *QueryParseDocResultResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type QueryRewriteRequestParams struct { + // 需要改写的问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 需要改写的多轮历史会话 + Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` + + // 模型名称 + Model *string `json:"Model,omitnil,omitempty" name:"Model"` +} + +type QueryRewriteRequest struct { + *tchttp.BaseRequest + + // 需要改写的问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 需要改写的多轮历史会话 + Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` + + // 模型名称 + Model *string `json:"Model,omitnil,omitempty" name:"Model"` +} + +func (r *QueryRewriteRequest) 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 *QueryRewriteRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Question") + delete(f, "Messages") + delete(f, "Model") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryRewriteRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type QueryRewriteResponseParams struct { + // 改写结果 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type QueryRewriteResponse struct { + *tchttp.BaseResponse + Response *QueryRewriteResponseParams `json:"Response"` +} + +func (r *QueryRewriteResponse) 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 *QueryRewriteResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RateMsgRecordRequestParams struct { + // 机器人appKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` + + // 消息ID + RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` + + // 1点赞2点踩 + Score *uint64 `json:"Score,omitnil,omitempty" name:"Score"` + + // 原因 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` +} + +type RateMsgRecordRequest struct { + *tchttp.BaseRequest + + // 机器人appKey + BotAppKey *string `json:"BotAppKey,omitnil,omitempty" name:"BotAppKey"` + + // 消息ID + RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` + + // 1点赞2点踩 + Score *uint64 `json:"Score,omitnil,omitempty" name:"Score"` + + // 原因 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` +} + +func (r *RateMsgRecordRequest) 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 *RateMsgRecordRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotAppKey") + delete(f, "RecordId") + delete(f, "Score") + delete(f, "Reasons") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RateMsgRecordRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RateMsgRecordResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type RateMsgRecordResponse struct { + *tchttp.BaseResponse + Response *RateMsgRecordResponseParams `json:"Response"` +} + +func (r *RateMsgRecordResponse) 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 *RateMsgRecordResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ReferDetail struct { + // 引用ID + // 注意:此字段可能返回 null,表示取不到有效值。 + ReferBizId *string `json:"ReferBizId,omitnil,omitempty" name:"ReferBizId"` + + // 文档类型 (1 QA, 2 文档段) + // 注意:此字段可能返回 null,表示取不到有效值。 + DocType *uint64 `json:"DocType,omitnil,omitempty" name:"DocType"` + + // 文档名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + DocName *string `json:"DocName,omitnil,omitempty" name:"DocName"` + + // 分片内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + PageContent *string `json:"PageContent,omitnil,omitempty" name:"PageContent"` + + // 问题 + // 注意:此字段可能返回 null,表示取不到有效值。 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 答案 + // 注意:此字段可能返回 null,表示取不到有效值。 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 置信度 + // 注意:此字段可能返回 null,表示取不到有效值。 + Confidence *float64 `json:"Confidence,omitnil,omitempty" name:"Confidence"` + + // 标记 + // 注意:此字段可能返回 null,表示取不到有效值。 + Mark *uint64 `json:"Mark,omitnil,omitempty" name:"Mark"` + + // 分片高亮内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + Highlights []*Highlight `json:"Highlights,omitnil,omitempty" name:"Highlights"` + + // 原始内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + OrgData *string `json:"OrgData,omitnil,omitempty" name:"OrgData"` +} + +type RejectedQuestion struct { + // 拒答问题ID + // + // + // 注意:此字段可能返回 null,表示取不到有效值。 + RejectedBizId *string `json:"RejectedBizId,omitnil,omitempty" name:"RejectedBizId"` + + // 被拒答的问题 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 状态描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` + + // 更新时间 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 是否允许编辑 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + IsAllowEdit *bool `json:"IsAllowEdit,omitnil,omitempty" name:"IsAllowEdit"` + + // 是否允许删除 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + IsAllowDelete *bool `json:"IsAllowDelete,omitnil,omitempty" name:"IsAllowDelete"` +} + +type ReleaseConfigs struct { + // 配置项描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + ConfigItem *string `json:"ConfigItem,omitnil,omitempty" name:"ConfigItem"` + + // 更新时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Action *uint64 `json:"Action,omitnil,omitempty" name:"Action"` + + // 变更后的内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + Value *string `json:"Value,omitnil,omitempty" name:"Value"` + + // 变更前的内容 + // 注意:此字段可能返回 null,表示取不到有效值。 + LastValue *string `json:"LastValue,omitnil,omitempty" name:"LastValue"` + + // 变更内容(优先级展示content内容,content为空取value内容) + // 注意:此字段可能返回 null,表示取不到有效值。 + Content *string `json:"Content,omitnil,omitempty" name:"Content"` + + // 失败原因 + // 注意:此字段可能返回 null,表示取不到有效值。 + Message *string `json:"Message,omitnil,omitempty" name:"Message"` +} + +type ReleaseDoc struct { + // 文件名 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文件类型 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 状态 + Action *uint64 `json:"Action,omitnil,omitempty" name:"Action"` + + // 状态描述 + ActionDesc *string `json:"ActionDesc,omitnil,omitempty" name:"ActionDesc"` + + // 失败原因 + Message *string `json:"Message,omitnil,omitempty" name:"Message"` + + // 文档业务ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +type ReleaseQA struct { + // 问题 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 状态 + Action *uint64 `json:"Action,omitnil,omitempty" name:"Action"` + + // 状态描述 + ActionDesc *string `json:"ActionDesc,omitnil,omitempty" name:"ActionDesc"` + + // 来源 + Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 来源描述 + SourceDesc *string `json:"SourceDesc,omitnil,omitempty" name:"SourceDesc"` + + // 文件名字 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文档类型 + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // 失败原因 + Message *string `json:"Message,omitnil,omitempty" name:"Message"` + + // 发布状态 + ReleaseStatus *uint64 `json:"ReleaseStatus,omitnil,omitempty" name:"ReleaseStatus"` + + // QAID + QaBizId *string `json:"QaBizId,omitnil,omitempty" name:"QaBizId"` + + // 文档业务ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +type ReleaseRejectedQuestion struct { + // 问题 + // 注意:此字段可能返回 null,表示取不到有效值。 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 更新时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + Action *uint64 `json:"Action,omitnil,omitempty" name:"Action"` + + // 状态描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + ActionDesc *string `json:"ActionDesc,omitnil,omitempty" name:"ActionDesc"` + + // 失败原因 + // 注意:此字段可能返回 null,表示取不到有效值。 + Message *string `json:"Message,omitnil,omitempty" name:"Message"` +} + +// Predefined struct for user +type ResetSessionRequestParams struct { + // 会话ID + SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` +} + +type ResetSessionRequest struct { + *tchttp.BaseRequest + + // 会话ID + SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` +} + +func (r *ResetSessionRequest) 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 *ResetSessionRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SessionId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResetSessionRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ResetSessionResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ResetSessionResponse struct { + *tchttp.BaseResponse + Response *ResetSessionResponseParams `json:"Response"` +} + +func (r *ResetSessionResponse) 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 *ResetSessionResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RetryDocAuditRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +type RetryDocAuditRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +func (r *RetryDocAuditRequest) 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 *RetryDocAuditRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RetryDocAuditRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RetryDocAuditResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type RetryDocAuditResponse struct { + *tchttp.BaseResponse + Response *RetryDocAuditResponseParams `json:"Response"` +} + +func (r *RetryDocAuditResponse) 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 *RetryDocAuditResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RetryDocParseRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +type RetryDocParseRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +func (r *RetryDocParseRequest) 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 *RetryDocParseRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RetryDocParseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RetryDocParseResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type RetryDocParseResponse struct { + *tchttp.BaseResponse + Response *RetryDocParseResponseParams `json:"Response"` +} + +func (r *RetryDocParseResponse) 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 *RetryDocParseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RetryReleaseRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 发布业务ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` +} + +type RetryReleaseRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 发布业务ID + ReleaseBizId *string `json:"ReleaseBizId,omitnil,omitempty" name:"ReleaseBizId"` +} + +func (r *RetryReleaseRequest) 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 *RetryReleaseRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "ReleaseBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RetryReleaseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type RetryReleaseResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type RetryReleaseResponse struct { + *tchttp.BaseResponse + Response *RetryReleaseResponseParams `json:"Response"` +} + +func (r *RetryReleaseResponse) 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 *RetryReleaseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SaveDocRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文件名 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文件类型(md|txt|docx|pdf|xlsx) + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // cos路径 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // ETag 全称为 Entity Tag,是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化 + ETag *string `json:"ETag,omitnil,omitempty" name:"ETag"` + + // cos_hash x-cos-hash-crc64ecma 头部中的 CRC64编码进行校验上传到云端的文件和本地文件的一致性 + CosHash *string `json:"CosHash,omitnil,omitempty" name:"CosHash"` + + // 文件大小 + Size *string `json:"Size,omitnil,omitempty" name:"Size"` + + // 属性标签适用范围 1:全部,2:按条件范围 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 来源(0 源文件导入 1 网页导入) + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 网页(或自定义链接)地址 + WebUrl *string `json:"WebUrl,omitnil,omitempty" name:"WebUrl"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 外部引用链接类型 0:系统链接 1:自定义链接 + // 值为1时,WebUrl 字段不能为空,否则不生效。 + ReferUrlType *uint64 `json:"ReferUrlType,omitnil,omitempty" name:"ReferUrlType"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` + + // 是否引用链接 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 文档操作类型:1:批量导入;2:文档导入 + Opt *uint64 `json:"Opt,omitnil,omitempty" name:"Opt"` +} + +type SaveDocRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文件名 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // 文件类型(md|txt|docx|pdf|xlsx) + FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` + + // cos路径 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // ETag 全称为 Entity Tag,是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化 + ETag *string `json:"ETag,omitnil,omitempty" name:"ETag"` + + // cos_hash x-cos-hash-crc64ecma 头部中的 CRC64编码进行校验上传到云端的文件和本地文件的一致性 + CosHash *string `json:"CosHash,omitnil,omitempty" name:"CosHash"` + + // 文件大小 + Size *string `json:"Size,omitnil,omitempty" name:"Size"` + + // 属性标签适用范围 1:全部,2:按条件范围 + AttrRange *uint64 `json:"AttrRange,omitnil,omitempty" name:"AttrRange"` + + // 来源(0 源文件导入 1 网页导入) + Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` + + // 网页(或自定义链接)地址 + WebUrl *string `json:"WebUrl,omitnil,omitempty" name:"WebUrl"` + + // 属性标签引用 + AttrLabels []*AttrLabelRefer `json:"AttrLabels,omitnil,omitempty" name:"AttrLabels"` + + // 外部引用链接类型 0:系统链接 1:自定义链接 + // 值为1时,WebUrl 字段不能为空,否则不生效。 + ReferUrlType *uint64 `json:"ReferUrlType,omitnil,omitempty" name:"ReferUrlType"` + + // 有效开始时间,unix时间戳 + ExpireStart *string `json:"ExpireStart,omitnil,omitempty" name:"ExpireStart"` + + // 有效结束时间,unix时间戳,0代表永久有效 + ExpireEnd *string `json:"ExpireEnd,omitnil,omitempty" name:"ExpireEnd"` + + // 是否引用链接 + IsRefer *bool `json:"IsRefer,omitnil,omitempty" name:"IsRefer"` + + // 文档操作类型:1:批量导入;2:文档导入 + Opt *uint64 `json:"Opt,omitnil,omitempty" name:"Opt"` +} + +func (r *SaveDocRequest) 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 *SaveDocRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "FileName") + delete(f, "FileType") + delete(f, "CosUrl") + delete(f, "ETag") + delete(f, "CosHash") + delete(f, "Size") + delete(f, "AttrRange") + delete(f, "Source") + delete(f, "WebUrl") + delete(f, "AttrLabels") + delete(f, "ReferUrlType") + delete(f, "ExpireStart") + delete(f, "ExpireEnd") + delete(f, "IsRefer") + delete(f, "Opt") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SaveDocRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SaveDocResponseParams struct { + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` + + // 导入错误信息 + ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` + + // 错误链接 + ErrorLink *string `json:"ErrorLink,omitnil,omitempty" name:"ErrorLink"` + + // 错误链接文本 + ErrorLinkText *string `json:"ErrorLinkText,omitnil,omitempty" name:"ErrorLinkText"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type SaveDocResponse struct { + *tchttp.BaseResponse + Response *SaveDocResponseParams `json:"Response"` +} + +func (r *SaveDocResponse) 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 *SaveDocResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type StopDocParseRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +type StopDocParseRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文档ID + DocBizId *string `json:"DocBizId,omitnil,omitempty" name:"DocBizId"` +} + +func (r *StopDocParseRequest) 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 *StopDocParseRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "DocBizId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopDocParseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type StopDocParseResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type StopDocParseResponse struct { + *tchttp.BaseResponse + Response *StopDocParseResponseParams `json:"Response"` +} + +func (r *StopDocParseResponse) 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 *StopDocParseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type SummaryConfig struct { + // 模型配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Model *AppModel `json:"Model,omitnil,omitempty" name:"Model"` + + // 知识摘要输出配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Output *SummaryOutput `json:"Output,omitnil,omitempty" name:"Output"` +} + +type SummaryOutput struct { + // 输出方式 1:流式 2:非流式 + // 注意:此字段可能返回 null,表示取不到有效值。 + Method *uint64 `json:"Method,omitnil,omitempty" name:"Method"` + + // 输出要求 1:文本总结 2:自定义要求 + // 注意:此字段可能返回 null,表示取不到有效值。 + Requirement *uint64 `json:"Requirement,omitnil,omitempty" name:"Requirement"` + + // 自定义要求指令 + // 注意:此字段可能返回 null,表示取不到有效值。 + RequireCommand *string `json:"RequireCommand,omitnil,omitempty" name:"RequireCommand"` +} + +type TaskParams struct { + // 下载地址,需要通过cos桶临时秘钥去下载 + // 注意:此字段可能返回 null,表示取不到有效值。 + CosPath *string `json:"CosPath,omitnil,omitempty" name:"CosPath"` +} + +type UnsatisfiedReply struct { + // 不满意回复ID + // 注意:此字段可能返回 null,表示取不到有效值。 + ReplyBizId *string `json:"ReplyBizId,omitnil,omitempty" name:"ReplyBizId"` + + // 消息记录ID + // 注意:此字段可能返回 null,表示取不到有效值。 + RecordBizId *string `json:"RecordBizId,omitnil,omitempty" name:"RecordBizId"` + + // 用户问题 + // 注意:此字段可能返回 null,表示取不到有效值。 + Question *string `json:"Question,omitnil,omitempty" name:"Question"` + + // 机器人回复 + // 注意:此字段可能返回 null,表示取不到有效值。 + Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` + + // 错误类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + Reasons []*string `json:"Reasons,omitnil,omitempty" name:"Reasons"` +} + +// Predefined struct for user +type UploadAttributeLabelRequestParams struct { + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文件名 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // cos路径 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // x-cos-hash-crc64ecma 头部中的 CRC64编码进行校验上传到云端的文件和本地文件的一致性 + CosHash *string `json:"CosHash,omitnil,omitempty" name:"CosHash"` + + // 文件大小 + Size *string `json:"Size,omitnil,omitempty" name:"Size"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type UploadAttributeLabelRequest struct { + *tchttp.BaseRequest + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 文件名 + FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` + + // cos路径 + CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` + + // x-cos-hash-crc64ecma 头部中的 CRC64编码进行校验上传到云端的文件和本地文件的一致性 + CosHash *string `json:"CosHash,omitnil,omitempty" name:"CosHash"` + + // 文件大小 + Size *string `json:"Size,omitnil,omitempty" name:"Size"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *UploadAttributeLabelRequest) 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 *UploadAttributeLabelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BotBizId") + delete(f, "FileName") + delete(f, "CosUrl") + delete(f, "CosHash") + delete(f, "Size") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UploadAttributeLabelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type UploadAttributeLabelResponseParams struct { + // 导入错误 + ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` + + // 错误链接 + ErrorLink *string `json:"ErrorLink,omitnil,omitempty" name:"ErrorLink"` + + // 错误链接文本 + ErrorLinkText *string `json:"ErrorLinkText,omitnil,omitempty" name:"ErrorLinkText"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type UploadAttributeLabelResponse struct { + *tchttp.BaseResponse + Response *UploadAttributeLabelResponseParams `json:"Response"` +} + +func (r *UploadAttributeLabelResponse) 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 *UploadAttributeLabelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type VerifyQARequestParams struct { + // 问答列表 + List []*QAList `json:"List,omitnil,omitempty" name:"List"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +type VerifyQARequest struct { + *tchttp.BaseRequest + + // 问答列表 + List []*QAList `json:"List,omitnil,omitempty" name:"List"` + + // 机器人ID + BotBizId *string `json:"BotBizId,omitnil,omitempty" name:"BotBizId"` + + // 登录用户主账号(集成商模式必填) + LoginUin *string `json:"LoginUin,omitnil,omitempty" name:"LoginUin"` + + // 登录用户子账号(集成商模式必填) + LoginSubAccountUin *string `json:"LoginSubAccountUin,omitnil,omitempty" name:"LoginSubAccountUin"` +} + +func (r *VerifyQARequest) 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 *VerifyQARequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "List") + delete(f, "BotBizId") + delete(f, "LoginUin") + delete(f, "LoginSubAccountUin") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "VerifyQARequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type VerifyQAResponseParams struct { + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type VerifyQAResponse struct { + *tchttp.BaseResponse + Response *VerifyQAResponseParams `json:"Response"` +} + +func (r *VerifyQAResponse) 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 *VerifyQAResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} \ No newline at end of file diff --git a/tencentcloud/lowcode/go.mod b/tencentcloud/lowcode/go.mod index c606a0fe61..357facb2af 100644 --- a/tencentcloud/lowcode/go.mod +++ b/tencentcloud/lowcode/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/lp/go.mod b/tencentcloud/lp/go.mod index 855230d6e1..528e19c9f7 100644 --- a/tencentcloud/lp/go.mod +++ b/tencentcloud/lp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mall/go.mod b/tencentcloud/mall/go.mod index 7acf704ab8..6a0cdc6e6d 100644 --- a/tencentcloud/mall/go.mod +++ b/tencentcloud/mall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mariadb/go.mod b/tencentcloud/mariadb/go.mod index df557620dd..df346a3043 100644 --- a/tencentcloud/mariadb/go.mod +++ b/tencentcloud/mariadb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/market/go.mod b/tencentcloud/market/go.mod index 3427b0584a..a0e9143808 100644 --- a/tencentcloud/market/go.mod +++ b/tencentcloud/market/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/memcached/go.mod b/tencentcloud/memcached/go.mod index 7dffbd6f91..a6682f3e6a 100644 --- a/tencentcloud/memcached/go.mod +++ b/tencentcloud/memcached/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mgobe/go.mod b/tencentcloud/mgobe/go.mod index abb6f12b6c..c1db02e898 100644 --- a/tencentcloud/mgobe/go.mod +++ b/tencentcloud/mgobe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mmps/go.mod b/tencentcloud/mmps/go.mod index 347fe3a6a3..8cb0290b4f 100644 --- a/tencentcloud/mmps/go.mod +++ b/tencentcloud/mmps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mmps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mna/go.mod b/tencentcloud/mna/go.mod index 700cf49e38..6460b25c6d 100644 --- a/tencentcloud/mna/go.mod +++ b/tencentcloud/mna/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mna/v20210119/client.go b/tencentcloud/mna/v20210119/client.go index acdfdbefa4..1b0916a363 100644 --- a/tencentcloud/mna/v20210119/client.go +++ b/tencentcloud/mna/v20210119/client.go @@ -1142,6 +1142,11 @@ func NewModifyPackageRenewFlagResponse() (response *ModifyPackageRenewFlagRespon // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // OPERATIONDENIED = "OperationDenied" +// OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest" +// OPERATIONDENIED_MODIFIEDORRENEWED = "OperationDenied.ModifiedOrRenewed" +// OPERATIONDENIED_TRUNCFLAGON = "OperationDenied.TruncFlagOn" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" func (c *Client) ModifyPackageRenewFlag(request *ModifyPackageRenewFlagRequest) (response *ModifyPackageRenewFlagResponse, err error) { return c.ModifyPackageRenewFlagWithContext(context.Background(), request) } @@ -1153,6 +1158,11 @@ func (c *Client) ModifyPackageRenewFlag(request *ModifyPackageRenewFlagRequest) // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // OPERATIONDENIED = "OperationDenied" +// OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest" +// OPERATIONDENIED_MODIFIEDORRENEWED = "OperationDenied.ModifiedOrRenewed" +// OPERATIONDENIED_TRUNCFLAGON = "OperationDenied.TruncFlagOn" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" func (c *Client) ModifyPackageRenewFlagWithContext(ctx context.Context, request *ModifyPackageRenewFlagRequest) (response *ModifyPackageRenewFlagResponse, err error) { if request == nil { request = NewModifyPackageRenewFlagRequest() diff --git a/tencentcloud/mna/v20210119/errors.go b/tencentcloud/mna/v20210119/errors.go index 1fa18c41c1..c9479be513 100644 --- a/tencentcloud/mna/v20210119/errors.go +++ b/tencentcloud/mna/v20210119/errors.go @@ -83,15 +83,24 @@ const ( // 输入SN对应的硬件不存在。 OPERATIONDENIED_HARDWARENOTEXIST = "OperationDenied.HardwareNotExist" + // 非法请求,可能是重放攻击、伪造攻击。 + OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest" + // 余额不足 OPERATIONDENIED_INSUFFICIENTBALANCE = "OperationDenied.InsufficientBalance" + // 资源包已经变配或续费 + OPERATIONDENIED_MODIFIEDORRENEWED = "OperationDenied.ModifiedOrRenewed" + // 无支付权限 OPERATIONDENIED_NOTALLOWEDTOPAY = "OperationDenied.NotAllowedToPay" // 请求运营商加速超时。 OPERATIONDENIED_REQUESTQOSTIMEOUT = "OperationDenied.RequestQosTimeout" + // 截断开关已经被开启 + OPERATIONDENIED_TRUNCFLAGON = "OperationDenied.TruncFlagOn" + // 未实名认证 OPERATIONDENIED_UNAUTHORIZEDUSER = "OperationDenied.UnauthorizedUser" @@ -116,6 +125,9 @@ const ( // 资源被占用。 RESOURCEINUSE = "ResourceInUse" + // 资源不存在。 + RESOURCENOTFOUND = "ResourceNotFound" + // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" diff --git a/tencentcloud/mna/v20210119/models.go b/tencentcloud/mna/v20210119/models.go index e4b5535d6c..b8b9a2ab07 100644 --- a/tencentcloud/mna/v20210119/models.go +++ b/tencentcloud/mna/v20210119/models.go @@ -41,6 +41,23 @@ type ActivateHardware struct { // 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入) AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"` + + // 当付费方为租户时,可选择租户license付费方式: + // 0,月度授权 + // 1,永久授权 + // 若不传则默认为月度授权。 + // 当付费方为厂商时,此参数无效 + // + // 注意:此字段可能返回 null,表示取不到有效值。 + LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` + + // 设备分组ID + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 设备分组名称,预留参数,需要分组时传入GroupId + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` } // Predefined struct for user @@ -121,6 +138,18 @@ type AddDeviceRequestParams struct { // 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) // 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入) AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"` + + // license付费方式: + // 0,月度授权 + // 1,永久授权 + // 若不传则默认为月度授权 + LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` + + // 设备分组名称,非必选,预留参数,需要分组时传入GroupId + GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` + + // 设备分组ID,非必选,如果不填写则默认设备无分组 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` } type AddDeviceRequest struct { @@ -144,6 +173,18 @@ type AddDeviceRequest struct { // 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) // 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入) AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"` + + // license付费方式: + // 0,月度授权 + // 1,永久授权 + // 若不传则默认为月度授权 + LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` + + // 设备分组名称,非必选,预留参数,需要分组时传入GroupId + GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` + + // 设备分组ID,非必选,如果不填写则默认设备无分组 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` } func (r *AddDeviceRequest) ToJsonString() string { @@ -163,6 +204,9 @@ func (r *AddDeviceRequest) FromJsonString(s string) error { delete(f, "DataKey") delete(f, "Encrypted") delete(f, "AccessScope") + delete(f, "LicensePayMode") + delete(f, "GroupName") + delete(f, "GroupId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddDeviceRequest has unknown keys!", "") } @@ -689,6 +733,22 @@ type DeviceBaseInfo struct { // 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入) AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"` + + // license授权有效期 0:月度授权 1:永久授权 + // 注意:此字段可能返回 null,表示取不到有效值。 + LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` + + // 付费方 0:厂商付费 1:客户付费 + // 注意:此字段可能返回 null,表示取不到有效值。 + Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"` + + // 设备分组ID + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 设备分组名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` } type DeviceDetails struct { @@ -910,6 +970,12 @@ type FlowPackageInfo struct { // 资源包变更状态,0:未发生变配;1:变配中;2:已变配或已续费 ModifyStatus *int64 `json:"ModifyStatus,omitnil,omitempty" name:"ModifyStatus"` + + // 流量截断标识。true代表开启流量截断,false代表不开启流量截断 + TruncFlag *bool `json:"TruncFlag,omitnil,omitempty" name:"TruncFlag"` + + // 流量包精确余量,单位:MB + CapacityRemainPrecise *uint64 `json:"CapacityRemainPrecise,omitnil,omitempty" name:"CapacityRemainPrecise"` } // Predefined struct for user @@ -1215,7 +1281,7 @@ type GetFlowStatisticRequestParams struct { // 截止时间 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` - // 流量种类(1:上行流量,2:下行流量) + // 流量种类(1:上行流量,2:下行流量,3:上下行总和) Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 时间粒度(1:按小时统计,2:按天统计) @@ -1226,6 +1292,9 @@ type GetFlowStatisticRequestParams struct { // 网关类型。0:公有云网关;1:自有网关。不传默认为0。 GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"` + + // 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1" + DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"` } type GetFlowStatisticRequest struct { @@ -1240,7 +1309,7 @@ type GetFlowStatisticRequest struct { // 截止时间 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` - // 流量种类(1:上行流量,2:下行流量) + // 流量种类(1:上行流量,2:下行流量,3:上下行总和) Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 时间粒度(1:按小时统计,2:按天统计) @@ -1251,6 +1320,9 @@ type GetFlowStatisticRequest struct { // 网关类型。0:公有云网关;1:自有网关。不传默认为0。 GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"` + + // 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1" + DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"` } func (r *GetFlowStatisticRequest) ToJsonString() string { @@ -1272,6 +1344,7 @@ func (r *GetFlowStatisticRequest) FromJsonString(s string) error { delete(f, "TimeGranularity") delete(f, "AccessRegion") delete(f, "GatewayType") + delete(f, "DeviceList") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetFlowStatisticRequest has unknown keys!", "") } @@ -1400,7 +1473,7 @@ type GetMultiFlowStatisticRequestParams struct { // 1659515000 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` - // 统计流量类型(1:上行流量,2:下行流量) + // 统计流量类型(1:上行流量,2:下行流量, 3: 上下行总和) Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 统计时间粒度(1:按小时统计,2:按天统计) @@ -1425,7 +1498,7 @@ type GetMultiFlowStatisticRequest struct { // 1659515000 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` - // 统计流量类型(1:上行流量,2:下行流量) + // 统计流量类型(1:上行流量,2:下行流量, 3: 上下行总和) Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 统计时间粒度(1:按小时统计,2:按天统计) @@ -1656,6 +1729,12 @@ type GetStatisticDataRequestParams struct { // 网关类型。0:公有云网关;1:自有网关。不传默认为0。 GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"` + + // 设备ID列表,最多10个设备,下载多个设备流量和时使用,此时DeviceId可传"-1" + DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"` + + // 设备分组ID,若不指定分组则不传,按分组下载数据时使用 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` } type GetStatisticDataRequest struct { @@ -1680,6 +1759,12 @@ type GetStatisticDataRequest struct { // 网关类型。0:公有云网关;1:自有网关。不传默认为0。 GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"` + + // 设备ID列表,最多10个设备,下载多个设备流量和时使用,此时DeviceId可传"-1" + DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"` + + // 设备分组ID,若不指定分组则不传,按分组下载数据时使用 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` } func (r *GetStatisticDataRequest) ToJsonString() string { @@ -1700,6 +1785,8 @@ func (r *GetStatisticDataRequest) FromJsonString(s string) error { delete(f, "TimeGranularity") delete(f, "AccessRegion") delete(f, "GatewayType") + delete(f, "DeviceList") + delete(f, "GroupId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetStatisticDataRequest has unknown keys!", "") } @@ -1827,9 +1914,9 @@ type Hardware struct { SN *string `json:"SN,omitnil,omitempty" name:"SN"` // license计费模式: - // 1,租户月付费 + // 1,租户付费 // 2,厂商月付费 - // 3,license永久授权 + // 3,厂商永久授权 // 注意:此字段可能返回 null,表示取不到有效值。 LicenseChargingMode *int64 `json:"LicenseChargingMode,omitnil,omitempty" name:"LicenseChargingMode"` @@ -1868,6 +1955,7 @@ type HardwareInfo struct { VendorDescription *string `json:"VendorDescription,omitnil,omitempty" name:"VendorDescription"` // license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权 + // 注:后续将废弃此参数,新接入请使用LicensePayMode和Payer // 注意:此字段可能返回 null,表示取不到有效值。 LicenseChargingMode *int64 `json:"LicenseChargingMode,omitnil,omitempty" name:"LicenseChargingMode"` @@ -1878,6 +1966,26 @@ type HardwareInfo struct { // 硬件序列号 // 注意:此字段可能返回 null,表示取不到有效值。 SN *string `json:"SN,omitnil,omitempty" name:"SN"` + + // license授权有效期 + // 0:月度授权 + // 1:永久授权 + // 注意:此字段可能返回 null,表示取不到有效值。 + LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` + + // 付费方 + // 0:客户付费 + // 1:厂商付费 + // 注意:此字段可能返回 null,表示取不到有效值。 + Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"` + + // 设备分组ID + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` + + // 设备分组名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` } // Predefined struct for user @@ -1996,12 +2104,15 @@ type OrderFlowPackageRequestParams struct { // 500G:最多绑定5个设备 DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"` - // 是否自动续费 + // 是否自动续费,该选项和流量截断冲突,只能开启一个 AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 区域标识,0:国内,1:国外 PackageRegion *int64 `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` + // 是否开启流量截断功能,该选项和自动续费冲突 + FlowTruncFlag *bool `json:"FlowTruncFlag,omitnil,omitempty" name:"FlowTruncFlag"` + // 是否自动选择代金券,默认false。 // 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` @@ -2032,12 +2143,15 @@ type OrderFlowPackageRequest struct { // 500G:最多绑定5个设备 DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"` - // 是否自动续费 + // 是否自动续费,该选项和流量截断冲突,只能开启一个 AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 区域标识,0:国内,1:国外 PackageRegion *int64 `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"` + // 是否开启流量截断功能,该选项和自动续费冲突 + FlowTruncFlag *bool `json:"FlowTruncFlag,omitnil,omitempty" name:"FlowTruncFlag"` + // 是否自动选择代金券,默认false。 // 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` @@ -2063,6 +2177,7 @@ func (r *OrderFlowPackageRequest) FromJsonString(s string) error { delete(f, "DeviceList") delete(f, "AutoRenewFlag") delete(f, "PackageRegion") + delete(f, "FlowTruncFlag") delete(f, "AutoVoucher") delete(f, "VoucherIds") if len(f) > 0 { @@ -2313,10 +2428,24 @@ type VendorHardware struct { DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"` // license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权 + // 注:设备为租户付费且未激活(未选择月付还是永久付费)时,此参数返回1,仅代表租户付费。后续将废弃此参数,新接入请使用LicensePayMode和Payer // 注意:此字段可能返回 null,表示取不到有效值。 LicenseChargingMode *int64 `json:"LicenseChargingMode,omitnil,omitempty" name:"LicenseChargingMode"` // 最后在线时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastOnlineTime *string `json:"LastOnlineTime,omitnil,omitempty" name:"LastOnlineTime"` + + // license授权有效期 + // 0:月度授权 + // 1:永久授权 + // -1:未知 + // 注意:此字段可能返回 null,表示取不到有效值。 + LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` + + // 付费方 + // 0:客户付费 + // 1:厂商付费 + // 注意:此字段可能返回 null,表示取不到有效值。 + Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"` } \ No newline at end of file diff --git a/tencentcloud/mongodb/go.mod b/tencentcloud/mongodb/go.mod index 3e042b49a8..e0425b02b9 100644 --- a/tencentcloud/mongodb/go.mod +++ b/tencentcloud/mongodb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/monitor/go.mod b/tencentcloud/monitor/go.mod index 5c1f9f4f3c..a3f13094a3 100644 --- a/tencentcloud/monitor/go.mod +++ b/tencentcloud/monitor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mps/go.mod b/tencentcloud/mps/go.mod index 3f650f0c95..97658303b4 100644 --- a/tencentcloud/mps/go.mod +++ b/tencentcloud/mps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mrs/go.mod b/tencentcloud/mrs/go.mod index c78608d4dc..d3cdfacb2c 100644 --- a/tencentcloud/mrs/go.mod +++ b/tencentcloud/mrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ms/go.mod b/tencentcloud/ms/go.mod index 02970d4269..fe71078c9f 100644 --- a/tencentcloud/ms/go.mod +++ b/tencentcloud/ms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/msp/go.mod b/tencentcloud/msp/go.mod index 341b218f51..2dbb9add86 100644 --- a/tencentcloud/msp/go.mod +++ b/tencentcloud/msp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/mvj/go.mod b/tencentcloud/mvj/go.mod index e71cd40970..b1217b1d92 100644 --- a/tencentcloud/mvj/go.mod +++ b/tencentcloud/mvj/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/nlp/go.mod b/tencentcloud/nlp/go.mod index b85ef97ab7..2420c6993e 100644 --- a/tencentcloud/nlp/go.mod +++ b/tencentcloud/nlp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/npp/go.mod b/tencentcloud/npp/go.mod index aed2caf85e..b8cb3707af 100644 --- a/tencentcloud/npp/go.mod +++ b/tencentcloud/npp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/oceanus/go.mod b/tencentcloud/oceanus/go.mod index aa24e66f29..b1e06611f6 100644 --- a/tencentcloud/oceanus/go.mod +++ b/tencentcloud/oceanus/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ocr/go.mod b/tencentcloud/ocr/go.mod index 89b354c537..9148c46be7 100644 --- a/tencentcloud/ocr/go.mod +++ b/tencentcloud/ocr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/omics/go.mod b/tencentcloud/omics/go.mod index 2671aa2b5b..3a4bc9326f 100644 --- a/tencentcloud/omics/go.mod +++ b/tencentcloud/omics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/omics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/organization/go.mod b/tencentcloud/organization/go.mod index 618e5d5c6d..7dee5660e1 100644 --- a/tencentcloud/organization/go.mod +++ b/tencentcloud/organization/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/partners/go.mod b/tencentcloud/partners/go.mod index 4ea6d7b76b..abaa0938e1 100644 --- a/tencentcloud/partners/go.mod +++ b/tencentcloud/partners/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/pds/go.mod b/tencentcloud/pds/go.mod index 5d94f1c73b..ebbee1c07b 100644 --- a/tencentcloud/pds/go.mod +++ b/tencentcloud/pds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/postgres/go.mod b/tencentcloud/postgres/go.mod index 02346354cd..a89c5791b4 100644 --- a/tencentcloud/postgres/go.mod +++ b/tencentcloud/postgres/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/privatedns/go.mod b/tencentcloud/privatedns/go.mod index 41c62ae2b5..6b05f44157 100644 --- a/tencentcloud/privatedns/go.mod +++ b/tencentcloud/privatedns/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/pts/go.mod b/tencentcloud/pts/go.mod index 13b506a596..657f4d9db5 100644 --- a/tencentcloud/pts/go.mod +++ b/tencentcloud/pts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/rce/go.mod b/tencentcloud/rce/go.mod index 552dfd29da..71e7413da8 100644 --- a/tencentcloud/rce/go.mod +++ b/tencentcloud/rce/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/redis/go.mod b/tencentcloud/redis/go.mod index b8a0e8b5e5..17d1e690e2 100644 --- a/tencentcloud/redis/go.mod +++ b/tencentcloud/redis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/redis/v20180412/models.go b/tencentcloud/redis/v20180412/models.go index 826b1a9229..162499b71a 100644 --- a/tencentcloud/redis/v20180412/models.go +++ b/tencentcloud/redis/v20180412/models.go @@ -6324,7 +6324,7 @@ type InstanceSet struct { // 注意:此字段可能返回 null,表示取不到有效值。 CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"` - // 实例当前Cache小版本。 + // 实例当前Cache小版本。如果实例加入全球复制组,显示全球复制的内核版本。 // 注意:此字段可能返回 null,表示取不到有效值。 CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil,omitempty" name:"CurrentRedisVersion"` diff --git a/tencentcloud/region/go.mod b/tencentcloud/region/go.mod index 395fc7f10d..94045ce6a3 100644 --- a/tencentcloud/region/go.mod +++ b/tencentcloud/region/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/region go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/rkp/go.mod b/tencentcloud/rkp/go.mod index f40ea376e3..604a240e22 100644 --- a/tencentcloud/rkp/go.mod +++ b/tencentcloud/rkp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/rp/go.mod b/tencentcloud/rp/go.mod index 0e888cd8c3..c427c34059 100644 --- a/tencentcloud/rp/go.mod +++ b/tencentcloud/rp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/rum/go.mod b/tencentcloud/rum/go.mod index 011acf4b83..97fec49380 100644 --- a/tencentcloud/rum/go.mod +++ b/tencentcloud/rum/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/scf/go.mod b/tencentcloud/scf/go.mod index b0c1113414..e052c9b752 100644 --- a/tencentcloud/scf/go.mod +++ b/tencentcloud/scf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ses/go.mod b/tencentcloud/ses/go.mod index 3f5681a706..ad77cd4a24 100644 --- a/tencentcloud/ses/go.mod +++ b/tencentcloud/ses/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/smh/go.mod b/tencentcloud/smh/go.mod index 6e3c520372..7dddbc602d 100644 --- a/tencentcloud/smh/go.mod +++ b/tencentcloud/smh/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/smop/go.mod b/tencentcloud/smop/go.mod index 66b962a2c1..a51ec61316 100644 --- a/tencentcloud/smop/go.mod +++ b/tencentcloud/smop/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smop go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/smpn/go.mod b/tencentcloud/smpn/go.mod index 436b220880..ac5150cb85 100644 --- a/tencentcloud/smpn/go.mod +++ b/tencentcloud/smpn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/sms/go.mod b/tencentcloud/sms/go.mod index 8f53777c12..6481df1572 100644 --- a/tencentcloud/sms/go.mod +++ b/tencentcloud/sms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/sms/v20210111/models.go b/tencentcloud/sms/v20210111/models.go index 0bfd2c039b..80aa00abea 100644 --- a/tencentcloud/sms/v20210111/models.go +++ b/tencentcloud/sms/v20210111/models.go @@ -969,6 +969,7 @@ type ModifySmsTemplateRequestParams struct { // 是否国际/港澳台短信: // 0:表示国内短信。 // 1:表示国际/港澳台短信。 + // 注:需要和待修改模板 International 值保持一致,该参数不能直接修改国内模板到国际模板。 International *uint64 `json:"International,omitnil,omitempty" name:"International"` // 模板备注,例如申请原因,使用场景等。 @@ -993,6 +994,7 @@ type ModifySmsTemplateRequest struct { // 是否国际/港澳台短信: // 0:表示国内短信。 // 1:表示国际/港澳台短信。 + // 注:需要和待修改模板 International 值保持一致,该参数不能直接修改国内模板到国际模板。 International *uint64 `json:"International,omitnil,omitempty" name:"International"` // 模板备注,例如申请原因,使用场景等。 diff --git a/tencentcloud/soe/go.mod b/tencentcloud/soe/go.mod index 39283ae396..d05e0e13d0 100644 --- a/tencentcloud/soe/go.mod +++ b/tencentcloud/soe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/solar/go.mod b/tencentcloud/solar/go.mod index 9552468547..18d4938e98 100644 --- a/tencentcloud/solar/go.mod +++ b/tencentcloud/solar/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/sqlserver/go.mod b/tencentcloud/sqlserver/go.mod index 334c5c21e9..040df0fe5d 100644 --- a/tencentcloud/sqlserver/go.mod +++ b/tencentcloud/sqlserver/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ssa/go.mod b/tencentcloud/ssa/go.mod index 39fd860138..f0a9b4cf9e 100644 --- a/tencentcloud/ssa/go.mod +++ b/tencentcloud/ssa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ssl/go.mod b/tencentcloud/ssl/go.mod index 76ba4ccef9..ed4ea2490f 100644 --- a/tencentcloud/ssl/go.mod +++ b/tencentcloud/ssl/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/sslpod/go.mod b/tencentcloud/sslpod/go.mod index 2a8a9015ff..1150f0c4fe 100644 --- a/tencentcloud/sslpod/go.mod +++ b/tencentcloud/sslpod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ssm/go.mod b/tencentcloud/ssm/go.mod index fbd5c8ed94..9816479cbe 100644 --- a/tencentcloud/ssm/go.mod +++ b/tencentcloud/ssm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/sts/go.mod b/tencentcloud/sts/go.mod index e76a71b712..728e19cb2d 100644 --- a/tencentcloud/sts/go.mod +++ b/tencentcloud/sts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/svp/go.mod b/tencentcloud/svp/go.mod index 46b1d69b65..485757b973 100644 --- a/tencentcloud/svp/go.mod +++ b/tencentcloud/svp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/svp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/taf/go.mod b/tencentcloud/taf/go.mod index 91b441b063..88f051c9ed 100644 --- a/tencentcloud/taf/go.mod +++ b/tencentcloud/taf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tag/go.mod b/tencentcloud/tag/go.mod index dacbd04fa3..0040bb26aa 100644 --- a/tencentcloud/tag/go.mod +++ b/tencentcloud/tag/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tan/go.mod b/tencentcloud/tan/go.mod index 4ac15ed9cc..cd72e776f3 100644 --- a/tencentcloud/tan/go.mod +++ b/tencentcloud/tan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tat/go.mod b/tencentcloud/tat/go.mod index a275a0a854..b99a9a36e4 100644 --- a/tencentcloud/tat/go.mod +++ b/tencentcloud/tat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tav/go.mod b/tencentcloud/tav/go.mod index d4926b3a05..e03bb892ca 100644 --- a/tencentcloud/tav/go.mod +++ b/tencentcloud/tav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tbaas/go.mod b/tencentcloud/tbaas/go.mod index f2bb8318bb..d53dde79ca 100644 --- a/tencentcloud/tbaas/go.mod +++ b/tencentcloud/tbaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tbm/go.mod b/tencentcloud/tbm/go.mod index 03ad133b00..d919dcb8a3 100644 --- a/tencentcloud/tbm/go.mod +++ b/tencentcloud/tbm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tbp/go.mod b/tencentcloud/tbp/go.mod index da51962aac..ae29dea025 100644 --- a/tencentcloud/tbp/go.mod +++ b/tencentcloud/tbp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcaplusdb/go.mod b/tencentcloud/tcaplusdb/go.mod index b8f9fde7cf..3e764d5ca9 100644 --- a/tencentcloud/tcaplusdb/go.mod +++ b/tencentcloud/tcaplusdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcb/go.mod b/tencentcloud/tcb/go.mod index 1d5b2ce520..c80e294152 100644 --- a/tencentcloud/tcb/go.mod +++ b/tencentcloud/tcb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcbr/go.mod b/tencentcloud/tcbr/go.mod index b87cd072d9..0997c48d91 100644 --- a/tencentcloud/tcbr/go.mod +++ b/tencentcloud/tcbr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcbr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcex/go.mod b/tencentcloud/tcex/go.mod index 9d37557749..2d4626abee 100644 --- a/tencentcloud/tcex/go.mod +++ b/tencentcloud/tcex/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tchd/go.mod b/tencentcloud/tchd/go.mod index 8b50957e02..3539e40864 100644 --- a/tencentcloud/tchd/go.mod +++ b/tencentcloud/tchd/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tchd go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tci/go.mod b/tencentcloud/tci/go.mod index 13401fee11..546b07336b 100644 --- a/tencentcloud/tci/go.mod +++ b/tencentcloud/tci/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcm/go.mod b/tencentcloud/tcm/go.mod index 13bb3396df..29f88da791 100644 --- a/tencentcloud/tcm/go.mod +++ b/tencentcloud/tcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcr/go.mod b/tencentcloud/tcr/go.mod index bc2eb0fbb2..bac0356737 100644 --- a/tencentcloud/tcr/go.mod +++ b/tencentcloud/tcr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tcss/go.mod b/tencentcloud/tcss/go.mod index 8b594f2d0e..6e24e2e51b 100644 --- a/tencentcloud/tcss/go.mod +++ b/tencentcloud/tcss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tdcpg/go.mod b/tencentcloud/tdcpg/go.mod index 2e401f5f15..2eabae30a6 100644 --- a/tencentcloud/tdcpg/go.mod +++ b/tencentcloud/tdcpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdcpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tdid/go.mod b/tencentcloud/tdid/go.mod index cbb27e6b23..918ea1d86a 100644 --- a/tencentcloud/tdid/go.mod +++ b/tencentcloud/tdid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tdmq/go.mod b/tencentcloud/tdmq/go.mod index 00e1e411aa..dae81a8850 100644 --- a/tencentcloud/tdmq/go.mod +++ b/tencentcloud/tdmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tds/go.mod b/tencentcloud/tds/go.mod index 9a521d7ee3..14e75bdb4b 100644 --- a/tencentcloud/tds/go.mod +++ b/tencentcloud/tds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tem/go.mod b/tencentcloud/tem/go.mod index fbfd8cca35..95e358ba8b 100644 --- a/tencentcloud/tem/go.mod +++ b/tencentcloud/tem/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/teo/go.mod b/tencentcloud/teo/go.mod index 19f5593261..0288fe4c7d 100644 --- a/tencentcloud/teo/go.mod +++ b/tencentcloud/teo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/thpc/go.mod b/tencentcloud/thpc/go.mod index 6b676f608e..6b62347fda 100644 --- a/tencentcloud/thpc/go.mod +++ b/tencentcloud/thpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tia/go.mod b/tencentcloud/tia/go.mod index 63fdade5d4..d4e9803f7f 100644 --- a/tencentcloud/tia/go.mod +++ b/tencentcloud/tia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tic/go.mod b/tencentcloud/tic/go.mod index 74883a1924..7c76f71ec1 100644 --- a/tencentcloud/tic/go.mod +++ b/tencentcloud/tic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ticm/go.mod b/tencentcloud/ticm/go.mod index f71ef657e7..ee67c701c5 100644 --- a/tencentcloud/ticm/go.mod +++ b/tencentcloud/ticm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tics/go.mod b/tencentcloud/tics/go.mod index f567f11ff9..464740e2a6 100644 --- a/tencentcloud/tics/go.mod +++ b/tencentcloud/tics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tiems/go.mod b/tencentcloud/tiems/go.mod index 5134650be0..7496d7db1f 100644 --- a/tencentcloud/tiems/go.mod +++ b/tencentcloud/tiems/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tiia/go.mod b/tencentcloud/tiia/go.mod index 4a54a89987..51c143c324 100644 --- a/tencentcloud/tiia/go.mod +++ b/tencentcloud/tiia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tione/go.mod b/tencentcloud/tione/go.mod index d8052e9b61..533f717261 100644 --- a/tencentcloud/tione/go.mod +++ b/tencentcloud/tione/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tione/v20211111/models.go b/tencentcloud/tione/v20211111/models.go index 43929f592e..83b8487ae3 100644 --- a/tencentcloud/tione/v20211111/models.go +++ b/tencentcloud/tione/v20211111/models.go @@ -1990,7 +1990,7 @@ type CreateTrainingTaskRequestParams struct { // COS代码包路径 CodePackagePath *CosPathInfo `json:"CodePackagePath,omitnil,omitempty" name:"CodePackagePath"` - // 启动命令信息,默认为sh start.sh + // 任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数 StartCmdInfo *StartCmdInfo `json:"StartCmdInfo,omitnil,omitempty" name:"StartCmdInfo"` // 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD @@ -2028,6 +2028,9 @@ type CreateTrainingTaskRequestParams struct { // 太极预训练模型ID PreTrainModel *PreTrainModel `json:"PreTrainModel,omitnil,omitempty" name:"PreTrainModel"` + + // 编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效 + EncodedStartCmdInfo *EncodedStartCmdInfo `json:"EncodedStartCmdInfo,omitnil,omitempty" name:"EncodedStartCmdInfo"` } type CreateTrainingTaskRequest struct { @@ -2064,7 +2067,7 @@ type CreateTrainingTaskRequest struct { // COS代码包路径 CodePackagePath *CosPathInfo `json:"CodePackagePath,omitnil,omitempty" name:"CodePackagePath"` - // 启动命令信息,默认为sh start.sh + // 任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数 StartCmdInfo *StartCmdInfo `json:"StartCmdInfo,omitnil,omitempty" name:"StartCmdInfo"` // 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD @@ -2102,6 +2105,9 @@ type CreateTrainingTaskRequest struct { // 太极预训练模型ID PreTrainModel *PreTrainModel `json:"PreTrainModel,omitnil,omitempty" name:"PreTrainModel"` + + // 编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效 + EncodedStartCmdInfo *EncodedStartCmdInfo `json:"EncodedStartCmdInfo,omitnil,omitempty" name:"EncodedStartCmdInfo"` } func (r *CreateTrainingTaskRequest) ToJsonString() string { @@ -2139,6 +2145,7 @@ func (r *CreateTrainingTaskRequest) FromJsonString(s string) error { delete(f, "DataSource") delete(f, "CallbackUrl") delete(f, "PreTrainModel") + delete(f, "EncodedStartCmdInfo") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTrainingTaskRequest has unknown keys!", "") } @@ -6472,6 +6479,11 @@ type DetectionLabelInfo struct { FrameType *string `json:"FrameType,omitnil,omitempty" name:"FrameType"` } +type EncodedStartCmdInfo struct { + // 任务的启动命令,以base64格式输入,注意转换时需要完整输入{"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""} + StartCmdInfo *string `json:"StartCmdInfo,omitnil,omitempty" name:"StartCmdInfo"` +} + type EngineVersion struct { // 引擎版本 // 注意:此字段可能返回 null,表示取不到有效值。 diff --git a/tencentcloud/tiw/go.mod b/tencentcloud/tiw/go.mod index 8b5bb5f034..bee0852c50 100644 --- a/tencentcloud/tiw/go.mod +++ b/tencentcloud/tiw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tke/go.mod b/tencentcloud/tke/go.mod index e82b89b154..69c7b542bc 100644 --- a/tencentcloud/tke/go.mod +++ b/tencentcloud/tke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tkgdq/go.mod b/tencentcloud/tkgdq/go.mod index 14945b2d53..6a6b9dd530 100644 --- a/tencentcloud/tkgdq/go.mod +++ b/tencentcloud/tkgdq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tms/go.mod b/tencentcloud/tms/go.mod index 9275746a73..6516d3f572 100644 --- a/tencentcloud/tms/go.mod +++ b/tencentcloud/tms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tmt/go.mod b/tencentcloud/tmt/go.mod index 1b1124ba3f..3e37dd6b7b 100644 --- a/tencentcloud/tmt/go.mod +++ b/tencentcloud/tmt/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tourism/go.mod b/tencentcloud/tourism/go.mod index 78ec0a00f4..35e00e0236 100644 --- a/tencentcloud/tourism/go.mod +++ b/tencentcloud/tourism/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tourism go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/trdp/go.mod b/tencentcloud/trdp/go.mod index 93ae62c6ba..2f939e4759 100644 --- a/tencentcloud/trdp/go.mod +++ b/tencentcloud/trdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/trocket/go.mod b/tencentcloud/trocket/go.mod index 260c14cd45..101d1fe584 100644 --- a/tencentcloud/trocket/go.mod +++ b/tencentcloud/trocket/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trocket go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/trp/go.mod b/tencentcloud/trp/go.mod index d9cf824b56..b14101cf35 100644 --- a/tencentcloud/trp/go.mod +++ b/tencentcloud/trp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/trro/go.mod b/tencentcloud/trro/go.mod index 5f60c8f00c..417a947b90 100644 --- a/tencentcloud/trro/go.mod +++ b/tencentcloud/trro/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trro go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/trtc/go.mod b/tencentcloud/trtc/go.mod index c75f2ad83a..30641bddb2 100644 --- a/tencentcloud/trtc/go.mod +++ b/tencentcloud/trtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/trtc/v20190722/models.go b/tencentcloud/trtc/v20190722/models.go index 26364501d3..ed630e295c 100644 --- a/tencentcloud/trtc/v20190722/models.go +++ b/tencentcloud/trtc/v20190722/models.go @@ -2842,6 +2842,17 @@ type McuAudioParams struct { UnSubscribeAudioList []*McuUserInfoParams `json:"UnSubscribeAudioList,omitnil,omitempty" name:"UnSubscribeAudioList"` } +type McuBackgroundCustomRender struct { + // 自定义渲染画面的宽度,单位为像素值,需大于0,且不能超过子布局的宽。 + Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"` + + // 自定义渲染画面的高度,单位为像素值,需大于0,且不能超过子布局的高。 + Height *uint64 `json:"Height,omitnil,omitempty" name:"Height"` + + // 自定义渲染画面的圆角半径,单位为像素值,不能超过渲染画面Width和Height最小值的一半,不指定默认为0,表示直角。 + Radius *uint64 `json:"Radius,omitnil,omitempty" name:"Radius"` +} + type McuCustomCrop struct { // 自定义裁剪起始位置的X偏移,单位为像素值,大于等于0。 LocationX *uint64 `json:"LocationX,omitnil,omitempty" name:"LocationX"` @@ -2909,12 +2920,15 @@ type McuLayout struct { // 客户自定义裁剪,针对原始输入流裁剪 CustomCrop *McuCustomCrop `json:"CustomCrop,omitnil,omitempty" name:"CustomCrop"` - // 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩。不填默认为3。 + // 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。 BackgroundRenderMode *uint64 `json:"BackgroundRenderMode,omitnil,omitempty" name:"BackgroundRenderMode"` // 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。 // 注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。 TransparentUrl *string `json:"TransparentUrl,omitnil,omitempty" name:"TransparentUrl"` + + // 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。 + BackgroundCustomRender *McuBackgroundCustomRender `json:"BackgroundCustomRender,omitnil,omitempty" name:"BackgroundCustomRender"` } type McuLayoutParams struct { diff --git a/tencentcloud/tse/go.mod b/tencentcloud/tse/go.mod index 216864d5e6..37a58b34c1 100644 --- a/tencentcloud/tse/go.mod +++ b/tencentcloud/tse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tsf/go.mod b/tencentcloud/tsf/go.mod index d086b815f9..7fa56fbd71 100644 --- a/tencentcloud/tsf/go.mod +++ b/tencentcloud/tsf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tsw/go.mod b/tencentcloud/tsw/go.mod index f1003f2306..9590dd9102 100644 --- a/tencentcloud/tsw/go.mod +++ b/tencentcloud/tsw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/tts/go.mod b/tencentcloud/tts/go.mod index 1d1b23d5ad..ba8eb033ab 100644 --- a/tencentcloud/tts/go.mod +++ b/tencentcloud/tts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/ump/go.mod b/tencentcloud/ump/go.mod index 6462b711ab..81b2e4019d 100644 --- a/tencentcloud/ump/go.mod +++ b/tencentcloud/ump/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/vm/go.mod b/tencentcloud/vm/go.mod index 322e7b54b5..b42373701d 100644 --- a/tencentcloud/vm/go.mod +++ b/tencentcloud/vm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/vms/go.mod b/tencentcloud/vms/go.mod index 9d36d8702c..8aee337064 100644 --- a/tencentcloud/vms/go.mod +++ b/tencentcloud/vms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/vod/go.mod b/tencentcloud/vod/go.mod index a1f57deb84..5ef223998b 100644 --- a/tencentcloud/vod/go.mod +++ b/tencentcloud/vod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/vpc/go.mod b/tencentcloud/vpc/go.mod index c8705a8c0d..d217ab3c00 100644 --- a/tencentcloud/vpc/go.mod +++ b/tencentcloud/vpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/vrs/go.mod b/tencentcloud/vrs/go.mod index a5383de4df..b890b2ad49 100644 --- a/tencentcloud/vrs/go.mod +++ b/tencentcloud/vrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/waf/go.mod b/tencentcloud/waf/go.mod index 9cc9635c1b..2e2c28a1f0 100644 --- a/tencentcloud/waf/go.mod +++ b/tencentcloud/waf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/wav/go.mod b/tencentcloud/wav/go.mod index 60bb6e9c29..6d2f074a8f 100644 --- a/tencentcloud/wav/go.mod +++ b/tencentcloud/wav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/wedata/go.mod b/tencentcloud/wedata/go.mod index d6a09d21c8..5936d17b8f 100644 --- a/tencentcloud/wedata/go.mod +++ b/tencentcloud/wedata/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/wedata/v20210820/client.go b/tencentcloud/wedata/v20210820/client.go index 39a2211f3e..a905f2ba73 100644 --- a/tencentcloud/wedata/v20210820/client.go +++ b/tencentcloud/wedata/v20210820/client.go @@ -2080,55 +2080,6 @@ func (c *Client) CreateHiveTableByDDLWithContext(ctx context.Context, request *C return } -func NewCreateInLongAgentRequest() (request *CreateInLongAgentRequest) { - request = &CreateInLongAgentRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "CreateInLongAgent") - - - return -} - -func NewCreateInLongAgentResponse() (response *CreateInLongAgentResponse) { - response = &CreateInLongAgentResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// CreateInLongAgent -// 注册采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) CreateInLongAgent(request *CreateInLongAgentRequest) (response *CreateInLongAgentResponse, err error) { - return c.CreateInLongAgentWithContext(context.Background(), request) -} - -// CreateInLongAgent -// 注册采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) CreateInLongAgentWithContext(ctx context.Context, request *CreateInLongAgentRequest) (response *CreateInLongAgentResponse, err error) { - if request == nil { - request = NewCreateInLongAgentRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("CreateInLongAgent require credential") - } - - request.SetContext(ctx) - - response = NewCreateInLongAgentResponse() - err = c.Send(request, response) - return -} - func NewCreateIntegrationNodeRequest() (request *CreateIntegrationNodeRequest) { request = &CreateIntegrationNodeRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -3217,55 +3168,6 @@ func (c *Client) DeleteFolderWithContext(ctx context.Context, request *DeleteFol return } -func NewDeleteInLongAgentRequest() (request *DeleteInLongAgentRequest) { - request = &DeleteInLongAgentRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DeleteInLongAgent") - - - return -} - -func NewDeleteInLongAgentResponse() (response *DeleteInLongAgentResponse) { - response = &DeleteInLongAgentResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DeleteInLongAgent -// 删除采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DeleteInLongAgent(request *DeleteInLongAgentRequest) (response *DeleteInLongAgentResponse, err error) { - return c.DeleteInLongAgentWithContext(context.Background(), request) -} - -// DeleteInLongAgent -// 删除采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DeleteInLongAgentWithContext(ctx context.Context, request *DeleteInLongAgentRequest) (response *DeleteInLongAgentResponse, err error) { - if request == nil { - request = NewDeleteInLongAgentRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DeleteInLongAgent require credential") - } - - request.SetContext(ctx) - - response = NewDeleteInLongAgentResponse() - err = c.Send(request, response) - return -} - func NewDeleteIntegrationNodeRequest() (request *DeleteIntegrationNodeRequest) { request = &DeleteIntegrationNodeRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -4879,55 +4781,6 @@ func (c *Client) DescribeBelongToWithContext(ctx context.Context, request *Descr return } -func NewDescribeClusterNamespaceListRequest() (request *DescribeClusterNamespaceListRequest) { - request = &DescribeClusterNamespaceListRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeClusterNamespaceList") - - - return -} - -func NewDescribeClusterNamespaceListResponse() (response *DescribeClusterNamespaceListResponse) { - response = &DescribeClusterNamespaceListResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeClusterNamespaceList -// 获取集群命名空间列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeClusterNamespaceList(request *DescribeClusterNamespaceListRequest) (response *DescribeClusterNamespaceListResponse, err error) { - return c.DescribeClusterNamespaceListWithContext(context.Background(), request) -} - -// DescribeClusterNamespaceList -// 获取集群命名空间列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeClusterNamespaceListWithContext(ctx context.Context, request *DescribeClusterNamespaceListRequest) (response *DescribeClusterNamespaceListResponse, err error) { - if request == nil { - request = NewDescribeClusterNamespaceListRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeClusterNamespaceList require credential") - } - - request.SetContext(ctx) - - response = NewDescribeClusterNamespaceListResponse() - err = c.Send(request, response) - return -} - func NewDescribeColumnLineageRequest() (request *DescribeColumnLineageRequest) { request = &DescribeColumnLineageRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -6907,202 +6760,6 @@ func (c *Client) DescribeFunctionTypesWithContext(ctx context.Context, request * return } -func NewDescribeInLongAgentListRequest() (request *DescribeInLongAgentListRequest) { - request = &DescribeInLongAgentListRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeInLongAgentList") - - - return -} - -func NewDescribeInLongAgentListResponse() (response *DescribeInLongAgentListResponse) { - response = &DescribeInLongAgentListResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeInLongAgentList -// 获取采集器列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongAgentList(request *DescribeInLongAgentListRequest) (response *DescribeInLongAgentListResponse, err error) { - return c.DescribeInLongAgentListWithContext(context.Background(), request) -} - -// DescribeInLongAgentList -// 获取采集器列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongAgentListWithContext(ctx context.Context, request *DescribeInLongAgentListRequest) (response *DescribeInLongAgentListResponse, err error) { - if request == nil { - request = NewDescribeInLongAgentListRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeInLongAgentList require credential") - } - - request.SetContext(ctx) - - response = NewDescribeInLongAgentListResponse() - err = c.Send(request, response) - return -} - -func NewDescribeInLongAgentTaskListRequest() (request *DescribeInLongAgentTaskListRequest) { - request = &DescribeInLongAgentTaskListRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeInLongAgentTaskList") - - - return -} - -func NewDescribeInLongAgentTaskListResponse() (response *DescribeInLongAgentTaskListResponse) { - response = &DescribeInLongAgentTaskListResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeInLongAgentTaskList -// 查询采集器关联的任务列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongAgentTaskList(request *DescribeInLongAgentTaskListRequest) (response *DescribeInLongAgentTaskListResponse, err error) { - return c.DescribeInLongAgentTaskListWithContext(context.Background(), request) -} - -// DescribeInLongAgentTaskList -// 查询采集器关联的任务列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongAgentTaskListWithContext(ctx context.Context, request *DescribeInLongAgentTaskListRequest) (response *DescribeInLongAgentTaskListResponse, err error) { - if request == nil { - request = NewDescribeInLongAgentTaskListRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeInLongAgentTaskList require credential") - } - - request.SetContext(ctx) - - response = NewDescribeInLongAgentTaskListResponse() - err = c.Send(request, response) - return -} - -func NewDescribeInLongAgentVpcListRequest() (request *DescribeInLongAgentVpcListRequest) { - request = &DescribeInLongAgentVpcListRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeInLongAgentVpcList") - - - return -} - -func NewDescribeInLongAgentVpcListResponse() (response *DescribeInLongAgentVpcListResponse) { - response = &DescribeInLongAgentVpcListResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeInLongAgentVpcList -// 获取采集器所在集群的VPC列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongAgentVpcList(request *DescribeInLongAgentVpcListRequest) (response *DescribeInLongAgentVpcListResponse, err error) { - return c.DescribeInLongAgentVpcListWithContext(context.Background(), request) -} - -// DescribeInLongAgentVpcList -// 获取采集器所在集群的VPC列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongAgentVpcListWithContext(ctx context.Context, request *DescribeInLongAgentVpcListRequest) (response *DescribeInLongAgentVpcListResponse, err error) { - if request == nil { - request = NewDescribeInLongAgentVpcListRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeInLongAgentVpcList require credential") - } - - request.SetContext(ctx) - - response = NewDescribeInLongAgentVpcListResponse() - err = c.Send(request, response) - return -} - -func NewDescribeInLongTkeClusterListRequest() (request *DescribeInLongTkeClusterListRequest) { - request = &DescribeInLongTkeClusterListRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeInLongTkeClusterList") - - - return -} - -func NewDescribeInLongTkeClusterListResponse() (response *DescribeInLongTkeClusterListResponse) { - response = &DescribeInLongTkeClusterListResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeInLongTkeClusterList -// 获取TKE集群列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongTkeClusterList(request *DescribeInLongTkeClusterListRequest) (response *DescribeInLongTkeClusterListResponse, err error) { - return c.DescribeInLongTkeClusterListWithContext(context.Background(), request) -} - -// DescribeInLongTkeClusterList -// 获取TKE集群列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeInLongTkeClusterListWithContext(ctx context.Context, request *DescribeInLongTkeClusterListRequest) (response *DescribeInLongTkeClusterListResponse, err error) { - if request == nil { - request = NewDescribeInLongTkeClusterListRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeInLongTkeClusterList require credential") - } - - request.SetContext(ctx) - - response = NewDescribeInLongTkeClusterListResponse() - err = c.Send(request, response) - return -} - func NewDescribeInstanceByCycleRequest() (request *DescribeInstanceByCycleRequest) { request = &DescribeInstanceByCycleRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -7126,7 +6783,7 @@ func NewDescribeInstanceByCycleResponse() (response *DescribeInstanceByCycleResp // 根据周期类型查询所有实例 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" +// OPERATIONDENIED_USERNOTINWHITELISTERROR = "OperationDenied.UserNotInWhitelistError" func (c *Client) DescribeInstanceByCycle(request *DescribeInstanceByCycleRequest) (response *DescribeInstanceByCycleResponse, err error) { return c.DescribeInstanceByCycleWithContext(context.Background(), request) } @@ -7135,7 +6792,7 @@ func (c *Client) DescribeInstanceByCycle(request *DescribeInstanceByCycleRequest // 根据周期类型查询所有实例 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" +// OPERATIONDENIED_USERNOTINWHITELISTERROR = "OperationDenied.UserNotInWhitelistError" func (c *Client) DescribeInstanceByCycleWithContext(ctx context.Context, request *DescribeInstanceByCycleRequest) (response *DescribeInstanceByCycleResponse, err error) { if request == nil { request = NewDescribeInstanceByCycleRequest() @@ -7778,57 +7435,6 @@ func (c *Client) DescribeIntegrationStatisticsWithContext(ctx context.Context, r return } -func NewDescribeIntegrationStatisticsAgentStatusRequest() (request *DescribeIntegrationStatisticsAgentStatusRequest) { - request = &DescribeIntegrationStatisticsAgentStatusRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeIntegrationStatisticsAgentStatus") - - - return -} - -func NewDescribeIntegrationStatisticsAgentStatusResponse() (response *DescribeIntegrationStatisticsAgentStatusResponse) { - response = &DescribeIntegrationStatisticsAgentStatusResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeIntegrationStatisticsAgentStatus -// 数据集成大屏采集器状态分布统计 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -func (c *Client) DescribeIntegrationStatisticsAgentStatus(request *DescribeIntegrationStatisticsAgentStatusRequest) (response *DescribeIntegrationStatisticsAgentStatusResponse, err error) { - return c.DescribeIntegrationStatisticsAgentStatusWithContext(context.Background(), request) -} - -// DescribeIntegrationStatisticsAgentStatus -// 数据集成大屏采集器状态分布统计 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -func (c *Client) DescribeIntegrationStatisticsAgentStatusWithContext(ctx context.Context, request *DescribeIntegrationStatisticsAgentStatusRequest) (response *DescribeIntegrationStatisticsAgentStatusResponse, err error) { - if request == nil { - request = NewDescribeIntegrationStatisticsAgentStatusRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeIntegrationStatisticsAgentStatus require credential") - } - - request.SetContext(ctx) - - response = NewDescribeIntegrationStatisticsAgentStatusResponse() - err = c.Send(request, response) - return -} - func NewDescribeIntegrationStatisticsInstanceTrendRequest() (request *DescribeIntegrationStatisticsInstanceTrendRequest) { request = &DescribeIntegrationStatisticsInstanceTrendRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -10897,55 +10503,6 @@ func (c *Client) DescribeSonInstancesWithContext(ctx context.Context, request *D return } -func NewDescribeStandardRuleDetailInfoListRequest() (request *DescribeStandardRuleDetailInfoListRequest) { - request = &DescribeStandardRuleDetailInfoListRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "DescribeStandardRuleDetailInfoList") - - - return -} - -func NewDescribeStandardRuleDetailInfoListResponse() (response *DescribeStandardRuleDetailInfoListResponse) { - response = &DescribeStandardRuleDetailInfoListResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeStandardRuleDetailInfoList -// 获取数据标准规则详情 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeStandardRuleDetailInfoList(request *DescribeStandardRuleDetailInfoListRequest) (response *DescribeStandardRuleDetailInfoListResponse, err error) { - return c.DescribeStandardRuleDetailInfoListWithContext(context.Background(), request) -} - -// DescribeStandardRuleDetailInfoList -// 获取数据标准规则详情 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) DescribeStandardRuleDetailInfoListWithContext(ctx context.Context, request *DescribeStandardRuleDetailInfoListRequest) (response *DescribeStandardRuleDetailInfoListResponse, err error) { - if request == nil { - request = NewDescribeStandardRuleDetailInfoListRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeStandardRuleDetailInfoList require credential") - } - - request.SetContext(ctx) - - response = NewDescribeStandardRuleDetailInfoListResponse() - err = c.Send(request, response) - return -} - func NewDescribeStatisticInstanceStatusTrendOpsRequest() (request *DescribeStatisticInstanceStatusTrendOpsRequest) { request = &DescribeStatisticInstanceStatusTrendOpsRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -15707,55 +15264,6 @@ func (c *Client) RerunScheduleInstancesWithContext(ctx context.Context, request return } -func NewRestartInLongAgentRequest() (request *RestartInLongAgentRequest) { - request = &RestartInLongAgentRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "RestartInLongAgent") - - - return -} - -func NewRestartInLongAgentResponse() (response *RestartInLongAgentResponse) { - response = &RestartInLongAgentResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// RestartInLongAgent -// 重启采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) RestartInLongAgent(request *RestartInLongAgentRequest) (response *RestartInLongAgentResponse, err error) { - return c.RestartInLongAgentWithContext(context.Background(), request) -} - -// RestartInLongAgent -// 重启采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) RestartInLongAgentWithContext(ctx context.Context, request *RestartInLongAgentRequest) (response *RestartInLongAgentResponse, err error) { - if request == nil { - request = NewRestartInLongAgentRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("RestartInLongAgent require credential") - } - - request.SetContext(ctx) - - response = NewRestartInLongAgentResponse() - err = c.Send(request, response) - return -} - func NewResumeIntegrationTaskRequest() (request *ResumeIntegrationTaskRequest) { request = &ResumeIntegrationTaskRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -17150,55 +16658,6 @@ func (c *Client) UnlockIntegrationTaskWithContext(ctx context.Context, request * return } -func NewUpdateInLongAgentRequest() (request *UpdateInLongAgentRequest) { - request = &UpdateInLongAgentRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("wedata", APIVersion, "UpdateInLongAgent") - - - return -} - -func NewUpdateInLongAgentResponse() (response *UpdateInLongAgentResponse) { - response = &UpdateInLongAgentResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// UpdateInLongAgent -// 更新采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) UpdateInLongAgent(request *UpdateInLongAgentRequest) (response *UpdateInLongAgentResponse, err error) { - return c.UpdateInLongAgentWithContext(context.Background(), request) -} - -// UpdateInLongAgent -// 更新采集器 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -func (c *Client) UpdateInLongAgentWithContext(ctx context.Context, request *UpdateInLongAgentRequest) (response *UpdateInLongAgentResponse, err error) { - if request == nil { - request = NewUpdateInLongAgentRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("UpdateInLongAgent require credential") - } - - request.SetContext(ctx) - - response = NewUpdateInLongAgentResponse() - err = c.Send(request, response) - return -} - func NewUpdateWorkflowOwnerRequest() (request *UpdateWorkflowOwnerRequest) { request = &UpdateWorkflowOwnerRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/wedata/v20210820/models.go b/tencentcloud/wedata/v20210820/models.go index eb68066c18..5e4c63e6cf 100644 --- a/tencentcloud/wedata/v20210820/models.go +++ b/tencentcloud/wedata/v20210820/models.go @@ -4887,98 +4887,6 @@ func (r *CreateHiveTableResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type CreateInLongAgentRequestParams struct { - // 采集器类型,1:TKE Agent,2:BOSS SDK,默认:1 - AgentType *uint64 `json:"AgentType,omitnil,omitempty" name:"AgentType"` - - // 采集器名称 - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // 集成资源组id - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // TKE集群的地域 - TkeRegion *string `json:"TkeRegion,omitnil,omitempty" name:"TkeRegion"` - - // 当AgentType为1时,必填。当AgentType为2时,不用填 - ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` -} - -type CreateInLongAgentRequest struct { - *tchttp.BaseRequest - - // 采集器类型,1:TKE Agent,2:BOSS SDK,默认:1 - AgentType *uint64 `json:"AgentType,omitnil,omitempty" name:"AgentType"` - - // 采集器名称 - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // 集成资源组id - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // TKE集群的地域 - TkeRegion *string `json:"TkeRegion,omitnil,omitempty" name:"TkeRegion"` - - // 当AgentType为1时,必填。当AgentType为2时,不用填 - ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` -} - -func (r *CreateInLongAgentRequest) 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 *CreateInLongAgentRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "AgentType") - delete(f, "AgentName") - delete(f, "ExecutorGroupId") - delete(f, "ProjectId") - delete(f, "TkeRegion") - delete(f, "ClusterId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateInLongAgentRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateInLongAgentResponseParams struct { - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type CreateInLongAgentResponse struct { - *tchttp.BaseResponse - Response *CreateInLongAgentResponseParams `json:"Response"` -} - -func (r *CreateInLongAgentResponse) 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 *CreateInLongAgentResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type CreateIntegrationNodeRequestParams struct { // 集成节点信息 @@ -6318,16 +6226,6 @@ func (r *CreateWorkflowResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CvmAgentStatus struct { - // agent状态 - // 注意:此字段可能返回 null,表示取不到有效值。 - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // 对应状态的agent总数 - // 注意:此字段可能返回 null,表示取不到有效值。 - Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` -} - // Predefined struct for user type DagInstancesRequestParams struct { // 实例列表 @@ -7369,67 +7267,6 @@ func (r *DeleteFolderResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type DeleteInLongAgentRequestParams struct { - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -type DeleteInLongAgentRequest struct { - *tchttp.BaseRequest - - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -func (r *DeleteInLongAgentRequest) 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 *DeleteInLongAgentRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "AgentId") - delete(f, "ProjectId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteInLongAgentRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DeleteInLongAgentResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DeleteInLongAgentResponse struct { - *tchttp.BaseResponse - Response *DeleteInLongAgentResponseParams `json:"Response"` -} - -func (r *DeleteInLongAgentResponse) 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 *DeleteInLongAgentResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type DeleteIntegrationNodeRequestParams struct { // 节点id @@ -10059,70 +9896,6 @@ func (r *DescribeBelongToResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type DescribeClusterNamespaceListRequestParams struct { - // 集群ID - ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -type DescribeClusterNamespaceListRequest struct { - *tchttp.BaseRequest - - // 集群ID - ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -func (r *DescribeClusterNamespaceListRequest) 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 *DescribeClusterNamespaceListRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "ClusterId") - delete(f, "ProjectId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeClusterNamespaceListRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeClusterNamespaceListResponseParams struct { - // 命名空间 - Namespaces []*Namespace `json:"Namespaces,omitnil,omitempty" name:"Namespaces"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeClusterNamespaceListResponse struct { - *tchttp.BaseResponse - Response *DescribeClusterNamespaceListResponseParams `json:"Response"` -} - -func (r *DescribeClusterNamespaceListResponse) 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 *DescribeClusterNamespaceListResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type DescribeColumnLineageRequestParams struct { // 查询方向,INPUT,OUTPUT,BOTH枚举值 @@ -13241,383 +13014,6 @@ func (r *DescribeFunctionTypesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type DescribeInLongAgentListRequestParams struct { - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // Agent Name - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // 集群类型,1:TKE Agent,2:BOSS SDK,默认:1,3:CVM,4:自建服务器 【传多个用逗号分割】 - AgentType *uint64 `json:"AgentType,omitnil,omitempty" name:"AgentType"` - - // Agent状态(running运行中,initializing 操作中,failed心跳异常) - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // Vpc Id - VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` - - // 分页页码,从1开始,默认:1 - PageIndex *uint64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` - - // 分页每页记录数,默认10 - PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` - - // 名称搜索是否开启模糊匹配,1:开启,0:不开启(精确匹配) - Like *uint64 `json:"Like,omitnil,omitempty" name:"Like"` - - // agent类型【多个用逗号分隔】 - AgentTypes *string `json:"AgentTypes,omitnil,omitempty" name:"AgentTypes"` -} - -type DescribeInLongAgentListRequest struct { - *tchttp.BaseRequest - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // Agent Name - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // 集群类型,1:TKE Agent,2:BOSS SDK,默认:1,3:CVM,4:自建服务器 【传多个用逗号分割】 - AgentType *uint64 `json:"AgentType,omitnil,omitempty" name:"AgentType"` - - // Agent状态(running运行中,initializing 操作中,failed心跳异常) - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // Vpc Id - VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` - - // 分页页码,从1开始,默认:1 - PageIndex *uint64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` - - // 分页每页记录数,默认10 - PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` - - // 名称搜索是否开启模糊匹配,1:开启,0:不开启(精确匹配) - Like *uint64 `json:"Like,omitnil,omitempty" name:"Like"` - - // agent类型【多个用逗号分隔】 - AgentTypes *string `json:"AgentTypes,omitnil,omitempty" name:"AgentTypes"` -} - -func (r *DescribeInLongAgentListRequest) 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 *DescribeInLongAgentListRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "ProjectId") - delete(f, "AgentId") - delete(f, "AgentName") - delete(f, "AgentType") - delete(f, "Status") - delete(f, "VpcId") - delete(f, "PageIndex") - delete(f, "PageSize") - delete(f, "Like") - delete(f, "AgentTypes") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInLongAgentListRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongAgentListResponseParams struct { - // 采集器信息列表 - Items []*InLongAgentDetail `json:"Items,omitnil,omitempty" name:"Items"` - - // 页码 - PageIndex *uint64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` - - // 每页记录数 - PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` - - // 总记录数 - TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` - - // 总页数 - TotalPage *uint64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeInLongAgentListResponse struct { - *tchttp.BaseResponse - Response *DescribeInLongAgentListResponseParams `json:"Response"` -} - -func (r *DescribeInLongAgentListResponse) 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 *DescribeInLongAgentListResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongAgentTaskListRequestParams struct { - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -type DescribeInLongAgentTaskListRequest struct { - *tchttp.BaseRequest - - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -func (r *DescribeInLongAgentTaskListRequest) 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 *DescribeInLongAgentTaskListRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "AgentId") - delete(f, "ProjectId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInLongAgentTaskListRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongAgentTaskListResponseParams struct { - // 采集器关联的集成任务列表 - Items []*InLongAgentTask `json:"Items,omitnil,omitempty" name:"Items"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeInLongAgentTaskListResponse struct { - *tchttp.BaseResponse - Response *DescribeInLongAgentTaskListResponseParams `json:"Response"` -} - -func (r *DescribeInLongAgentTaskListResponse) 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 *DescribeInLongAgentTaskListResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongAgentVpcListRequestParams struct { - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -type DescribeInLongAgentVpcListRequest struct { - *tchttp.BaseRequest - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -func (r *DescribeInLongAgentVpcListRequest) 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 *DescribeInLongAgentVpcListRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "ProjectId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInLongAgentVpcListRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongAgentVpcListResponseParams struct { - // VPC列表 - VpcList []*string `json:"VpcList,omitnil,omitempty" name:"VpcList"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeInLongAgentVpcListResponse struct { - *tchttp.BaseResponse - Response *DescribeInLongAgentVpcListResponseParams `json:"Response"` -} - -func (r *DescribeInLongAgentVpcListResponse) 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 *DescribeInLongAgentVpcListResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongTkeClusterListRequestParams struct { - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // TKE集群地域 - TkeRegion *string `json:"TkeRegion,omitnil,omitempty" name:"TkeRegion"` - - // 集群名称。 - // 多个名称用逗号连接。 - ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` - - // TKE集群状态 (Running 运行中 Creating 创建中 Idling 闲置中 Abnormal 异常 Failed 失败 Deleting 删除中 Scaling 规模调整中 Upgrading 升级中 Isolated 欠费隔离中 NodeUpgrading 节点升级中 Recovering 唤醒中 Activating 激活中 MasterScaling Master扩缩容中 Waiting 等待注册 ClusterLevelUpgrading 调整规格中 ResourceIsolate 隔离中 ResourceIsolated 已隔离 ResourceReverse 冲正中 Trading 集群开通中 ResourceReversal 集群冲正 ClusterLevelTrading 集群变配交易中) - // 多个状态用逗号连接。 - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // 是否安装Agent,true: 是,false: 否 - HasAgent *bool `json:"HasAgent,omitnil,omitempty" name:"HasAgent"` - - // 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。 - // 多个集群用逗号连接。 - ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` - - // 分页页码,从1开始,默认:1 - PageIndex *uint64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` - - // 分页每页记录数,默认10 - PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` -} - -type DescribeInLongTkeClusterListRequest struct { - *tchttp.BaseRequest - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // TKE集群地域 - TkeRegion *string `json:"TkeRegion,omitnil,omitempty" name:"TkeRegion"` - - // 集群名称。 - // 多个名称用逗号连接。 - ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` - - // TKE集群状态 (Running 运行中 Creating 创建中 Idling 闲置中 Abnormal 异常 Failed 失败 Deleting 删除中 Scaling 规模调整中 Upgrading 升级中 Isolated 欠费隔离中 NodeUpgrading 节点升级中 Recovering 唤醒中 Activating 激活中 MasterScaling Master扩缩容中 Waiting 等待注册 ClusterLevelUpgrading 调整规格中 ResourceIsolate 隔离中 ResourceIsolated 已隔离 ResourceReverse 冲正中 Trading 集群开通中 ResourceReversal 集群冲正 ClusterLevelTrading 集群变配交易中) - // 多个状态用逗号连接。 - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // 是否安装Agent,true: 是,false: 否 - HasAgent *bool `json:"HasAgent,omitnil,omitempty" name:"HasAgent"` - - // 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。 - // 多个集群用逗号连接。 - ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` - - // 分页页码,从1开始,默认:1 - PageIndex *uint64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` - - // 分页每页记录数,默认10 - PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` -} - -func (r *DescribeInLongTkeClusterListRequest) 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 *DescribeInLongTkeClusterListRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "ProjectId") - delete(f, "TkeRegion") - delete(f, "ClusterName") - delete(f, "Status") - delete(f, "HasAgent") - delete(f, "ClusterType") - delete(f, "PageIndex") - delete(f, "PageSize") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeInLongTkeClusterListRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeInLongTkeClusterListResponseParams struct { - // TKE集群信息 - Items []*InLongTkeDetail `json:"Items,omitnil,omitempty" name:"Items"` - - // 页码 - PageIndex *uint64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` - - // 每页记录数 - PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` - - // 总记录数 - TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` - - // 总页数 - TotalPage *uint64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeInLongTkeClusterListResponse struct { - *tchttp.BaseResponse - Response *DescribeInLongTkeClusterListResponseParams `json:"Response"` -} - -func (r *DescribeInLongTkeClusterListResponse) 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 *DescribeInLongTkeClusterListResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type DescribeInstanceByCycleReportRequestParams struct { // 周期类型 @@ -14707,85 +14103,6 @@ func (r *DescribeIntegrationNodeResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type DescribeIntegrationStatisticsAgentStatusRequestParams struct { - // 任务类型(实时:201,离线:202) - TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` - - // 项目id - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 查询日期 - QueryDate *string `json:"QueryDate,omitnil,omitempty" name:"QueryDate"` - - // 资源组id - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` -} - -type DescribeIntegrationStatisticsAgentStatusRequest struct { - *tchttp.BaseRequest - - // 任务类型(实时:201,离线:202) - TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` - - // 项目id - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 查询日期 - QueryDate *string `json:"QueryDate,omitnil,omitempty" name:"QueryDate"` - - // 资源组id - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` -} - -func (r *DescribeIntegrationStatisticsAgentStatusRequest) 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 *DescribeIntegrationStatisticsAgentStatusRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TaskType") - delete(f, "ProjectId") - delete(f, "QueryDate") - delete(f, "ExecutorGroupId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeIntegrationStatisticsAgentStatusRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeIntegrationStatisticsAgentStatusResponseParams struct { - // 统计结果 - // 注意:此字段可能返回 null,表示取不到有效值。 - StatusData *string `json:"StatusData,omitnil,omitempty" name:"StatusData"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeIntegrationStatisticsAgentStatusResponse struct { - *tchttp.BaseResponse - Response *DescribeIntegrationStatisticsAgentStatusResponseParams `json:"Response"` -} - -func (r *DescribeIntegrationStatisticsAgentStatusResponse) 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 *DescribeIntegrationStatisticsAgentStatusResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type DescribeIntegrationStatisticsInstanceTrendRequestParams struct { // 任务类型(实时:201,离线:202) @@ -20058,71 +19375,6 @@ func (r *DescribeSonInstancesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type DescribeStandardRuleDetailInfoListRequestParams struct { - // 空间、项目id - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 标准分类11编码映射 12数据过滤 13字符串转换 14数据元定义 15正则表达 16术语词典 - Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` -} - -type DescribeStandardRuleDetailInfoListRequest struct { - *tchttp.BaseRequest - - // 空间、项目id - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 标准分类11编码映射 12数据过滤 13字符串转换 14数据元定义 15正则表达 16术语词典 - Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` -} - -func (r *DescribeStandardRuleDetailInfoListRequest) 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 *DescribeStandardRuleDetailInfoListRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "ProjectId") - delete(f, "Type") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeStandardRuleDetailInfoListRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeStandardRuleDetailInfoListResponseParams struct { - // 返回值 - // 注意:此字段可能返回 null,表示取不到有效值。 - StandardRuleDetailList *string `json:"StandardRuleDetailList,omitnil,omitempty" name:"StandardRuleDetailList"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeStandardRuleDetailInfoListResponse struct { - *tchttp.BaseResponse - Response *DescribeStandardRuleDetailInfoListResponseParams `json:"Response"` -} - -func (r *DescribeStandardRuleDetailInfoListResponse) 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 *DescribeStandardRuleDetailInfoListResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type DescribeStatisticInstanceStatusTrendOpsRequestParams struct { // 项目ID @@ -25619,101 +24871,6 @@ func (r *GetOfflineInstanceListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type InLongAgentDetail struct { - // Agent ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // Agent Name - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // Agent状态(running运行中,initializing 操作中,failed心跳异常) - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // Agent状态描述 - // 注意:此字段可能返回 null,表示取不到有效值。 - StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` - - // 集群类型,1:TKE Agent,2:BOSS SDK,默认:1 - AgentType *uint64 `json:"AgentType,omitnil,omitempty" name:"AgentType"` - - // 采集来源 - Source *string `json:"Source,omitnil,omitempty" name:"Source"` - - // VPC - VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` - - // 集成资源组Id - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` - - // 集成资源组名称 - ExecutorGroupName *string `json:"ExecutorGroupName,omitnil,omitempty" name:"ExecutorGroupName"` - - // 关联任务数 - TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` - - // 采集器组ID - // 注意:此字段可能返回 null,表示取不到有效值。 - AgentGroupId *string `json:"AgentGroupId,omitnil,omitempty" name:"AgentGroupId"` - - // agent状态统计 - // 注意:此字段可能返回 null,表示取不到有效值。 - CvmAgentStatusList []*CvmAgentStatus `json:"CvmAgentStatusList,omitnil,omitempty" name:"CvmAgentStatusList"` - - // agent数量 - // 注意:此字段可能返回 null,表示取不到有效值。 - AgentTotal *uint64 `json:"AgentTotal,omitnil,omitempty" name:"AgentTotal"` - - // 生命周期 - // 注意:此字段可能返回 null,表示取不到有效值。 - LifeDays *int64 `json:"LifeDays,omitnil,omitempty" name:"LifeDays"` - - // 集群ID - // 注意:此字段可能返回 null,表示取不到有效值。 - ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` - - // agent地域 - // 注意:此字段可能返回 null,表示取不到有效值。 - AgentRegion *string `json:"AgentRegion,omitnil,omitempty" name:"AgentRegion"` -} - -type InLongAgentTask struct { - // 集成任务ID - TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` - - // 集成任务名称 - TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` - - // 集成任务状态 - TaskStatus *string `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"` -} - -type InLongTkeDetail struct { - // 集群Id - ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` - - // 集群名称 - ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` - - // TKE集群状态 (Running 运行中 Creating 创建中 Idling 闲置中 Abnormal 异常) - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // 是否安装Agent,true: 是,false: 否 - HasAgent *bool `json:"HasAgent,omitnil,omitempty" name:"HasAgent"` - - // 采集器ID - // 注意:此字段可能返回 null,表示取不到有效值。 - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // VPC ID - VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` - - // TKE集群区域ID - TkeRegion *string `json:"TkeRegion,omitnil,omitempty" name:"TkeRegion"` - - // 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER - ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` -} - type InstanceApiOpsRequest struct { // 单个查询条件 Instance *InstanceOpsDto `json:"Instance,omitnil,omitempty" name:"Instance"` @@ -25932,7 +25089,7 @@ type InstanceList struct { // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` - // 实例状态 + // 实例状态 EVENT_LISTENING|DEPENDENCE|BEFORE_ASPECT|ALLOCATED|LAUNCHED|KILL|SNAP_STATE_SAVING|ISSUED|RUNNING|AFTER_ASPECT|PENDING|KILLING|FINAL_STATE_SAVING|FAILED|KILL_FAILED| COMPLETED|EXPIRED|KILL_EXPIRED|DELETED // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitnil,omitempty" name:"State"` @@ -26077,7 +25234,7 @@ type InstanceLogList struct { // 注意:此字段可能返回 null,表示取不到有效值。 Tries *string `json:"Tries,omitnil,omitempty" name:"Tries"` - // 最后更新事件 + // 最后更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastUpdate *string `json:"LastUpdate,omitnil,omitempty" name:"LastUpdate"` @@ -26574,10 +25731,10 @@ type IntegrationNodeInfo struct { // 集成节点名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` - // 集成节点类型 + // 集成节点类型,INPUT: 输入节点,OUTPUT:输出节点 NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` - // 节点数据源类型 + // 节点数据源类型:MYSQL|POSTGRE|ORACLE|SQLSERVER|FTP|HIVE|HDFS|ICEBERG|KAFKA|HBASE|SPARK|VIRTUAL|TBASE|DB2|DM|GAUSSDB|GBASE|IMPALA|ES|S3_DATAINSIGHT|GREENPLUM|PHOENIX|SAP_HANA|SFTP|OCEANBASE|CLICKHOUSE|KUDU|VERTICA|REDIS|COS|DLC|DLCV1|DORIS|CKAFKA|DTS_KAFKA|S3|CDW|LOCAL|TDSQLC|TDSQL|TDSQL_MYSQL|MONGODB|INFORMIX|SYBASE|REST_API|SuperSQL|PRESTO|DR_SUM|TiDB|StarRocks|Trino|Kyuubi|GDB|TCHOUSE_X|TCHOUSE_P|TDSQL_POSTGRE DataSourceType *string `json:"DataSourceType,omitnil,omitempty" name:"DataSourceType"` // 节点描述 @@ -26604,21 +25761,21 @@ type IntegrationNodeInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 NodeMapping *IntegrationNodeMapping `json:"NodeMapping,omitnil,omitempty" name:"NodeMapping"` - // 应用id + // 归属用户AppId,展示字段 非传入 AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // 项目id ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - // 创建人uin + // 创建人uin,展示字段 非传入 // 注意:此字段可能返回 null,表示取不到有效值。 CreatorUin *string `json:"CreatorUin,omitnil,omitempty" name:"CreatorUin"` - // 操作人uin + // 操作人uin,展示字段 非传入 // 注意:此字段可能返回 null,表示取不到有效值。 OperatorUin *string `json:"OperatorUin,omitnil,omitempty" name:"OperatorUin"` - // owner uin + // owner uin 展示字段 非传入 OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"` // 创建时间 @@ -26651,7 +25808,7 @@ type IntegrationNodeMapping struct { } type IntegrationNodeSchema struct { - // schema id + // schema id 随机唯一 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // schema名称 @@ -26678,10 +25835,10 @@ type IntegrationNodeSchema struct { } type IntegrationNodeSchemaMapping struct { - // 源schema id + // 任务节点的源schema id SourceSchemaId *string `json:"SourceSchemaId,omitnil,omitempty" name:"SourceSchemaId"` - // 目标schema id + // 任务节点目标schema id SinkSchemaId *string `json:"SinkSchemaId,omitnil,omitempty" name:"SinkSchemaId"` } @@ -26721,11 +25878,11 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` - // 任务调度id(oceanus or us等作业id) + // 任务调度id(oceanus or us等作业id),非填项 // 注意:此字段可能返回 null,表示取不到有效值。 ScheduleTaskId *string `json:"ScheduleTaskId,omitnil,omitempty" name:"ScheduleTaskId"` - // 任务组id + // inlong任务id // 注意:此字段可能返回 null,表示取不到有效值。 TaskGroupId *string `json:"TaskGroupId,omitnil,omitempty" name:"TaskGroupId"` @@ -26749,7 +25906,7 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` - // 任务状态1.初始化,2.操作中,3.运行中,4.暂停,5.任务停止中,6.停止,7.执行失败,8.已删除,9.已锁定,10.配置过期,11.提交中,12.提交成功,13.提交失败 + // 1:未开始|2:操作中|3:运行中|4:暂停|5:任务停止中|6:停止|7:执行失败|20:异常|21:未知| // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` @@ -26777,7 +25934,7 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 Mappings []*IntegrationNodeMapping `json:"Mappings,omitnil,omitempty" name:"Mappings"` - // 任务模式:1.画布模式,2.flink jar + // 任务配置模式,0:画布 1:表单 3:脚本 // 注意:此字段可能返回 null,表示取不到有效值。 TaskMode *string `json:"TaskMode,omitnil,omitempty" name:"TaskMode"` @@ -26793,7 +25950,7 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 ExecutorGroupName *string `json:"ExecutorGroupName,omitnil,omitempty" name:"ExecutorGroupName"` - // url + // inlong manager url // 注意:此字段可能返回 null,表示取不到有效值。 InLongManagerUrl *string `json:"InLongManagerUrl,omitnil,omitempty" name:"InLongManagerUrl"` @@ -26805,7 +25962,7 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 InLongManagerVersion *string `json:"InLongManagerVersion,omitnil,omitempty" name:"InLongManagerVersion"` - // dataproxy url + // inlong dataproxy url // 注意:此字段可能返回 null,表示取不到有效值。 DataProxyUrl []*string `json:"DataProxyUrl,omitnil,omitempty" name:"DataProxyUrl"` @@ -26813,11 +25970,11 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"` - // MYSQL + // 数据源类型:MYSQL|POSTGRE|ORACLE|SQLSERVER|FTP|HIVE|HDFS|ICEBERG|KAFKA|HBASE|SPARK|VIRTUAL|TBASE|DB2|DM|GAUSSDB|GBASE|IMPALA|ES|S3_DATAINSIGHT|GREENPLUM|PHOENIX|SAP_HANA|SFTP|OCEANBASE|CLICKHOUSE|KUDU|VERTICA|REDIS|COS|DLC|DLCV1|DORIS|CKAFKA|DTS_KAFKA|S3|CDW|LOCAL|TDSQLC|TDSQL|TDSQL_MYSQL|MONGODB|INFORMIX|SYBASE|REST_API|SuperSQL|PRESTO|DR_SUM|TiDB|StarRocks|Trino|Kyuubi|GDB|TCHOUSE_X|TCHOUSE_P|TDSQL_POSTGRE // 注意:此字段可能返回 null,表示取不到有效值。 InputDatasourceType *string `json:"InputDatasourceType,omitnil,omitempty" name:"InputDatasourceType"` - // DLC + // 数据源类型:MYSQL|POSTGRE|ORACLE|SQLSERVER|FTP|HIVE|HDFS|ICEBERG|KAFKA|HBASE|SPARK|VIRTUAL|TBASE|DB2|DM|GAUSSDB|GBASE|IMPALA|ES|S3_DATAINSIGHT|GREENPLUM|PHOENIX|SAP_HANA|SFTP|OCEANBASE|CLICKHOUSE|KUDU|VERTICA|REDIS|COS|DLC|DLCV1|DORIS|CKAFKA|DTS_KAFKA|S3|CDW|LOCAL|TDSQLC|TDSQL|TDSQL_MYSQL|MONGODB|INFORMIX|SYBASE|REST_API|SuperSQL|PRESTO|DR_SUM|TiDB|StarRocks|Trino|Kyuubi|GDB|TCHOUSE_X|TCHOUSE_P|TDSQL_POSTGRE // 注意:此字段可能返回 null,表示取不到有效值。 OutputDatasourceType *string `json:"OutputDatasourceType,omitnil,omitempty" name:"OutputDatasourceType"` @@ -26873,15 +26030,15 @@ type IntegrationTaskInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 TaskAlarmRegularList []*string `json:"TaskAlarmRegularList,omitnil,omitempty" name:"TaskAlarmRegularList"` - // 资源分层情况: 0:进行中,1:成功 ,2:失败 + // 实时任务资源分层情况: 0:进行中,1:成功 ,2:失败 // 注意:此字段可能返回 null,表示取不到有效值。 SwitchResource *int64 `json:"SwitchResource,omitnil,omitempty" name:"SwitchResource"` - // 读取阶段:0:全部全量,1:部分全量,2:全部增量 + // 实时任务读取阶段:0:全部全量,1:部分全量,2:全部增量 // 注意:此字段可能返回 null,表示取不到有效值。 ReadPhase *int64 `json:"ReadPhase,omitnil,omitempty" name:"ReadPhase"` - // 版本号 + // 实时任务版本号 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceVersion *int64 `json:"InstanceVersion,omitnil,omitempty" name:"InstanceVersion"` @@ -30290,23 +29447,12 @@ func (r *ModifyWorkflowScheduleResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type Namespace struct { - // 名称 - Name *string `json:"Name,omitnil,omitempty" name:"Name"` - - // 当前状态 - Status *string `json:"Status,omitnil,omitempty" name:"Status"` - - // 创建时间 - CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` -} - type OfflineInstance struct { - // 创建账号 + // 创建账号sub uin // 注意:此字段可能返回 null,表示取不到有效值。 CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"` - // 操作账号 + // 操作账号sub uin // 注意:此字段可能返回 null,表示取不到有效值。 OperatorUin *string `json:"OperatorUin,omitnil,omitempty" name:"OperatorUin"` @@ -30331,7 +29477,7 @@ type OfflineInstance struct { // 下发时间 IssueId *string `json:"IssueId,omitnil,omitempty" name:"IssueId"` - // 资源组id + // 下发资源组id,非传入项 // 注意:此字段可能返回 null,表示取不到有效值。 InlongTaskId *string `json:"InlongTaskId,omitnil,omitempty" name:"InlongTaskId"` @@ -30339,10 +29485,10 @@ type OfflineInstance struct { // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"` - // 实例类型 + // 任务类型(1 调试运行,2 调度执行) TaskRunType *uint64 `json:"TaskRunType,omitnil,omitempty" name:"TaskRunType"` - // 实例状态 + // 实例状态 EVENT_LISTENING|DEPENDENCE|BEFORE_ASPECT|ALLOCATED|LAUNCHED|KILL|SNAP_STATE_SAVING|ISSUED|RUNNING|AFTER_ASPECT|PENDING|KILLING|FINAL_STATE_SAVING|FAILED|KILL_FAILED| COMPLETED|EXPIRED|KILL_EXPIRED|DELETED State *string `json:"State,omitnil,omitempty" name:"State"` // 开始时间 @@ -30369,25 +29515,25 @@ type OfflineTaskAddParam struct { // 名称 WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"` - // 依赖 + // 依赖:yes、no DependencyWorkflow *string `json:"DependencyWorkflow,omitnil,omitempty" name:"DependencyWorkflow"` - // 开始时间 + // 任务开始数据时间。非空。默认当前时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` - // 结束时间 + // 任务结束数据时间。非空。默认当前时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` - // 周期 + // 周期类型。一次性任务:6、分钟任务:1、小时任务:2、天任务:3、周任务:4、月任务:5、crontab任务:0 CycleType *uint64 `json:"CycleType,omitnil,omitempty" name:"CycleType"` - // 周期间隔 + // 间隔,可选,默认1。非空。默认 1 CycleStep *uint64 `json:"CycleStep,omitnil,omitempty" name:"CycleStep"` - // 延迟时间 + // 延时执行时间,单位分钟 DelayTime *uint64 `json:"DelayTime,omitnil,omitempty" name:"DelayTime"` - // crontab + // 任务cron表达式,仅cron任务使用,其他时候默认为空 // 注意:此字段可能返回 null,表示取不到有效值。 CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"` @@ -30411,7 +29557,7 @@ type OfflineTaskAddParam struct { // 3 并行 一次多个 parallel SelfDepend *uint64 `json:"SelfDepend,omitnil,omitempty" name:"SelfDepend"` - // 周任务:1是周天,2是周1,7是周6 。 + // 时间指定,如月任务指定1,3号,则填入 1,3。非空。默认 "" // 月任务:如具体1,3号则写 "1,3",指定月末不可和具体号数一起输入,仅能为 "L" // 注意:此字段可能返回 null,表示取不到有效值。 TaskAction *string `json:"TaskAction,omitnil,omitempty" name:"TaskAction"` @@ -30428,7 +29574,7 @@ type OfflineTaskAddParam struct { // 注意:此字段可能返回 null,表示取不到有效值。 TaskAutoSubmit *bool `json:"TaskAutoSubmit,omitnil,omitempty" name:"TaskAutoSubmit"` - // 实例初始化策略 + // 实例生成方式,T_PLUS_0 当天任务当天调度 / T_PLUS_1 当天任务后一天调度 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceInitStrategy *string `json:"InstanceInitStrategy,omitnil,omitempty" name:"InstanceInitStrategy"` } @@ -31082,10 +30228,10 @@ type RealTimeTaskSpeed struct { } type RecordField struct { - // 字段名称 + // 字段名称,拓展字段名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` - // 字段值 + // 字段值,拓展字段值 Value *string `json:"Value,omitnil,omitempty" name:"Value"` } @@ -31808,67 +30954,6 @@ type ResourcePathTree struct { ExtraInfo *string `json:"ExtraInfo,omitnil,omitempty" name:"ExtraInfo"` } -// Predefined struct for user -type RestartInLongAgentRequestParams struct { - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -type RestartInLongAgentRequest struct { - *tchttp.BaseRequest - - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` -} - -func (r *RestartInLongAgentRequest) 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 *RestartInLongAgentRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "AgentId") - delete(f, "ProjectId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RestartInLongAgentRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type RestartInLongAgentResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type RestartInLongAgentResponse struct { - *tchttp.BaseResponse - Response *RestartInLongAgentResponseParams `json:"Response"` -} - -func (r *RestartInLongAgentResponse) 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 *RestartInLongAgentResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type ResumeIntegrationTaskRequestParams struct { // 任务id @@ -36051,7 +35136,7 @@ type TaskAlarmInfo struct { // 任务类型(201表示实时,202表示离线) TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` - // 主键ID + // ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` @@ -38716,81 +37801,6 @@ func (r *UnlockIntegrationTaskResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type UpdateInLongAgentRequestParams struct { - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 采集器名称 - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // 集成资源组ID - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` -} - -type UpdateInLongAgentRequest struct { - *tchttp.BaseRequest - - // 采集器ID - AgentId *string `json:"AgentId,omitnil,omitempty" name:"AgentId"` - - // WeData项目ID - ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` - - // 采集器名称 - AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` - - // 集成资源组ID - ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"` -} - -func (r *UpdateInLongAgentRequest) 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 *UpdateInLongAgentRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "AgentId") - delete(f, "ProjectId") - delete(f, "AgentName") - delete(f, "ExecutorGroupId") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateInLongAgentRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type UpdateInLongAgentResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type UpdateInLongAgentResponse struct { - *tchttp.BaseResponse - Response *UpdateInLongAgentResponseParams `json:"Response"` -} - -func (r *UpdateInLongAgentResponse) 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 *UpdateInLongAgentResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type UpdateWorkflowOwnerRequestParams struct { // 项目Id diff --git a/tencentcloud/weilingwith/go.mod b/tencentcloud/weilingwith/go.mod index bc0820fcb5..985e762c03 100644 --- a/tencentcloud/weilingwith/go.mod +++ b/tencentcloud/weilingwith/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/weilingwith go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/wss/go.mod b/tencentcloud/wss/go.mod index 2169ed59a2..9ff8c0d69a 100644 --- a/tencentcloud/wss/go.mod +++ b/tencentcloud/wss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/yinsuda/go.mod b/tencentcloud/yinsuda/go.mod index c98fc7bdbd..05c5a32d8d 100644 --- a/tencentcloud/yinsuda/go.mod +++ b/tencentcloud/yinsuda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yinsuda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/youmall/go.mod b/tencentcloud/youmall/go.mod index 338d4c00df..bc8ccfeedc 100644 --- a/tencentcloud/youmall/go.mod +++ b/tencentcloud/youmall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/yunjing/go.mod b/tencentcloud/yunjing/go.mod index 9057c6d097..1dcf66a736 100644 --- a/tencentcloud/yunjing/go.mod +++ b/tencentcloud/yunjing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/tencentcloud/yunsou/go.mod b/tencentcloud/yunsou/go.mod index c9efe95460..d56f033f00 100644 --- a/tencentcloud/yunsou/go.mod +++ b/tencentcloud/yunsou/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 diff --git a/testing/go.mod b/testing/go.mod index e32b27ba87..b51a9ca0cc 100644 --- a/testing/go.mod +++ b/testing/go.mod @@ -68,7 +68,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v0.0.0 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.897 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.898 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v0.0.0 @@ -140,6 +140,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live v0.0.0 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall v0.0.0 @@ -389,6 +390,7 @@ replace ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic => ../tencentcloud/lcic github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse => ../tencentcloud/lighthouse github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live => ../tencentcloud/live + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke => ../tencentcloud/lke github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode => ../tencentcloud/lowcode github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp => ../tencentcloud/lp github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall => ../tencentcloud/mall diff --git a/testing/integration/import_test.go b/testing/integration/import_test.go index c771f335dc..2f44cb8094 100644 --- a/testing/integration/import_test.go +++ b/testing/integration/import_test.go @@ -171,6 +171,7 @@ import ( lcicv20220817 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic/v20220817" lighthousev20200324 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse/v20200324" livev20180801 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live/v20180801" + lkev20231130 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke/v20231130" lowcodev20210108 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode/v20210108" lpv20200224 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp/v20200224" mallv20230518 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall/v20230518" @@ -2261,6 +2262,19 @@ func TestLivev20180801Import(t *testing.T) { } } +func TestLkev20231130Import(t *testing.T) { + credential := common.NewCredential( + os.Getenv("TENCENTCLOUD_SECRET_ID"), + os.Getenv("TENCENTCLOUD_SECRET_KEY")) + client, err := lkev20231130.NewClient( + credential, + regions.Guangzhou, + profile.NewClientProfile()) + if err != nil || client == nil { + t.Errorf("fail to init lke_v20231130 client: %v", err) + } +} + func TestLowcodev20210108Import(t *testing.T) { credential := common.NewCredential( os.Getenv("TENCENTCLOUD_SECRET_ID"),