From 9c8335a380bc1ed6cbca297bf7c7257a0dcbe3cb Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 12 Jul 2024 08:23:16 +0000 Subject: [PATCH] Generated 2022-12-13 for PaiRecService. --- aliyun-java-sdk-pairecservice/ChangeLog.txt | 3 + aliyun-java-sdk-pairecservice/pom.xml | 2 +- .../CloneTrafficControlTaskRequest.java | 63 ++ .../CloneTrafficControlTaskResponse.java | 56 ++ .../CreateResourceRuleItemRequest.java | 63 ++ .../CreateResourceRuleItemResponse.java | 56 ++ .../v20221213/CreateResourceRuleRequest.java | 50 ++ .../v20221213/CreateResourceRuleResponse.java | 56 ++ .../CreateTrafficControlTargetRequest.java | 50 ++ .../CreateTrafficControlTargetResponse.java | 56 ++ .../CreateTrafficControlTaskRequest.java | 50 ++ .../CreateTrafficControlTaskResponse.java | 56 ++ .../v20221213/DebugResourceRuleRequest.java | 76 +++ .../v20221213/DebugResourceRuleResponse.java | 67 +++ .../DeleteResourceRuleItemRequest.java | 76 +++ .../DeleteResourceRuleItemResponse.java | 46 ++ .../v20221213/DeleteResourceRuleRequest.java | 63 ++ .../v20221213/DeleteResourceRuleResponse.java | 46 ++ .../DeleteTrafficControlTargetRequest.java | 63 ++ .../DeleteTrafficControlTargetResponse.java | 46 ++ .../DeleteTrafficControlTaskRequest.java | 63 ++ .../DeleteTrafficControlTaskResponse.java | 46 ++ ...GenerateTrafficControlTaskCodeRequest.java | 63 ++ ...enerateTrafficControlTaskCodeResponse.java | 56 ++ ...nerateTrafficControlTaskConfigRequest.java | 63 ++ ...erateTrafficControlTaskConfigResponse.java | 56 ++ .../v20221213/GetExperimentGroupResponse.java | 30 + ...tureConsistencyCheckJobConfigResponse.java | 70 +++ .../GetInstanceResourceTableResponse.java | 10 + .../model/v20221213/GetLayerResponse.java | 20 + .../v20221213/GetResourceRuleRequest.java | 63 ++ .../v20221213/GetResourceRuleResponse.java | 180 ++++++ .../model/v20221213/GetTableMetaResponse.java | 30 + .../GetTrafficControlTargetRequest.java | 63 ++ .../GetTrafficControlTargetResponse.java | 240 ++++++++ .../GetTrafficControlTaskRequest.java | 102 ++++ .../GetTrafficControlTaskResponse.java | 543 +++++++++++++++++ .../GetTrafficControlTaskTrafficRequest.java | 76 +++ .../GetTrafficControlTaskTrafficResponse.java | 104 ++++ .../v20221213/ListABMetricGroupsRequest.java | 28 +- .../ListExperimentGroupsRequest.java | 26 + .../ListExperimentGroupsResponse.java | 30 + ...ureConsistencyCheckJobConfigsResponse.java | 70 +++ .../model/v20221213/ListLayersResponse.java | 20 + .../v20221213/ListResourceRulesRequest.java | 141 +++++ .../v20221213/ListResourceRulesResponse.java | 203 +++++++ .../v20221213/ListTableMetasResponse.java | 10 + ...ficControlTargetTrafficHistoryRequest.java | 154 +++++ ...icControlTargetTrafficHistoryResponse.java | 130 ++++ .../ListTrafficControlTasksRequest.java | 206 +++++++ .../ListTrafficControlTasksResponse.java | 556 ++++++++++++++++++ .../v20221213/PushResourceRuleRequest.java | 76 +++ .../v20221213/PushResourceRuleResponse.java | 180 ++++++ .../ReleaseTrafficControlTaskRequest.java | 63 ++ .../ReleaseTrafficControlTaskResponse.java | 46 ++ .../SplitTrafficControlTargetRequest.java | 63 ++ .../SplitTrafficControlTargetResponse.java | 46 ++ .../StartTrafficControlTargetRequest.java | 63 ++ .../StartTrafficControlTargetResponse.java | 46 ++ .../StartTrafficControlTaskRequest.java | 63 ++ .../StartTrafficControlTaskResponse.java | 46 ++ .../StopTrafficControlTargetRequest.java | 63 ++ .../StopTrafficControlTargetResponse.java | 46 ++ .../StopTrafficControlTaskRequest.java | 63 ++ .../StopTrafficControlTaskResponse.java | 46 ++ .../UpdateResourceRuleItemRequest.java | 76 +++ .../UpdateResourceRuleItemResponse.java | 46 ++ .../v20221213/UpdateResourceRuleRequest.java | 63 ++ .../v20221213/UpdateResourceRuleResponse.java | 46 ++ .../UpdateTrafficControlTargetRequest.java | 76 +++ .../UpdateTrafficControlTargetResponse.java | 46 ++ .../UpdateTrafficControlTaskRequest.java | 63 ++ .../UpdateTrafficControlTaskResponse.java | 46 ++ ...pdateTrafficControlTaskTrafficRequest.java | 76 +++ ...dateTrafficControlTaskTrafficResponse.java | 46 ++ .../UploadRecommendationDataRequest.java | 50 ++ .../UploadRecommendationDataResponse.java | 56 ++ ...rafficControlTaskResponseUnmarshaller.java | 30 + ...eResourceRuleItemResponseUnmarshaller.java | 30 + ...reateResourceRuleResponseUnmarshaller.java | 30 + ...fficControlTargetResponseUnmarshaller.java | 30 + ...rafficControlTaskResponseUnmarshaller.java | 30 + ...DebugResourceRuleResponseUnmarshaller.java | 32 + ...eResourceRuleItemResponseUnmarshaller.java | 29 + ...eleteResourceRuleResponseUnmarshaller.java | 29 + ...fficControlTargetResponseUnmarshaller.java | 29 + ...rafficControlTaskResponseUnmarshaller.java | 29 + ...icControlTaskCodeResponseUnmarshaller.java | 30 + ...ControlTaskConfigResponseUnmarshaller.java | 30 + ...etExperimentGroupResponseUnmarshaller.java | 5 +- ...ncyCheckJobConfigResponseUnmarshaller.java | 9 +- ...anceResourceTableResponseUnmarshaller.java | 1 + .../GetLayerResponseUnmarshaller.java | 4 +- .../GetResourceRuleResponseUnmarshaller.java | 53 ++ .../GetTableMetaResponseUnmarshaller.java | 3 + ...fficControlTargetResponseUnmarshaller.java | 69 +++ ...rafficControlTaskResponseUnmarshaller.java | 107 ++++ ...ontrolTaskTrafficResponseUnmarshaller.java | 51 ++ ...tExperimentGroupsResponseUnmarshaller.java | 3 + ...cyCheckJobConfigsResponseUnmarshaller.java | 7 + .../ListLayersResponseUnmarshaller.java | 2 + ...ListResourceRulesResponseUnmarshaller.java | 63 ++ .../ListTableMetasResponseUnmarshaller.java | 1 + ...getTrafficHistoryResponseUnmarshaller.java | 48 ++ ...afficControlTasksResponseUnmarshaller.java | 111 ++++ .../PushResourceRuleResponseUnmarshaller.java | 53 ++ ...rafficControlTaskResponseUnmarshaller.java | 29 + ...fficControlTargetResponseUnmarshaller.java | 29 + ...fficControlTargetResponseUnmarshaller.java | 29 + ...rafficControlTaskResponseUnmarshaller.java | 29 + ...fficControlTargetResponseUnmarshaller.java | 29 + ...rafficControlTaskResponseUnmarshaller.java | 29 + ...eResourceRuleItemResponseUnmarshaller.java | 29 + ...pdateResourceRuleResponseUnmarshaller.java | 29 + ...fficControlTargetResponseUnmarshaller.java | 29 + ...rafficControlTaskResponseUnmarshaller.java | 29 + ...ontrolTaskTrafficResponseUnmarshaller.java | 29 + ...ecommendationDataResponseUnmarshaller.java | 30 + 118 files changed, 7388 insertions(+), 5 deletions(-) create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataRequest.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataResponse.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CloneTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleItemResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DebugResourceRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleItemResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskCodeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetResourceRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskTrafficResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListResourceRulesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTargetTrafficHistoryResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTasksResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/PushResourceRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReleaseTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/SplitTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleItemResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTargetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskTrafficResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UploadRecommendationDataResponseUnmarshaller.java diff --git a/aliyun-java-sdk-pairecservice/ChangeLog.txt b/aliyun-java-sdk-pairecservice/ChangeLog.txt index 3ac16249b6..a89536e768 100644 --- a/aliyun-java-sdk-pairecservice/ChangeLog.txt +++ b/aliyun-java-sdk-pairecservice/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-07-12 Version: 1.0.4 +- Generated 2022-12-13 for `PaiRecService`. + 2023-12-21 Version: 1.0.3 - Add api about ABMetric, ABMetricGroup, CalculationJob. diff --git a/aliyun-java-sdk-pairecservice/pom.xml b/aliyun-java-sdk-pairecservice/pom.xml index e3d69385d8..5bd28112f9 100644 --- a/aliyun-java-sdk-pairecservice/pom.xml +++ b/aliyun-java-sdk-pairecservice/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-pairecservice jar - 1.0.3 + 1.0.4 aliyun-java-sdk-pairecservice http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskRequest.java new file mode 100644 index 0000000000..c354ec3a27 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CloneTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public CloneTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "CloneTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/clone"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return CloneTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskResponse.java new file mode 100644 index 0000000000..e16a2a0830 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CloneTrafficControlTaskResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.CloneTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CloneTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + private String trafficControlTaskId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + } + + @Override + public CloneTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return CloneTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemRequest.java new file mode 100644 index 0000000000..048672f559 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateResourceRuleItemRequest extends RoaAcsRequest { + + + private String body; + + private String resourceRuleId; + public CreateResourceRuleItemRequest() { + super("PaiRecService", "2022-12-13", "CreateResourceRuleItem"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]/items"); + setMethod(MethodType.POST); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + @Override + public Class getResponseClass() { + return CreateResourceRuleItemResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemResponse.java new file mode 100644 index 0000000000..e8b79f610e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleItemResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.CreateResourceRuleItemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateResourceRuleItemResponse extends AcsResponse { + + private String requestId; + + private String resourceRuleItemId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getResourceRuleItemId() { + return this.resourceRuleItemId; + } + + public void setResourceRuleItemId(String resourceRuleItemId) { + this.resourceRuleItemId = resourceRuleItemId; + } + + @Override + public CreateResourceRuleItemResponse getInstance(UnmarshallerContext context) { + return CreateResourceRuleItemResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleRequest.java new file mode 100644 index 0000000000..e7f2d8bff7 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleRequest.java @@ -0,0 +1,50 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateResourceRuleRequest extends RoaAcsRequest { + + + private String body; + public CreateResourceRuleRequest() { + super("PaiRecService", "2022-12-13", "CreateResourceRule"); + setUriPattern("/api/v1/resourcerules"); + setMethod(MethodType.POST); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return CreateResourceRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleResponse.java new file mode 100644 index 0000000000..75b5076c8d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateResourceRuleResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.CreateResourceRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateResourceRuleResponse extends AcsResponse { + + private String requestId; + + private String resourceRuleId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + } + + @Override + public CreateResourceRuleResponse getInstance(UnmarshallerContext context) { + return CreateResourceRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetRequest.java new file mode 100644 index 0000000000..b5ba30c201 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetRequest.java @@ -0,0 +1,50 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateTrafficControlTargetRequest extends RoaAcsRequest { + + + private String body; + public CreateTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "CreateTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets"); + setMethod(MethodType.POST); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return CreateTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetResponse.java new file mode 100644 index 0000000000..a245d836ec --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTargetResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.CreateTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + private String trafficControlTargetId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + } + + @Override + public CreateTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return CreateTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskRequest.java new file mode 100644 index 0000000000..ebb272a48c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskRequest.java @@ -0,0 +1,50 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateTrafficControlTaskRequest extends RoaAcsRequest { + + + private String body; + public CreateTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "CreateTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks"); + setMethod(MethodType.POST); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return CreateTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskResponse.java new file mode 100644 index 0000000000..0bcc7b8bb6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTrafficControlTaskResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.CreateTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + private String trafficControlTaskId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + } + + @Override + public CreateTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return CreateTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleRequest.java new file mode 100644 index 0000000000..85c7320ffe --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DebugResourceRuleRequest extends RoaAcsRequest { + + + private String resourceRuleId; + + private String instanceId; + + private String metricInfo; + public DebugResourceRuleRequest() { + super("PaiRecService", "2022-12-13", "DebugResourceRule"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]/action/debug"); + setMethod(MethodType.POST); + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getMetricInfo() { + return this.metricInfo; + } + + public void setMetricInfo(String metricInfo) { + this.metricInfo = metricInfo; + if(metricInfo != null){ + putQueryParameter("MetricInfo", metricInfo); + } + } + + @Override + public Class getResponseClass() { + return DebugResourceRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleResponse.java new file mode 100644 index 0000000000..e9262879c2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DebugResourceRuleResponse.java @@ -0,0 +1,67 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.DebugResourceRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DebugResourceRuleResponse extends AcsResponse { + + private String requestId; + + private Map currentValues; + + private Map outputValues; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Map getCurrentValues() { + return this.currentValues; + } + + public void setCurrentValues(Map currentValues) { + this.currentValues = currentValues; + } + + public Map getOutputValues() { + return this.outputValues; + } + + public void setOutputValues(Map outputValues) { + this.outputValues = outputValues; + } + + @Override + public DebugResourceRuleResponse getInstance(UnmarshallerContext context) { + return DebugResourceRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemRequest.java new file mode 100644 index 0000000000..479e2a619c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteResourceRuleItemRequest extends RoaAcsRequest { + + + private String resourceRuleId; + + private String resourceRuleItemId; + + private String instanceId; + public DeleteResourceRuleItemRequest() { + super("PaiRecService", "2022-12-13", "DeleteResourceRuleItem"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]/items/[ResourceRuleItemId]"); + setMethod(MethodType.DELETE); + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + public String getResourceRuleItemId() { + return this.resourceRuleItemId; + } + + public void setResourceRuleItemId(String resourceRuleItemId) { + this.resourceRuleItemId = resourceRuleItemId; + if(resourceRuleItemId != null){ + putPathParameter("ResourceRuleItemId", resourceRuleItemId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteResourceRuleItemResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemResponse.java new file mode 100644 index 0000000000..b6bb7b1fbc --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleItemResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.DeleteResourceRuleItemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteResourceRuleItemResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteResourceRuleItemResponse getInstance(UnmarshallerContext context) { + return DeleteResourceRuleItemResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleRequest.java new file mode 100644 index 0000000000..33b7134db1 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteResourceRuleRequest extends RoaAcsRequest { + + + private String resourceRuleId; + + private String instanceId; + public DeleteResourceRuleRequest() { + super("PaiRecService", "2022-12-13", "DeleteResourceRule"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]"); + setMethod(MethodType.DELETE); + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteResourceRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleResponse.java new file mode 100644 index 0000000000..3983bbdab5 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteResourceRuleResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.DeleteResourceRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteResourceRuleResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteResourceRuleResponse getInstance(UnmarshallerContext context) { + return DeleteResourceRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetRequest.java new file mode 100644 index 0000000000..f8021040b1 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteTrafficControlTargetRequest extends RoaAcsRequest { + + + private String trafficControlTargetId; + + private String instanceId; + public DeleteTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "DeleteTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]"); + setMethod(MethodType.DELETE); + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetResponse.java new file mode 100644 index 0000000000..7c890b8046 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTargetResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.DeleteTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return DeleteTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskRequest.java new file mode 100644 index 0000000000..a9b86b6aae --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String instanceId; + public DeleteTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "DeleteTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]"); + setMethod(MethodType.DELETE); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskResponse.java new file mode 100644 index 0000000000..a16bd6cd2a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTrafficControlTaskResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.DeleteTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return DeleteTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeRequest.java new file mode 100644 index 0000000000..925ef34f8a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GenerateTrafficControlTaskCodeRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public GenerateTrafficControlTaskCodeRequest() { + super("PaiRecService", "2022-12-13", "GenerateTrafficControlTaskCode"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/generatecode"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return GenerateTrafficControlTaskCodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeResponse.java new file mode 100644 index 0000000000..802aa03909 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskCodeResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GenerateTrafficControlTaskCodeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GenerateTrafficControlTaskCodeResponse extends AcsResponse { + + private String requestId; + + private String code; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + @Override + public GenerateTrafficControlTaskCodeResponse getInstance(UnmarshallerContext context) { + return GenerateTrafficControlTaskCodeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigRequest.java new file mode 100644 index 0000000000..8e89307489 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GenerateTrafficControlTaskConfigRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public GenerateTrafficControlTaskConfigRequest() { + super("PaiRecService", "2022-12-13", "GenerateTrafficControlTaskConfig"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/generateconfig"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return GenerateTrafficControlTaskConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigResponse.java new file mode 100644 index 0000000000..70a8332d91 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GenerateTrafficControlTaskConfigResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GenerateTrafficControlTaskConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GenerateTrafficControlTaskConfigResponse extends AcsResponse { + + private String requestId; + + private String config; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + @Override + public GenerateTrafficControlTaskConfigResponse getInstance(UnmarshallerContext context) { + return GenerateTrafficControlTaskConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetExperimentGroupResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetExperimentGroupResponse.java index d8518f2409..c687973a1b 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetExperimentGroupResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetExperimentGroupResponse.java @@ -58,6 +58,12 @@ public class GetExperimentGroupResponse extends AcsResponse { private String status; + private String crowdTargetType; + + private Long randomFlow; + + private String holdingBuckets; + public String getRequestId() { return this.requestId; } @@ -194,6 +200,30 @@ public void setStatus(String status) { this.status = status; } + public String getCrowdTargetType() { + return this.crowdTargetType; + } + + public void setCrowdTargetType(String crowdTargetType) { + this.crowdTargetType = crowdTargetType; + } + + public Long getRandomFlow() { + return this.randomFlow; + } + + public void setRandomFlow(Long randomFlow) { + this.randomFlow = randomFlow; + } + + public String getHoldingBuckets() { + return this.holdingBuckets; + } + + public void setHoldingBuckets(String holdingBuckets) { + this.holdingBuckets = holdingBuckets; + } + @Override public GetExperimentGroupResponse getInstance(UnmarshallerContext context) { return GetExperimentGroupResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetFeatureConsistencyCheckJobConfigResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetFeatureConsistencyCheckJobConfigResponse.java index df6fc5cb01..3e94782e51 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetFeatureConsistencyCheckJobConfigResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetFeatureConsistencyCheckJobConfigResponse.java @@ -94,6 +94,20 @@ public class GetFeatureConsistencyCheckJobConfigResponse extends AcsResponse { private String gmtModifiedTime; + private Boolean useFeatureStore; + + private String featureStoreProjectName; + + private String featureStoreModelId; + + private String featureStoreUserId; + + private String featureStoreItemId; + + private String featureStoreSeqFeatureView; + + private String featureStoreProjectId; + public String getRequestId() { return this.requestId; } @@ -374,6 +388,62 @@ public void setGmtModifiedTime(String gmtModifiedTime) { this.gmtModifiedTime = gmtModifiedTime; } + public Boolean getUseFeatureStore() { + return this.useFeatureStore; + } + + public void setUseFeatureStore(Boolean useFeatureStore) { + this.useFeatureStore = useFeatureStore; + } + + public String getFeatureStoreProjectName() { + return this.featureStoreProjectName; + } + + public void setFeatureStoreProjectName(String featureStoreProjectName) { + this.featureStoreProjectName = featureStoreProjectName; + } + + public String getFeatureStoreModelId() { + return this.featureStoreModelId; + } + + public void setFeatureStoreModelId(String featureStoreModelId) { + this.featureStoreModelId = featureStoreModelId; + } + + public String getFeatureStoreUserId() { + return this.featureStoreUserId; + } + + public void setFeatureStoreUserId(String featureStoreUserId) { + this.featureStoreUserId = featureStoreUserId; + } + + public String getFeatureStoreItemId() { + return this.featureStoreItemId; + } + + public void setFeatureStoreItemId(String featureStoreItemId) { + this.featureStoreItemId = featureStoreItemId; + } + + public String getFeatureStoreSeqFeatureView() { + return this.featureStoreSeqFeatureView; + } + + public void setFeatureStoreSeqFeatureView(String featureStoreSeqFeatureView) { + this.featureStoreSeqFeatureView = featureStoreSeqFeatureView; + } + + public String getFeatureStoreProjectId() { + return this.featureStoreProjectId; + } + + public void setFeatureStoreProjectId(String featureStoreProjectId) { + this.featureStoreProjectId = featureStoreProjectId; + } + @Override public GetFeatureConsistencyCheckJobConfigResponse getInstance(UnmarshallerContext context) { return GetFeatureConsistencyCheckJobConfigResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableResponse.java index 2f979d60f8..f8fde4f36a 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableResponse.java @@ -65,6 +65,8 @@ public static class FieldsItem { private Boolean isDimensionField; + private Boolean isPartitionField; + public String getName() { return this.name; } @@ -96,6 +98,14 @@ public Boolean getIsDimensionField() { public void setIsDimensionField(Boolean isDimensionField) { this.isDimensionField = isDimensionField; } + + public Boolean getIsPartitionField() { + return this.isPartitionField; + } + + public void setIsPartitionField(Boolean isPartitionField) { + this.isPartitionField = isPartitionField; + } } @Override diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetLayerResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetLayerResponse.java index 6d6fdd4e89..02b4f6093a 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetLayerResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetLayerResponse.java @@ -34,6 +34,10 @@ public class GetLayerResponse extends AcsResponse { private String description; + private Long residualFlow; + + private String gmtCreateTime; + public String getRequestId() { return this.requestId; } @@ -74,6 +78,22 @@ public void setDescription(String description) { this.description = description; } + public Long getResidualFlow() { + return this.residualFlow; + } + + public void setResidualFlow(Long residualFlow) { + this.residualFlow = residualFlow; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } + @Override public GetLayerResponse getInstance(UnmarshallerContext context) { return GetLayerResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleRequest.java new file mode 100644 index 0000000000..25d65f9ce6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetResourceRuleRequest extends RoaAcsRequest { + + + private String resourceRuleId; + + private String instanceId; + public GetResourceRuleRequest() { + super("PaiRecService", "2022-12-13", "GetResourceRule"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]"); + setMethod(MethodType.GET); + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return GetResourceRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleResponse.java new file mode 100644 index 0000000000..4a8c7b0e82 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetResourceRuleResponse.java @@ -0,0 +1,180 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GetResourceRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetResourceRuleResponse extends AcsResponse { + + private String requestId; + + private String resourceRuleId; + + private String name; + + private String description; + + private String metricOperationType; + + private String metricPullInfo; + + private String metricPullPeriod; + + private String ruleComputingDefinition; + + private List ruleItems; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getMetricOperationType() { + return this.metricOperationType; + } + + public void setMetricOperationType(String metricOperationType) { + this.metricOperationType = metricOperationType; + } + + public String getMetricPullInfo() { + return this.metricPullInfo; + } + + public void setMetricPullInfo(String metricPullInfo) { + this.metricPullInfo = metricPullInfo; + } + + public String getMetricPullPeriod() { + return this.metricPullPeriod; + } + + public void setMetricPullPeriod(String metricPullPeriod) { + this.metricPullPeriod = metricPullPeriod; + } + + public String getRuleComputingDefinition() { + return this.ruleComputingDefinition; + } + + public void setRuleComputingDefinition(String ruleComputingDefinition) { + this.ruleComputingDefinition = ruleComputingDefinition; + } + + public List getRuleItems() { + return this.ruleItems; + } + + public void setRuleItems(List ruleItems) { + this.ruleItems = ruleItems; + } + + public static class RuleItemsItem { + + private String name; + + private String description; + + private String minValue; + + private String value; + + private String maxValue; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getMinValue() { + return this.minValue; + } + + public void setMinValue(String minValue) { + this.minValue = minValue; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getMaxValue() { + return this.maxValue; + } + + public void setMaxValue(String maxValue) { + this.maxValue = maxValue; + } + } + + @Override + public GetResourceRuleResponse getInstance(UnmarshallerContext context) { + return GetResourceRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaResponse.java index 9885f2060c..9abc2c6575 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaResponse.java @@ -47,6 +47,12 @@ public class GetTableMetaResponse extends AcsResponse { private String url; + private String tableMetaId; + + private String gmtImportedTime; + + private String config; + private List fields; public String getRequestId() { @@ -137,6 +143,30 @@ public void setUrl(String url) { this.url = url; } + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + } + + public String getGmtImportedTime() { + return this.gmtImportedTime; + } + + public void setGmtImportedTime(String gmtImportedTime) { + this.gmtImportedTime = gmtImportedTime; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + public List getFields() { return this.fields; } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetRequest.java new file mode 100644 index 0000000000..8e0b15880e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetTrafficControlTargetRequest extends RoaAcsRequest { + + + private String trafficControlTargetId; + + private String instanceId; + public GetTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "GetTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]"); + setMethod(MethodType.GET); + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return GetTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetResponse.java new file mode 100644 index 0000000000..abc34b6e2d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTargetResponse.java @@ -0,0 +1,240 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GetTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + private String trafficControlTargetId; + + private String name; + + private String startTime; + + private String endTime; + + private String itemConditionType; + + private String itemConditionArray; + + private String itemConditionExpress; + + private String event; + + private Float value; + + private String statisPeriod; + + private Long toleranceValue; + + private String recallName; + + private String status; + + private String gmtCreateTime; + + private Boolean newProductRegulation; + + private SplitParts splitParts; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getItemConditionType() { + return this.itemConditionType; + } + + public void setItemConditionType(String itemConditionType) { + this.itemConditionType = itemConditionType; + } + + public String getItemConditionArray() { + return this.itemConditionArray; + } + + public void setItemConditionArray(String itemConditionArray) { + this.itemConditionArray = itemConditionArray; + } + + public String getItemConditionExpress() { + return this.itemConditionExpress; + } + + public void setItemConditionExpress(String itemConditionExpress) { + this.itemConditionExpress = itemConditionExpress; + } + + public String getEvent() { + return this.event; + } + + public void setEvent(String event) { + this.event = event; + } + + public Float getValue() { + return this.value; + } + + public void setValue(Float value) { + this.value = value; + } + + public String getStatisPeriod() { + return this.statisPeriod; + } + + public void setStatisPeriod(String statisPeriod) { + this.statisPeriod = statisPeriod; + } + + public Long getToleranceValue() { + return this.toleranceValue; + } + + public void setToleranceValue(Long toleranceValue) { + this.toleranceValue = toleranceValue; + } + + public String getRecallName() { + return this.recallName; + } + + public void setRecallName(String recallName) { + this.recallName = recallName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } + + public Boolean getNewProductRegulation() { + return this.newProductRegulation; + } + + public void setNewProductRegulation(Boolean newProductRegulation) { + this.newProductRegulation = newProductRegulation; + } + + public SplitParts getSplitParts() { + return this.splitParts; + } + + public void setSplitParts(SplitParts splitParts) { + this.splitParts = splitParts; + } + + public static class SplitParts { + + private List timePoints; + + private List setValues; + + private List setPoints; + + public List getTimePoints() { + return this.timePoints; + } + + public void setTimePoints(List timePoints) { + this.timePoints = timePoints; + } + + public List getSetValues() { + return this.setValues; + } + + public void setSetValues(List setValues) { + this.setValues = setValues; + } + + public List getSetPoints() { + return this.setPoints; + } + + public void setSetPoints(List setPoints) { + this.setPoints = setPoints; + } + } + + @Override + public GetTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return GetTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskRequest.java new file mode 100644 index 0000000000..da05b05caf --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskRequest.java @@ -0,0 +1,102 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String version; + + private String controlTargetFilter; + + private String environment; + + private String instanceId; + public GetTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "GetTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]"); + setMethod(MethodType.GET); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getControlTargetFilter() { + return this.controlTargetFilter; + } + + public void setControlTargetFilter(String controlTargetFilter) { + this.controlTargetFilter = controlTargetFilter; + if(controlTargetFilter != null){ + putQueryParameter("ControlTargetFilter", controlTargetFilter); + } + } + + public String getEnvironment() { + return this.environment; + } + + public void setEnvironment(String environment) { + this.environment = environment; + if(environment != null){ + putQueryParameter("Environment", environment); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return GetTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskResponse.java new file mode 100644 index 0000000000..7661d4dd02 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskResponse.java @@ -0,0 +1,543 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GetTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + private String trafficControlTaskId; + + private String name; + + private String description; + + private String sceneId; + + private String sceneName; + + private String productStatus; + + private String prepubStatus; + + private String executionTime; + + private String startTime; + + private String endTime; + + private String behaviorTableMetaId; + + private String userTableMetaId; + + private String itemTableMetaId; + + private String userConditionType; + + private String userConditionArray; + + private String userConditionExpress; + + private String statisBehaviorConditionType; + + private String statisBehaviorConditionArray; + + private String statisBehaviorConditionExpress; + + private String controlType; + + private String controlGranularity; + + private String controlLogic; + + private String itemConditionType; + + private String itemConditionArray; + + private String itemConditionExpress; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + private Boolean everPublished; + + private List trafficControlTargets; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + } + + public String getSceneName() { + return this.sceneName; + } + + public void setSceneName(String sceneName) { + this.sceneName = sceneName; + } + + public String getProductStatus() { + return this.productStatus; + } + + public void setProductStatus(String productStatus) { + this.productStatus = productStatus; + } + + public String getPrepubStatus() { + return this.prepubStatus; + } + + public void setPrepubStatus(String prepubStatus) { + this.prepubStatus = prepubStatus; + } + + public String getExecutionTime() { + return this.executionTime; + } + + public void setExecutionTime(String executionTime) { + this.executionTime = executionTime; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getBehaviorTableMetaId() { + return this.behaviorTableMetaId; + } + + public void setBehaviorTableMetaId(String behaviorTableMetaId) { + this.behaviorTableMetaId = behaviorTableMetaId; + } + + public String getUserTableMetaId() { + return this.userTableMetaId; + } + + public void setUserTableMetaId(String userTableMetaId) { + this.userTableMetaId = userTableMetaId; + } + + public String getItemTableMetaId() { + return this.itemTableMetaId; + } + + public void setItemTableMetaId(String itemTableMetaId) { + this.itemTableMetaId = itemTableMetaId; + } + + public String getUserConditionType() { + return this.userConditionType; + } + + public void setUserConditionType(String userConditionType) { + this.userConditionType = userConditionType; + } + + public String getUserConditionArray() { + return this.userConditionArray; + } + + public void setUserConditionArray(String userConditionArray) { + this.userConditionArray = userConditionArray; + } + + public String getUserConditionExpress() { + return this.userConditionExpress; + } + + public void setUserConditionExpress(String userConditionExpress) { + this.userConditionExpress = userConditionExpress; + } + + public String getStatisBehaviorConditionType() { + return this.statisBehaviorConditionType; + } + + public void setStatisBehaviorConditionType(String statisBehaviorConditionType) { + this.statisBehaviorConditionType = statisBehaviorConditionType; + } + + public String getStatisBehaviorConditionArray() { + return this.statisBehaviorConditionArray; + } + + public void setStatisBehaviorConditionArray(String statisBehaviorConditionArray) { + this.statisBehaviorConditionArray = statisBehaviorConditionArray; + } + + public String getStatisBehaviorConditionExpress() { + return this.statisBehaviorConditionExpress; + } + + public void setStatisBehaviorConditionExpress(String statisBehaviorConditionExpress) { + this.statisBehaviorConditionExpress = statisBehaviorConditionExpress; + } + + public String getControlType() { + return this.controlType; + } + + public void setControlType(String controlType) { + this.controlType = controlType; + } + + public String getControlGranularity() { + return this.controlGranularity; + } + + public void setControlGranularity(String controlGranularity) { + this.controlGranularity = controlGranularity; + } + + public String getControlLogic() { + return this.controlLogic; + } + + public void setControlLogic(String controlLogic) { + this.controlLogic = controlLogic; + } + + public String getItemConditionType() { + return this.itemConditionType; + } + + public void setItemConditionType(String itemConditionType) { + this.itemConditionType = itemConditionType; + } + + public String getItemConditionArray() { + return this.itemConditionArray; + } + + public void setItemConditionArray(String itemConditionArray) { + this.itemConditionArray = itemConditionArray; + } + + public String getItemConditionExpress() { + return this.itemConditionExpress; + } + + public void setItemConditionExpress(String itemConditionExpress) { + this.itemConditionExpress = itemConditionExpress; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } + + public String getGmtModifiedTime() { + return this.gmtModifiedTime; + } + + public void setGmtModifiedTime(String gmtModifiedTime) { + this.gmtModifiedTime = gmtModifiedTime; + } + + public Boolean getEverPublished() { + return this.everPublished; + } + + public void setEverPublished(Boolean everPublished) { + this.everPublished = everPublished; + } + + public List getTrafficControlTargets() { + return this.trafficControlTargets; + } + + public void setTrafficControlTargets(List trafficControlTargets) { + this.trafficControlTargets = trafficControlTargets; + } + + public static class TrafficControlTargetsItem { + + private String trafficControlTargetId; + + private String name; + + private String startTime; + + private String endTime; + + private String itemConditionType; + + private String itemConditionArray; + + private String itemConditionExpress; + + private String event; + + private Float value; + + private String statisPeriod; + + private Long toleranceValue; + + private String recallName; + + private String status; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + private Boolean newProductRegulation; + + private SplitParts splitParts; + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getItemConditionType() { + return this.itemConditionType; + } + + public void setItemConditionType(String itemConditionType) { + this.itemConditionType = itemConditionType; + } + + public String getItemConditionArray() { + return this.itemConditionArray; + } + + public void setItemConditionArray(String itemConditionArray) { + this.itemConditionArray = itemConditionArray; + } + + public String getItemConditionExpress() { + return this.itemConditionExpress; + } + + public void setItemConditionExpress(String itemConditionExpress) { + this.itemConditionExpress = itemConditionExpress; + } + + public String getEvent() { + return this.event; + } + + public void setEvent(String event) { + this.event = event; + } + + public Float getValue() { + return this.value; + } + + public void setValue(Float value) { + this.value = value; + } + + public String getStatisPeriod() { + return this.statisPeriod; + } + + public void setStatisPeriod(String statisPeriod) { + this.statisPeriod = statisPeriod; + } + + public Long getToleranceValue() { + return this.toleranceValue; + } + + public void setToleranceValue(Long toleranceValue) { + this.toleranceValue = toleranceValue; + } + + public String getRecallName() { + return this.recallName; + } + + public void setRecallName(String recallName) { + this.recallName = recallName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } + + public String getGmtModifiedTime() { + return this.gmtModifiedTime; + } + + public void setGmtModifiedTime(String gmtModifiedTime) { + this.gmtModifiedTime = gmtModifiedTime; + } + + public Boolean getNewProductRegulation() { + return this.newProductRegulation; + } + + public void setNewProductRegulation(Boolean newProductRegulation) { + this.newProductRegulation = newProductRegulation; + } + + public SplitParts getSplitParts() { + return this.splitParts; + } + + public void setSplitParts(SplitParts splitParts) { + this.splitParts = splitParts; + } + + public static class SplitParts { + + private List timePoints; + + private List setPoints; + + private List setValues; + + public List getTimePoints() { + return this.timePoints; + } + + public void setTimePoints(List timePoints) { + this.timePoints = timePoints; + } + + public List getSetPoints() { + return this.setPoints; + } + + public void setSetPoints(List setPoints) { + this.setPoints = setPoints; + } + + public List getSetValues() { + return this.setValues; + } + + public void setSetValues(List setValues) { + this.setValues = setValues; + } + } + } + + @Override + public GetTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return GetTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficRequest.java new file mode 100644 index 0000000000..c16b012591 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetTrafficControlTaskTrafficRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String environment; + + private String instanceId; + public GetTrafficControlTaskTrafficRequest() { + super("PaiRecService", "2022-12-13", "GetTrafficControlTaskTraffic"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/trafficinfo"); + setMethod(MethodType.GET); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getEnvironment() { + return this.environment; + } + + public void setEnvironment(String environment) { + this.environment = environment; + if(environment != null){ + putQueryParameter("Environment", environment); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return GetTrafficControlTaskTrafficResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficResponse.java new file mode 100644 index 0000000000..cab411abb4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTrafficControlTaskTrafficResponse.java @@ -0,0 +1,104 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GetTrafficControlTaskTrafficResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetTrafficControlTaskTrafficResponse extends AcsResponse { + + private String requestId; + + private TrafficControlTaskTrafficInfo trafficControlTaskTrafficInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public TrafficControlTaskTrafficInfo getTrafficControlTaskTrafficInfo() { + return this.trafficControlTaskTrafficInfo; + } + + public void setTrafficControlTaskTrafficInfo(TrafficControlTaskTrafficInfo trafficControlTaskTrafficInfo) { + this.trafficControlTaskTrafficInfo = trafficControlTaskTrafficInfo; + } + + public static class TrafficControlTaskTrafficInfo { + + private Map taskTraffics; + + private List targetTraffics; + + public Map getTaskTraffics() { + return this.taskTraffics; + } + + public void setTaskTraffics(Map taskTraffics) { + this.taskTraffics = taskTraffics; + } + + public List getTargetTraffics() { + return this.targetTraffics; + } + + public void setTargetTraffics(List targetTraffics) { + this.targetTraffics = targetTraffics; + } + + public static class TargetTrafficsItem { + + private String trafficContorlTargetId; + + private List> data; + + public String getTrafficContorlTargetId() { + return this.trafficContorlTargetId; + } + + public void setTrafficContorlTargetId(String trafficContorlTargetId) { + this.trafficContorlTargetId = trafficContorlTargetId; + } + + public List> getData() { + return this.data; + } + + public void setData(List> data) { + this.data = data; + } + } + } + + @Override + public GetTrafficControlTaskTrafficResponse getInstance(UnmarshallerContext context) { + return GetTrafficControlTaskTrafficResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsRequest.java index aa45252f37..9a2080fc6c 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsRequest.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsRequest.java @@ -32,7 +32,11 @@ public class ListABMetricGroupsRequest extends RoaAcsRequest { + private String timeRangeEnd; + private String layerId; private String instanceId; + private String timeRangeStart; + private String status; public ListExperimentGroupsRequest() { super("PaiRecService", "2022-12-13", "ListExperimentGroups"); @@ -35,6 +39,17 @@ public ListExperimentGroupsRequest() { setMethod(MethodType.GET); } + public String getTimeRangeEnd() { + return this.timeRangeEnd; + } + + public void setTimeRangeEnd(String timeRangeEnd) { + this.timeRangeEnd = timeRangeEnd; + if(timeRangeEnd != null){ + putQueryParameter("TimeRangeEnd", timeRangeEnd); + } + } + public String getLayerId() { return this.layerId; } @@ -57,6 +72,17 @@ public void setInstanceId(String instanceId) { } } + public String getTimeRangeStart() { + return this.timeRangeStart; + } + + public void setTimeRangeStart(String timeRangeStart) { + this.timeRangeStart = timeRangeStart; + if(timeRangeStart != null){ + putQueryParameter("TimeRangeStart", timeRangeStart); + } + } + public String getStatus() { return this.status; } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListExperimentGroupsResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListExperimentGroupsResponse.java index c4d6e24e86..373055d0c0 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListExperimentGroupsResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListExperimentGroupsResponse.java @@ -91,6 +91,12 @@ public static class ExperimentGroupsItem { private String status; + private String crowdTargetType; + + private Long randomFlow; + + private String holdingBuckets; + public String getExperimentGroupId() { return this.experimentGroupId; } @@ -226,6 +232,30 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } + + public String getCrowdTargetType() { + return this.crowdTargetType; + } + + public void setCrowdTargetType(String crowdTargetType) { + this.crowdTargetType = crowdTargetType; + } + + public Long getRandomFlow() { + return this.randomFlow; + } + + public void setRandomFlow(Long randomFlow) { + this.randomFlow = randomFlow; + } + + public String getHoldingBuckets() { + return this.holdingBuckets; + } + + public void setHoldingBuckets(String holdingBuckets) { + this.holdingBuckets = holdingBuckets; + } } @Override diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListFeatureConsistencyCheckJobConfigsResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListFeatureConsistencyCheckJobConfigsResponse.java index 6862e72480..dfa27cef31 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListFeatureConsistencyCheckJobConfigsResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListFeatureConsistencyCheckJobConfigsResponse.java @@ -127,6 +127,20 @@ public static class FeatureConsistencyCheckConfigsItem { private String gmtModifiedTime; + private String useFeatureStore; + + private String featureStoreProjectName; + + private String featureStoreModelId; + + private String featureStoreUserId; + + private String featureStoreItemId; + + private String featureStoreSeqFeatureView; + + private String featureStoreProjectId; + public String getFeatureConsistencyCheckJobConfigId() { return this.featureConsistencyCheckJobConfigId; } @@ -406,6 +420,62 @@ public String getGmtModifiedTime() { public void setGmtModifiedTime(String gmtModifiedTime) { this.gmtModifiedTime = gmtModifiedTime; } + + public String getUseFeatureStore() { + return this.useFeatureStore; + } + + public void setUseFeatureStore(String useFeatureStore) { + this.useFeatureStore = useFeatureStore; + } + + public String getFeatureStoreProjectName() { + return this.featureStoreProjectName; + } + + public void setFeatureStoreProjectName(String featureStoreProjectName) { + this.featureStoreProjectName = featureStoreProjectName; + } + + public String getFeatureStoreModelId() { + return this.featureStoreModelId; + } + + public void setFeatureStoreModelId(String featureStoreModelId) { + this.featureStoreModelId = featureStoreModelId; + } + + public String getFeatureStoreUserId() { + return this.featureStoreUserId; + } + + public void setFeatureStoreUserId(String featureStoreUserId) { + this.featureStoreUserId = featureStoreUserId; + } + + public String getFeatureStoreItemId() { + return this.featureStoreItemId; + } + + public void setFeatureStoreItemId(String featureStoreItemId) { + this.featureStoreItemId = featureStoreItemId; + } + + public String getFeatureStoreSeqFeatureView() { + return this.featureStoreSeqFeatureView; + } + + public void setFeatureStoreSeqFeatureView(String featureStoreSeqFeatureView) { + this.featureStoreSeqFeatureView = featureStoreSeqFeatureView; + } + + public String getFeatureStoreProjectId() { + return this.featureStoreProjectId; + } + + public void setFeatureStoreProjectId(String featureStoreProjectId) { + this.featureStoreProjectId = featureStoreProjectId; + } } @Override diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListLayersResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListLayersResponse.java index 8dcbd20e4f..e304ff9851 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListLayersResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListLayersResponse.java @@ -67,6 +67,10 @@ public static class LayersItem { private String description; + private Long residualFlow; + + private String gmtCreateTime; + public String getLayerId() { return this.layerId; } @@ -106,6 +110,22 @@ public String getDescription() { public void setDescription(String description) { this.description = description; } + + public Long getResidualFlow() { + return this.residualFlow; + } + + public void setResidualFlow(Long residualFlow) { + this.residualFlow = residualFlow; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } } @Override diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesRequest.java new file mode 100644 index 0000000000..71ad8178a5 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesRequest.java @@ -0,0 +1,141 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListResourceRulesRequest extends RoaAcsRequest { + + + private Boolean all; + + private String resourceRuleName; + + private String resourceRuleId; + + private Long pageNumber; + + private String instanceId; + + private Long pageSize; + + private String sortBy; + + private String order; + public ListResourceRulesRequest() { + super("PaiRecService", "2022-12-13", "ListResourceRules"); + setUriPattern("/api/v1/resourcerules"); + setMethod(MethodType.GET); + } + + public Boolean getAll() { + return this.all; + } + + public void setAll(Boolean all) { + this.all = all; + if(all != null){ + putQueryParameter("All", all.toString()); + } + } + + public String getResourceRuleName() { + return this.resourceRuleName; + } + + public void setResourceRuleName(String resourceRuleName) { + this.resourceRuleName = resourceRuleName; + if(resourceRuleName != null){ + putQueryParameter("ResourceRuleName", resourceRuleName); + } + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putQueryParameter("ResourceRuleId", resourceRuleId); + } + } + + public Long getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getSortBy() { + return this.sortBy; + } + + public void setSortBy(String sortBy) { + this.sortBy = sortBy; + if(sortBy != null){ + putQueryParameter("SortBy", sortBy); + } + } + + public String getOrder() { + return this.order; + } + + public void setOrder(String order) { + this.order = order; + if(order != null){ + putQueryParameter("Order", order); + } + } + + @Override + public Class getResponseClass() { + return ListResourceRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesResponse.java new file mode 100644 index 0000000000..86553d3bf6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListResourceRulesResponse.java @@ -0,0 +1,203 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ListResourceRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListResourceRulesResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private List resourceRules; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public List getResourceRules() { + return this.resourceRules; + } + + public void setResourceRules(List resourceRules) { + this.resourceRules = resourceRules; + } + + public static class ResourceRulesItem { + + private String resourceRuleId; + + private String name; + + private String description; + + private String metricOperationType; + + private String metricPullInfo; + + private String metricPullPeriod; + + private String ruleComputingDefinition; + + private List ruleItems; + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getMetricOperationType() { + return this.metricOperationType; + } + + public void setMetricOperationType(String metricOperationType) { + this.metricOperationType = metricOperationType; + } + + public String getMetricPullInfo() { + return this.metricPullInfo; + } + + public void setMetricPullInfo(String metricPullInfo) { + this.metricPullInfo = metricPullInfo; + } + + public String getMetricPullPeriod() { + return this.metricPullPeriod; + } + + public void setMetricPullPeriod(String metricPullPeriod) { + this.metricPullPeriod = metricPullPeriod; + } + + public String getRuleComputingDefinition() { + return this.ruleComputingDefinition; + } + + public void setRuleComputingDefinition(String ruleComputingDefinition) { + this.ruleComputingDefinition = ruleComputingDefinition; + } + + public List getRuleItems() { + return this.ruleItems; + } + + public void setRuleItems(List ruleItems) { + this.ruleItems = ruleItems; + } + + public static class RuleItemsItem { + + private String name; + + private String description; + + private String minValue; + + private String value; + + private String maxValue; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getMinValue() { + return this.minValue; + } + + public void setMinValue(String minValue) { + this.minValue = minValue; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getMaxValue() { + return this.maxValue; + } + + public void setMaxValue(String maxValue) { + this.maxValue = maxValue; + } + } + } + + @Override + public ListResourceRulesResponse getInstance(UnmarshallerContext context) { + return ListResourceRulesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasResponse.java index e517d9f4fe..610aaf23b7 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasResponse.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasResponse.java @@ -81,6 +81,8 @@ public static class TableMetasItem { private String url; + private String config; + private List fields; public String getTableMetaId() { @@ -179,6 +181,14 @@ public void setUrl(String url) { this.url = url; } + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + public List getFields() { return this.fields; } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryRequest.java new file mode 100644 index 0000000000..af72b31301 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryRequest.java @@ -0,0 +1,154 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListTrafficControlTargetTrafficHistoryRequest extends RoaAcsRequest { + + + private String threshold; + + private String trafficControlTargetId; + + private String startTime; + + private String itemId; + + private String experimentGroupId; + + private String endTime; + + private String environment; + + private String instanceId; + + private String experimentId; + public ListTrafficControlTargetTrafficHistoryRequest() { + super("PaiRecService", "2022-12-13", "ListTrafficControlTargetTrafficHistory"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]/traffichistories"); + setMethod(MethodType.GET); + } + + public String getThreshold() { + return this.threshold; + } + + public void setThreshold(String threshold) { + this.threshold = threshold; + if(threshold != null){ + putQueryParameter("Threshold", threshold); + } + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public String getItemId() { + return this.itemId; + } + + public void setItemId(String itemId) { + this.itemId = itemId; + if(itemId != null){ + putQueryParameter("ItemId", itemId); + } + } + + public String getExperimentGroupId() { + return this.experimentGroupId; + } + + public void setExperimentGroupId(String experimentGroupId) { + this.experimentGroupId = experimentGroupId; + if(experimentGroupId != null){ + putQueryParameter("ExperimentGroupId", experimentGroupId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getEnvironment() { + return this.environment; + } + + public void setEnvironment(String environment) { + this.environment = environment; + if(environment != null){ + putQueryParameter("Environment", environment); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getExperimentId() { + return this.experimentId; + } + + public void setExperimentId(String experimentId) { + this.experimentId = experimentId; + if(experimentId != null){ + putQueryParameter("ExperimentId", experimentId); + } + } + + @Override + public Class getResponseClass() { + return ListTrafficControlTargetTrafficHistoryResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryResponse.java new file mode 100644 index 0000000000..f6ee9f6d29 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTargetTrafficHistoryResponse.java @@ -0,0 +1,130 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ListTrafficControlTargetTrafficHistoryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListTrafficControlTargetTrafficHistoryResponse extends AcsResponse { + + private String requestId; + + private String totalCount; + + private List trafficControlTaskTrafficHistories; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(String totalCount) { + this.totalCount = totalCount; + } + + public List getTrafficControlTaskTrafficHistories() { + return this.trafficControlTaskTrafficHistories; + } + + public void setTrafficControlTaskTrafficHistories(List trafficControlTaskTrafficHistories) { + this.trafficControlTaskTrafficHistories = trafficControlTaskTrafficHistories; + } + + public static class TrafficControlTaskTrafficHistoriesItem { + + private String recordTime; + + private String itemId; + + private String experimentId; + + private String trafficControlTargetTraffic; + + private String trafficControlTargetAimTraffic; + + private String trafficControlTaskTraffic; + + public String getRecordTime() { + return this.recordTime; + } + + public void setRecordTime(String recordTime) { + this.recordTime = recordTime; + } + + public String getItemId() { + return this.itemId; + } + + public void setItemId(String itemId) { + this.itemId = itemId; + } + + public String getExperimentId() { + return this.experimentId; + } + + public void setExperimentId(String experimentId) { + this.experimentId = experimentId; + } + + public String getTrafficControlTargetTraffic() { + return this.trafficControlTargetTraffic; + } + + public void setTrafficControlTargetTraffic(String trafficControlTargetTraffic) { + this.trafficControlTargetTraffic = trafficControlTargetTraffic; + } + + public String getTrafficControlTargetAimTraffic() { + return this.trafficControlTargetAimTraffic; + } + + public void setTrafficControlTargetAimTraffic(String trafficControlTargetAimTraffic) { + this.trafficControlTargetAimTraffic = trafficControlTargetAimTraffic; + } + + public String getTrafficControlTaskTraffic() { + return this.trafficControlTaskTraffic; + } + + public void setTrafficControlTaskTraffic(String trafficControlTaskTraffic) { + this.trafficControlTaskTraffic = trafficControlTaskTraffic; + } + } + + @Override + public ListTrafficControlTargetTrafficHistoryResponse getInstance(UnmarshallerContext context) { + return ListTrafficControlTargetTrafficHistoryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksRequest.java new file mode 100644 index 0000000000..c924bfe7bb --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksRequest.java @@ -0,0 +1,206 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListTrafficControlTasksRequest extends RoaAcsRequest { + + + private String pageNumber; + + private String controlTargetFilter; + + private String pageSize; + + private String order; + + private Boolean all; + + private String trafficControlTaskId; + + private String version; + + private String environment; + + private String instanceId; + + private String name; + + private String sceneId; + + private String sortBy; + + private String status; + public ListTrafficControlTasksRequest() { + super("PaiRecService", "2022-12-13", "ListTrafficControlTasks"); + setUriPattern("/api/v1/trafficcontroltasks"); + setMethod(MethodType.GET); + } + + public String getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber); + } + } + + public String getControlTargetFilter() { + return this.controlTargetFilter; + } + + public void setControlTargetFilter(String controlTargetFilter) { + this.controlTargetFilter = controlTargetFilter; + if(controlTargetFilter != null){ + putQueryParameter("ControlTargetFilter", controlTargetFilter); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public String getOrder() { + return this.order; + } + + public void setOrder(String order) { + this.order = order; + if(order != null){ + putQueryParameter("Order", order); + } + } + + public Boolean getAll() { + return this.all; + } + + public void setAll(Boolean all) { + this.all = all; + if(all != null){ + putQueryParameter("All", all.toString()); + } + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putQueryParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getEnvironment() { + return this.environment; + } + + public void setEnvironment(String environment) { + this.environment = environment; + if(environment != null){ + putQueryParameter("Environment", environment); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putQueryParameter("Name", name); + } + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + if(sceneId != null){ + putQueryParameter("SceneId", sceneId); + } + } + + public String getSortBy() { + return this.sortBy; + } + + public void setSortBy(String sortBy) { + this.sortBy = sortBy; + if(sortBy != null){ + putQueryParameter("SortBy", sortBy); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return ListTrafficControlTasksResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksResponse.java new file mode 100644 index 0000000000..e916275383 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTrafficControlTasksResponse.java @@ -0,0 +1,556 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ListTrafficControlTasksResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListTrafficControlTasksResponse extends AcsResponse { + + private String requestId; + + private String totalCount; + + private List trafficControlTasks; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(String totalCount) { + this.totalCount = totalCount; + } + + public List getTrafficControlTasks() { + return this.trafficControlTasks; + } + + public void setTrafficControlTasks(List trafficControlTasks) { + this.trafficControlTasks = trafficControlTasks; + } + + public static class TrafficControlTasksItem { + + private String trafficControlTaskId; + + private String name; + + private String description; + + private String sceneId; + + private String sceneName; + + private String productStatus; + + private String prepubStatus; + + private String executionTime; + + private String startTime; + + private String endTime; + + private String behaviorTableMetaId; + + private String userTableMetaId; + + private String itemTableMetaId; + + private String userConditionType; + + private String userConditionArray; + + private String userConditionExpress; + + private String statisBehaviorConditionType; + + private String statisBehaviorConditionArray; + + private String statisBahaviorConditionExpress; + + private String controlType; + + private String controlGranularity; + + private String controlLogic; + + private String itemConditionType; + + private String itemConditionArray; + + private String itemConditionExpress; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + private Boolean everPublished; + + private List trafficControlTargets; + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + } + + public String getSceneName() { + return this.sceneName; + } + + public void setSceneName(String sceneName) { + this.sceneName = sceneName; + } + + public String getProductStatus() { + return this.productStatus; + } + + public void setProductStatus(String productStatus) { + this.productStatus = productStatus; + } + + public String getPrepubStatus() { + return this.prepubStatus; + } + + public void setPrepubStatus(String prepubStatus) { + this.prepubStatus = prepubStatus; + } + + public String getExecutionTime() { + return this.executionTime; + } + + public void setExecutionTime(String executionTime) { + this.executionTime = executionTime; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getBehaviorTableMetaId() { + return this.behaviorTableMetaId; + } + + public void setBehaviorTableMetaId(String behaviorTableMetaId) { + this.behaviorTableMetaId = behaviorTableMetaId; + } + + public String getUserTableMetaId() { + return this.userTableMetaId; + } + + public void setUserTableMetaId(String userTableMetaId) { + this.userTableMetaId = userTableMetaId; + } + + public String getItemTableMetaId() { + return this.itemTableMetaId; + } + + public void setItemTableMetaId(String itemTableMetaId) { + this.itemTableMetaId = itemTableMetaId; + } + + public String getUserConditionType() { + return this.userConditionType; + } + + public void setUserConditionType(String userConditionType) { + this.userConditionType = userConditionType; + } + + public String getUserConditionArray() { + return this.userConditionArray; + } + + public void setUserConditionArray(String userConditionArray) { + this.userConditionArray = userConditionArray; + } + + public String getUserConditionExpress() { + return this.userConditionExpress; + } + + public void setUserConditionExpress(String userConditionExpress) { + this.userConditionExpress = userConditionExpress; + } + + public String getStatisBehaviorConditionType() { + return this.statisBehaviorConditionType; + } + + public void setStatisBehaviorConditionType(String statisBehaviorConditionType) { + this.statisBehaviorConditionType = statisBehaviorConditionType; + } + + public String getStatisBehaviorConditionArray() { + return this.statisBehaviorConditionArray; + } + + public void setStatisBehaviorConditionArray(String statisBehaviorConditionArray) { + this.statisBehaviorConditionArray = statisBehaviorConditionArray; + } + + public String getStatisBahaviorConditionExpress() { + return this.statisBahaviorConditionExpress; + } + + public void setStatisBahaviorConditionExpress(String statisBahaviorConditionExpress) { + this.statisBahaviorConditionExpress = statisBahaviorConditionExpress; + } + + public String getControlType() { + return this.controlType; + } + + public void setControlType(String controlType) { + this.controlType = controlType; + } + + public String getControlGranularity() { + return this.controlGranularity; + } + + public void setControlGranularity(String controlGranularity) { + this.controlGranularity = controlGranularity; + } + + public String getControlLogic() { + return this.controlLogic; + } + + public void setControlLogic(String controlLogic) { + this.controlLogic = controlLogic; + } + + public String getItemConditionType() { + return this.itemConditionType; + } + + public void setItemConditionType(String itemConditionType) { + this.itemConditionType = itemConditionType; + } + + public String getItemConditionArray() { + return this.itemConditionArray; + } + + public void setItemConditionArray(String itemConditionArray) { + this.itemConditionArray = itemConditionArray; + } + + public String getItemConditionExpress() { + return this.itemConditionExpress; + } + + public void setItemConditionExpress(String itemConditionExpress) { + this.itemConditionExpress = itemConditionExpress; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } + + public String getGmtModifiedTime() { + return this.gmtModifiedTime; + } + + public void setGmtModifiedTime(String gmtModifiedTime) { + this.gmtModifiedTime = gmtModifiedTime; + } + + public Boolean getEverPublished() { + return this.everPublished; + } + + public void setEverPublished(Boolean everPublished) { + this.everPublished = everPublished; + } + + public List getTrafficControlTargets() { + return this.trafficControlTargets; + } + + public void setTrafficControlTargets(List trafficControlTargets) { + this.trafficControlTargets = trafficControlTargets; + } + + public static class TrafficControlTargetsItem { + + private String trafficControlTargetId; + + private String name; + + private String startTime; + + private String endTime; + + private String itemConditionType; + + private String itemConditionArray; + + private String itemConditionExpress; + + private String event; + + private Float value; + + private String statisPeriod; + + private Long toleranceValue; + + private String recallName; + + private String status; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + private Boolean newProductRegulation; + + private SplitParts splitParts; + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getItemConditionType() { + return this.itemConditionType; + } + + public void setItemConditionType(String itemConditionType) { + this.itemConditionType = itemConditionType; + } + + public String getItemConditionArray() { + return this.itemConditionArray; + } + + public void setItemConditionArray(String itemConditionArray) { + this.itemConditionArray = itemConditionArray; + } + + public String getItemConditionExpress() { + return this.itemConditionExpress; + } + + public void setItemConditionExpress(String itemConditionExpress) { + this.itemConditionExpress = itemConditionExpress; + } + + public String getEvent() { + return this.event; + } + + public void setEvent(String event) { + this.event = event; + } + + public Float getValue() { + return this.value; + } + + public void setValue(Float value) { + this.value = value; + } + + public String getStatisPeriod() { + return this.statisPeriod; + } + + public void setStatisPeriod(String statisPeriod) { + this.statisPeriod = statisPeriod; + } + + public Long getToleranceValue() { + return this.toleranceValue; + } + + public void setToleranceValue(Long toleranceValue) { + this.toleranceValue = toleranceValue; + } + + public String getRecallName() { + return this.recallName; + } + + public void setRecallName(String recallName) { + this.recallName = recallName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getGmtCreateTime() { + return this.gmtCreateTime; + } + + public void setGmtCreateTime(String gmtCreateTime) { + this.gmtCreateTime = gmtCreateTime; + } + + public String getGmtModifiedTime() { + return this.gmtModifiedTime; + } + + public void setGmtModifiedTime(String gmtModifiedTime) { + this.gmtModifiedTime = gmtModifiedTime; + } + + public Boolean getNewProductRegulation() { + return this.newProductRegulation; + } + + public void setNewProductRegulation(Boolean newProductRegulation) { + this.newProductRegulation = newProductRegulation; + } + + public SplitParts getSplitParts() { + return this.splitParts; + } + + public void setSplitParts(SplitParts splitParts) { + this.splitParts = splitParts; + } + + public static class SplitParts { + + private List timePoints; + + private List setValues; + + public List getTimePoints() { + return this.timePoints; + } + + public void setTimePoints(List timePoints) { + this.timePoints = timePoints; + } + + public List getSetValues() { + return this.setValues; + } + + public void setSetValues(List setValues) { + this.setValues = setValues; + } + } + } + } + + @Override + public ListTrafficControlTasksResponse getInstance(UnmarshallerContext context) { + return ListTrafficControlTasksResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleRequest.java new file mode 100644 index 0000000000..d6a9a9b814 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class PushResourceRuleRequest extends RoaAcsRequest { + + + private String resourceRuleId; + + private String instanceId; + + private String metricInfo; + public PushResourceRuleRequest() { + super("PaiRecService", "2022-12-13", "PushResourceRule"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]/action/push"); + setMethod(MethodType.POST); + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getMetricInfo() { + return this.metricInfo; + } + + public void setMetricInfo(String metricInfo) { + this.metricInfo = metricInfo; + if(metricInfo != null){ + putQueryParameter("MetricInfo", metricInfo); + } + } + + @Override + public Class getResponseClass() { + return PushResourceRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleResponse.java new file mode 100644 index 0000000000..f694ca0a92 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/PushResourceRuleResponse.java @@ -0,0 +1,180 @@ +/* + * 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.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.PushResourceRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class PushResourceRuleResponse extends AcsResponse { + + private String requestId; + + private String resourceRuleId; + + private String name; + + private String description; + + private String metricOperationType; + + private String metricPullInfo; + + private String metricPullPeriod; + + private String ruleComputingDefinition; + + private List ruleItems; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getMetricOperationType() { + return this.metricOperationType; + } + + public void setMetricOperationType(String metricOperationType) { + this.metricOperationType = metricOperationType; + } + + public String getMetricPullInfo() { + return this.metricPullInfo; + } + + public void setMetricPullInfo(String metricPullInfo) { + this.metricPullInfo = metricPullInfo; + } + + public String getMetricPullPeriod() { + return this.metricPullPeriod; + } + + public void setMetricPullPeriod(String metricPullPeriod) { + this.metricPullPeriod = metricPullPeriod; + } + + public String getRuleComputingDefinition() { + return this.ruleComputingDefinition; + } + + public void setRuleComputingDefinition(String ruleComputingDefinition) { + this.ruleComputingDefinition = ruleComputingDefinition; + } + + public List getRuleItems() { + return this.ruleItems; + } + + public void setRuleItems(List ruleItems) { + this.ruleItems = ruleItems; + } + + public static class RuleItemsItem { + + private String name; + + private String description; + + private String minValue; + + private String value; + + private String maxValue; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getMinValue() { + return this.minValue; + } + + public void setMinValue(String minValue) { + this.minValue = minValue; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getMaxValue() { + return this.maxValue; + } + + public void setMaxValue(String maxValue) { + this.maxValue = maxValue; + } + } + + @Override + public PushResourceRuleResponse getInstance(UnmarshallerContext context) { + return PushResourceRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskRequest.java new file mode 100644 index 0000000000..dda6f3d5b9 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ReleaseTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public ReleaseTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "ReleaseTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/release"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return ReleaseTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskResponse.java new file mode 100644 index 0000000000..e069145791 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReleaseTrafficControlTaskResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ReleaseTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ReleaseTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ReleaseTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return ReleaseTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetRequest.java new file mode 100644 index 0000000000..2da5161fcc --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class SplitTrafficControlTargetRequest extends RoaAcsRequest { + + + private String trafficControlTargetId; + + private String body; + public SplitTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "SplitTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]/action/split"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return SplitTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetResponse.java new file mode 100644 index 0000000000..69f4898ff6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/SplitTrafficControlTargetResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.SplitTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SplitTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public SplitTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return SplitTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetRequest.java new file mode 100644 index 0000000000..c6497eb601 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class StartTrafficControlTargetRequest extends RoaAcsRequest { + + + private String trafficControlTargetId; + + private String body; + public StartTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "StartTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]/action/start"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return StartTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetResponse.java new file mode 100644 index 0000000000..563a720147 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTargetResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.StartTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StartTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public StartTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return StartTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskRequest.java new file mode 100644 index 0000000000..4a6fbcef31 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class StartTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public StartTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "StartTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/start"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return StartTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskResponse.java new file mode 100644 index 0000000000..6111f5c77c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StartTrafficControlTaskResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.StartTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StartTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public StartTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return StartTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetRequest.java new file mode 100644 index 0000000000..7eb0a51851 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class StopTrafficControlTargetRequest extends RoaAcsRequest { + + + private String trafficControlTargetId; + + private String body; + public StopTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "StopTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]/action/stop"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return StopTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetResponse.java new file mode 100644 index 0000000000..35fd365072 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTargetResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.StopTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StopTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public StopTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return StopTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskRequest.java new file mode 100644 index 0000000000..414e61bf72 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class StopTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public StopTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "StopTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/stop"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return StopTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskResponse.java new file mode 100644 index 0000000000..ebb3029b81 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/StopTrafficControlTaskResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.StopTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StopTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public StopTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return StopTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemRequest.java new file mode 100644 index 0000000000..13d5562e21 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateResourceRuleItemRequest extends RoaAcsRequest { + + + private String body; + + private String resourceRuleId; + + private String resourceRuleItemId; + public UpdateResourceRuleItemRequest() { + super("PaiRecService", "2022-12-13", "UpdateResourceRuleItem"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]/items/[ResourceRuleItemId]"); + setMethod(MethodType.POST); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + public String getResourceRuleItemId() { + return this.resourceRuleItemId; + } + + public void setResourceRuleItemId(String resourceRuleItemId) { + this.resourceRuleItemId = resourceRuleItemId; + if(resourceRuleItemId != null){ + putPathParameter("ResourceRuleItemId", resourceRuleItemId); + } + } + + @Override + public Class getResponseClass() { + return UpdateResourceRuleItemResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemResponse.java new file mode 100644 index 0000000000..1bdb664a89 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleItemResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.UpdateResourceRuleItemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateResourceRuleItemResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateResourceRuleItemResponse getInstance(UnmarshallerContext context) { + return UpdateResourceRuleItemResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleRequest.java new file mode 100644 index 0000000000..95630f4bc2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateResourceRuleRequest extends RoaAcsRequest { + + + private String body; + + private String resourceRuleId; + public UpdateResourceRuleRequest() { + super("PaiRecService", "2022-12-13", "UpdateResourceRule"); + setUriPattern("/api/v1/resourcerules/[ResourceRuleId]"); + setMethod(MethodType.PUT); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + public String getResourceRuleId() { + return this.resourceRuleId; + } + + public void setResourceRuleId(String resourceRuleId) { + this.resourceRuleId = resourceRuleId; + if(resourceRuleId != null){ + putPathParameter("ResourceRuleId", resourceRuleId); + } + } + + @Override + public Class getResponseClass() { + return UpdateResourceRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleResponse.java new file mode 100644 index 0000000000..ab3cefe1e2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateResourceRuleResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.UpdateResourceRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateResourceRuleResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateResourceRuleResponse getInstance(UnmarshallerContext context) { + return UpdateResourceRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetRequest.java new file mode 100644 index 0000000000..752a952dc6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateTrafficControlTargetRequest extends RoaAcsRequest { + + + private String trafficControlTargetId; + + private String body; + + private String newparam3; + public UpdateTrafficControlTargetRequest() { + super("PaiRecService", "2022-12-13", "UpdateTrafficControlTarget"); + setUriPattern("/api/v1/trafficcontroltargets/[TrafficControlTargetId]"); + setMethod(MethodType.PUT); + } + + public String getTrafficControlTargetId() { + return this.trafficControlTargetId; + } + + public void setTrafficControlTargetId(String trafficControlTargetId) { + this.trafficControlTargetId = trafficControlTargetId; + if(trafficControlTargetId != null){ + putPathParameter("TrafficControlTargetId", trafficControlTargetId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + public String getNewparam3() { + return this.newparam3; + } + + public void setNewparam3(String newparam3) { + this.newparam3 = newparam3; + if(newparam3 != null){ + putQueryParameter("new-param-3", newparam3); + } + } + + @Override + public Class getResponseClass() { + return UpdateTrafficControlTargetResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetResponse.java new file mode 100644 index 0000000000..4657485059 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTargetResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.UpdateTrafficControlTargetResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateTrafficControlTargetResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateTrafficControlTargetResponse getInstance(UnmarshallerContext context) { + return UpdateTrafficControlTargetResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskRequest.java new file mode 100644 index 0000000000..5c521407a4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskRequest.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateTrafficControlTaskRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + public UpdateTrafficControlTaskRequest() { + super("PaiRecService", "2022-12-13", "UpdateTrafficControlTask"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]"); + setMethod(MethodType.PUT); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return UpdateTrafficControlTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskResponse.java new file mode 100644 index 0000000000..fb0079c7c0 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.UpdateTrafficControlTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateTrafficControlTaskResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateTrafficControlTaskResponse getInstance(UnmarshallerContext context) { + return UpdateTrafficControlTaskResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficRequest.java new file mode 100644 index 0000000000..bb0ce55650 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficRequest.java @@ -0,0 +1,76 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateTrafficControlTaskTrafficRequest extends RoaAcsRequest { + + + private String trafficControlTaskId; + + private String body; + + private String newparam3; + public UpdateTrafficControlTaskTrafficRequest() { + super("PaiRecService", "2022-12-13", "UpdateTrafficControlTaskTraffic"); + setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/traffic"); + setMethod(MethodType.POST); + } + + public String getTrafficControlTaskId() { + return this.trafficControlTaskId; + } + + public void setTrafficControlTaskId(String trafficControlTaskId) { + this.trafficControlTaskId = trafficControlTaskId; + if(trafficControlTaskId != null){ + putPathParameter("TrafficControlTaskId", trafficControlTaskId); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + public String getNewparam3() { + return this.newparam3; + } + + public void setNewparam3(String newparam3) { + this.newparam3 = newparam3; + if(newparam3 != null){ + putQueryParameter("new-param-3", newparam3); + } + } + + @Override + public Class getResponseClass() { + return UpdateTrafficControlTaskTrafficResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficResponse.java new file mode 100644 index 0000000000..9f14174d53 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTrafficControlTaskTrafficResponse.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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.UpdateTrafficControlTaskTrafficResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateTrafficControlTaskTrafficResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateTrafficControlTaskTrafficResponse getInstance(UnmarshallerContext context) { + return UpdateTrafficControlTaskTrafficResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataRequest.java new file mode 100644 index 0000000000..6183899a45 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataRequest.java @@ -0,0 +1,50 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.RoaAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UploadRecommendationDataRequest extends RoaAcsRequest { + + + private String body; + public UploadRecommendationDataRequest() { + super("PaiRecService", "2022-12-13", "UploadRecommendationData"); + setUriPattern("/api/v1/recommendationdata/action/upload"); + setMethod(MethodType.POST); + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putBodyParameter("body", body); + } + } + + @Override + public Class getResponseClass() { + return UploadRecommendationDataResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataResponse.java new file mode 100644 index 0000000000..5cc23f44cd --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UploadRecommendationDataResponse.java @@ -0,0 +1,56 @@ +/* + * 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.pairecservice.model.v20221213; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.UploadRecommendationDataResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UploadRecommendationDataResponse extends AcsResponse { + + private String requestId; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public UploadRecommendationDataResponse getInstance(UnmarshallerContext context) { + return UploadRecommendationDataResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CloneTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CloneTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..5c21586e54 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CloneTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.CloneTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CloneTrafficControlTaskResponseUnmarshaller { + + public static CloneTrafficControlTaskResponse unmarshall(CloneTrafficControlTaskResponse cloneTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + cloneTrafficControlTaskResponse.setRequestId(_ctx.stringValue("CloneTrafficControlTaskResponse.RequestId")); + cloneTrafficControlTaskResponse.setTrafficControlTaskId(_ctx.stringValue("CloneTrafficControlTaskResponse.TrafficControlTaskId")); + + return cloneTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleItemResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleItemResponseUnmarshaller.java new file mode 100644 index 0000000000..59521a2d6a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleItemResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.CreateResourceRuleItemResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateResourceRuleItemResponseUnmarshaller { + + public static CreateResourceRuleItemResponse unmarshall(CreateResourceRuleItemResponse createResourceRuleItemResponse, UnmarshallerContext _ctx) { + + createResourceRuleItemResponse.setRequestId(_ctx.stringValue("CreateResourceRuleItemResponse.RequestId")); + createResourceRuleItemResponse.setResourceRuleItemId(_ctx.stringValue("CreateResourceRuleItemResponse.ResourceRuleItemId")); + + return createResourceRuleItemResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..102a2a5183 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateResourceRuleResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.CreateResourceRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateResourceRuleResponseUnmarshaller { + + public static CreateResourceRuleResponse unmarshall(CreateResourceRuleResponse createResourceRuleResponse, UnmarshallerContext _ctx) { + + createResourceRuleResponse.setRequestId(_ctx.stringValue("CreateResourceRuleResponse.RequestId")); + createResourceRuleResponse.setResourceRuleId(_ctx.stringValue("CreateResourceRuleResponse.ResourceRuleId")); + + return createResourceRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..5f441b2cf0 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.CreateTrafficControlTargetResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateTrafficControlTargetResponseUnmarshaller { + + public static CreateTrafficControlTargetResponse unmarshall(CreateTrafficControlTargetResponse createTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + createTrafficControlTargetResponse.setRequestId(_ctx.stringValue("CreateTrafficControlTargetResponse.RequestId")); + createTrafficControlTargetResponse.setTrafficControlTargetId(_ctx.stringValue("CreateTrafficControlTargetResponse.TrafficControlTargetId")); + + return createTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..5d9b779b2b --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.CreateTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateTrafficControlTaskResponseUnmarshaller { + + public static CreateTrafficControlTaskResponse unmarshall(CreateTrafficControlTaskResponse createTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + createTrafficControlTaskResponse.setRequestId(_ctx.stringValue("CreateTrafficControlTaskResponse.RequestId")); + createTrafficControlTaskResponse.setTrafficControlTaskId(_ctx.stringValue("CreateTrafficControlTaskResponse.TrafficControlTaskId")); + + return createTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DebugResourceRuleResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DebugResourceRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..52c236d50b --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DebugResourceRuleResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.DebugResourceRuleResponse; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DebugResourceRuleResponseUnmarshaller { + + public static DebugResourceRuleResponse unmarshall(DebugResourceRuleResponse debugResourceRuleResponse, UnmarshallerContext _ctx) { + + debugResourceRuleResponse.setRequestId(_ctx.stringValue("DebugResourceRuleResponse.RequestId")); + debugResourceRuleResponse.setCurrentValues(_ctx.mapValue("DebugResourceRuleResponse.CurrentValues")); + debugResourceRuleResponse.setOutputValues(_ctx.mapValue("DebugResourceRuleResponse.OutputValues")); + + return debugResourceRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleItemResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleItemResponseUnmarshaller.java new file mode 100644 index 0000000000..7a7f60e531 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleItemResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.DeleteResourceRuleItemResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteResourceRuleItemResponseUnmarshaller { + + public static DeleteResourceRuleItemResponse unmarshall(DeleteResourceRuleItemResponse deleteResourceRuleItemResponse, UnmarshallerContext _ctx) { + + deleteResourceRuleItemResponse.setRequestId(_ctx.stringValue("DeleteResourceRuleItemResponse.RequestId")); + + return deleteResourceRuleItemResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..108b5bdd42 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteResourceRuleResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.DeleteResourceRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteResourceRuleResponseUnmarshaller { + + public static DeleteResourceRuleResponse unmarshall(DeleteResourceRuleResponse deleteResourceRuleResponse, UnmarshallerContext _ctx) { + + deleteResourceRuleResponse.setRequestId(_ctx.stringValue("DeleteResourceRuleResponse.RequestId")); + + return deleteResourceRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..26c04619af --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.DeleteTrafficControlTargetResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteTrafficControlTargetResponseUnmarshaller { + + public static DeleteTrafficControlTargetResponse unmarshall(DeleteTrafficControlTargetResponse deleteTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + deleteTrafficControlTargetResponse.setRequestId(_ctx.stringValue("DeleteTrafficControlTargetResponse.RequestId")); + + return deleteTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..de657e5ba7 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.DeleteTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteTrafficControlTaskResponseUnmarshaller { + + public static DeleteTrafficControlTaskResponse unmarshall(DeleteTrafficControlTaskResponse deleteTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + deleteTrafficControlTaskResponse.setRequestId(_ctx.stringValue("DeleteTrafficControlTaskResponse.RequestId")); + + return deleteTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskCodeResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskCodeResponseUnmarshaller.java new file mode 100644 index 0000000000..03baceed32 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskCodeResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.GenerateTrafficControlTaskCodeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GenerateTrafficControlTaskCodeResponseUnmarshaller { + + public static GenerateTrafficControlTaskCodeResponse unmarshall(GenerateTrafficControlTaskCodeResponse generateTrafficControlTaskCodeResponse, UnmarshallerContext _ctx) { + + generateTrafficControlTaskCodeResponse.setRequestId(_ctx.stringValue("GenerateTrafficControlTaskCodeResponse.RequestId")); + generateTrafficControlTaskCodeResponse.setCode(_ctx.stringValue("GenerateTrafficControlTaskCodeResponse.Code")); + + return generateTrafficControlTaskCodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskConfigResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..885f84eaa4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GenerateTrafficControlTaskConfigResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.GenerateTrafficControlTaskConfigResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GenerateTrafficControlTaskConfigResponseUnmarshaller { + + public static GenerateTrafficControlTaskConfigResponse unmarshall(GenerateTrafficControlTaskConfigResponse generateTrafficControlTaskConfigResponse, UnmarshallerContext _ctx) { + + generateTrafficControlTaskConfigResponse.setRequestId(_ctx.stringValue("GenerateTrafficControlTaskConfigResponse.RequestId")); + generateTrafficControlTaskConfigResponse.setConfig(_ctx.stringValue("GenerateTrafficControlTaskConfigResponse.Config")); + + return generateTrafficControlTaskConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetExperimentGroupResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetExperimentGroupResponseUnmarshaller.java index c01842712c..4a393d320a 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetExperimentGroupResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetExperimentGroupResponseUnmarshaller.java @@ -38,7 +38,10 @@ public static GetExperimentGroupResponse unmarshall(GetExperimentGroupResponse g getExperimentGroupResponse.setCrowdId(_ctx.stringValue("GetExperimentGroupResponse.CrowdId")); getExperimentGroupResponse.setConfig(_ctx.stringValue("GetExperimentGroupResponse.Config")); getExperimentGroupResponse.setReservedBuckets(_ctx.stringValue("GetExperimentGroupResponse.ReservedBuckets")); - getExperimentGroupResponse.setStatus(_ctx.stringValue("GetExperimentGroupResponse.Status")); + getExperimentGroupResponse.setStatus(_ctx.stringValue("GetExperimentGroupResponse.Status")); + getExperimentGroupResponse.setCrowdTargetType(_ctx.stringValue("GetExperimentGroupResponse.CrowdTargetType")); + getExperimentGroupResponse.setRandomFlow(_ctx.longValue("GetExperimentGroupResponse.RandomFlow")); + getExperimentGroupResponse.setHoldingBuckets(_ctx.stringValue("GetExperimentGroupResponse.HoldingBuckets")); return getExperimentGroupResponse; } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetFeatureConsistencyCheckJobConfigResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetFeatureConsistencyCheckJobConfigResponseUnmarshaller.java index 54b95dc4eb..24205ee9f3 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetFeatureConsistencyCheckJobConfigResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetFeatureConsistencyCheckJobConfigResponseUnmarshaller.java @@ -56,7 +56,14 @@ public static GetFeatureConsistencyCheckJobConfigResponse unmarshall(GetFeatureC getFeatureConsistencyCheckJobConfigResponse.setFeaturePriority(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeaturePriority")); getFeatureConsistencyCheckJobConfigResponse.setFeatureDisplayExclude(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureDisplayExclude")); getFeatureConsistencyCheckJobConfigResponse.setGmtCreateTime(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.GmtCreateTime")); - getFeatureConsistencyCheckJobConfigResponse.setGmtModifiedTime(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.GmtModifiedTime")); + getFeatureConsistencyCheckJobConfigResponse.setGmtModifiedTime(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.GmtModifiedTime")); + getFeatureConsistencyCheckJobConfigResponse.setUseFeatureStore(_ctx.booleanValue("GetFeatureConsistencyCheckJobConfigResponse.UseFeatureStore")); + getFeatureConsistencyCheckJobConfigResponse.setFeatureStoreProjectName(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureStoreProjectName")); + getFeatureConsistencyCheckJobConfigResponse.setFeatureStoreModelId(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureStoreModelId")); + getFeatureConsistencyCheckJobConfigResponse.setFeatureStoreUserId(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureStoreUserId")); + getFeatureConsistencyCheckJobConfigResponse.setFeatureStoreItemId(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureStoreItemId")); + getFeatureConsistencyCheckJobConfigResponse.setFeatureStoreSeqFeatureView(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureStoreSeqFeatureView")); + getFeatureConsistencyCheckJobConfigResponse.setFeatureStoreProjectId(_ctx.stringValue("GetFeatureConsistencyCheckJobConfigResponse.FeatureStoreProjectId")); return getFeatureConsistencyCheckJobConfigResponse; } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceTableResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceTableResponseUnmarshaller.java index ea45c2801a..d6f6ba817f 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceTableResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceTableResponseUnmarshaller.java @@ -36,6 +36,7 @@ public static GetInstanceResourceTableResponse unmarshall(GetInstanceResourceTab fieldsItem.setType(_ctx.stringValue("GetInstanceResourceTableResponse.Fields["+ i +"].Type")); fieldsItem.setMeaning(_ctx.stringValue("GetInstanceResourceTableResponse.Fields["+ i +"].Meaning")); fieldsItem.setIsDimensionField(_ctx.booleanValue("GetInstanceResourceTableResponse.Fields["+ i +"].IsDimensionField")); + fieldsItem.setIsPartitionField(_ctx.booleanValue("GetInstanceResourceTableResponse.Fields["+ i +"].IsPartitionField")); fields.add(fieldsItem); } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetLayerResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetLayerResponseUnmarshaller.java index 8ee07a8c88..082f4844d5 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetLayerResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetLayerResponseUnmarshaller.java @@ -26,7 +26,9 @@ public static GetLayerResponse unmarshall(GetLayerResponse getLayerResponse, Unm getLayerResponse.setLaboratoryId(_ctx.stringValue("GetLayerResponse.LaboratoryId")); getLayerResponse.setSceneId(_ctx.stringValue("GetLayerResponse.SceneId")); getLayerResponse.setName(_ctx.stringValue("GetLayerResponse.Name")); - getLayerResponse.setDescription(_ctx.stringValue("GetLayerResponse.Description")); + getLayerResponse.setDescription(_ctx.stringValue("GetLayerResponse.Description")); + getLayerResponse.setResidualFlow(_ctx.longValue("GetLayerResponse.ResidualFlow")); + getLayerResponse.setGmtCreateTime(_ctx.stringValue("GetLayerResponse.GmtCreateTime")); return getLayerResponse; } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetResourceRuleResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetResourceRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..7a04e6b2d6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetResourceRuleResponseUnmarshaller.java @@ -0,0 +1,53 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.GetResourceRuleResponse; +import com.aliyuncs.pairecservice.model.v20221213.GetResourceRuleResponse.RuleItemsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetResourceRuleResponseUnmarshaller { + + public static GetResourceRuleResponse unmarshall(GetResourceRuleResponse getResourceRuleResponse, UnmarshallerContext _ctx) { + + getResourceRuleResponse.setRequestId(_ctx.stringValue("GetResourceRuleResponse.RequestId")); + getResourceRuleResponse.setResourceRuleId(_ctx.stringValue("GetResourceRuleResponse.ResourceRuleId")); + getResourceRuleResponse.setName(_ctx.stringValue("GetResourceRuleResponse.Name")); + getResourceRuleResponse.setDescription(_ctx.stringValue("GetResourceRuleResponse.Description")); + getResourceRuleResponse.setMetricOperationType(_ctx.stringValue("GetResourceRuleResponse.MetricOperationType")); + getResourceRuleResponse.setMetricPullInfo(_ctx.stringValue("GetResourceRuleResponse.MetricPullInfo")); + getResourceRuleResponse.setMetricPullPeriod(_ctx.stringValue("GetResourceRuleResponse.MetricPullPeriod")); + getResourceRuleResponse.setRuleComputingDefinition(_ctx.stringValue("GetResourceRuleResponse.RuleComputingDefinition")); + + List ruleItems = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetResourceRuleResponse.RuleItems.Length"); i++) { + RuleItemsItem ruleItemsItem = new RuleItemsItem(); + ruleItemsItem.setName(_ctx.stringValue("GetResourceRuleResponse.RuleItems["+ i +"].Name")); + ruleItemsItem.setDescription(_ctx.stringValue("GetResourceRuleResponse.RuleItems["+ i +"].Description")); + ruleItemsItem.setMinValue(_ctx.stringValue("GetResourceRuleResponse.RuleItems["+ i +"].MinValue")); + ruleItemsItem.setValue(_ctx.stringValue("GetResourceRuleResponse.RuleItems["+ i +"].Value")); + ruleItemsItem.setMaxValue(_ctx.stringValue("GetResourceRuleResponse.RuleItems["+ i +"].MaxValue")); + + ruleItems.add(ruleItemsItem); + } + getResourceRuleResponse.setRuleItems(ruleItems); + + return getResourceRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTableMetaResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTableMetaResponseUnmarshaller.java index 1adf5cc3ae..2adaec49c6 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTableMetaResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTableMetaResponseUnmarshaller.java @@ -37,6 +37,9 @@ public static GetTableMetaResponse unmarshall(GetTableMetaResponse getTableMetaR getTableMetaResponse.setGmtCreateTime(_ctx.stringValue("GetTableMetaResponse.GmtCreateTime")); getTableMetaResponse.setGmtModifiedTime(_ctx.stringValue("GetTableMetaResponse.GmtModifiedTime")); getTableMetaResponse.setUrl(_ctx.stringValue("GetTableMetaResponse.Url")); + getTableMetaResponse.setTableMetaId(_ctx.stringValue("GetTableMetaResponse.TableMetaId")); + getTableMetaResponse.setGmtImportedTime(_ctx.stringValue("GetTableMetaResponse.GmtImportedTime")); + getTableMetaResponse.setConfig(_ctx.stringValue("GetTableMetaResponse.Config")); List fields = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetTableMetaResponse.Fields.Length"); i++) { diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..ac574b51d1 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,69 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTargetResponse; +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTargetResponse.SplitParts; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTrafficControlTargetResponseUnmarshaller { + + public static GetTrafficControlTargetResponse unmarshall(GetTrafficControlTargetResponse getTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + getTrafficControlTargetResponse.setRequestId(_ctx.stringValue("GetTrafficControlTargetResponse.RequestId")); + getTrafficControlTargetResponse.setTrafficControlTargetId(_ctx.stringValue("GetTrafficControlTargetResponse.TrafficControlTargetId")); + getTrafficControlTargetResponse.setName(_ctx.stringValue("GetTrafficControlTargetResponse.Name")); + getTrafficControlTargetResponse.setStartTime(_ctx.stringValue("GetTrafficControlTargetResponse.StartTime")); + getTrafficControlTargetResponse.setEndTime(_ctx.stringValue("GetTrafficControlTargetResponse.EndTime")); + getTrafficControlTargetResponse.setItemConditionType(_ctx.stringValue("GetTrafficControlTargetResponse.ItemConditionType")); + getTrafficControlTargetResponse.setItemConditionArray(_ctx.stringValue("GetTrafficControlTargetResponse.ItemConditionArray")); + getTrafficControlTargetResponse.setItemConditionExpress(_ctx.stringValue("GetTrafficControlTargetResponse.ItemConditionExpress")); + getTrafficControlTargetResponse.setEvent(_ctx.stringValue("GetTrafficControlTargetResponse.Event")); + getTrafficControlTargetResponse.setValue(_ctx.floatValue("GetTrafficControlTargetResponse.Value")); + getTrafficControlTargetResponse.setStatisPeriod(_ctx.stringValue("GetTrafficControlTargetResponse.StatisPeriod")); + getTrafficControlTargetResponse.setToleranceValue(_ctx.longValue("GetTrafficControlTargetResponse.ToleranceValue")); + getTrafficControlTargetResponse.setRecallName(_ctx.stringValue("GetTrafficControlTargetResponse.RecallName")); + getTrafficControlTargetResponse.setStatus(_ctx.stringValue("GetTrafficControlTargetResponse.Status")); + getTrafficControlTargetResponse.setGmtCreateTime(_ctx.stringValue("GetTrafficControlTargetResponse.GmtCreateTime")); + getTrafficControlTargetResponse.setNewProductRegulation(_ctx.booleanValue("GetTrafficControlTargetResponse.NewProductRegulation")); + + SplitParts splitParts = new SplitParts(); + + List timePoints = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTrafficControlTargetResponse.SplitParts.TimePoints.Length"); i++) { + timePoints.add(_ctx.longValue("GetTrafficControlTargetResponse.SplitParts.TimePoints["+ i +"]")); + } + splitParts.setTimePoints(timePoints); + + List setValues = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTrafficControlTargetResponse.SplitParts.SetValues.Length"); i++) { + setValues.add(_ctx.longValue("GetTrafficControlTargetResponse.SplitParts.SetValues["+ i +"]")); + } + splitParts.setSetValues(setValues); + + List setPoints = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTrafficControlTargetResponse.SplitParts.SetPoints.Length"); i++) { + setPoints.add(_ctx.longValue("GetTrafficControlTargetResponse.SplitParts.SetPoints["+ i +"]")); + } + splitParts.setSetPoints(setPoints); + getTrafficControlTargetResponse.setSplitParts(splitParts); + + return getTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..8e26a494f3 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,107 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTaskResponse; +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTaskResponse.TrafficControlTargetsItem; +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTaskResponse.TrafficControlTargetsItem.SplitParts; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTrafficControlTaskResponseUnmarshaller { + + public static GetTrafficControlTaskResponse unmarshall(GetTrafficControlTaskResponse getTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + getTrafficControlTaskResponse.setRequestId(_ctx.stringValue("GetTrafficControlTaskResponse.RequestId")); + getTrafficControlTaskResponse.setTrafficControlTaskId(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTaskId")); + getTrafficControlTaskResponse.setName(_ctx.stringValue("GetTrafficControlTaskResponse.Name")); + getTrafficControlTaskResponse.setDescription(_ctx.stringValue("GetTrafficControlTaskResponse.Description")); + getTrafficControlTaskResponse.setSceneId(_ctx.stringValue("GetTrafficControlTaskResponse.SceneId")); + getTrafficControlTaskResponse.setSceneName(_ctx.stringValue("GetTrafficControlTaskResponse.SceneName")); + getTrafficControlTaskResponse.setProductStatus(_ctx.stringValue("GetTrafficControlTaskResponse.ProductStatus")); + getTrafficControlTaskResponse.setPrepubStatus(_ctx.stringValue("GetTrafficControlTaskResponse.PrepubStatus")); + getTrafficControlTaskResponse.setExecutionTime(_ctx.stringValue("GetTrafficControlTaskResponse.ExecutionTime")); + getTrafficControlTaskResponse.setStartTime(_ctx.stringValue("GetTrafficControlTaskResponse.StartTime")); + getTrafficControlTaskResponse.setEndTime(_ctx.stringValue("GetTrafficControlTaskResponse.EndTime")); + getTrafficControlTaskResponse.setBehaviorTableMetaId(_ctx.stringValue("GetTrafficControlTaskResponse.BehaviorTableMetaId")); + getTrafficControlTaskResponse.setUserTableMetaId(_ctx.stringValue("GetTrafficControlTaskResponse.UserTableMetaId")); + getTrafficControlTaskResponse.setItemTableMetaId(_ctx.stringValue("GetTrafficControlTaskResponse.ItemTableMetaId")); + getTrafficControlTaskResponse.setUserConditionType(_ctx.stringValue("GetTrafficControlTaskResponse.UserConditionType")); + getTrafficControlTaskResponse.setUserConditionArray(_ctx.stringValue("GetTrafficControlTaskResponse.UserConditionArray")); + getTrafficControlTaskResponse.setUserConditionExpress(_ctx.stringValue("GetTrafficControlTaskResponse.UserConditionExpress")); + getTrafficControlTaskResponse.setStatisBehaviorConditionType(_ctx.stringValue("GetTrafficControlTaskResponse.StatisBehaviorConditionType")); + getTrafficControlTaskResponse.setStatisBehaviorConditionArray(_ctx.stringValue("GetTrafficControlTaskResponse.StatisBehaviorConditionArray")); + getTrafficControlTaskResponse.setStatisBehaviorConditionExpress(_ctx.stringValue("GetTrafficControlTaskResponse.StatisBehaviorConditionExpress")); + getTrafficControlTaskResponse.setControlType(_ctx.stringValue("GetTrafficControlTaskResponse.ControlType")); + getTrafficControlTaskResponse.setControlGranularity(_ctx.stringValue("GetTrafficControlTaskResponse.ControlGranularity")); + getTrafficControlTaskResponse.setControlLogic(_ctx.stringValue("GetTrafficControlTaskResponse.ControlLogic")); + getTrafficControlTaskResponse.setItemConditionType(_ctx.stringValue("GetTrafficControlTaskResponse.ItemConditionType")); + getTrafficControlTaskResponse.setItemConditionArray(_ctx.stringValue("GetTrafficControlTaskResponse.ItemConditionArray")); + getTrafficControlTaskResponse.setItemConditionExpress(_ctx.stringValue("GetTrafficControlTaskResponse.ItemConditionExpress")); + getTrafficControlTaskResponse.setGmtCreateTime(_ctx.stringValue("GetTrafficControlTaskResponse.GmtCreateTime")); + getTrafficControlTaskResponse.setGmtModifiedTime(_ctx.stringValue("GetTrafficControlTaskResponse.GmtModifiedTime")); + getTrafficControlTaskResponse.setEverPublished(_ctx.booleanValue("GetTrafficControlTaskResponse.EverPublished")); + + List trafficControlTargets = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTrafficControlTaskResponse.TrafficControlTargets.Length"); i++) { + TrafficControlTargetsItem trafficControlTargetsItem = new TrafficControlTargetsItem(); + trafficControlTargetsItem.setTrafficControlTargetId(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].TrafficControlTargetId")); + trafficControlTargetsItem.setName(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].Name")); + trafficControlTargetsItem.setStartTime(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].StartTime")); + trafficControlTargetsItem.setEndTime(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].EndTime")); + trafficControlTargetsItem.setItemConditionType(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].ItemConditionType")); + trafficControlTargetsItem.setItemConditionArray(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].ItemConditionArray")); + trafficControlTargetsItem.setItemConditionExpress(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].ItemConditionExpress")); + trafficControlTargetsItem.setEvent(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].Event")); + trafficControlTargetsItem.setValue(_ctx.floatValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].Value")); + trafficControlTargetsItem.setStatisPeriod(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].StatisPeriod")); + trafficControlTargetsItem.setToleranceValue(_ctx.longValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].ToleranceValue")); + trafficControlTargetsItem.setRecallName(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].RecallName")); + trafficControlTargetsItem.setStatus(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].Status")); + trafficControlTargetsItem.setGmtCreateTime(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].GmtCreateTime")); + trafficControlTargetsItem.setGmtModifiedTime(_ctx.stringValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].GmtModifiedTime")); + trafficControlTargetsItem.setNewProductRegulation(_ctx.booleanValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].NewProductRegulation")); + + SplitParts splitParts = new SplitParts(); + + List timePoints = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].SplitParts.TimePoints.Length"); j++) { + timePoints.add(_ctx.integerValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].SplitParts.TimePoints["+ j +"]")); + } + splitParts.setTimePoints(timePoints); + + List setPoints = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].SplitParts.SetPoints.Length"); j++) { + setPoints.add(_ctx.integerValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].SplitParts.SetPoints["+ j +"]")); + } + splitParts.setSetPoints(setPoints); + + List setValues = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].SplitParts.SetValues.Length"); j++) { + setValues.add(_ctx.longValue("GetTrafficControlTaskResponse.TrafficControlTargets["+ i +"].SplitParts.SetValues["+ j +"]")); + } + splitParts.setSetValues(setValues); + trafficControlTargetsItem.setSplitParts(splitParts); + + trafficControlTargets.add(trafficControlTargetsItem); + } + getTrafficControlTaskResponse.setTrafficControlTargets(trafficControlTargets); + + return getTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskTrafficResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskTrafficResponseUnmarshaller.java new file mode 100644 index 0000000000..856444021e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTrafficControlTaskTrafficResponseUnmarshaller.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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTaskTrafficResponse; +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTaskTrafficResponse.TrafficControlTaskTrafficInfo; +import com.aliyuncs.pairecservice.model.v20221213.GetTrafficControlTaskTrafficResponse.TrafficControlTaskTrafficInfo.TargetTrafficsItem; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTrafficControlTaskTrafficResponseUnmarshaller { + + public static GetTrafficControlTaskTrafficResponse unmarshall(GetTrafficControlTaskTrafficResponse getTrafficControlTaskTrafficResponse, UnmarshallerContext _ctx) { + + getTrafficControlTaskTrafficResponse.setRequestId(_ctx.stringValue("GetTrafficControlTaskTrafficResponse.RequestId")); + + TrafficControlTaskTrafficInfo trafficControlTaskTrafficInfo = new TrafficControlTaskTrafficInfo(); + trafficControlTaskTrafficInfo.setTaskTraffics(_ctx.mapValue("GetTrafficControlTaskTrafficResponse.TrafficControlTaskTrafficInfo.TaskTraffics")); + + List targetTraffics = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTrafficControlTaskTrafficResponse.TrafficControlTaskTrafficInfo.TargetTraffics.Length"); i++) { + TargetTrafficsItem targetTrafficsItem = new TargetTrafficsItem(); + targetTrafficsItem.setTrafficContorlTargetId(_ctx.stringValue("GetTrafficControlTaskTrafficResponse.TrafficControlTaskTrafficInfo.TargetTraffics["+ i +"].TrafficContorlTargetId")); + + List> data = _ctx.listMapValue("GetTrafficControlTaskTrafficResponse.TrafficControlTaskTrafficInfo.TargetTraffics["+ i +"].Data"); + targetTrafficsItem.setData(data); + + targetTraffics.add(targetTrafficsItem); + } + trafficControlTaskTrafficInfo.setTargetTraffics(targetTraffics); + getTrafficControlTaskTrafficResponse.setTrafficControlTaskTrafficInfo(trafficControlTaskTrafficInfo); + + return getTrafficControlTaskTrafficResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListExperimentGroupsResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListExperimentGroupsResponseUnmarshaller.java index 6da9dae703..3d0d837e3f 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListExperimentGroupsResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListExperimentGroupsResponseUnmarshaller.java @@ -49,6 +49,9 @@ public static ListExperimentGroupsResponse unmarshall(ListExperimentGroupsRespon experimentGroupsItem.setConfig(_ctx.stringValue("ListExperimentGroupsResponse.ExperimentGroups["+ i +"].Config")); experimentGroupsItem.setReservedBuckets(_ctx.stringValue("ListExperimentGroupsResponse.ExperimentGroups["+ i +"].ReservedBuckets")); experimentGroupsItem.setStatus(_ctx.stringValue("ListExperimentGroupsResponse.ExperimentGroups["+ i +"].Status")); + experimentGroupsItem.setCrowdTargetType(_ctx.stringValue("ListExperimentGroupsResponse.ExperimentGroups["+ i +"].CrowdTargetType")); + experimentGroupsItem.setRandomFlow(_ctx.longValue("ListExperimentGroupsResponse.ExperimentGroups["+ i +"].RandomFlow")); + experimentGroupsItem.setHoldingBuckets(_ctx.stringValue("ListExperimentGroupsResponse.ExperimentGroups["+ i +"].HoldingBuckets")); experimentGroups.add(experimentGroupsItem); } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListFeatureConsistencyCheckJobConfigsResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListFeatureConsistencyCheckJobConfigsResponseUnmarshaller.java index c3b3fbd728..eb81cf7c01 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListFeatureConsistencyCheckJobConfigsResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListFeatureConsistencyCheckJobConfigsResponseUnmarshaller.java @@ -67,6 +67,13 @@ public static ListFeatureConsistencyCheckJobConfigsResponse unmarshall(ListFeatu featureConsistencyCheckConfigsItem.setFeatureDisplayExclude(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureDisplayExclude")); featureConsistencyCheckConfigsItem.setGmtCreateTime(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].GmtCreateTime")); featureConsistencyCheckConfigsItem.setGmtModifiedTime(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].GmtModifiedTime")); + featureConsistencyCheckConfigsItem.setUseFeatureStore(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].UseFeatureStore")); + featureConsistencyCheckConfigsItem.setFeatureStoreProjectName(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureStoreProjectName")); + featureConsistencyCheckConfigsItem.setFeatureStoreModelId(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureStoreModelId")); + featureConsistencyCheckConfigsItem.setFeatureStoreUserId(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureStoreUserId")); + featureConsistencyCheckConfigsItem.setFeatureStoreItemId(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureStoreItemId")); + featureConsistencyCheckConfigsItem.setFeatureStoreSeqFeatureView(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureStoreSeqFeatureView")); + featureConsistencyCheckConfigsItem.setFeatureStoreProjectId(_ctx.stringValue("ListFeatureConsistencyCheckJobConfigsResponse.FeatureConsistencyCheckConfigs["+ i +"].FeatureStoreProjectId")); featureConsistencyCheckConfigs.add(featureConsistencyCheckConfigsItem); } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListLayersResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListLayersResponseUnmarshaller.java index ef80ff5380..2b92f577b0 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListLayersResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListLayersResponseUnmarshaller.java @@ -37,6 +37,8 @@ public static ListLayersResponse unmarshall(ListLayersResponse listLayersRespons layersItem.setSceneId(_ctx.stringValue("ListLayersResponse.Layers["+ i +"].SceneId")); layersItem.setName(_ctx.stringValue("ListLayersResponse.Layers["+ i +"].Name")); layersItem.setDescription(_ctx.stringValue("ListLayersResponse.Layers["+ i +"].Description")); + layersItem.setResidualFlow(_ctx.longValue("ListLayersResponse.Layers["+ i +"].ResidualFlow")); + layersItem.setGmtCreateTime(_ctx.stringValue("ListLayersResponse.Layers["+ i +"].GmtCreateTime")); layers.add(layersItem); } diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListResourceRulesResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListResourceRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..48362ee106 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListResourceRulesResponseUnmarshaller.java @@ -0,0 +1,63 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.ListResourceRulesResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListResourceRulesResponse.ResourceRulesItem; +import com.aliyuncs.pairecservice.model.v20221213.ListResourceRulesResponse.ResourceRulesItem.RuleItemsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListResourceRulesResponseUnmarshaller { + + public static ListResourceRulesResponse unmarshall(ListResourceRulesResponse listResourceRulesResponse, UnmarshallerContext _ctx) { + + listResourceRulesResponse.setRequestId(_ctx.stringValue("ListResourceRulesResponse.RequestId")); + listResourceRulesResponse.setTotalCount(_ctx.longValue("ListResourceRulesResponse.TotalCount")); + + List resourceRules = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListResourceRulesResponse.ResourceRules.Length"); i++) { + ResourceRulesItem resourceRulesItem = new ResourceRulesItem(); + resourceRulesItem.setResourceRuleId(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].ResourceRuleId")); + resourceRulesItem.setName(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].Name")); + resourceRulesItem.setDescription(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].Description")); + resourceRulesItem.setMetricOperationType(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].MetricOperationType")); + resourceRulesItem.setMetricPullInfo(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].MetricPullInfo")); + resourceRulesItem.setMetricPullPeriod(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].MetricPullPeriod")); + resourceRulesItem.setRuleComputingDefinition(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleComputingDefinition")); + + List ruleItems = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleItems.Length"); j++) { + RuleItemsItem ruleItemsItem = new RuleItemsItem(); + ruleItemsItem.setName(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleItems["+ j +"].Name")); + ruleItemsItem.setDescription(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleItems["+ j +"].Description")); + ruleItemsItem.setMinValue(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleItems["+ j +"].MinValue")); + ruleItemsItem.setValue(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleItems["+ j +"].Value")); + ruleItemsItem.setMaxValue(_ctx.stringValue("ListResourceRulesResponse.ResourceRules["+ i +"].RuleItems["+ j +"].MaxValue")); + + ruleItems.add(ruleItemsItem); + } + resourceRulesItem.setRuleItems(ruleItems); + + resourceRules.add(resourceRulesItem); + } + listResourceRulesResponse.setResourceRules(resourceRules); + + return listResourceRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTableMetasResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTableMetasResponseUnmarshaller.java index d9a5561dfb..5f3e5aa81e 100644 --- a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTableMetasResponseUnmarshaller.java +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTableMetasResponseUnmarshaller.java @@ -45,6 +45,7 @@ public static ListTableMetasResponse unmarshall(ListTableMetasResponse listTable tableMetasItem.setGmtModifiedTime(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].GmtModifiedTime")); tableMetasItem.setGmtImportedTime(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].GmtImportedTime")); tableMetasItem.setUrl(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Url")); + tableMetasItem.setConfig(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Config")); List fields = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListTableMetasResponse.TableMetas["+ i +"].Fields.Length"); j++) { diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTargetTrafficHistoryResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTargetTrafficHistoryResponseUnmarshaller.java new file mode 100644 index 0000000000..282285cb1e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTargetTrafficHistoryResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.ListTrafficControlTargetTrafficHistoryResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistoriesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTrafficControlTargetTrafficHistoryResponseUnmarshaller { + + public static ListTrafficControlTargetTrafficHistoryResponse unmarshall(ListTrafficControlTargetTrafficHistoryResponse listTrafficControlTargetTrafficHistoryResponse, UnmarshallerContext _ctx) { + + listTrafficControlTargetTrafficHistoryResponse.setRequestId(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.RequestId")); + listTrafficControlTargetTrafficHistoryResponse.setTotalCount(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TotalCount")); + + List trafficControlTaskTrafficHistories = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories.Length"); i++) { + TrafficControlTaskTrafficHistoriesItem trafficControlTaskTrafficHistoriesItem = new TrafficControlTaskTrafficHistoriesItem(); + trafficControlTaskTrafficHistoriesItem.setRecordTime(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories["+ i +"].RecordTime")); + trafficControlTaskTrafficHistoriesItem.setItemId(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories["+ i +"].ItemId")); + trafficControlTaskTrafficHistoriesItem.setExperimentId(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories["+ i +"].ExperimentId")); + trafficControlTaskTrafficHistoriesItem.setTrafficControlTargetTraffic(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories["+ i +"].TrafficControlTargetTraffic")); + trafficControlTaskTrafficHistoriesItem.setTrafficControlTargetAimTraffic(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories["+ i +"].TrafficControlTargetAimTraffic")); + trafficControlTaskTrafficHistoriesItem.setTrafficControlTaskTraffic(_ctx.stringValue("ListTrafficControlTargetTrafficHistoryResponse.TrafficControlTaskTrafficHistories["+ i +"].TrafficControlTaskTraffic")); + + trafficControlTaskTrafficHistories.add(trafficControlTaskTrafficHistoriesItem); + } + listTrafficControlTargetTrafficHistoryResponse.setTrafficControlTaskTrafficHistories(trafficControlTaskTrafficHistories); + + return listTrafficControlTargetTrafficHistoryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTasksResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTasksResponseUnmarshaller.java new file mode 100644 index 0000000000..e2c9999846 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTrafficControlTasksResponseUnmarshaller.java @@ -0,0 +1,111 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.ListTrafficControlTasksResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListTrafficControlTasksResponse.TrafficControlTasksItem; +import com.aliyuncs.pairecservice.model.v20221213.ListTrafficControlTasksResponse.TrafficControlTasksItem.TrafficControlTargetsItem; +import com.aliyuncs.pairecservice.model.v20221213.ListTrafficControlTasksResponse.TrafficControlTasksItem.TrafficControlTargetsItem.SplitParts; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTrafficControlTasksResponseUnmarshaller { + + public static ListTrafficControlTasksResponse unmarshall(ListTrafficControlTasksResponse listTrafficControlTasksResponse, UnmarshallerContext _ctx) { + + listTrafficControlTasksResponse.setRequestId(_ctx.stringValue("ListTrafficControlTasksResponse.RequestId")); + listTrafficControlTasksResponse.setTotalCount(_ctx.stringValue("ListTrafficControlTasksResponse.TotalCount")); + + List trafficControlTasks = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTrafficControlTasksResponse.TrafficControlTasks.Length"); i++) { + TrafficControlTasksItem trafficControlTasksItem = new TrafficControlTasksItem(); + trafficControlTasksItem.setTrafficControlTaskId(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTaskId")); + trafficControlTasksItem.setName(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].Name")); + trafficControlTasksItem.setDescription(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].Description")); + trafficControlTasksItem.setSceneId(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].SceneId")); + trafficControlTasksItem.setSceneName(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].SceneName")); + trafficControlTasksItem.setProductStatus(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ProductStatus")); + trafficControlTasksItem.setPrepubStatus(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].PrepubStatus")); + trafficControlTasksItem.setExecutionTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ExecutionTime")); + trafficControlTasksItem.setStartTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].StartTime")); + trafficControlTasksItem.setEndTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].EndTime")); + trafficControlTasksItem.setBehaviorTableMetaId(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].BehaviorTableMetaId")); + trafficControlTasksItem.setUserTableMetaId(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].UserTableMetaId")); + trafficControlTasksItem.setItemTableMetaId(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ItemTableMetaId")); + trafficControlTasksItem.setUserConditionType(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].UserConditionType")); + trafficControlTasksItem.setUserConditionArray(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].UserConditionArray")); + trafficControlTasksItem.setUserConditionExpress(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].UserConditionExpress")); + trafficControlTasksItem.setStatisBehaviorConditionType(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].StatisBehaviorConditionType")); + trafficControlTasksItem.setStatisBehaviorConditionArray(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].StatisBehaviorConditionArray")); + trafficControlTasksItem.setStatisBahaviorConditionExpress(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].StatisBahaviorConditionExpress")); + trafficControlTasksItem.setControlType(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ControlType")); + trafficControlTasksItem.setControlGranularity(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ControlGranularity")); + trafficControlTasksItem.setControlLogic(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ControlLogic")); + trafficControlTasksItem.setItemConditionType(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ItemConditionType")); + trafficControlTasksItem.setItemConditionArray(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ItemConditionArray")); + trafficControlTasksItem.setItemConditionExpress(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].ItemConditionExpress")); + trafficControlTasksItem.setGmtCreateTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].GmtCreateTime")); + trafficControlTasksItem.setGmtModifiedTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].GmtModifiedTime")); + trafficControlTasksItem.setEverPublished(_ctx.booleanValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].EverPublished")); + + List trafficControlTargets = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets.Length"); j++) { + TrafficControlTargetsItem trafficControlTargetsItem = new TrafficControlTargetsItem(); + trafficControlTargetsItem.setTrafficControlTargetId(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].TrafficControlTargetId")); + trafficControlTargetsItem.setName(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].Name")); + trafficControlTargetsItem.setStartTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].StartTime")); + trafficControlTargetsItem.setEndTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].EndTime")); + trafficControlTargetsItem.setItemConditionType(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].ItemConditionType")); + trafficControlTargetsItem.setItemConditionArray(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].ItemConditionArray")); + trafficControlTargetsItem.setItemConditionExpress(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].ItemConditionExpress")); + trafficControlTargetsItem.setEvent(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].Event")); + trafficControlTargetsItem.setValue(_ctx.floatValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].Value")); + trafficControlTargetsItem.setStatisPeriod(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].StatisPeriod")); + trafficControlTargetsItem.setToleranceValue(_ctx.longValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].ToleranceValue")); + trafficControlTargetsItem.setRecallName(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].RecallName")); + trafficControlTargetsItem.setStatus(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].Status")); + trafficControlTargetsItem.setGmtCreateTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].GmtCreateTime")); + trafficControlTargetsItem.setGmtModifiedTime(_ctx.stringValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].GmtModifiedTime")); + trafficControlTargetsItem.setNewProductRegulation(_ctx.booleanValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].NewProductRegulation")); + + SplitParts splitParts = new SplitParts(); + + List timePoints = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].SplitParts.TimePoints.Length"); k++) { + timePoints.add(_ctx.longValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].SplitParts.TimePoints["+ k +"]")); + } + splitParts.setTimePoints(timePoints); + + List setValues = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].SplitParts.SetValues.Length"); k++) { + setValues.add(_ctx.longValue("ListTrafficControlTasksResponse.TrafficControlTasks["+ i +"].TrafficControlTargets["+ j +"].SplitParts.SetValues["+ k +"]")); + } + splitParts.setSetValues(setValues); + trafficControlTargetsItem.setSplitParts(splitParts); + + trafficControlTargets.add(trafficControlTargetsItem); + } + trafficControlTasksItem.setTrafficControlTargets(trafficControlTargets); + + trafficControlTasks.add(trafficControlTasksItem); + } + listTrafficControlTasksResponse.setTrafficControlTasks(trafficControlTasks); + + return listTrafficControlTasksResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/PushResourceRuleResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/PushResourceRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..8b8cac973a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/PushResourceRuleResponseUnmarshaller.java @@ -0,0 +1,53 @@ +/* + * 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.pairecservice.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.PushResourceRuleResponse; +import com.aliyuncs.pairecservice.model.v20221213.PushResourceRuleResponse.RuleItemsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class PushResourceRuleResponseUnmarshaller { + + public static PushResourceRuleResponse unmarshall(PushResourceRuleResponse pushResourceRuleResponse, UnmarshallerContext _ctx) { + + pushResourceRuleResponse.setRequestId(_ctx.stringValue("PushResourceRuleResponse.RequestId")); + pushResourceRuleResponse.setResourceRuleId(_ctx.stringValue("PushResourceRuleResponse.ResourceRuleId")); + pushResourceRuleResponse.setName(_ctx.stringValue("PushResourceRuleResponse.Name")); + pushResourceRuleResponse.setDescription(_ctx.stringValue("PushResourceRuleResponse.Description")); + pushResourceRuleResponse.setMetricOperationType(_ctx.stringValue("PushResourceRuleResponse.MetricOperationType")); + pushResourceRuleResponse.setMetricPullInfo(_ctx.stringValue("PushResourceRuleResponse.MetricPullInfo")); + pushResourceRuleResponse.setMetricPullPeriod(_ctx.stringValue("PushResourceRuleResponse.MetricPullPeriod")); + pushResourceRuleResponse.setRuleComputingDefinition(_ctx.stringValue("PushResourceRuleResponse.RuleComputingDefinition")); + + List ruleItems = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("PushResourceRuleResponse.RuleItems.Length"); i++) { + RuleItemsItem ruleItemsItem = new RuleItemsItem(); + ruleItemsItem.setName(_ctx.stringValue("PushResourceRuleResponse.RuleItems["+ i +"].Name")); + ruleItemsItem.setDescription(_ctx.stringValue("PushResourceRuleResponse.RuleItems["+ i +"].Description")); + ruleItemsItem.setMinValue(_ctx.stringValue("PushResourceRuleResponse.RuleItems["+ i +"].MinValue")); + ruleItemsItem.setValue(_ctx.stringValue("PushResourceRuleResponse.RuleItems["+ i +"].Value")); + ruleItemsItem.setMaxValue(_ctx.stringValue("PushResourceRuleResponse.RuleItems["+ i +"].MaxValue")); + + ruleItems.add(ruleItemsItem); + } + pushResourceRuleResponse.setRuleItems(ruleItems); + + return pushResourceRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReleaseTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReleaseTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..4ccce695a2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReleaseTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.ReleaseTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ReleaseTrafficControlTaskResponseUnmarshaller { + + public static ReleaseTrafficControlTaskResponse unmarshall(ReleaseTrafficControlTaskResponse releaseTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + releaseTrafficControlTaskResponse.setRequestId(_ctx.stringValue("ReleaseTrafficControlTaskResponse.RequestId")); + + return releaseTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/SplitTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/SplitTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..344abf9649 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/SplitTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.SplitTrafficControlTargetResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SplitTrafficControlTargetResponseUnmarshaller { + + public static SplitTrafficControlTargetResponse unmarshall(SplitTrafficControlTargetResponse splitTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + splitTrafficControlTargetResponse.setRequestId(_ctx.stringValue("SplitTrafficControlTargetResponse.RequestId")); + + return splitTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..0a8177b813 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.StartTrafficControlTargetResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StartTrafficControlTargetResponseUnmarshaller { + + public static StartTrafficControlTargetResponse unmarshall(StartTrafficControlTargetResponse startTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + startTrafficControlTargetResponse.setRequestId(_ctx.stringValue("StartTrafficControlTargetResponse.RequestId")); + + return startTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..4ece81f1b4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StartTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.StartTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StartTrafficControlTaskResponseUnmarshaller { + + public static StartTrafficControlTaskResponse unmarshall(StartTrafficControlTaskResponse startTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + startTrafficControlTaskResponse.setRequestId(_ctx.stringValue("StartTrafficControlTaskResponse.RequestId")); + + return startTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..e5067a714f --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.StopTrafficControlTargetResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StopTrafficControlTargetResponseUnmarshaller { + + public static StopTrafficControlTargetResponse unmarshall(StopTrafficControlTargetResponse stopTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + stopTrafficControlTargetResponse.setRequestId(_ctx.stringValue("StopTrafficControlTargetResponse.RequestId")); + + return stopTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..4786556a92 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/StopTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.StopTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StopTrafficControlTaskResponseUnmarshaller { + + public static StopTrafficControlTaskResponse unmarshall(StopTrafficControlTaskResponse stopTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + stopTrafficControlTaskResponse.setRequestId(_ctx.stringValue("StopTrafficControlTaskResponse.RequestId")); + + return stopTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleItemResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleItemResponseUnmarshaller.java new file mode 100644 index 0000000000..91ed9e6d6e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleItemResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.UpdateResourceRuleItemResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateResourceRuleItemResponseUnmarshaller { + + public static UpdateResourceRuleItemResponse unmarshall(UpdateResourceRuleItemResponse updateResourceRuleItemResponse, UnmarshallerContext _ctx) { + + updateResourceRuleItemResponse.setRequestId(_ctx.stringValue("UpdateResourceRuleItemResponse.RequestId")); + + return updateResourceRuleItemResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..c49428e37f --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateResourceRuleResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.UpdateResourceRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateResourceRuleResponseUnmarshaller { + + public static UpdateResourceRuleResponse unmarshall(UpdateResourceRuleResponse updateResourceRuleResponse, UnmarshallerContext _ctx) { + + updateResourceRuleResponse.setRequestId(_ctx.stringValue("UpdateResourceRuleResponse.RequestId")); + + return updateResourceRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTargetResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTargetResponseUnmarshaller.java new file mode 100644 index 0000000000..8d0d178573 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTargetResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.UpdateTrafficControlTargetResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateTrafficControlTargetResponseUnmarshaller { + + public static UpdateTrafficControlTargetResponse unmarshall(UpdateTrafficControlTargetResponse updateTrafficControlTargetResponse, UnmarshallerContext _ctx) { + + updateTrafficControlTargetResponse.setRequestId(_ctx.stringValue("UpdateTrafficControlTargetResponse.RequestId")); + + return updateTrafficControlTargetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..1097cf7813 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.UpdateTrafficControlTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateTrafficControlTaskResponseUnmarshaller { + + public static UpdateTrafficControlTaskResponse unmarshall(UpdateTrafficControlTaskResponse updateTrafficControlTaskResponse, UnmarshallerContext _ctx) { + + updateTrafficControlTaskResponse.setRequestId(_ctx.stringValue("UpdateTrafficControlTaskResponse.RequestId")); + + return updateTrafficControlTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskTrafficResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskTrafficResponseUnmarshaller.java new file mode 100644 index 0000000000..0ed6a95b73 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTrafficControlTaskTrafficResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.UpdateTrafficControlTaskTrafficResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateTrafficControlTaskTrafficResponseUnmarshaller { + + public static UpdateTrafficControlTaskTrafficResponse unmarshall(UpdateTrafficControlTaskTrafficResponse updateTrafficControlTaskTrafficResponse, UnmarshallerContext _ctx) { + + updateTrafficControlTaskTrafficResponse.setRequestId(_ctx.stringValue("UpdateTrafficControlTaskTrafficResponse.RequestId")); + + return updateTrafficControlTaskTrafficResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UploadRecommendationDataResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UploadRecommendationDataResponseUnmarshaller.java new file mode 100644 index 0000000000..fd4f011e11 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UploadRecommendationDataResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.UploadRecommendationDataResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UploadRecommendationDataResponseUnmarshaller { + + public static UploadRecommendationDataResponse unmarshall(UploadRecommendationDataResponse uploadRecommendationDataResponse, UnmarshallerContext _ctx) { + + uploadRecommendationDataResponse.setRequestId(_ctx.stringValue("UploadRecommendationDataResponse.RequestId")); + uploadRecommendationDataResponse.setMessage(_ctx.stringValue("UploadRecommendationDataResponse.Message")); + + return uploadRecommendationDataResponse; + } +} \ No newline at end of file