diff --git a/aliyun-java-sdk-quickbi-public/ChangeLog.txt b/aliyun-java-sdk-quickbi-public/ChangeLog.txt index 48b22e74d4..43d11ed641 100644 --- a/aliyun-java-sdk-quickbi-public/ChangeLog.txt +++ b/aliyun-java-sdk-quickbi-public/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-12-30 Version: 2.1.12 +- Add SmartQ APIs. +- Add GetDataSourceConnectionInfo, QueryDatasetList APIs. + 2024-11-26 Version: 2.1.11 - Add SmartqQueryAbility api. diff --git a/aliyun-java-sdk-quickbi-public/pom.xml b/aliyun-java-sdk-quickbi-public/pom.xml index 63e039c555..c66030ab37 100644 --- a/aliyun-java-sdk-quickbi-public/pom.xml +++ b/aliyun-java-sdk-quickbi-public/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-quickbi-public jar - 2.1.11 + 2.1.12 aliyun-java-sdk-quickbi-public http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/CancelAuthorizationMenuRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/CancelAuthorizationMenuRequest.java index 4f3b2b65a9..1f75bd1f92 100644 --- a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/CancelAuthorizationMenuRequest.java +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/CancelAuthorizationMenuRequest.java @@ -26,11 +26,11 @@ public class CancelAuthorizationMenuRequest extends RpcAcsRequest { + + + private String dsId; + public GetDataSourceConnectionInfoRequest() { + super("quickbi-public", "2022-01-01", "GetDataSourceConnectionInfo", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getDsId() { + return this.dsId; + } + + public void setDsId(String dsId) { + this.dsId = dsId; + if(dsId != null){ + putQueryParameter("DsId", dsId); + } + } + + @Override + public Class getResponseClass() { + return GetDataSourceConnectionInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/GetDataSourceConnectionInfoResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/GetDataSourceConnectionInfoResponse.java new file mode 100644 index 0000000000..cb38362471 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/GetDataSourceConnectionInfoResponse.java @@ -0,0 +1,229 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.GetDataSourceConnectionInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetDataSourceConnectionInfoResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Result result; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Result getResult() { + return this.result; + } + + public void setResult(Result result) { + this.result = result; + } + + public static class Result { + + private String address; + + private String authLevel; + + private String creatorId; + + private String dsId; + + private String dsType; + + private String dsVersion; + + private String instance; + + private String instanceId; + + private String modifyUser; + + private Boolean noSasl; + + private String parentDsType; + + private String port; + + private String project; + + private String schema; + + private String showName; + + private String workspaceId; + + public String getAddress() { + return this.address; + } + + public void setAddress(String address) { + this.address = address; + } + + public String getAuthLevel() { + return this.authLevel; + } + + public void setAuthLevel(String authLevel) { + this.authLevel = authLevel; + } + + public String getCreatorId() { + return this.creatorId; + } + + public void setCreatorId(String creatorId) { + this.creatorId = creatorId; + } + + public String getDsId() { + return this.dsId; + } + + public void setDsId(String dsId) { + this.dsId = dsId; + } + + public String getDsType() { + return this.dsType; + } + + public void setDsType(String dsType) { + this.dsType = dsType; + } + + public String getDsVersion() { + return this.dsVersion; + } + + public void setDsVersion(String dsVersion) { + this.dsVersion = dsVersion; + } + + public String getInstance() { + return this.instance; + } + + public void setInstance(String instance) { + this.instance = instance; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getModifyUser() { + return this.modifyUser; + } + + public void setModifyUser(String modifyUser) { + this.modifyUser = modifyUser; + } + + public Boolean getNoSasl() { + return this.noSasl; + } + + public void setNoSasl(Boolean noSasl) { + this.noSasl = noSasl; + } + + public String getParentDsType() { + return this.parentDsType; + } + + public void setParentDsType(String parentDsType) { + this.parentDsType = parentDsType; + } + + public String getPort() { + return this.port; + } + + public void setPort(String port) { + this.port = port; + } + + public String getProject() { + return this.project; + } + + public void setProject(String project) { + this.project = project; + } + + public String getSchema() { + return this.schema; + } + + public void setSchema(String schema) { + this.schema = schema; + } + + public String getShowName() { + return this.showName; + } + + public void setShowName(String showName) { + this.showName = showName; + } + + public String getWorkspaceId() { + return this.workspaceId; + } + + public void setWorkspaceId(String workspaceId) { + this.workspaceId = workspaceId; + } + } + + @Override + public GetDataSourceConnectionInfoResponse getInstance(UnmarshallerContext context) { + return GetDataSourceConnectionInfoResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListDataSourceRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListDataSourceRequest.java new file mode 100644 index 0000000000..998094c3cb --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListDataSourceRequest.java @@ -0,0 +1,64 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListDataSourceRequest extends RpcAcsRequest { + + + private String dsType; + + private String workspaceId; + public ListDataSourceRequest() { + super("quickbi-public", "2022-01-01", "ListDataSource", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getDsType() { + return this.dsType; + } + + public void setDsType(String dsType) { + this.dsType = dsType; + if(dsType != null){ + putQueryParameter("DsType", dsType); + } + } + + public String getWorkspaceId() { + return this.workspaceId; + } + + public void setWorkspaceId(String workspaceId) { + this.workspaceId = workspaceId; + if(workspaceId != null){ + putQueryParameter("WorkspaceId", workspaceId); + } + } + + @Override + public Class getResponseClass() { + return ListDataSourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListDataSourceResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListDataSourceResponse.java new file mode 100644 index 0000000000..0152e4fe4c --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/ListDataSourceResponse.java @@ -0,0 +1,150 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.ListDataSourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListDataSourceResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private List result; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public List getResult() { + return this.result; + } + + public void setResult(List result) { + this.result = result; + } + + public static class Data { + + private String creatorId; + + private String creatorName; + + private String datasourceId; + + private String gmtCreate; + + private String gmtModified; + + private String showName; + + private String dsType; + + private String parentDsType; + + public String getCreatorId() { + return this.creatorId; + } + + public void setCreatorId(String creatorId) { + this.creatorId = creatorId; + } + + public String getCreatorName() { + return this.creatorName; + } + + public void setCreatorName(String creatorName) { + this.creatorName = creatorName; + } + + public String getDatasourceId() { + return this.datasourceId; + } + + public void setDatasourceId(String datasourceId) { + this.datasourceId = datasourceId; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getShowName() { + return this.showName; + } + + public void setShowName(String showName) { + this.showName = showName; + } + + public String getDsType() { + return this.dsType; + } + + public void setDsType(String dsType) { + this.dsType = dsType; + } + + public String getParentDsType() { + return this.parentDsType; + } + + public void setParentDsType(String parentDsType) { + this.parentDsType = parentDsType; + } + } + + @Override + public ListDataSourceResponse getInstance(UnmarshallerContext context) { + return ListDataSourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryAuditLogResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryAuditLogResponse.java index 5d15555dd0..8f2aed6e1a 100644 --- a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryAuditLogResponse.java +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryAuditLogResponse.java @@ -71,6 +71,8 @@ public static class LogApiResultModel { private String workspaceId; + private String targetId; + public String getGmtCreate() { return this.gmtCreate; } @@ -126,6 +128,14 @@ public String getWorkspaceId() { public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; } + + public String getTargetId() { + return this.targetId; + } + + public void setTargetId(String targetId) { + this.targetId = targetId; + } } @Override diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDatasetSmartqStatusRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDatasetSmartqStatusRequest.java new file mode 100644 index 0000000000..dd47f5385c --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDatasetSmartqStatusRequest.java @@ -0,0 +1,51 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class QueryDatasetSmartqStatusRequest extends RpcAcsRequest { + + + private String cubeId; + public QueryDatasetSmartqStatusRequest() { + super("quickbi-public", "2022-01-01", "QueryDatasetSmartqStatus", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getCubeId() { + return this.cubeId; + } + + public void setCubeId(String cubeId) { + this.cubeId = cubeId; + if(cubeId != null){ + putQueryParameter("CubeId", cubeId); + } + } + + @Override + public Class getResponseClass() { + return QueryDatasetSmartqStatusResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDatasetSmartqStatusResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDatasetSmartqStatusResponse.java new file mode 100644 index 0000000000..900e43a37f --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryDatasetSmartqStatusResponse.java @@ -0,0 +1,66 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.QueryDatasetSmartqStatusResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class QueryDatasetSmartqStatusResponse extends AcsResponse { + + private String requestId; + + private Boolean result; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getResult() { + return this.result; + } + + public void setResult(Boolean result) { + this.result = result; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public QueryDatasetSmartqStatusResponse getInstance(UnmarshallerContext context) { + return QueryDatasetSmartqStatusResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryLlmCubeWithThemeListByUserIdRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryLlmCubeWithThemeListByUserIdRequest.java new file mode 100644 index 0000000000..808a3de1b9 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryLlmCubeWithThemeListByUserIdRequest.java @@ -0,0 +1,51 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class QueryLlmCubeWithThemeListByUserIdRequest extends RpcAcsRequest { + + + private String userId; + public QueryLlmCubeWithThemeListByUserIdRequest() { + super("quickbi-public", "2022-01-01", "QueryLlmCubeWithThemeListByUserId", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + if(userId != null){ + putQueryParameter("UserId", userId); + } + } + + @Override + public Class getResponseClass() { + return QueryLlmCubeWithThemeListByUserIdResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryLlmCubeWithThemeListByUserIdResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryLlmCubeWithThemeListByUserIdResponse.java new file mode 100644 index 0000000000..d4d37b2410 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryLlmCubeWithThemeListByUserIdResponse.java @@ -0,0 +1,90 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.QueryLlmCubeWithThemeListByUserIdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class QueryLlmCubeWithThemeListByUserIdResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Result result; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Result getResult() { + return this.result; + } + + public void setResult(Result result) { + this.result = result; + } + + public static class Result { + + private Map cubeIds; + + private Map themeIds; + + public Map getCubeIds() { + return this.cubeIds; + } + + public void setCubeIds(Map cubeIds) { + this.cubeIds = cubeIds; + } + + public Map getThemeIds() { + return this.themeIds; + } + + public void setThemeIds(Map themeIds) { + this.themeIds = themeIds; + } + } + + @Override + public QueryLlmCubeWithThemeListByUserIdResponse getInstance(UnmarshallerContext context) { + return QueryLlmCubeWithThemeListByUserIdResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QuerySmartqPermissionByCubeIdRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QuerySmartqPermissionByCubeIdRequest.java new file mode 100644 index 0000000000..13388e630f --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QuerySmartqPermissionByCubeIdRequest.java @@ -0,0 +1,64 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class QuerySmartqPermissionByCubeIdRequest extends RpcAcsRequest { + + + private String userId; + + private String cubeId; + public QuerySmartqPermissionByCubeIdRequest() { + super("quickbi-public", "2022-01-01", "QuerySmartqPermissionByCubeId", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + if(userId != null){ + putQueryParameter("UserId", userId); + } + } + + public String getCubeId() { + return this.cubeId; + } + + public void setCubeId(String cubeId) { + this.cubeId = cubeId; + if(cubeId != null){ + putQueryParameter("CubeId", cubeId); + } + } + + @Override + public Class getResponseClass() { + return QuerySmartqPermissionByCubeIdResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QuerySmartqPermissionByCubeIdResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QuerySmartqPermissionByCubeIdResponse.java new file mode 100644 index 0000000000..03c45e964c --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QuerySmartqPermissionByCubeIdResponse.java @@ -0,0 +1,99 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.QuerySmartqPermissionByCubeIdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class QuerySmartqPermissionByCubeIdResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Result result; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Result getResult() { + return this.result; + } + + public void setResult(Result result) { + this.result = result; + } + + public static class Result { + + private Boolean hasPerssion; + + private String cubeId; + + private String cubeName; + + public Boolean getHasPerssion() { + return this.hasPerssion; + } + + public void setHasPerssion(Boolean hasPerssion) { + this.hasPerssion = hasPerssion; + } + + public String getCubeId() { + return this.cubeId; + } + + public void setCubeId(String cubeId) { + this.cubeId = cubeId; + } + + public String getCubeName() { + return this.cubeName; + } + + public void setCubeName(String cubeName) { + this.cubeName = cubeName; + } + } + + @Override + public QuerySmartqPermissionByCubeIdResponse getInstance(UnmarshallerContext context) { + return QuerySmartqPermissionByCubeIdResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryWorksBloodRelationshipResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryWorksBloodRelationshipResponse.java index 385aa56600..3b7741d1f8 100644 --- a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryWorksBloodRelationshipResponse.java +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/QueryWorksBloodRelationshipResponse.java @@ -25,19 +25,11 @@ */ public class QueryWorksBloodRelationshipResponse extends AcsResponse { - private String requestId; - private Boolean success; - private List result; - - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List result; public Boolean getSuccess() { return this.success; @@ -47,6 +39,14 @@ public void setSuccess(Boolean success) { this.success = success; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public List getResult() { return this.result; } @@ -65,6 +65,8 @@ public static class Item { private String componentTypeName; + private String componentTypeCnName; + private String datasetId; private List queryParams; @@ -101,6 +103,14 @@ public void setComponentTypeName(String componentTypeName) { this.componentTypeName = componentTypeName; } + public String getComponentTypeCnName() { + return this.componentTypeCnName; + } + + public void setComponentTypeCnName(String componentTypeCnName) { + this.componentTypeCnName = componentTypeCnName; + } + public String getDatasetId() { return this.datasetId; } @@ -133,6 +143,8 @@ public static class QueryParam { private String uid; + private String expression; + public String getAreaId() { return this.areaId; } @@ -188,6 +200,14 @@ public String getUid() { public void setUid(String uid) { this.uid = uid; } + + public String getExpression() { + return this.expression; + } + + public void setExpression(String expression) { + this.expression = expression; + } } } diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthTransferRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthTransferRequest.java new file mode 100644 index 0000000000..eea6c9f554 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthTransferRequest.java @@ -0,0 +1,64 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class SmartqAuthTransferRequest extends RpcAcsRequest { + + + private String targetUserIds; + + private String originUserId; + public SmartqAuthTransferRequest() { + super("quickbi-public", "2022-01-01", "SmartqAuthTransfer", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getTargetUserIds() { + return this.targetUserIds; + } + + public void setTargetUserIds(String targetUserIds) { + this.targetUserIds = targetUserIds; + if(targetUserIds != null){ + putQueryParameter("TargetUserIds", targetUserIds); + } + } + + public String getOriginUserId() { + return this.originUserId; + } + + public void setOriginUserId(String originUserId) { + this.originUserId = originUserId; + if(originUserId != null){ + putQueryParameter("OriginUserId", originUserId); + } + } + + @Override + public Class getResponseClass() { + return SmartqAuthTransferResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthTransferResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthTransferResponse.java new file mode 100644 index 0000000000..855b598f90 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthTransferResponse.java @@ -0,0 +1,66 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.SmartqAuthTransferResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SmartqAuthTransferResponse extends AcsResponse { + + private String requestId; + + private Boolean result; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getResult() { + return this.result; + } + + public void setResult(Boolean result) { + this.result = result; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public SmartqAuthTransferResponse getInstance(UnmarshallerContext context) { + return SmartqAuthTransferResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthorizeRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthorizeRequest.java new file mode 100644 index 0000000000..78b608d2c6 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthorizeRequest.java @@ -0,0 +1,103 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class SmartqAuthorizeRequest extends RpcAcsRequest { + + + private String llmCubeThemes; + + private String llmCubes; + + private Integer operationType; + + private String expireDay; + + private String userIds; + public SmartqAuthorizeRequest() { + super("quickbi-public", "2022-01-01", "SmartqAuthorize", "2.2.0"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getLlmCubeThemes() { + return this.llmCubeThemes; + } + + public void setLlmCubeThemes(String llmCubeThemes) { + this.llmCubeThemes = llmCubeThemes; + if(llmCubeThemes != null){ + putQueryParameter("LlmCubeThemes", llmCubeThemes); + } + } + + public String getLlmCubes() { + return this.llmCubes; + } + + public void setLlmCubes(String llmCubes) { + this.llmCubes = llmCubes; + if(llmCubes != null){ + putQueryParameter("LlmCubes", llmCubes); + } + } + + public Integer getOperationType() { + return this.operationType; + } + + public void setOperationType(Integer operationType) { + this.operationType = operationType; + if(operationType != null){ + putQueryParameter("OperationType", operationType.toString()); + } + } + + public String getExpireDay() { + return this.expireDay; + } + + public void setExpireDay(String expireDay) { + this.expireDay = expireDay; + if(expireDay != null){ + putQueryParameter("ExpireDay", expireDay); + } + } + + public String getUserIds() { + return this.userIds; + } + + public void setUserIds(String userIds) { + this.userIds = userIds; + if(userIds != null){ + putQueryParameter("UserIds", userIds); + } + } + + @Override + public Class getResponseClass() { + return SmartqAuthorizeResponse.class; + } + +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthorizeResponse.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthorizeResponse.java new file mode 100644 index 0000000000..f7ab38072b --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/SmartqAuthorizeResponse.java @@ -0,0 +1,110 @@ +/* + * 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 com.aliyuncs.quickbi_public.model.v20220101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.quickbi_public.transform.v20220101.SmartqAuthorizeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SmartqAuthorizeResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private List result; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public List getResult() { + return this.result; + } + + public void setResult(List result) { + this.result = result; + } + + public static class Data { + + private String userId; + + private String llmCube; + + private String llmCubeTheme; + + private String detailMessage; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getLlmCube() { + return this.llmCube; + } + + public void setLlmCube(String llmCube) { + this.llmCube = llmCube; + } + + public String getLlmCubeTheme() { + return this.llmCubeTheme; + } + + public void setLlmCubeTheme(String llmCubeTheme) { + this.llmCubeTheme = llmCubeTheme; + } + + public String getDetailMessage() { + return this.detailMessage; + } + + public void setDetailMessage(String detailMessage) { + this.detailMessage = detailMessage; + } + } + + @Override + public SmartqAuthorizeResponse getInstance(UnmarshallerContext context) { + return SmartqAuthorizeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/UpdateWorkspaceUserRoleRequest.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/UpdateWorkspaceUserRoleRequest.java index 4eaa425331..e8c906d476 100644 --- a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/UpdateWorkspaceUserRoleRequest.java +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/model/v20220101/UpdateWorkspaceUserRoleRequest.java @@ -28,6 +28,8 @@ public class UpdateWorkspaceUserRoleRequest extends RpcAcsRequest result = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListDataSourceResponse.Result.Length"); i++) { + Data data = new Data(); + data.setCreatorId(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].CreatorId")); + data.setCreatorName(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].CreatorName")); + data.setDatasourceId(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].DatasourceId")); + data.setGmtCreate(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].GmtCreate")); + data.setGmtModified(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].GmtModified")); + data.setShowName(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].ShowName")); + data.setDsType(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].DsType")); + data.setParentDsType(_ctx.stringValue("ListDataSourceResponse.Result["+ i +"].ParentDsType")); + + result.add(data); + } + listDataSourceResponse.setResult(result); + + return listDataSourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryAuditLogResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryAuditLogResponseUnmarshaller.java index 98053401f7..6f7458a4df 100644 --- a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryAuditLogResponseUnmarshaller.java +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryAuditLogResponseUnmarshaller.java @@ -39,6 +39,7 @@ public static QueryAuditLogResponse unmarshall(QueryAuditLogResponse queryAuditL logApiResultModel.setTargetName(_ctx.stringValue("QueryAuditLogResponse.Result["+ i +"].TargetName")); logApiResultModel.setTargetType(_ctx.stringValue("QueryAuditLogResponse.Result["+ i +"].TargetType")); logApiResultModel.setWorkspaceId(_ctx.stringValue("QueryAuditLogResponse.Result["+ i +"].WorkspaceId")); + logApiResultModel.setTargetId(_ctx.stringValue("QueryAuditLogResponse.Result["+ i +"].TargetId")); result.add(logApiResultModel); } diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryDatasetSmartqStatusResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryDatasetSmartqStatusResponseUnmarshaller.java new file mode 100644 index 0000000000..87b8454f3b --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryDatasetSmartqStatusResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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 com.aliyuncs.quickbi_public.transform.v20220101; + +import com.aliyuncs.quickbi_public.model.v20220101.QueryDatasetSmartqStatusResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class QueryDatasetSmartqStatusResponseUnmarshaller { + + public static QueryDatasetSmartqStatusResponse unmarshall(QueryDatasetSmartqStatusResponse queryDatasetSmartqStatusResponse, UnmarshallerContext _ctx) { + + queryDatasetSmartqStatusResponse.setRequestId(_ctx.stringValue("QueryDatasetSmartqStatusResponse.RequestId")); + queryDatasetSmartqStatusResponse.setResult(_ctx.booleanValue("QueryDatasetSmartqStatusResponse.Result")); + queryDatasetSmartqStatusResponse.setSuccess(_ctx.booleanValue("QueryDatasetSmartqStatusResponse.Success")); + + return queryDatasetSmartqStatusResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryLlmCubeWithThemeListByUserIdResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryLlmCubeWithThemeListByUserIdResponseUnmarshaller.java new file mode 100644 index 0000000000..63a3d4680f --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryLlmCubeWithThemeListByUserIdResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * 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 com.aliyuncs.quickbi_public.transform.v20220101; + +import com.aliyuncs.quickbi_public.model.v20220101.QueryLlmCubeWithThemeListByUserIdResponse; +import com.aliyuncs.quickbi_public.model.v20220101.QueryLlmCubeWithThemeListByUserIdResponse.Result; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class QueryLlmCubeWithThemeListByUserIdResponseUnmarshaller { + + public static QueryLlmCubeWithThemeListByUserIdResponse unmarshall(QueryLlmCubeWithThemeListByUserIdResponse queryLlmCubeWithThemeListByUserIdResponse, UnmarshallerContext _ctx) { + + queryLlmCubeWithThemeListByUserIdResponse.setRequestId(_ctx.stringValue("QueryLlmCubeWithThemeListByUserIdResponse.RequestId")); + queryLlmCubeWithThemeListByUserIdResponse.setSuccess(_ctx.booleanValue("QueryLlmCubeWithThemeListByUserIdResponse.Success")); + + Result result = new Result(); + result.setCubeIds(_ctx.mapValue("QueryLlmCubeWithThemeListByUserIdResponse.Result.CubeIds")); + result.setThemeIds(_ctx.mapValue("QueryLlmCubeWithThemeListByUserIdResponse.Result.ThemeIds")); + queryLlmCubeWithThemeListByUserIdResponse.setResult(result); + + return queryLlmCubeWithThemeListByUserIdResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QuerySmartqPermissionByCubeIdResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QuerySmartqPermissionByCubeIdResponseUnmarshaller.java new file mode 100644 index 0000000000..aa2cae85be --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QuerySmartqPermissionByCubeIdResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * 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 com.aliyuncs.quickbi_public.transform.v20220101; + +import com.aliyuncs.quickbi_public.model.v20220101.QuerySmartqPermissionByCubeIdResponse; +import com.aliyuncs.quickbi_public.model.v20220101.QuerySmartqPermissionByCubeIdResponse.Result; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class QuerySmartqPermissionByCubeIdResponseUnmarshaller { + + public static QuerySmartqPermissionByCubeIdResponse unmarshall(QuerySmartqPermissionByCubeIdResponse querySmartqPermissionByCubeIdResponse, UnmarshallerContext _ctx) { + + querySmartqPermissionByCubeIdResponse.setRequestId(_ctx.stringValue("QuerySmartqPermissionByCubeIdResponse.RequestId")); + querySmartqPermissionByCubeIdResponse.setSuccess(_ctx.booleanValue("QuerySmartqPermissionByCubeIdResponse.Success")); + + Result result = new Result(); + result.setHasPerssion(_ctx.booleanValue("QuerySmartqPermissionByCubeIdResponse.Result.HasPerssion")); + result.setCubeId(_ctx.stringValue("QuerySmartqPermissionByCubeIdResponse.Result.CubeId")); + result.setCubeName(_ctx.stringValue("QuerySmartqPermissionByCubeIdResponse.Result.CubeName")); + querySmartqPermissionByCubeIdResponse.setResult(result); + + return querySmartqPermissionByCubeIdResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryWorksBloodRelationshipResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryWorksBloodRelationshipResponseUnmarshaller.java index 7abd7e1f3e..f4c1230509 100644 --- a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryWorksBloodRelationshipResponseUnmarshaller.java +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/QueryWorksBloodRelationshipResponseUnmarshaller.java @@ -37,6 +37,7 @@ public static QueryWorksBloodRelationshipResponse unmarshall(QueryWorksBloodRela item.setComponentName(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].ComponentName")); item.setComponentType(_ctx.integerValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].ComponentType")); item.setComponentTypeName(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].ComponentTypeName")); + item.setComponentTypeCnName(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].ComponentTypeCnName")); item.setDatasetId(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].DatasetId")); List queryParams = new ArrayList(); @@ -49,6 +50,7 @@ public static QueryWorksBloodRelationshipResponse unmarshall(QueryWorksBloodRela queryParam.setIsMeasure(_ctx.booleanValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].QueryParams["+ j +"].IsMeasure")); queryParam.setPathId(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].QueryParams["+ j +"].PathId")); queryParam.setUid(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].QueryParams["+ j +"].Uid")); + queryParam.setExpression(_ctx.stringValue("QueryWorksBloodRelationshipResponse.Result["+ i +"].QueryParams["+ j +"].Expression")); queryParams.add(queryParam); } diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/SmartqAuthTransferResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/SmartqAuthTransferResponseUnmarshaller.java new file mode 100644 index 0000000000..91c21d3694 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/SmartqAuthTransferResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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 com.aliyuncs.quickbi_public.transform.v20220101; + +import com.aliyuncs.quickbi_public.model.v20220101.SmartqAuthTransferResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SmartqAuthTransferResponseUnmarshaller { + + public static SmartqAuthTransferResponse unmarshall(SmartqAuthTransferResponse smartqAuthTransferResponse, UnmarshallerContext _ctx) { + + smartqAuthTransferResponse.setRequestId(_ctx.stringValue("SmartqAuthTransferResponse.RequestId")); + smartqAuthTransferResponse.setResult(_ctx.booleanValue("SmartqAuthTransferResponse.Result")); + smartqAuthTransferResponse.setSuccess(_ctx.booleanValue("SmartqAuthTransferResponse.Success")); + + return smartqAuthTransferResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/SmartqAuthorizeResponseUnmarshaller.java b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/SmartqAuthorizeResponseUnmarshaller.java new file mode 100644 index 0000000000..c8ba89acc5 --- /dev/null +++ b/aliyun-java-sdk-quickbi-public/src/main/java/com/aliyuncs/quickbi_public/transform/v20220101/SmartqAuthorizeResponseUnmarshaller.java @@ -0,0 +1,46 @@ +/* + * 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 com.aliyuncs.quickbi_public.transform.v20220101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.quickbi_public.model.v20220101.SmartqAuthorizeResponse; +import com.aliyuncs.quickbi_public.model.v20220101.SmartqAuthorizeResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SmartqAuthorizeResponseUnmarshaller { + + public static SmartqAuthorizeResponse unmarshall(SmartqAuthorizeResponse smartqAuthorizeResponse, UnmarshallerContext _ctx) { + + smartqAuthorizeResponse.setRequestId(_ctx.stringValue("SmartqAuthorizeResponse.RequestId")); + smartqAuthorizeResponse.setSuccess(_ctx.booleanValue("SmartqAuthorizeResponse.Success")); + + List result = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("SmartqAuthorizeResponse.Result.Length"); i++) { + Data data = new Data(); + data.setUserId(_ctx.stringValue("SmartqAuthorizeResponse.Result["+ i +"].UserId")); + data.setLlmCube(_ctx.stringValue("SmartqAuthorizeResponse.Result["+ i +"].LlmCube")); + data.setLlmCubeTheme(_ctx.stringValue("SmartqAuthorizeResponse.Result["+ i +"].LlmCubeTheme")); + data.setDetailMessage(_ctx.stringValue("SmartqAuthorizeResponse.Result["+ i +"].DetailMessage")); + + result.add(data); + } + smartqAuthorizeResponse.setResult(result); + + return smartqAuthorizeResponse; + } +} \ No newline at end of file