From 247d81242fe76391f3c6ff73b1a32222530abda1 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 7 Aug 2024 02:10:41 +0000 Subject: [PATCH] Generated 2022-01-01 for quickbi-public. --- ChangeLog.txt | 4 + .../modify_copilot_embed_config.go | 106 ++++++++++++ .../query_copilot_embed_config.go | 103 ++++++++++++ services/quickbi-public/query_data.go | 106 ++++++++++++ services/quickbi-public/query_data_range.go | 104 ++++++++++++ ...lot_llm_cube_models_in_query_data_range.go | 21 +++ ...struct_api_copilot_llm_cube_models_item.go | 23 +++ .../struct_api_copilot_theme_models.go | 21 +++ .../struct_api_copilot_theme_models_item.go | 24 +++ services/quickbi-public/struct_data_range.go | 24 +++ ...ers.go => struct_headers_in_query_data.go} | 4 +- .../struct_headers_in_query_data_service.go | 21 +++ .../quickbi-public/struct_headers_item.go | 6 +- services/quickbi-public/struct_llm_cubes.go | 21 +++ services/quickbi-public/struct_result.go | 158 +++++++++--------- ...ct_result_in_query_copilot_embed_config.go | 21 +++ services/quickbi-public/struct_result_item.go | 14 +- services/quickbi-public/struct_themes.go | 21 +++ ...lues.go => struct_values_in_query_data.go} | 4 +- .../struct_values_in_query_data_service.go | 21 +++ 20 files changed, 739 insertions(+), 88 deletions(-) create mode 100644 services/quickbi-public/modify_copilot_embed_config.go create mode 100644 services/quickbi-public/query_copilot_embed_config.go create mode 100644 services/quickbi-public/query_data.go create mode 100644 services/quickbi-public/query_data_range.go create mode 100644 services/quickbi-public/struct_api_copilot_llm_cube_models_in_query_data_range.go create mode 100644 services/quickbi-public/struct_api_copilot_llm_cube_models_item.go create mode 100644 services/quickbi-public/struct_api_copilot_theme_models.go create mode 100644 services/quickbi-public/struct_api_copilot_theme_models_item.go create mode 100644 services/quickbi-public/struct_data_range.go rename services/quickbi-public/{struct_headers.go => struct_headers_in_query_data.go} (88%) create mode 100644 services/quickbi-public/struct_headers_in_query_data_service.go create mode 100644 services/quickbi-public/struct_llm_cubes.go create mode 100644 services/quickbi-public/struct_result_in_query_copilot_embed_config.go create mode 100644 services/quickbi-public/struct_themes.go rename services/quickbi-public/{struct_values.go => struct_values_in_query_data.go} (88%) create mode 100644 services/quickbi-public/struct_values_in_query_data_service.go diff --git a/ChangeLog.txt b/ChangeLog.txt index 2f412c07dd..b106fa4db5 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-08-07 Version: v1.62.807 +- Generated 2022-01-01 for `quickbi-public`. +- Add QueryData, ModifyCopilotEmbedConfig, QueryCopilotEmbedConfig and QueryDataRange APIs. + 2024-08-06 Version: v1.62.806 - Generated 2016-11-01 for `live`. - Update to support new apis. diff --git a/services/quickbi-public/modify_copilot_embed_config.go b/services/quickbi-public/modify_copilot_embed_config.go new file mode 100644 index 0000000000..37397ff297 --- /dev/null +++ b/services/quickbi-public/modify_copilot_embed_config.go @@ -0,0 +1,106 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" +) + +// ModifyCopilotEmbedConfig invokes the quickbi_public.ModifyCopilotEmbedConfig API synchronously +func (client *Client) ModifyCopilotEmbedConfig(request *ModifyCopilotEmbedConfigRequest) (response *ModifyCopilotEmbedConfigResponse, err error) { + response = CreateModifyCopilotEmbedConfigResponse() + err = client.DoAction(request, response) + return +} + +// ModifyCopilotEmbedConfigWithChan invokes the quickbi_public.ModifyCopilotEmbedConfig API asynchronously +func (client *Client) ModifyCopilotEmbedConfigWithChan(request *ModifyCopilotEmbedConfigRequest) (<-chan *ModifyCopilotEmbedConfigResponse, <-chan error) { + responseChan := make(chan *ModifyCopilotEmbedConfigResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.ModifyCopilotEmbedConfig(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// ModifyCopilotEmbedConfigWithCallback invokes the quickbi_public.ModifyCopilotEmbedConfig API asynchronously +func (client *Client) ModifyCopilotEmbedConfigWithCallback(request *ModifyCopilotEmbedConfigRequest, callback func(response *ModifyCopilotEmbedConfigResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *ModifyCopilotEmbedConfigResponse + var err error + defer close(result) + response, err = client.ModifyCopilotEmbedConfig(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// ModifyCopilotEmbedConfigRequest is the request struct for api ModifyCopilotEmbedConfig +type ModifyCopilotEmbedConfigRequest struct { + *requests.RpcRequest + CopilotId string `position:"Query" name:"CopilotId"` + AgentName string `position:"Query" name:"AgentName"` + AccessPoint string `position:"Query" name:"AccessPoint"` + DataRange string `position:"Query" name:"DataRange"` + ModuleName string `position:"Query" name:"ModuleName"` + SignType string `position:"Query" name:"SignType"` +} + +// ModifyCopilotEmbedConfigResponse is the response struct for api ModifyCopilotEmbedConfig +type ModifyCopilotEmbedConfigResponse struct { + *responses.BaseResponse + RequestId string `json:"RequestId" xml:"RequestId"` + Success bool `json:"Success" xml:"Success"` + Result bool `json:"Result" xml:"Result"` +} + +// CreateModifyCopilotEmbedConfigRequest creates a request to invoke ModifyCopilotEmbedConfig API +func CreateModifyCopilotEmbedConfigRequest() (request *ModifyCopilotEmbedConfigRequest) { + request = &ModifyCopilotEmbedConfigRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("quickbi-public", "2022-01-01", "ModifyCopilotEmbedConfig", "2.2.0", "openAPI") + request.Method = requests.POST + return +} + +// CreateModifyCopilotEmbedConfigResponse creates a response to parse from ModifyCopilotEmbedConfig response +func CreateModifyCopilotEmbedConfigResponse() (response *ModifyCopilotEmbedConfigResponse) { + response = &ModifyCopilotEmbedConfigResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/quickbi-public/query_copilot_embed_config.go b/services/quickbi-public/query_copilot_embed_config.go new file mode 100644 index 0000000000..1c770793b9 --- /dev/null +++ b/services/quickbi-public/query_copilot_embed_config.go @@ -0,0 +1,103 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" +) + +// QueryCopilotEmbedConfig invokes the quickbi_public.QueryCopilotEmbedConfig API synchronously +func (client *Client) QueryCopilotEmbedConfig(request *QueryCopilotEmbedConfigRequest) (response *QueryCopilotEmbedConfigResponse, err error) { + response = CreateQueryCopilotEmbedConfigResponse() + err = client.DoAction(request, response) + return +} + +// QueryCopilotEmbedConfigWithChan invokes the quickbi_public.QueryCopilotEmbedConfig API asynchronously +func (client *Client) QueryCopilotEmbedConfigWithChan(request *QueryCopilotEmbedConfigRequest) (<-chan *QueryCopilotEmbedConfigResponse, <-chan error) { + responseChan := make(chan *QueryCopilotEmbedConfigResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.QueryCopilotEmbedConfig(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// QueryCopilotEmbedConfigWithCallback invokes the quickbi_public.QueryCopilotEmbedConfig API asynchronously +func (client *Client) QueryCopilotEmbedConfigWithCallback(request *QueryCopilotEmbedConfigRequest, callback func(response *QueryCopilotEmbedConfigResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *QueryCopilotEmbedConfigResponse + var err error + defer close(result) + response, err = client.QueryCopilotEmbedConfig(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// QueryCopilotEmbedConfigRequest is the request struct for api QueryCopilotEmbedConfig +type QueryCopilotEmbedConfigRequest struct { + *requests.RpcRequest + AccessPoint string `position:"Query" name:"AccessPoint"` + SignType string `position:"Query" name:"SignType"` + Keyword string `position:"Query" name:"Keyword"` +} + +// QueryCopilotEmbedConfigResponse is the response struct for api QueryCopilotEmbedConfig +type QueryCopilotEmbedConfigResponse struct { + *responses.BaseResponse + RequestId string `json:"RequestId" xml:"RequestId"` + Success bool `json:"Success" xml:"Success"` + Result []ResultItem `json:"Result" xml:"Result"` +} + +// CreateQueryCopilotEmbedConfigRequest creates a request to invoke QueryCopilotEmbedConfig API +func CreateQueryCopilotEmbedConfigRequest() (request *QueryCopilotEmbedConfigRequest) { + request = &QueryCopilotEmbedConfigRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("quickbi-public", "2022-01-01", "QueryCopilotEmbedConfig", "2.2.0", "openAPI") + request.Method = requests.POST + return +} + +// CreateQueryCopilotEmbedConfigResponse creates a response to parse from QueryCopilotEmbedConfig response +func CreateQueryCopilotEmbedConfigResponse() (response *QueryCopilotEmbedConfigResponse) { + response = &QueryCopilotEmbedConfigResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/quickbi-public/query_data.go b/services/quickbi-public/query_data.go new file mode 100644 index 0000000000..6c1e7d5fd2 --- /dev/null +++ b/services/quickbi-public/query_data.go @@ -0,0 +1,106 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" +) + +// QueryData invokes the quickbi_public.QueryData API synchronously +func (client *Client) QueryData(request *QueryDataRequest) (response *QueryDataResponse, err error) { + response = CreateQueryDataResponse() + err = client.DoAction(request, response) + return +} + +// QueryDataWithChan invokes the quickbi_public.QueryData API asynchronously +func (client *Client) QueryDataWithChan(request *QueryDataRequest) (<-chan *QueryDataResponse, <-chan error) { + responseChan := make(chan *QueryDataResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.QueryData(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// QueryDataWithCallback invokes the quickbi_public.QueryData API asynchronously +func (client *Client) QueryDataWithCallback(request *QueryDataRequest, callback func(response *QueryDataResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *QueryDataResponse + var err error + defer close(result) + response, err = client.QueryData(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// QueryDataRequest is the request struct for api QueryData +type QueryDataRequest struct { + *requests.RpcRequest + ReturnFields string `position:"Query" name:"ReturnFields"` + AccessPoint string `position:"Query" name:"AccessPoint"` + SignType string `position:"Query" name:"SignType"` + Conditions string `position:"Query" name:"Conditions"` + UserId string `position:"Query" name:"UserId"` + ApiId string `position:"Query" name:"ApiId"` +} + +// QueryDataResponse is the response struct for api QueryData +type QueryDataResponse struct { + *responses.BaseResponse + Success bool `json:"Success" xml:"Success"` + RequestId string `json:"RequestId" xml:"RequestId"` + Result Result `json:"Result" xml:"Result"` +} + +// CreateQueryDataRequest creates a request to invoke QueryData API +func CreateQueryDataRequest() (request *QueryDataRequest) { + request = &QueryDataRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("quickbi-public", "2022-01-01", "QueryData", "2.2.0", "openAPI") + request.Method = requests.POST + return +} + +// CreateQueryDataResponse creates a response to parse from QueryData response +func CreateQueryDataResponse() (response *QueryDataResponse) { + response = &QueryDataResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/quickbi-public/query_data_range.go b/services/quickbi-public/query_data_range.go new file mode 100644 index 0000000000..a6d1519422 --- /dev/null +++ b/services/quickbi-public/query_data_range.go @@ -0,0 +1,104 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" +) + +// QueryDataRange invokes the quickbi_public.QueryDataRange API synchronously +func (client *Client) QueryDataRange(request *QueryDataRangeRequest) (response *QueryDataRangeResponse, err error) { + response = CreateQueryDataRangeResponse() + err = client.DoAction(request, response) + return +} + +// QueryDataRangeWithChan invokes the quickbi_public.QueryDataRange API asynchronously +func (client *Client) QueryDataRangeWithChan(request *QueryDataRangeRequest) (<-chan *QueryDataRangeResponse, <-chan error) { + responseChan := make(chan *QueryDataRangeResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.QueryDataRange(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// QueryDataRangeWithCallback invokes the quickbi_public.QueryDataRange API asynchronously +func (client *Client) QueryDataRangeWithCallback(request *QueryDataRangeRequest, callback func(response *QueryDataRangeResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *QueryDataRangeResponse + var err error + defer close(result) + response, err = client.QueryDataRange(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// QueryDataRangeRequest is the request struct for api QueryDataRange +type QueryDataRangeRequest struct { + *requests.RpcRequest + AccessPoint string `position:"Query" name:"AccessPoint"` + SignType string `position:"Query" name:"SignType"` + Type string `position:"Query" name:"Type"` + Keyword string `position:"Query" name:"Keyword"` +} + +// QueryDataRangeResponse is the response struct for api QueryDataRange +type QueryDataRangeResponse struct { + *responses.BaseResponse + RequestId string `json:"RequestId" xml:"RequestId"` + Success bool `json:"Success" xml:"Success"` + Result Result `json:"Result" xml:"Result"` +} + +// CreateQueryDataRangeRequest creates a request to invoke QueryDataRange API +func CreateQueryDataRangeRequest() (request *QueryDataRangeRequest) { + request = &QueryDataRangeRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("quickbi-public", "2022-01-01", "QueryDataRange", "2.2.0", "openAPI") + request.Method = requests.POST + return +} + +// CreateQueryDataRangeResponse creates a response to parse from QueryDataRange response +func CreateQueryDataRangeResponse() (response *QueryDataRangeResponse) { + response = &QueryDataRangeResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/quickbi-public/struct_api_copilot_llm_cube_models_in_query_data_range.go b/services/quickbi-public/struct_api_copilot_llm_cube_models_in_query_data_range.go new file mode 100644 index 0000000000..53941ce0c1 --- /dev/null +++ b/services/quickbi-public/struct_api_copilot_llm_cube_models_in_query_data_range.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ApiCopilotLlmCubeModelsInQueryDataRange is a nested struct in quickbi_public response +type ApiCopilotLlmCubeModelsInQueryDataRange struct { + ApiCopilotLlmCubeModelsItem []ApiCopilotLlmCubeModelsItem `json:"ApiCopilotLlmCubeModels" xml:"ApiCopilotLlmCubeModels"` +} diff --git a/services/quickbi-public/struct_api_copilot_llm_cube_models_item.go b/services/quickbi-public/struct_api_copilot_llm_cube_models_item.go new file mode 100644 index 0000000000..fdb276792d --- /dev/null +++ b/services/quickbi-public/struct_api_copilot_llm_cube_models_item.go @@ -0,0 +1,23 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ApiCopilotLlmCubeModelsItem is a nested struct in quickbi_public response +type ApiCopilotLlmCubeModelsItem struct { + LlmCubeId string `json:"LlmCubeId" xml:"LlmCubeId"` + CreateUser string `json:"CreateUser" xml:"CreateUser"` + Alias string `json:"Alias" xml:"Alias"` +} diff --git a/services/quickbi-public/struct_api_copilot_theme_models.go b/services/quickbi-public/struct_api_copilot_theme_models.go new file mode 100644 index 0000000000..6bc4fe97df --- /dev/null +++ b/services/quickbi-public/struct_api_copilot_theme_models.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ApiCopilotThemeModels is a nested struct in quickbi_public response +type ApiCopilotThemeModels struct { + ApiCopilotThemeModelsItem []ApiCopilotThemeModelsItem `json:"ApiCopilotThemeModels" xml:"ApiCopilotThemeModels"` +} diff --git a/services/quickbi-public/struct_api_copilot_theme_models_item.go b/services/quickbi-public/struct_api_copilot_theme_models_item.go new file mode 100644 index 0000000000..01dab9171d --- /dev/null +++ b/services/quickbi-public/struct_api_copilot_theme_models_item.go @@ -0,0 +1,24 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ApiCopilotThemeModelsItem is a nested struct in quickbi_public response +type ApiCopilotThemeModelsItem struct { + ThemeId string `json:"ThemeId" xml:"ThemeId"` + ThemeName string `json:"ThemeName" xml:"ThemeName"` + CreateUser string `json:"CreateUser" xml:"CreateUser"` + ApiCopilotLlmCubeModels []ApiCopilotLlmCubeModelsItem `json:"ApiCopilotLlmCubeModels" xml:"ApiCopilotLlmCubeModels"` +} diff --git a/services/quickbi-public/struct_data_range.go b/services/quickbi-public/struct_data_range.go new file mode 100644 index 0000000000..42faa4fac1 --- /dev/null +++ b/services/quickbi-public/struct_data_range.go @@ -0,0 +1,24 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// DataRange is a nested struct in quickbi_public response +type DataRange struct { + AllTheme bool `json:"AllTheme" xml:"AllTheme"` + AllCube bool `json:"AllCube" xml:"AllCube"` + Themes []string `json:"Themes" xml:"Themes"` + LlmCubes []string `json:"LlmCubes" xml:"LlmCubes"` +} diff --git a/services/quickbi-public/struct_headers.go b/services/quickbi-public/struct_headers_in_query_data.go similarity index 88% rename from services/quickbi-public/struct_headers.go rename to services/quickbi-public/struct_headers_in_query_data.go index d01f74fc2e..dfc16829ba 100644 --- a/services/quickbi-public/struct_headers.go +++ b/services/quickbi-public/struct_headers_in_query_data.go @@ -15,7 +15,7 @@ package quickbi_public // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -// Headers is a nested struct in quickbi_public response -type Headers struct { +// HeadersInQueryData is a nested struct in quickbi_public response +type HeadersInQueryData struct { HeadersItem []HeadersItem `json:"Headers" xml:"Headers"` } diff --git a/services/quickbi-public/struct_headers_in_query_data_service.go b/services/quickbi-public/struct_headers_in_query_data_service.go new file mode 100644 index 0000000000..b984be6871 --- /dev/null +++ b/services/quickbi-public/struct_headers_in_query_data_service.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// HeadersInQueryDataService is a nested struct in quickbi_public response +type HeadersInQueryDataService struct { + HeadersItem []HeadersItem `json:"Headers" xml:"Headers"` +} diff --git a/services/quickbi-public/struct_headers_item.go b/services/quickbi-public/struct_headers_item.go index 4eb2506f73..8c0674f0bd 100644 --- a/services/quickbi-public/struct_headers_item.go +++ b/services/quickbi-public/struct_headers_item.go @@ -17,10 +17,10 @@ package quickbi_public // HeadersItem is a nested struct in quickbi_public response type HeadersItem struct { - Type string `json:"Type" xml:"Type"` DataType string `json:"DataType" xml:"DataType"` - Granularity string `json:"Granularity" xml:"Granularity"` Label string `json:"Label" xml:"Label"` - Column string `json:"Column" xml:"Column"` + Granularity string `json:"Granularity" xml:"Granularity"` Aggregator string `json:"Aggregator" xml:"Aggregator"` + Column string `json:"Column" xml:"Column"` + Type string `json:"Type" xml:"Type"` } diff --git a/services/quickbi-public/struct_llm_cubes.go b/services/quickbi-public/struct_llm_cubes.go new file mode 100644 index 0000000000..538a8a9b32 --- /dev/null +++ b/services/quickbi-public/struct_llm_cubes.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// LlmCubes is a nested struct in quickbi_public response +type LlmCubes struct { + LlmCubes []string `json:"LlmCubes" xml:"LlmCubes"` +} diff --git a/services/quickbi-public/struct_result.go b/services/quickbi-public/struct_result.go index 940183c7d4..0727587f1c 100644 --- a/services/quickbi-public/struct_result.go +++ b/services/quickbi-public/struct_result.go @@ -17,82 +17,84 @@ package quickbi_public // Result is a nested struct in quickbi_public response type Result struct { - InvalidTime string `json:"InvalidTime" xml:"InvalidTime"` - FailureDetail map[string]interface{} `json:"FailureDetail" xml:"FailureDetail"` - WatermarkParam string `json:"WatermarkParam" xml:"WatermarkParam"` - EmbeddedCount int `json:"EmbeddedCount" xml:"EmbeddedCount"` - RoleName string `json:"RoleName" xml:"RoleName"` - MaxCount int `json:"MaxCount" xml:"MaxCount"` - MaxTicketNum int `json:"MaxTicketNum" xml:"MaxTicketNum"` - Auth3rdFlag int `json:"Auth3rdFlag" xml:"Auth3rdFlag"` - Failure int `json:"Failure" xml:"Failure"` - GmtModify string `json:"GmtModify" xml:"GmtModify"` - Success int `json:"Success" xml:"Success"` - WorkType string `json:"WorkType" xml:"WorkType"` - OrganizationId string `json:"OrganizationId" xml:"OrganizationId"` - FailCount int `json:"FailCount" xml:"FailCount"` - RuleType string `json:"RuleType" xml:"RuleType"` - Email string `json:"Email" xml:"Email"` - IsSystemRole bool `json:"IsSystemRole" xml:"IsSystemRole"` - OwnerName string `json:"OwnerName" xml:"OwnerName"` - WorkspaceName string `json:"WorkspaceName" xml:"WorkspaceName"` - Sql string `json:"Sql" xml:"Sql"` - OpenOfflineAcceleration bool `json:"OpenOfflineAcceleration" xml:"OpenOfflineAcceleration"` - RowLevel bool `json:"RowLevel" xml:"RowLevel"` - WorksId string `json:"WorksId" xml:"WorksId"` - TotalNum int `json:"TotalNum" xml:"TotalNum"` - IsOpenColumnLevelPermission int `json:"IsOpenColumnLevelPermission" xml:"IsOpenColumnLevelPermission"` - CmptId string `json:"CmptId" xml:"CmptId"` - AccountId string `json:"AccountId" xml:"AccountId"` - Total int `json:"Total" xml:"Total"` - SecurityLevel string `json:"SecurityLevel" xml:"SecurityLevel"` - DsName string `json:"DsName" xml:"DsName"` - WorkspaceId string `json:"WorkspaceId" xml:"WorkspaceId"` - DatasetId string `json:"DatasetId" xml:"DatasetId"` - CustimzeSql bool `json:"CustimzeSql" xml:"CustimzeSql"` - CubeId string `json:"CubeId" xml:"CubeId"` - TotalPages int `json:"TotalPages" xml:"TotalPages"` - AuthAdminUser bool `json:"AuthAdminUser" xml:"AuthAdminUser"` - PageSize int `json:"PageSize" xml:"PageSize"` - GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` - WorkName string `json:"WorkName" xml:"WorkName"` - UserId string `json:"UserId" xml:"UserId"` - UserType int `json:"UserType" xml:"UserType"` - NickName string `json:"NickName" xml:"NickName"` - AccessTicket string `json:"AccessTicket" xml:"AccessTicket"` - Phone string `json:"Phone" xml:"Phone"` - Description string `json:"Description" xml:"Description"` - DsId string `json:"DsId" xml:"DsId"` - OkCount int `json:"OkCount" xml:"OkCount"` - UsedTicketNum int `json:"UsedTicketNum" xml:"UsedTicketNum"` - RegisterTime string `json:"RegisterTime" xml:"RegisterTime"` - Status int `json:"Status" xml:"Status"` - GlobalParam string `json:"GlobalParam" xml:"GlobalParam"` - ModifyName string `json:"ModifyName" xml:"ModifyName"` - DatasetName string `json:"DatasetName" xml:"DatasetName"` - PageNum int `json:"PageNum" xml:"PageNum"` - RoleCode string `json:"RoleCode" xml:"RoleCode"` - IsOpenRowLevelPermission int `json:"IsOpenRowLevelPermission" xml:"IsOpenRowLevelPermission"` - AdminUser bool `json:"AdminUser" xml:"AdminUser"` - RoleId int64 `json:"RoleId" xml:"RoleId"` - PublicFlag bool `json:"PublicFlag" xml:"PublicFlag"` - Attention string `json:"Attention" xml:"Attention"` - AccountName string `json:"AccountName" xml:"AccountName"` - OwnerId string `json:"OwnerId" xml:"OwnerId"` - PublicInvalidTime int64 `json:"PublicInvalidTime" xml:"PublicInvalidTime"` - DsType string `json:"DsType" xml:"DsType"` - Values []map[string]interface{} `json:"Values" xml:"Values"` - RoleIdList []int64 `json:"RoleIdList" xml:"RoleIdList"` - FailedUserGroupIds []string `json:"FailedUserGroupIds" xml:"FailedUserGroupIds"` - UsersModel UsersModel `json:"UsersModel" xml:"UsersModel"` - Detail Detail `json:"Detail" xml:"Detail"` - Directory Directory `json:"Directory" xml:"Directory"` - AuthConfigList []AuthConfigListItem `json:"AuthConfigList" xml:"AuthConfigList"` - Data []DataItem `json:"Data" xml:"Data"` - FailResults []FailResultsItem `json:"FailResults" xml:"FailResults"` - CubeTableList []CubeTableListItem `json:"CubeTableList" xml:"CubeTableList"` - UserGroupModels []UserGroupModelsItem `json:"UserGroupModels" xml:"UserGroupModels"` - MeasureList []MeasureListItem `json:"MeasureList" xml:"MeasureList"` - Headers []HeadersItem `json:"Headers" xml:"Headers"` - DimensionList []DimensionListItem `json:"DimensionList" xml:"DimensionList"` + InvalidTime string `json:"InvalidTime" xml:"InvalidTime"` + FailureDetail map[string]interface{} `json:"FailureDetail" xml:"FailureDetail"` + WatermarkParam string `json:"WatermarkParam" xml:"WatermarkParam"` + EmbeddedCount int `json:"EmbeddedCount" xml:"EmbeddedCount"` + RoleName string `json:"RoleName" xml:"RoleName"` + MaxCount int `json:"MaxCount" xml:"MaxCount"` + MaxTicketNum int `json:"MaxTicketNum" xml:"MaxTicketNum"` + Auth3rdFlag int `json:"Auth3rdFlag" xml:"Auth3rdFlag"` + Failure int `json:"Failure" xml:"Failure"` + GmtModify string `json:"GmtModify" xml:"GmtModify"` + Success int `json:"Success" xml:"Success"` + WorkType string `json:"WorkType" xml:"WorkType"` + OrganizationId string `json:"OrganizationId" xml:"OrganizationId"` + FailCount int `json:"FailCount" xml:"FailCount"` + RuleType string `json:"RuleType" xml:"RuleType"` + Email string `json:"Email" xml:"Email"` + IsSystemRole bool `json:"IsSystemRole" xml:"IsSystemRole"` + OwnerName string `json:"OwnerName" xml:"OwnerName"` + WorkspaceName string `json:"WorkspaceName" xml:"WorkspaceName"` + Sql string `json:"Sql" xml:"Sql"` + OpenOfflineAcceleration bool `json:"OpenOfflineAcceleration" xml:"OpenOfflineAcceleration"` + RowLevel bool `json:"RowLevel" xml:"RowLevel"` + WorksId string `json:"WorksId" xml:"WorksId"` + TotalNum int `json:"TotalNum" xml:"TotalNum"` + IsOpenColumnLevelPermission int `json:"IsOpenColumnLevelPermission" xml:"IsOpenColumnLevelPermission"` + CmptId string `json:"CmptId" xml:"CmptId"` + AccountId string `json:"AccountId" xml:"AccountId"` + Total int `json:"Total" xml:"Total"` + SecurityLevel string `json:"SecurityLevel" xml:"SecurityLevel"` + DsName string `json:"DsName" xml:"DsName"` + WorkspaceId string `json:"WorkspaceId" xml:"WorkspaceId"` + DatasetId string `json:"DatasetId" xml:"DatasetId"` + CustimzeSql bool `json:"CustimzeSql" xml:"CustimzeSql"` + CubeId string `json:"CubeId" xml:"CubeId"` + TotalPages int `json:"TotalPages" xml:"TotalPages"` + AuthAdminUser bool `json:"AuthAdminUser" xml:"AuthAdminUser"` + PageSize int `json:"PageSize" xml:"PageSize"` + GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` + WorkName string `json:"WorkName" xml:"WorkName"` + UserId string `json:"UserId" xml:"UserId"` + UserType int `json:"UserType" xml:"UserType"` + NickName string `json:"NickName" xml:"NickName"` + AccessTicket string `json:"AccessTicket" xml:"AccessTicket"` + Phone string `json:"Phone" xml:"Phone"` + Description string `json:"Description" xml:"Description"` + DsId string `json:"DsId" xml:"DsId"` + OkCount int `json:"OkCount" xml:"OkCount"` + UsedTicketNum int `json:"UsedTicketNum" xml:"UsedTicketNum"` + RegisterTime string `json:"RegisterTime" xml:"RegisterTime"` + Status int `json:"Status" xml:"Status"` + GlobalParam string `json:"GlobalParam" xml:"GlobalParam"` + ModifyName string `json:"ModifyName" xml:"ModifyName"` + DatasetName string `json:"DatasetName" xml:"DatasetName"` + PageNum int `json:"PageNum" xml:"PageNum"` + RoleCode string `json:"RoleCode" xml:"RoleCode"` + IsOpenRowLevelPermission int `json:"IsOpenRowLevelPermission" xml:"IsOpenRowLevelPermission"` + AdminUser bool `json:"AdminUser" xml:"AdminUser"` + RoleId int64 `json:"RoleId" xml:"RoleId"` + PublicFlag bool `json:"PublicFlag" xml:"PublicFlag"` + Attention string `json:"Attention" xml:"Attention"` + AccountName string `json:"AccountName" xml:"AccountName"` + OwnerId string `json:"OwnerId" xml:"OwnerId"` + PublicInvalidTime int64 `json:"PublicInvalidTime" xml:"PublicInvalidTime"` + DsType string `json:"DsType" xml:"DsType"` + Values []map[string]interface{} `json:"Values" xml:"Values"` + RoleIdList []int64 `json:"RoleIdList" xml:"RoleIdList"` + FailedUserGroupIds []string `json:"FailedUserGroupIds" xml:"FailedUserGroupIds"` + UsersModel UsersModel `json:"UsersModel" xml:"UsersModel"` + Detail Detail `json:"Detail" xml:"Detail"` + Directory Directory `json:"Directory" xml:"Directory"` + AuthConfigList []AuthConfigListItem `json:"AuthConfigList" xml:"AuthConfigList"` + ApiCopilotThemeModels []ApiCopilotThemeModelsItem `json:"ApiCopilotThemeModels" xml:"ApiCopilotThemeModels"` + Data []DataItem `json:"Data" xml:"Data"` + ApiCopilotLlmCubeModels []ApiCopilotLlmCubeModelsItem `json:"ApiCopilotLlmCubeModels" xml:"ApiCopilotLlmCubeModels"` + FailResults []FailResultsItem `json:"FailResults" xml:"FailResults"` + CubeTableList []CubeTableListItem `json:"CubeTableList" xml:"CubeTableList"` + UserGroupModels []UserGroupModelsItem `json:"UserGroupModels" xml:"UserGroupModels"` + MeasureList []MeasureListItem `json:"MeasureList" xml:"MeasureList"` + Headers []HeadersItem `json:"Headers" xml:"Headers"` + DimensionList []DimensionListItem `json:"DimensionList" xml:"DimensionList"` } diff --git a/services/quickbi-public/struct_result_in_query_copilot_embed_config.go b/services/quickbi-public/struct_result_in_query_copilot_embed_config.go new file mode 100644 index 0000000000..aeca1cb42e --- /dev/null +++ b/services/quickbi-public/struct_result_in_query_copilot_embed_config.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ResultInQueryCopilotEmbedConfig is a nested struct in quickbi_public response +type ResultInQueryCopilotEmbedConfig struct { + ResultItem []ResultItem `json:"Result" xml:"Result"` +} diff --git a/services/quickbi-public/struct_result_item.go b/services/quickbi-public/struct_result_item.go index 51f5f2a7bf..fa970a194d 100644 --- a/services/quickbi-public/struct_result_item.go +++ b/services/quickbi-public/struct_result_item.go @@ -17,7 +17,15 @@ package quickbi_public // ResultItem is a nested struct in quickbi_public response type ResultItem struct { - TagName string `json:"TagName" xml:"TagName"` - TagDescription string `json:"TagDescription" xml:"TagDescription"` - TagId string `json:"TagId" xml:"TagId"` + ShowName string `json:"ShowName" xml:"ShowName"` + ModuleName string `json:"ModuleName" xml:"ModuleName"` + AgentName string `json:"AgentName" xml:"AgentName"` + TagName string `json:"TagName" xml:"TagName"` + ModifyUser string `json:"ModifyUser" xml:"ModifyUser"` + CreateUser string `json:"CreateUser" xml:"CreateUser"` + TagId string `json:"TagId" xml:"TagId"` + CopilotId string `json:"CopilotId" xml:"CopilotId"` + CreateUserName string `json:"CreateUserName" xml:"CreateUserName"` + TagDescription string `json:"TagDescription" xml:"TagDescription"` + DataRange DataRange `json:"DataRange" xml:"DataRange"` } diff --git a/services/quickbi-public/struct_themes.go b/services/quickbi-public/struct_themes.go new file mode 100644 index 0000000000..05e0e42705 --- /dev/null +++ b/services/quickbi-public/struct_themes.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// Themes is a nested struct in quickbi_public response +type Themes struct { + Themes []string `json:"Themes" xml:"Themes"` +} diff --git a/services/quickbi-public/struct_values.go b/services/quickbi-public/struct_values_in_query_data.go similarity index 88% rename from services/quickbi-public/struct_values.go rename to services/quickbi-public/struct_values_in_query_data.go index 30ff6ead51..361f83f870 100644 --- a/services/quickbi-public/struct_values.go +++ b/services/quickbi-public/struct_values_in_query_data.go @@ -15,7 +15,7 @@ package quickbi_public // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -// Values is a nested struct in quickbi_public response -type Values struct { +// ValuesInQueryData is a nested struct in quickbi_public response +type ValuesInQueryData struct { Values []map[string]interface{} `json:"Values" xml:"Values"` } diff --git a/services/quickbi-public/struct_values_in_query_data_service.go b/services/quickbi-public/struct_values_in_query_data_service.go new file mode 100644 index 0000000000..0a92c3d71a --- /dev/null +++ b/services/quickbi-public/struct_values_in_query_data_service.go @@ -0,0 +1,21 @@ +package quickbi_public + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ValuesInQueryDataService is a nested struct in quickbi_public response +type ValuesInQueryDataService struct { + Values []map[string]interface{} `json:"Values" xml:"Values"` +}