Skip to content

Commit 9bf5dda

Browse files
committed
Support API CreateWorkspace.
1 parent d3f2dc6 commit 9bf5dda

20 files changed

+2083
-16
lines changed

quickbi-public-20220101/ChangeLog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2025-11-17 Version: 1.13.0
2+
- Support API CreateWorkspace.
3+
- Support API ListAccelerationOfWorkspace.
4+
- Support API ModifyDashboardNl2sqlStatus.
5+
- Support API QueryAccelerationLogByCubeId.
6+
- Update API SmartqQueryAbility: add request parameters MultipleCubeIds.
7+
- Update API SmartqQueryAbility: add response parameters Body.Result.DataList.
8+
9+
110
2025-09-11 Version: 1.12.0
211
- Support API AddDataSource.
312
- Support API CheckDatasetExisted.
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
<?php
2+
3+
// This file is auto-generated, don't edit it. Thanks.
4+
5+
namespace AlibabaCloud\SDK\Quickbipublic\V20220101\Models;
6+
7+
use AlibabaCloud\Dara\Model;
8+
9+
class CreateWorkspaceRequest extends Model
10+
{
11+
/**
12+
* @var bool
13+
*/
14+
public $allowPublish;
15+
16+
/**
17+
* @var bool
18+
*/
19+
public $allowShare;
20+
21+
/**
22+
* @var bool
23+
*/
24+
public $allowViewAll;
25+
26+
/**
27+
* @var bool
28+
*/
29+
public $defaultShareToAll;
30+
31+
/**
32+
* @var bool
33+
*/
34+
public $onlyAdminCreateDatasource;
35+
36+
/**
37+
* @var bool
38+
*/
39+
public $useComment;
40+
41+
/**
42+
* @var string
43+
*/
44+
public $workspaceDescription;
45+
46+
/**
47+
* @var string
48+
*/
49+
public $workspaceName;
50+
protected $_name = [
51+
'allowPublish' => 'AllowPublish',
52+
'allowShare' => 'AllowShare',
53+
'allowViewAll' => 'AllowViewAll',
54+
'defaultShareToAll' => 'DefaultShareToAll',
55+
'onlyAdminCreateDatasource' => 'OnlyAdminCreateDatasource',
56+
'useComment' => 'UseComment',
57+
'workspaceDescription' => 'WorkspaceDescription',
58+
'workspaceName' => 'WorkspaceName',
59+
];
60+
61+
public function validate()
62+
{
63+
parent::validate();
64+
}
65+
66+
public function toArray($noStream = false)
67+
{
68+
$res = [];
69+
if (null !== $this->allowPublish) {
70+
$res['AllowPublish'] = $this->allowPublish;
71+
}
72+
73+
if (null !== $this->allowShare) {
74+
$res['AllowShare'] = $this->allowShare;
75+
}
76+
77+
if (null !== $this->allowViewAll) {
78+
$res['AllowViewAll'] = $this->allowViewAll;
79+
}
80+
81+
if (null !== $this->defaultShareToAll) {
82+
$res['DefaultShareToAll'] = $this->defaultShareToAll;
83+
}
84+
85+
if (null !== $this->onlyAdminCreateDatasource) {
86+
$res['OnlyAdminCreateDatasource'] = $this->onlyAdminCreateDatasource;
87+
}
88+
89+
if (null !== $this->useComment) {
90+
$res['UseComment'] = $this->useComment;
91+
}
92+
93+
if (null !== $this->workspaceDescription) {
94+
$res['WorkspaceDescription'] = $this->workspaceDescription;
95+
}
96+
97+
if (null !== $this->workspaceName) {
98+
$res['WorkspaceName'] = $this->workspaceName;
99+
}
100+
101+
return $res;
102+
}
103+
104+
public function toMap($noStream = false)
105+
{
106+
return $this->toArray($noStream);
107+
}
108+
109+
public static function fromMap($map = [])
110+
{
111+
$model = new self();
112+
if (isset($map['AllowPublish'])) {
113+
$model->allowPublish = $map['AllowPublish'];
114+
}
115+
116+
if (isset($map['AllowShare'])) {
117+
$model->allowShare = $map['AllowShare'];
118+
}
119+
120+
if (isset($map['AllowViewAll'])) {
121+
$model->allowViewAll = $map['AllowViewAll'];
122+
}
123+
124+
if (isset($map['DefaultShareToAll'])) {
125+
$model->defaultShareToAll = $map['DefaultShareToAll'];
126+
}
127+
128+
if (isset($map['OnlyAdminCreateDatasource'])) {
129+
$model->onlyAdminCreateDatasource = $map['OnlyAdminCreateDatasource'];
130+
}
131+
132+
if (isset($map['UseComment'])) {
133+
$model->useComment = $map['UseComment'];
134+
}
135+
136+
if (isset($map['WorkspaceDescription'])) {
137+
$model->workspaceDescription = $map['WorkspaceDescription'];
138+
}
139+
140+
if (isset($map['WorkspaceName'])) {
141+
$model->workspaceName = $map['WorkspaceName'];
142+
}
143+
144+
return $model;
145+
}
146+
}
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?php
2+
3+
// This file is auto-generated, don't edit it. Thanks.
4+
5+
namespace AlibabaCloud\SDK\Quickbipublic\V20220101\Models;
6+
7+
use AlibabaCloud\Dara\Model;
8+
9+
class CreateWorkspaceResponse extends Model
10+
{
11+
/**
12+
* @var string[]
13+
*/
14+
public $headers;
15+
16+
/**
17+
* @var int
18+
*/
19+
public $statusCode;
20+
21+
/**
22+
* @var CreateWorkspaceResponseBody
23+
*/
24+
public $body;
25+
protected $_name = [
26+
'headers' => 'headers',
27+
'statusCode' => 'statusCode',
28+
'body' => 'body',
29+
];
30+
31+
public function validate()
32+
{
33+
if (\is_array($this->headers)) {
34+
Model::validateArray($this->headers);
35+
}
36+
if (null !== $this->body) {
37+
$this->body->validate();
38+
}
39+
parent::validate();
40+
}
41+
42+
public function toArray($noStream = false)
43+
{
44+
$res = [];
45+
if (null !== $this->headers) {
46+
if (\is_array($this->headers)) {
47+
$res['headers'] = [];
48+
foreach ($this->headers as $key1 => $value1) {
49+
$res['headers'][$key1] = $value1;
50+
}
51+
}
52+
}
53+
54+
if (null !== $this->statusCode) {
55+
$res['statusCode'] = $this->statusCode;
56+
}
57+
58+
if (null !== $this->body) {
59+
$res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body;
60+
}
61+
62+
return $res;
63+
}
64+
65+
public function toMap($noStream = false)
66+
{
67+
return $this->toArray($noStream);
68+
}
69+
70+
public static function fromMap($map = [])
71+
{
72+
$model = new self();
73+
if (isset($map['headers'])) {
74+
if (!empty($map['headers'])) {
75+
$model->headers = [];
76+
foreach ($map['headers'] as $key1 => $value1) {
77+
$model->headers[$key1] = $value1;
78+
}
79+
}
80+
}
81+
82+
if (isset($map['statusCode'])) {
83+
$model->statusCode = $map['statusCode'];
84+
}
85+
86+
if (isset($map['body'])) {
87+
$model->body = CreateWorkspaceResponseBody::fromMap($map['body']);
88+
}
89+
90+
return $model;
91+
}
92+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?php
2+
3+
// This file is auto-generated, don't edit it. Thanks.
4+
5+
namespace AlibabaCloud\SDK\Quickbipublic\V20220101\Models;
6+
7+
use AlibabaCloud\Dara\Model;
8+
9+
class CreateWorkspaceResponseBody extends Model
10+
{
11+
/**
12+
* @var string
13+
*/
14+
public $requestId;
15+
16+
/**
17+
* @var string
18+
*/
19+
public $result;
20+
21+
/**
22+
* @var bool
23+
*/
24+
public $success;
25+
protected $_name = [
26+
'requestId' => 'RequestId',
27+
'result' => 'Result',
28+
'success' => 'Success',
29+
];
30+
31+
public function validate()
32+
{
33+
parent::validate();
34+
}
35+
36+
public function toArray($noStream = false)
37+
{
38+
$res = [];
39+
if (null !== $this->requestId) {
40+
$res['RequestId'] = $this->requestId;
41+
}
42+
43+
if (null !== $this->result) {
44+
$res['Result'] = $this->result;
45+
}
46+
47+
if (null !== $this->success) {
48+
$res['Success'] = $this->success;
49+
}
50+
51+
return $res;
52+
}
53+
54+
public function toMap($noStream = false)
55+
{
56+
return $this->toArray($noStream);
57+
}
58+
59+
public static function fromMap($map = [])
60+
{
61+
$model = new self();
62+
if (isset($map['RequestId'])) {
63+
$model->requestId = $map['RequestId'];
64+
}
65+
66+
if (isset($map['Result'])) {
67+
$model->result = $map['Result'];
68+
}
69+
70+
if (isset($map['Success'])) {
71+
$model->success = $map['Success'];
72+
}
73+
74+
return $model;
75+
}
76+
}

0 commit comments

Comments
 (0)