Skip to content

Commit b861c0f

Browse files
committed
Add api request parameters and error code.
1 parent 05d62cd commit b861c0f

File tree

4 files changed

+62
-1
lines changed

4 files changed

+62
-1
lines changed

aliyun-python-sdk-quickbi-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-05-28 Version: 2.1.15
2+
- Add api request parameters and error code.
3+
14
2025-04-14 Version: 2.1.14
25
- Add SmartqQueryAbility api request parameters.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.1.14'
1+
__version__ = '2.1.15'
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class DataInterpretationRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'quickbi-public', '2022-01-01', 'DataInterpretation','2.2.0')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_PromptForceOverride(self): # Boolean
30+
return self.get_query_params().get('PromptForceOverride')
31+
32+
def set_PromptForceOverride(self, PromptForceOverride): # Boolean
33+
self.add_query_param('PromptForceOverride', PromptForceOverride)
34+
def get_Data(self): # String
35+
return self.get_query_params().get('Data')
36+
37+
def set_Data(self, Data): # String
38+
self.add_query_param('Data', Data)
39+
def get_UserQuestion(self): # String
40+
return self.get_query_params().get('UserQuestion')
41+
42+
def set_UserQuestion(self, UserQuestion): # String
43+
self.add_query_param('UserQuestion', UserQuestion)
44+
def get_UserPrompt(self): # String
45+
return self.get_query_params().get('UserPrompt')
46+
47+
def set_UserPrompt(self, UserPrompt): # String
48+
self.add_query_param('UserPrompt', UserPrompt)
49+
def get_ModelCode(self): # String
50+
return self.get_query_params().get('ModelCode')
51+
52+
def set_ModelCode(self, ModelCode): # String
53+
self.add_query_param('ModelCode', ModelCode)

aliyun-python-sdk-quickbi-public/aliyunsdkquickbi_public/request/v20220101/SmartqAuthorizeRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_LlmCubes(self): # String
3636

3737
def set_LlmCubes(self, LlmCubes): # String
3838
self.add_query_param('LlmCubes', LlmCubes)
39+
def get_CubeIds(self): # String
40+
return self.get_query_params().get('CubeIds')
41+
42+
def set_CubeIds(self, CubeIds): # String
43+
self.add_query_param('CubeIds', CubeIds)
3944
def get_OperationType(self): # Integer
4045
return self.get_query_params().get('OperationType')
4146

0 commit comments

Comments
 (0)