Skip to content

Commit d091632

Browse files
committed
Add SmartqQueryAbility api.
1 parent 3d84a1b commit d091632

File tree

4 files changed

+52
-1
lines changed

4 files changed

+52
-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+
2024-11-26 Version: 2.1.11
2+
- Add SmartqQueryAbility api.
3+
14
2024-10-10 Version: 2.1.10
25
- Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.1.10'
1+
__version__ = '2.1.11'

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ def get_AdminUser(self): # Boolean
3030

3131
def set_AdminUser(self, AdminUser): # Boolean
3232
self.add_query_param('AdminUser', AdminUser)
33+
def get_AccountId(self): # String
34+
return self.get_query_params().get('AccountId')
35+
36+
def set_AccountId(self, AccountId): # String
37+
self.add_query_param('AccountId', AccountId)
3338
def get_RoleIds(self): # String
3439
return self.get_body_params().get('RoleIds')
3540

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 SmartqQueryAbilityRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'quickbi-public', '2022-01-01', 'SmartqQueryAbility','2.2.0')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_UserId(self): # String
30+
return self.get_query_params().get('UserId')
31+
32+
def set_UserId(self, UserId): # String
33+
self.add_query_param('UserId', UserId)
34+
def get_UserQuestion(self): # String
35+
return self.get_query_params().get('UserQuestion')
36+
37+
def set_UserQuestion(self, UserQuestion): # String
38+
self.add_query_param('UserQuestion', UserQuestion)
39+
def get_CubeId(self): # String
40+
return self.get_query_params().get('CubeId')
41+
42+
def set_CubeId(self, CubeId): # String
43+
self.add_query_param('CubeId', CubeId)

0 commit comments

Comments
 (0)