diff --git a/aliyun-java-sdk-pairecservice/ChangeLog.txt b/aliyun-java-sdk-pairecservice/ChangeLog.txt index 1b459b294a..3ac16249b6 100644 --- a/aliyun-java-sdk-pairecservice/ChangeLog.txt +++ b/aliyun-java-sdk-pairecservice/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-12-21 Version: 1.0.3 +- Add api about ABMetric, ABMetricGroup, CalculationJob. + 2023-09-14 Version: 1.0.2 - Add api about feature consistency checking. diff --git a/aliyun-java-sdk-pairecservice/pom.xml b/aliyun-java-sdk-pairecservice/pom.xml index 9ff80b2012..e3d69385d8 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.2 + 1.0.3 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/CheckInstanceResourcesRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CheckInstanceResourcesRequest.java new file mode 100644 index 0000000000..61e5bfa570 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CheckInstanceResourcesRequest.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 CheckInstanceResourcesRequest extends RoaAcsRequest { + + + private String instanceId; + + private String body; + public CheckInstanceResourcesRequest() { + super("PaiRecService", "2022-12-13", "CheckInstanceResources"); + setUriPattern("/api/v1/instances/[InstanceId]/action/checkresources"); + setMethod(MethodType.POST); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + 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 CheckInstanceResourcesResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CheckInstanceResourcesResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CheckInstanceResourcesResponse.java new file mode 100644 index 0000000000..047b84c003 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CheckInstanceResourcesResponse.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.CheckInstanceResourcesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckInstanceResourcesResponse extends AcsResponse { + + private String requestId; + + private List resources; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getResources() { + return this.resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public static class ResourcesItem { + + private String type; + + private String uri; + + private String status; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getUri() { + return this.uri; + } + + public void setUri(String uri) { + this.uri = uri; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + } + + @Override + public CheckInstanceResourcesResponse getInstance(UnmarshallerContext context) { + return CheckInstanceResourcesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricGroupRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricGroupRequest.java new file mode 100644 index 0000000000..95358ffacc --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricGroupRequest.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 CreateABMetricGroupRequest extends RoaAcsRequest { + + + private String body; + public CreateABMetricGroupRequest() { + super("PaiRecService", "2022-12-13", "CreateABMetricGroup"); + setUriPattern("/api/v1/abmetricgroups"); + 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 CreateABMetricGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricGroupResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricGroupResponse.java new file mode 100644 index 0000000000..d9f6a83928 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricGroupResponse.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.CreateABMetricGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateABMetricGroupResponse extends AcsResponse { + + private String requestId; + + private String aBMetricGroupId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getABMetricGroupId() { + return this.aBMetricGroupId; + } + + public void setABMetricGroupId(String aBMetricGroupId) { + this.aBMetricGroupId = aBMetricGroupId; + } + + @Override + public CreateABMetricGroupResponse getInstance(UnmarshallerContext context) { + return CreateABMetricGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricRequest.java new file mode 100644 index 0000000000..2d2d4c7c24 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricRequest.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 CreateABMetricRequest extends RoaAcsRequest { + + + private String body; + public CreateABMetricRequest() { + super("PaiRecService", "2022-12-13", "CreateABMetric"); + setUriPattern("/api/v1/abmetrics"); + 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 CreateABMetricResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricResponse.java new file mode 100644 index 0000000000..449fd01c06 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateABMetricResponse.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.CreateABMetricResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateABMetricResponse extends AcsResponse { + + private String requestId; + + private String aBMetricId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getABMetricId() { + return this.aBMetricId; + } + + public void setABMetricId(String aBMetricId) { + this.aBMetricId = aBMetricId; + } + + @Override + public CreateABMetricResponse getInstance(UnmarshallerContext context) { + return CreateABMetricResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateCalculationJobsRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateCalculationJobsRequest.java new file mode 100644 index 0000000000..6499b7f48c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateCalculationJobsRequest.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 CreateCalculationJobsRequest extends RoaAcsRequest { + + + private String body; + public CreateCalculationJobsRequest() { + super("PaiRecService", "2022-12-13", "CreateCalculationJobs"); + setUriPattern("/api/v1/batch/calculationjobs/create"); + 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 CreateCalculationJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateCalculationJobsResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateCalculationJobsResponse.java new file mode 100644 index 0000000000..dd441d2275 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateCalculationJobsResponse.java @@ -0,0 +1,57 @@ +/* + * 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.CreateCalculationJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateCalculationJobsResponse extends AcsResponse { + + private String requestId; + + private List calculationJobIds; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getCalculationJobIds() { + return this.calculationJobIds; + } + + public void setCalculationJobIds(List calculationJobIds) { + this.calculationJobIds = calculationJobIds; + } + + @Override + public CreateCalculationJobsResponse getInstance(UnmarshallerContext context) { + return CreateCalculationJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateInstanceResourceRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateInstanceResourceRequest.java new file mode 100644 index 0000000000..2ff509ee81 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateInstanceResourceRequest.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 CreateInstanceResourceRequest extends RoaAcsRequest { + + + private String instanceId; + + private String body; + public CreateInstanceResourceRequest() { + super("PaiRecService", "2022-12-13", "CreateInstanceResource"); + setUriPattern("/api/v1/instances/[InstanceId]/resources"); + setMethod(MethodType.POST); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + 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 CreateInstanceResourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateInstanceResourceResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateInstanceResourceResponse.java new file mode 100644 index 0000000000..603803c5ae --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateInstanceResourceResponse.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.CreateInstanceResourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateInstanceResourceResponse extends AcsResponse { + + private String requestId; + + private String resourceId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + @Override + public CreateInstanceResourceResponse getInstance(UnmarshallerContext context) { + return CreateInstanceResourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTableMetaRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTableMetaRequest.java new file mode 100644 index 0000000000..c32f50244f --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTableMetaRequest.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 CreateTableMetaRequest extends RoaAcsRequest { + + + private String body; + public CreateTableMetaRequest() { + super("PaiRecService", "2022-12-13", "CreateTableMeta"); + setUriPattern("/api/v1/tablemetas"); + 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 CreateTableMetaResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTableMetaResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTableMetaResponse.java new file mode 100644 index 0000000000..e4adaa6f8d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/CreateTableMetaResponse.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.CreateTableMetaResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateTableMetaResponse extends AcsResponse { + + private String requestId; + + private String tableMetaId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + } + + @Override + public CreateTableMetaResponse getInstance(UnmarshallerContext context) { + return CreateTableMetaResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricGroupRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricGroupRequest.java new file mode 100644 index 0000000000..8270216ef9 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricGroupRequest.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 DeleteABMetricGroupRequest extends RoaAcsRequest { + + + private String instanceId; + + private String aBMetricGroupId; + public DeleteABMetricGroupRequest() { + super("PaiRecService", "2022-12-13", "DeleteABMetricGroup"); + setUriPattern("/api/v1/abmetricgroups/[ABMetricGroupId]"); + setMethod(MethodType.DELETE); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getABMetricGroupId() { + return this.aBMetricGroupId; + } + + public void setABMetricGroupId(String aBMetricGroupId) { + this.aBMetricGroupId = aBMetricGroupId; + if(aBMetricGroupId != null){ + putPathParameter("ABMetricGroupId", aBMetricGroupId); + } + } + + @Override + public Class getResponseClass() { + return DeleteABMetricGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricGroupResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricGroupResponse.java new file mode 100644 index 0000000000..28a82ce193 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricGroupResponse.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.DeleteABMetricGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteABMetricGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteABMetricGroupResponse getInstance(UnmarshallerContext context) { + return DeleteABMetricGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricRequest.java new file mode 100644 index 0000000000..ae40e693dc --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricRequest.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 DeleteABMetricRequest extends RoaAcsRequest { + + + private String instanceId; + + private String aBMetricId; + public DeleteABMetricRequest() { + super("PaiRecService", "2022-12-13", "DeleteABMetric"); + setUriPattern("/api/v1/abmetrics/[ABMetricId]"); + setMethod(MethodType.DELETE); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getABMetricId() { + return this.aBMetricId; + } + + public void setABMetricId(String aBMetricId) { + this.aBMetricId = aBMetricId; + if(aBMetricId != null){ + putPathParameter("ABMetricId", aBMetricId); + } + } + + @Override + public Class getResponseClass() { + return DeleteABMetricResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricResponse.java new file mode 100644 index 0000000000..7396a1572c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteABMetricResponse.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.DeleteABMetricResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteABMetricResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteABMetricResponse getInstance(UnmarshallerContext context) { + return DeleteABMetricResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteInstanceResourceRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteInstanceResourceRequest.java new file mode 100644 index 0000000000..b2ea57f51d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteInstanceResourceRequest.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 DeleteInstanceResourceRequest extends RoaAcsRequest { + + + private String resourceId; + + private String instanceId; + public DeleteInstanceResourceRequest() { + super("PaiRecService", "2022-12-13", "DeleteInstanceResource"); + setUriPattern("/api/v1/instances/[InstanceId]/resources/[ResourceId]"); + setMethod(MethodType.DELETE); + } + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + if(resourceId != null){ + putPathParameter("ResourceId", resourceId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteInstanceResourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteInstanceResourceResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteInstanceResourceResponse.java new file mode 100644 index 0000000000..c55f87b279 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteInstanceResourceResponse.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.DeleteInstanceResourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteInstanceResourceResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteInstanceResourceResponse getInstance(UnmarshallerContext context) { + return DeleteInstanceResourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTableMetaRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTableMetaRequest.java new file mode 100644 index 0000000000..02e22f99d1 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTableMetaRequest.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 DeleteTableMetaRequest extends RoaAcsRequest { + + + private String instanceId; + + private String tableMetaId; + public DeleteTableMetaRequest() { + super("PaiRecService", "2022-12-13", "DeleteTableMeta"); + setUriPattern("/api/v1/tablemetas/[TableMetaId]"); + setMethod(MethodType.DELETE); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + if(tableMetaId != null){ + putPathParameter("TableMetaId", tableMetaId); + } + } + + @Override + public Class getResponseClass() { + return DeleteTableMetaResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTableMetaResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTableMetaResponse.java new file mode 100644 index 0000000000..09a4fef6cf --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/DeleteTableMetaResponse.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.DeleteTableMetaResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteTableMetaResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteTableMetaResponse getInstance(UnmarshallerContext context) { + return DeleteTableMetaResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricGroupRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricGroupRequest.java new file mode 100644 index 0000000000..1dad8e84b8 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricGroupRequest.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 GetABMetricGroupRequest extends RoaAcsRequest { + + + private String instanceId; + + private String aBMetricGroupId; + public GetABMetricGroupRequest() { + super("PaiRecService", "2022-12-13", "GetABMetricGroup"); + setUriPattern("/api/v1/abmetricgroups/[ABMetricGroupId]"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getABMetricGroupId() { + return this.aBMetricGroupId; + } + + public void setABMetricGroupId(String aBMetricGroupId) { + this.aBMetricGroupId = aBMetricGroupId; + if(aBMetricGroupId != null){ + putPathParameter("ABMetricGroupId", aBMetricGroupId); + } + } + + @Override + public Class getResponseClass() { + return GetABMetricGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricGroupResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricGroupResponse.java new file mode 100644 index 0000000000..4899e9aa64 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricGroupResponse.java @@ -0,0 +1,116 @@ +/* + * 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.GetABMetricGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetABMetricGroupResponse extends AcsResponse { + + private String requestId; + + private String name; + + private String sceneId; + + private String description; + + private String owner; + + private String aBMetricIds; + + private String aBMetricNames; + + private Boolean realtime; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwner() { + return this.owner; + } + + public void setOwner(String owner) { + this.owner = owner; + } + + public String getABMetricIds() { + return this.aBMetricIds; + } + + public void setABMetricIds(String aBMetricIds) { + this.aBMetricIds = aBMetricIds; + } + + public String getABMetricNames() { + return this.aBMetricNames; + } + + public void setABMetricNames(String aBMetricNames) { + this.aBMetricNames = aBMetricNames; + } + + public Boolean getRealtime() { + return this.realtime; + } + + public void setRealtime(Boolean realtime) { + this.realtime = realtime; + } + + @Override + public GetABMetricGroupResponse getInstance(UnmarshallerContext context) { + return GetABMetricGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricRequest.java new file mode 100644 index 0000000000..d7ec915def --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricRequest.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 GetABMetricRequest extends RoaAcsRequest { + + + private String instanceId; + + private String aBMetricId; + public GetABMetricRequest() { + super("PaiRecService", "2022-12-13", "GetABMetric"); + setUriPattern("/api/v1/abmetrics/[ABMetricId]"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getABMetricId() { + return this.aBMetricId; + } + + public void setABMetricId(String aBMetricId) { + this.aBMetricId = aBMetricId; + if(aBMetricId != null){ + putPathParameter("ABMetricId", aBMetricId); + } + } + + @Override + public Class getResponseClass() { + return GetABMetricResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricResponse.java new file mode 100644 index 0000000000..993001c1cb --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetABMetricResponse.java @@ -0,0 +1,186 @@ +/* + * 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.GetABMetricResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetABMetricResponse extends AcsResponse { + + private String requestId; + + private String name; + + private String description; + + private String sceneId; + + private String sceneName; + + private String type; + + private String realtime; + + private String tableMetaId; + + private String resultTableMetaId; + + private String resultResourceId; + + private String definition; + + private Integer statisticsCycle; + + private String leftMetricId; + + private String rightMetricId; + + private String operator; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + 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 getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getRealtime() { + return this.realtime; + } + + public void setRealtime(String realtime) { + this.realtime = realtime; + } + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + } + + public String getResultTableMetaId() { + return this.resultTableMetaId; + } + + public void setResultTableMetaId(String resultTableMetaId) { + this.resultTableMetaId = resultTableMetaId; + } + + public String getResultResourceId() { + return this.resultResourceId; + } + + public void setResultResourceId(String resultResourceId) { + this.resultResourceId = resultResourceId; + } + + public String getDefinition() { + return this.definition; + } + + public void setDefinition(String definition) { + this.definition = definition; + } + + public Integer getStatisticsCycle() { + return this.statisticsCycle; + } + + public void setStatisticsCycle(Integer statisticsCycle) { + this.statisticsCycle = statisticsCycle; + } + + public String getLeftMetricId() { + return this.leftMetricId; + } + + public void setLeftMetricId(String leftMetricId) { + this.leftMetricId = leftMetricId; + } + + public String getRightMetricId() { + return this.rightMetricId; + } + + public void setRightMetricId(String rightMetricId) { + this.rightMetricId = rightMetricId; + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @Override + public GetABMetricResponse getInstance(UnmarshallerContext context) { + return GetABMetricResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetCalculationJobRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetCalculationJobRequest.java new file mode 100644 index 0000000000..a2bf256c76 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetCalculationJobRequest.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 GetCalculationJobRequest extends RoaAcsRequest { + + + private String instanceId; + + private String calculationJobId; + public GetCalculationJobRequest() { + super("PaiRecService", "2022-12-13", "GetCalculationJob"); + setUriPattern("/api/v1/calculationjobs/[CalculationJobId]"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getCalculationJobId() { + return this.calculationJobId; + } + + public void setCalculationJobId(String calculationJobId) { + this.calculationJobId = calculationJobId; + if(calculationJobId != null){ + putPathParameter("CalculationJobId", calculationJobId); + } + } + + @Override + public Class getResponseClass() { + return GetCalculationJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetCalculationJobResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetCalculationJobResponse.java new file mode 100644 index 0000000000..ce452305b8 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetCalculationJobResponse.java @@ -0,0 +1,127 @@ +/* + * 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.GetCalculationJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetCalculationJobResponse extends AcsResponse { + + private String requestId; + + private String aBMetricId; + + private String aBMetricName; + + private String status; + + private String config; + + private String gmtRanTime; + + private String bizDate; + + private String jobSource; + + private List jobMessage; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getABMetricId() { + return this.aBMetricId; + } + + public void setABMetricId(String aBMetricId) { + this.aBMetricId = aBMetricId; + } + + public String getABMetricName() { + return this.aBMetricName; + } + + public void setABMetricName(String aBMetricName) { + this.aBMetricName = aBMetricName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + public String getGmtRanTime() { + return this.gmtRanTime; + } + + public void setGmtRanTime(String gmtRanTime) { + this.gmtRanTime = gmtRanTime; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getJobSource() { + return this.jobSource; + } + + public void setJobSource(String jobSource) { + this.jobSource = jobSource; + } + + public List getJobMessage() { + return this.jobMessage; + } + + public void setJobMessage(List jobMessage) { + this.jobMessage = jobMessage; + } + + @Override + public GetCalculationJobResponse getInstance(UnmarshallerContext context) { + return GetCalculationJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceRequest.java new file mode 100644 index 0000000000..86d15f6bbb --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceRequest.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 GetInstanceResourceRequest extends RoaAcsRequest { + + + private String resourceId; + + private String instanceId; + public GetInstanceResourceRequest() { + super("PaiRecService", "2022-12-13", "GetInstanceResource"); + setUriPattern("/api/v1/instances/[InstanceId]/resources/[ResourceId]"); + setMethod(MethodType.GET); + } + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + if(resourceId != null){ + putPathParameter("ResourceId", resourceId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return GetInstanceResourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceResponse.java new file mode 100644 index 0000000000..bd26593bc3 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceResponse.java @@ -0,0 +1,126 @@ +/* + * 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.GetInstanceResourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetInstanceResourceResponse extends AcsResponse { + + private String requestId; + + private String resourceId; + + private String category; + + private String group; + + private String type; + + private String uri; + + private String config; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } + + public String getGroup() { + return this.group; + } + + public void setGroup(String group) { + this.group = group; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getUri() { + return this.uri; + } + + public void setUri(String uri) { + this.uri = uri; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + 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; + } + + @Override + public GetInstanceResourceResponse getInstance(UnmarshallerContext context) { + return GetInstanceResourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableRequest.java new file mode 100644 index 0000000000..e8e033bd07 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableRequest.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 GetInstanceResourceTableRequest extends RoaAcsRequest { + + + private String resourceId; + + private String instanceId; + + private String tableName; + public GetInstanceResourceTableRequest() { + super("PaiRecService", "2022-12-13", "GetInstanceResourceTable"); + setUriPattern("/api/v1/instances/[InstanceId]/resources/[ResourceId]/tables/[TableName]"); + setMethod(MethodType.GET); + } + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + if(resourceId != null){ + putPathParameter("ResourceId", resourceId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + public String getTableName() { + return this.tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + if(tableName != null){ + putPathParameter("TableName", tableName); + } + } + + @Override + public Class getResponseClass() { + return GetInstanceResourceTableResponse.class; + } + +} 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 new file mode 100644 index 0000000000..2f979d60f8 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetInstanceResourceTableResponse.java @@ -0,0 +1,110 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.GetInstanceResourceTableResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetInstanceResourceTableResponse extends AcsResponse { + + private String requestId; + + private String tableName; + + private List fields; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getTableName() { + return this.tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public List getFields() { + return this.fields; + } + + public void setFields(List fields) { + this.fields = fields; + } + + public static class FieldsItem { + + private String name; + + private String type; + + private String meaning; + + private Boolean isDimensionField; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getMeaning() { + return this.meaning; + } + + public void setMeaning(String meaning) { + this.meaning = meaning; + } + + public Boolean getIsDimensionField() { + return this.isDimensionField; + } + + public void setIsDimensionField(Boolean isDimensionField) { + this.isDimensionField = isDimensionField; + } + } + + @Override + public GetInstanceResourceTableResponse getInstance(UnmarshallerContext context) { + return GetInstanceResourceTableResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaRequest.java new file mode 100644 index 0000000000..2fe5218a2d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaRequest.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 GetTableMetaRequest extends RoaAcsRequest { + + + private String instanceId; + + private String tableMetaId; + public GetTableMetaRequest() { + super("PaiRecService", "2022-12-13", "GetTableMeta"); + setUriPattern("/api/v1/tablemetas/[TableMetaId]"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + if(tableMetaId != null){ + putPathParameter("TableMetaId", tableMetaId); + } + } + + @Override + public Class getResponseClass() { + return GetTableMetaResponse.class; + } + +} 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 new file mode 100644 index 0000000000..9885f2060c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/GetTableMetaResponse.java @@ -0,0 +1,200 @@ +/* + * 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.GetTableMetaResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetTableMetaResponse extends AcsResponse { + + private String requestId; + + private String name; + + private String description; + + private String resourceId; + + private String tableName; + + private String type; + + private String module; + + private Boolean canDelete; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + private String url; + + private List fields; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + 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 getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getTableName() { + return this.tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getModule() { + return this.module; + } + + public void setModule(String module) { + this.module = module; + } + + public Boolean getCanDelete() { + return this.canDelete; + } + + public void setCanDelete(Boolean canDelete) { + this.canDelete = canDelete; + } + + 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 String getUrl() { + return this.url; + } + + public void setUrl(String url) { + this.url = url; + } + + public List getFields() { + return this.fields; + } + + public void setFields(List fields) { + this.fields = fields; + } + + public static class FieldsItem { + + private String name; + + private String meaning; + + private String type; + + private Boolean isDimensionField; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getMeaning() { + return this.meaning; + } + + public void setMeaning(String meaning) { + this.meaning = meaning; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Boolean getIsDimensionField() { + return this.isDimensionField; + } + + public void setIsDimensionField(Boolean isDimensionField) { + this.isDimensionField = isDimensionField; + } + } + + @Override + public GetTableMetaResponse getInstance(UnmarshallerContext context) { + return GetTableMetaResponseUnmarshaller.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 new file mode 100644 index 0000000000..aa45252f37 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsRequest.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 ListABMetricGroupsRequest extends RoaAcsRequest { + + + private Boolean realtime; + + private String instanceId; + + private String sceneId; + + private Integer pageSize; + + private Integer pageNumber; + public ListABMetricGroupsRequest() { + super("PaiRecService", "2022-12-13", "ListABMetricGroups"); + setUriPattern("/api/v1/abmetricgroups"); + setMethod(MethodType.GET); + } + + public Boolean getRealtime() { + return this.realtime; + } + + public void setRealtime(Boolean realtime) { + this.realtime = realtime; + if(realtime != null){ + putQueryParameter("Realtime", realtime.toString()); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + if(sceneId != null){ + putQueryParameter("SceneId", sceneId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListABMetricGroupsResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsResponse.java new file mode 100644 index 0000000000..2d13ea7479 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricGroupsResponse.java @@ -0,0 +1,150 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ListABMetricGroupsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListABMetricGroupsResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private List aBMetricGroups; + + 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 getABMetricGroups() { + return this.aBMetricGroups; + } + + public void setABMetricGroups(List aBMetricGroups) { + this.aBMetricGroups = aBMetricGroups; + } + + public static class ABMetricGroupsItem { + + private String aBMetricGroupId; + + private String name; + + private String sceneId; + + private String description; + + private String owner; + + private String aBMetricIds; + + private String aBMetricNames; + + private Boolean realtime; + + public String getABMetricGroupId() { + return this.aBMetricGroupId; + } + + public void setABMetricGroupId(String aBMetricGroupId) { + this.aBMetricGroupId = aBMetricGroupId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwner() { + return this.owner; + } + + public void setOwner(String owner) { + this.owner = owner; + } + + public String getABMetricIds() { + return this.aBMetricIds; + } + + public void setABMetricIds(String aBMetricIds) { + this.aBMetricIds = aBMetricIds; + } + + public String getABMetricNames() { + return this.aBMetricNames; + } + + public void setABMetricNames(String aBMetricNames) { + this.aBMetricNames = aBMetricNames; + } + + public Boolean getRealtime() { + return this.realtime; + } + + public void setRealtime(Boolean realtime) { + this.realtime = realtime; + } + } + + @Override + public ListABMetricGroupsResponse getInstance(UnmarshallerContext context) { + return ListABMetricGroupsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricsRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricsRequest.java new file mode 100644 index 0000000000..753f142ce3 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricsRequest.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 ListABMetricsRequest extends RoaAcsRequest { + + + private Boolean realtime; + + private String instanceId; + + private Integer pageSize; + + private String name; + + private String sceneId; + + private String type; + + private Integer pageNumber; + + private String tableMetaId; + public ListABMetricsRequest() { + super("PaiRecService", "2022-12-13", "ListABMetrics"); + setUriPattern("/api/v1/abmetrics"); + setMethod(MethodType.GET); + } + + public Boolean getRealtime() { + return this.realtime; + } + + public void setRealtime(Boolean realtime) { + this.realtime = realtime; + if(realtime != null){ + putQueryParameter("Realtime", realtime.toString()); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + 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 getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + if(tableMetaId != null){ + putQueryParameter("TableMetaId", tableMetaId); + } + } + + @Override + public Class getResponseClass() { + return ListABMetricsResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricsResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricsResponse.java new file mode 100644 index 0000000000..0223e2f2b6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListABMetricsResponse.java @@ -0,0 +1,220 @@ +/* + * 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.ListABMetricsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListABMetricsResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private List aBMetrics; + + 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 getABMetrics() { + return this.aBMetrics; + } + + public void setABMetrics(List aBMetrics) { + this.aBMetrics = aBMetrics; + } + + public static class ABMetricsItem { + + private String aBMetricId; + + private String name; + + private String description; + + private String sceneId; + + private String sceneName; + + private String type; + + private String realtime; + + private String tableMetaId; + + private String resultTableMetaId; + + private String resultResourceId; + + private String definition; + + private Integer statisticsCycle; + + private String leftMetricId; + + private String rightMetricId; + + private String operator; + + public String getABMetricId() { + return this.aBMetricId; + } + + public void setABMetricId(String aBMetricId) { + this.aBMetricId = aBMetricId; + } + + 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 getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getRealtime() { + return this.realtime; + } + + public void setRealtime(String realtime) { + this.realtime = realtime; + } + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + } + + public String getResultTableMetaId() { + return this.resultTableMetaId; + } + + public void setResultTableMetaId(String resultTableMetaId) { + this.resultTableMetaId = resultTableMetaId; + } + + public String getResultResourceId() { + return this.resultResourceId; + } + + public void setResultResourceId(String resultResourceId) { + this.resultResourceId = resultResourceId; + } + + public String getDefinition() { + return this.definition; + } + + public void setDefinition(String definition) { + this.definition = definition; + } + + public Integer getStatisticsCycle() { + return this.statisticsCycle; + } + + public void setStatisticsCycle(Integer statisticsCycle) { + this.statisticsCycle = statisticsCycle; + } + + public String getLeftMetricId() { + return this.leftMetricId; + } + + public void setLeftMetricId(String leftMetricId) { + this.leftMetricId = leftMetricId; + } + + public String getRightMetricId() { + return this.rightMetricId; + } + + public void setRightMetricId(String rightMetricId) { + this.rightMetricId = rightMetricId; + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + } + + @Override + public ListABMetricsResponse getInstance(UnmarshallerContext context) { + return ListABMetricsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListCalculationJobsRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListCalculationJobsRequest.java new file mode 100644 index 0000000000..9046b2021c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListCalculationJobsRequest.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 ListCalculationJobsRequest extends RoaAcsRequest { + + + private String instanceId; + + private Integer pageSize; + + private String sceneId; + + private Integer pageNumber; + + private String status; + public ListCalculationJobsRequest() { + super("PaiRecService", "2022-12-13", "ListCalculationJobs"); + setUriPattern("/api/v1/calculationjobs"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + if(sceneId != null){ + putQueryParameter("SceneId", sceneId); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + 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 ListCalculationJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListCalculationJobsResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListCalculationJobsResponse.java new file mode 100644 index 0000000000..d1daf3b7e9 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListCalculationJobsResponse.java @@ -0,0 +1,150 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ListCalculationJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListCalculationJobsResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private List calculationJobs; + + 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 getCalculationJobs() { + return this.calculationJobs; + } + + public void setCalculationJobs(List calculationJobs) { + this.calculationJobs = calculationJobs; + } + + public static class CalculationJobsItem { + + private String calculationJobId; + + private String aBMetricName; + + private String status; + + private String config; + + private String gmtRanTime; + + private String bizDate; + + private String jobSource; + + private List jobMessage; + + public String getCalculationJobId() { + return this.calculationJobId; + } + + public void setCalculationJobId(String calculationJobId) { + this.calculationJobId = calculationJobId; + } + + public String getABMetricName() { + return this.aBMetricName; + } + + public void setABMetricName(String aBMetricName) { + this.aBMetricName = aBMetricName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + public String getGmtRanTime() { + return this.gmtRanTime; + } + + public void setGmtRanTime(String gmtRanTime) { + this.gmtRanTime = gmtRanTime; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getJobSource() { + return this.jobSource; + } + + public void setJobSource(String jobSource) { + this.jobSource = jobSource; + } + + public List getJobMessage() { + return this.jobMessage; + } + + public void setJobMessage(List jobMessage) { + this.jobMessage = jobMessage; + } + } + + @Override + public ListCalculationJobsResponse getInstance(UnmarshallerContext context) { + return ListCalculationJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListInstanceResourcesRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListInstanceResourcesRequest.java new file mode 100644 index 0000000000..2f1c68226a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListInstanceResourcesRequest.java @@ -0,0 +1,89 @@ +/* + * 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 ListInstanceResourcesRequest extends RoaAcsRequest { + + + private String instanceId; + + private String category; + + private String type; + + private String group; + public ListInstanceResourcesRequest() { + super("PaiRecService", "2022-12-13", "ListInstanceResources"); + setUriPattern("/api/v1/instances/[InstanceId]/resources"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + if(category != null){ + putQueryParameter("Category", category); + } + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + public String getGroup() { + return this.group; + } + + public void setGroup(String group) { + this.group = group; + if(group != null){ + putQueryParameter("Group", group); + } + } + + @Override + public Class getResponseClass() { + return ListInstanceResourcesResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListInstanceResourcesResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListInstanceResourcesResponse.java new file mode 100644 index 0000000000..c6dce5ab3b --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListInstanceResourcesResponse.java @@ -0,0 +1,150 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.pairecservice.model.v20221213; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.pairecservice.transform.v20221213.ListInstanceResourcesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListInstanceResourcesResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private List resources; + + 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 getResources() { + return this.resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public static class ResourcesItem { + + private String resourceId; + + private String category; + + private String group; + + private String type; + + private String uri; + + private String config; + + private String gmtCreateAt; + + private String gmtModifiedAt; + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } + + public String getGroup() { + return this.group; + } + + public void setGroup(String group) { + this.group = group; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getUri() { + return this.uri; + } + + public void setUri(String uri) { + this.uri = uri; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + public String getGmtCreateAt() { + return this.gmtCreateAt; + } + + public void setGmtCreateAt(String gmtCreateAt) { + this.gmtCreateAt = gmtCreateAt; + } + + public String getGmtModifiedAt() { + return this.gmtModifiedAt; + } + + public void setGmtModifiedAt(String gmtModifiedAt) { + this.gmtModifiedAt = gmtModifiedAt; + } + } + + @Override + public ListInstanceResourcesResponse getInstance(UnmarshallerContext context) { + return ListInstanceResourcesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasRequest.java new file mode 100644 index 0000000000..f48f9a2fb4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasRequest.java @@ -0,0 +1,115 @@ +/* + * 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 ListTableMetasRequest extends RoaAcsRequest { + + + private String instanceId; + + private String module; + + private String name; + + private Integer pageSize; + + private String type; + + private Integer pageNumber; + public ListTableMetasRequest() { + super("PaiRecService", "2022-12-13", "ListTableMetas"); + setUriPattern("/api/v1/tablemetas"); + setMethod(MethodType.GET); + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getModule() { + return this.module; + } + + public void setModule(String module) { + this.module = module; + if(module != null){ + putQueryParameter("Module", module); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putQueryParameter("Name", name); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListTableMetasResponse.class; + } + +} 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 new file mode 100644 index 0000000000..e517d9f4fe --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ListTableMetasResponse.java @@ -0,0 +1,243 @@ +/* + * 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.ListTableMetasResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListTableMetasResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private List tableMetas; + + 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 getTableMetas() { + return this.tableMetas; + } + + public void setTableMetas(List tableMetas) { + this.tableMetas = tableMetas; + } + + public static class TableMetasItem { + + private String tableMetaId; + + private String name; + + private String description; + + private String resourceId; + + private String tableName; + + private String type; + + private String module; + + private Boolean canDelete; + + private String gmtCreateTime; + + private String gmtModifiedTime; + + private String gmtImportedTime; + + private String url; + + private List fields; + + public String getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + } + + 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 getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getTableName() { + return this.tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getModule() { + return this.module; + } + + public void setModule(String module) { + this.module = module; + } + + public Boolean getCanDelete() { + return this.canDelete; + } + + public void setCanDelete(Boolean canDelete) { + this.canDelete = canDelete; + } + + 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 String getGmtImportedTime() { + return this.gmtImportedTime; + } + + public void setGmtImportedTime(String gmtImportedTime) { + this.gmtImportedTime = gmtImportedTime; + } + + public String getUrl() { + return this.url; + } + + public void setUrl(String url) { + this.url = url; + } + + public List getFields() { + return this.fields; + } + + public void setFields(List fields) { + this.fields = fields; + } + + public static class FieldsItem { + + private String name; + + private String meaning; + + private String type; + + private Boolean isDimensionField; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getMeaning() { + return this.meaning; + } + + public void setMeaning(String meaning) { + this.meaning = meaning; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Boolean getIsDimensionField() { + return this.isDimensionField; + } + + public void setIsDimensionField(Boolean isDimensionField) { + this.isDimensionField = isDimensionField; + } + } + } + + @Override + public ListTableMetasResponse getInstance(UnmarshallerContext context) { + return ListTableMetasResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReportABMetricGroupRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReportABMetricGroupRequest.java new file mode 100644 index 0000000000..2817fcebe2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReportABMetricGroupRequest.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 ReportABMetricGroupRequest extends RoaAcsRequest { + + + private String aBMetricGroupId; + + private String body; + public ReportABMetricGroupRequest() { + super("PaiRecService", "2022-12-13", "ReportABMetricGroup"); + setUriPattern("/api/v1/abmetricgroups/[ABMetricGroupId]/action/report"); + setMethod(MethodType.POST); + } + + public String getABMetricGroupId() { + return this.aBMetricGroupId; + } + + public void setABMetricGroupId(String aBMetricGroupId) { + this.aBMetricGroupId = aBMetricGroupId; + if(aBMetricGroupId != null){ + putPathParameter("ABMetricGroupId", aBMetricGroupId); + } + } + + 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 ReportABMetricGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReportABMetricGroupResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReportABMetricGroupResponse.java new file mode 100644 index 0000000000..d89a8c86d2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/ReportABMetricGroupResponse.java @@ -0,0 +1,68 @@ +/* + * 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.ReportABMetricGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ReportABMetricGroupResponse extends AcsResponse { + + private String requestId; + + private Map experimentReport; + + private List groupDimension; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Map getExperimentReport() { + return this.experimentReport; + } + + public void setExperimentReport(Map experimentReport) { + this.experimentReport = experimentReport; + } + + public List getGroupDimension() { + return this.groupDimension; + } + + public void setGroupDimension(List groupDimension) { + this.groupDimension = groupDimension; + } + + @Override + public ReportABMetricGroupResponse getInstance(UnmarshallerContext context) { + return ReportABMetricGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricGroupRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricGroupRequest.java new file mode 100644 index 0000000000..cf4f1f867c --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricGroupRequest.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 UpdateABMetricGroupRequest extends RoaAcsRequest { + + + private String aBMetricGroupId; + + private String body; + public UpdateABMetricGroupRequest() { + super("PaiRecService", "2022-12-13", "UpdateABMetricGroup"); + setUriPattern("/api/v1/abmetricgroups/[ABMetricGroupId]"); + setMethod(MethodType.PUT); + } + + public String getABMetricGroupId() { + return this.aBMetricGroupId; + } + + public void setABMetricGroupId(String aBMetricGroupId) { + this.aBMetricGroupId = aBMetricGroupId; + if(aBMetricGroupId != null){ + putPathParameter("ABMetricGroupId", aBMetricGroupId); + } + } + + 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 UpdateABMetricGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricGroupResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricGroupResponse.java new file mode 100644 index 0000000000..0c5255ddde --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricGroupResponse.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.UpdateABMetricGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateABMetricGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateABMetricGroupResponse getInstance(UnmarshallerContext context) { + return UpdateABMetricGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricRequest.java new file mode 100644 index 0000000000..8dc61cc696 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricRequest.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 UpdateABMetricRequest extends RoaAcsRequest { + + + private String aBMetricId; + + private String body; + public UpdateABMetricRequest() { + super("PaiRecService", "2022-12-13", "UpdateABMetric"); + setUriPattern("/api/v1/abmetrics/[ABMetricId]"); + setMethod(MethodType.PUT); + } + + public String getABMetricId() { + return this.aBMetricId; + } + + public void setABMetricId(String aBMetricId) { + this.aBMetricId = aBMetricId; + if(aBMetricId != null){ + putPathParameter("ABMetricId", aBMetricId); + } + } + + 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 UpdateABMetricResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricResponse.java new file mode 100644 index 0000000000..4d623697c9 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateABMetricResponse.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.UpdateABMetricResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateABMetricResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateABMetricResponse getInstance(UnmarshallerContext context) { + return UpdateABMetricResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateInstanceResourceRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateInstanceResourceRequest.java new file mode 100644 index 0000000000..0b24781b85 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateInstanceResourceRequest.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 UpdateInstanceResourceRequest extends RoaAcsRequest { + + + private String resourceId; + + private String instanceId; + + private String body; + public UpdateInstanceResourceRequest() { + super("PaiRecService", "2022-12-13", "UpdateInstanceResource"); + setUriPattern("/api/v1/instances/[InstanceId]/resources/[ResourceId]"); + setMethod(MethodType.PUT); + } + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + if(resourceId != null){ + putPathParameter("ResourceId", resourceId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putPathParameter("InstanceId", instanceId); + } + } + + 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 UpdateInstanceResourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateInstanceResourceResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateInstanceResourceResponse.java new file mode 100644 index 0000000000..93efe3c4f4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateInstanceResourceResponse.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.UpdateInstanceResourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateInstanceResourceResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateInstanceResourceResponse getInstance(UnmarshallerContext context) { + return UpdateInstanceResourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTableMetaRequest.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTableMetaRequest.java new file mode 100644 index 0000000000..769be506b2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTableMetaRequest.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 UpdateTableMetaRequest extends RoaAcsRequest { + + + private String body; + + private String tableMetaId; + public UpdateTableMetaRequest() { + super("PaiRecService", "2022-12-13", "UpdateTableMeta"); + setUriPattern("/api/v1/tablemetas/[TableMetaId]"); + 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 getTableMetaId() { + return this.tableMetaId; + } + + public void setTableMetaId(String tableMetaId) { + this.tableMetaId = tableMetaId; + if(tableMetaId != null){ + putPathParameter("TableMetaId", tableMetaId); + } + } + + @Override + public Class getResponseClass() { + return UpdateTableMetaResponse.class; + } + +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTableMetaResponse.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTableMetaResponse.java new file mode 100644 index 0000000000..0a5e24d834 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/model/v20221213/UpdateTableMetaResponse.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.UpdateTableMetaResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateTableMetaResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateTableMetaResponse getInstance(UnmarshallerContext context) { + return UpdateTableMetaResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CheckInstanceResourcesResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CheckInstanceResourcesResponseUnmarshaller.java new file mode 100644 index 0000000000..cfa29abdea --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CheckInstanceResourcesResponseUnmarshaller.java @@ -0,0 +1,44 @@ +/* + * 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.CheckInstanceResourcesResponse; +import com.aliyuncs.pairecservice.model.v20221213.CheckInstanceResourcesResponse.ResourcesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckInstanceResourcesResponseUnmarshaller { + + public static CheckInstanceResourcesResponse unmarshall(CheckInstanceResourcesResponse checkInstanceResourcesResponse, UnmarshallerContext _ctx) { + + checkInstanceResourcesResponse.setRequestId(_ctx.stringValue("CheckInstanceResourcesResponse.RequestId")); + + List resources = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CheckInstanceResourcesResponse.Resources.Length"); i++) { + ResourcesItem resourcesItem = new ResourcesItem(); + resourcesItem.setType(_ctx.stringValue("CheckInstanceResourcesResponse.Resources["+ i +"].Type")); + resourcesItem.setUri(_ctx.stringValue("CheckInstanceResourcesResponse.Resources["+ i +"].Uri")); + resourcesItem.setStatus(_ctx.stringValue("CheckInstanceResourcesResponse.Resources["+ i +"].Status")); + + resources.add(resourcesItem); + } + checkInstanceResourcesResponse.setResources(resources); + + return checkInstanceResourcesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateABMetricGroupResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateABMetricGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..f5dcebd1ae --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateABMetricGroupResponseUnmarshaller.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.CreateABMetricGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateABMetricGroupResponseUnmarshaller { + + public static CreateABMetricGroupResponse unmarshall(CreateABMetricGroupResponse createABMetricGroupResponse, UnmarshallerContext _ctx) { + + createABMetricGroupResponse.setRequestId(_ctx.stringValue("CreateABMetricGroupResponse.RequestId")); + createABMetricGroupResponse.setABMetricGroupId(_ctx.stringValue("CreateABMetricGroupResponse.ABMetricGroupId")); + + return createABMetricGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateABMetricResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateABMetricResponseUnmarshaller.java new file mode 100644 index 0000000000..4036b97bbc --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateABMetricResponseUnmarshaller.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.CreateABMetricResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateABMetricResponseUnmarshaller { + + public static CreateABMetricResponse unmarshall(CreateABMetricResponse createABMetricResponse, UnmarshallerContext _ctx) { + + createABMetricResponse.setRequestId(_ctx.stringValue("CreateABMetricResponse.RequestId")); + createABMetricResponse.setABMetricId(_ctx.stringValue("CreateABMetricResponse.ABMetricId")); + + return createABMetricResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateCalculationJobsResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateCalculationJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..802df0618a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateCalculationJobsResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * 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.CreateCalculationJobsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateCalculationJobsResponseUnmarshaller { + + public static CreateCalculationJobsResponse unmarshall(CreateCalculationJobsResponse createCalculationJobsResponse, UnmarshallerContext _ctx) { + + createCalculationJobsResponse.setRequestId(_ctx.stringValue("CreateCalculationJobsResponse.RequestId")); + + List calculationJobIds = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CreateCalculationJobsResponse.CalculationJobIds.Length"); i++) { + calculationJobIds.add(_ctx.stringValue("CreateCalculationJobsResponse.CalculationJobIds["+ i +"]")); + } + createCalculationJobsResponse.setCalculationJobIds(calculationJobIds); + + return createCalculationJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateInstanceResourceResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateInstanceResourceResponseUnmarshaller.java new file mode 100644 index 0000000000..8d738984cd --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateInstanceResourceResponseUnmarshaller.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.CreateInstanceResourceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateInstanceResourceResponseUnmarshaller { + + public static CreateInstanceResourceResponse unmarshall(CreateInstanceResourceResponse createInstanceResourceResponse, UnmarshallerContext _ctx) { + + createInstanceResourceResponse.setRequestId(_ctx.stringValue("CreateInstanceResourceResponse.RequestId")); + createInstanceResourceResponse.setResourceId(_ctx.stringValue("CreateInstanceResourceResponse.ResourceId")); + + return createInstanceResourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTableMetaResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTableMetaResponseUnmarshaller.java new file mode 100644 index 0000000000..544c43bb7e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/CreateTableMetaResponseUnmarshaller.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.CreateTableMetaResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateTableMetaResponseUnmarshaller { + + public static CreateTableMetaResponse unmarshall(CreateTableMetaResponse createTableMetaResponse, UnmarshallerContext _ctx) { + + createTableMetaResponse.setRequestId(_ctx.stringValue("CreateTableMetaResponse.RequestId")); + createTableMetaResponse.setTableMetaId(_ctx.stringValue("CreateTableMetaResponse.TableMetaId")); + + return createTableMetaResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteABMetricGroupResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteABMetricGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..b15a503e35 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteABMetricGroupResponseUnmarshaller.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.DeleteABMetricGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteABMetricGroupResponseUnmarshaller { + + public static DeleteABMetricGroupResponse unmarshall(DeleteABMetricGroupResponse deleteABMetricGroupResponse, UnmarshallerContext _ctx) { + + deleteABMetricGroupResponse.setRequestId(_ctx.stringValue("DeleteABMetricGroupResponse.RequestId")); + + return deleteABMetricGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteABMetricResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteABMetricResponseUnmarshaller.java new file mode 100644 index 0000000000..1230d638f2 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteABMetricResponseUnmarshaller.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.DeleteABMetricResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteABMetricResponseUnmarshaller { + + public static DeleteABMetricResponse unmarshall(DeleteABMetricResponse deleteABMetricResponse, UnmarshallerContext _ctx) { + + deleteABMetricResponse.setRequestId(_ctx.stringValue("DeleteABMetricResponse.RequestId")); + + return deleteABMetricResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteInstanceResourceResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteInstanceResourceResponseUnmarshaller.java new file mode 100644 index 0000000000..3fea26b16d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteInstanceResourceResponseUnmarshaller.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.DeleteInstanceResourceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteInstanceResourceResponseUnmarshaller { + + public static DeleteInstanceResourceResponse unmarshall(DeleteInstanceResourceResponse deleteInstanceResourceResponse, UnmarshallerContext _ctx) { + + deleteInstanceResourceResponse.setRequestId(_ctx.stringValue("DeleteInstanceResourceResponse.RequestId")); + + return deleteInstanceResourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTableMetaResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTableMetaResponseUnmarshaller.java new file mode 100644 index 0000000000..3c62b27263 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/DeleteTableMetaResponseUnmarshaller.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.DeleteTableMetaResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteTableMetaResponseUnmarshaller { + + public static DeleteTableMetaResponse unmarshall(DeleteTableMetaResponse deleteTableMetaResponse, UnmarshallerContext _ctx) { + + deleteTableMetaResponse.setRequestId(_ctx.stringValue("DeleteTableMetaResponse.RequestId")); + + return deleteTableMetaResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetABMetricGroupResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetABMetricGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..103420cd98 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetABMetricGroupResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * 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.GetABMetricGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetABMetricGroupResponseUnmarshaller { + + public static GetABMetricGroupResponse unmarshall(GetABMetricGroupResponse getABMetricGroupResponse, UnmarshallerContext _ctx) { + + getABMetricGroupResponse.setRequestId(_ctx.stringValue("GetABMetricGroupResponse.RequestId")); + getABMetricGroupResponse.setName(_ctx.stringValue("GetABMetricGroupResponse.Name")); + getABMetricGroupResponse.setSceneId(_ctx.stringValue("GetABMetricGroupResponse.SceneId")); + getABMetricGroupResponse.setDescription(_ctx.stringValue("GetABMetricGroupResponse.Description")); + getABMetricGroupResponse.setOwner(_ctx.stringValue("GetABMetricGroupResponse.Owner")); + getABMetricGroupResponse.setABMetricIds(_ctx.stringValue("GetABMetricGroupResponse.ABMetricIds")); + getABMetricGroupResponse.setABMetricNames(_ctx.stringValue("GetABMetricGroupResponse.ABMetricNames")); + getABMetricGroupResponse.setRealtime(_ctx.booleanValue("GetABMetricGroupResponse.Realtime")); + + return getABMetricGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetABMetricResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetABMetricResponseUnmarshaller.java new file mode 100644 index 0000000000..2ad0b9e10d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetABMetricResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * 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.GetABMetricResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetABMetricResponseUnmarshaller { + + public static GetABMetricResponse unmarshall(GetABMetricResponse getABMetricResponse, UnmarshallerContext _ctx) { + + getABMetricResponse.setRequestId(_ctx.stringValue("GetABMetricResponse.RequestId")); + getABMetricResponse.setName(_ctx.stringValue("GetABMetricResponse.Name")); + getABMetricResponse.setDescription(_ctx.stringValue("GetABMetricResponse.Description")); + getABMetricResponse.setSceneId(_ctx.stringValue("GetABMetricResponse.SceneId")); + getABMetricResponse.setSceneName(_ctx.stringValue("GetABMetricResponse.SceneName")); + getABMetricResponse.setType(_ctx.stringValue("GetABMetricResponse.Type")); + getABMetricResponse.setRealtime(_ctx.stringValue("GetABMetricResponse.Realtime")); + getABMetricResponse.setTableMetaId(_ctx.stringValue("GetABMetricResponse.TableMetaId")); + getABMetricResponse.setResultTableMetaId(_ctx.stringValue("GetABMetricResponse.ResultTableMetaId")); + getABMetricResponse.setResultResourceId(_ctx.stringValue("GetABMetricResponse.ResultResourceId")); + getABMetricResponse.setDefinition(_ctx.stringValue("GetABMetricResponse.Definition")); + getABMetricResponse.setStatisticsCycle(_ctx.integerValue("GetABMetricResponse.StatisticsCycle")); + getABMetricResponse.setLeftMetricId(_ctx.stringValue("GetABMetricResponse.LeftMetricId")); + getABMetricResponse.setRightMetricId(_ctx.stringValue("GetABMetricResponse.RightMetricId")); + getABMetricResponse.setOperator(_ctx.stringValue("GetABMetricResponse.Operator")); + + return getABMetricResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetCalculationJobResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetCalculationJobResponseUnmarshaller.java new file mode 100644 index 0000000000..bc98b4bf37 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetCalculationJobResponseUnmarshaller.java @@ -0,0 +1,45 @@ +/* + * 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.GetCalculationJobResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetCalculationJobResponseUnmarshaller { + + public static GetCalculationJobResponse unmarshall(GetCalculationJobResponse getCalculationJobResponse, UnmarshallerContext _ctx) { + + getCalculationJobResponse.setRequestId(_ctx.stringValue("GetCalculationJobResponse.RequestId")); + getCalculationJobResponse.setABMetricId(_ctx.stringValue("GetCalculationJobResponse.ABMetricId")); + getCalculationJobResponse.setABMetricName(_ctx.stringValue("GetCalculationJobResponse.ABMetricName")); + getCalculationJobResponse.setStatus(_ctx.stringValue("GetCalculationJobResponse.Status")); + getCalculationJobResponse.setConfig(_ctx.stringValue("GetCalculationJobResponse.Config")); + getCalculationJobResponse.setGmtRanTime(_ctx.stringValue("GetCalculationJobResponse.GmtRanTime")); + getCalculationJobResponse.setBizDate(_ctx.stringValue("GetCalculationJobResponse.BizDate")); + getCalculationJobResponse.setJobSource(_ctx.stringValue("GetCalculationJobResponse.JobSource")); + + List jobMessage = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetCalculationJobResponse.JobMessage.Length"); i++) { + jobMessage.add(_ctx.stringValue("GetCalculationJobResponse.JobMessage["+ i +"]")); + } + getCalculationJobResponse.setJobMessage(jobMessage); + + return getCalculationJobResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceResponseUnmarshaller.java new file mode 100644 index 0000000000..da3293179d --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.pairecservice.transform.v20221213; + +import com.aliyuncs.pairecservice.model.v20221213.GetInstanceResourceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetInstanceResourceResponseUnmarshaller { + + public static GetInstanceResourceResponse unmarshall(GetInstanceResourceResponse getInstanceResourceResponse, UnmarshallerContext _ctx) { + + getInstanceResourceResponse.setRequestId(_ctx.stringValue("GetInstanceResourceResponse.RequestId")); + getInstanceResourceResponse.setResourceId(_ctx.stringValue("GetInstanceResourceResponse.ResourceId")); + getInstanceResourceResponse.setCategory(_ctx.stringValue("GetInstanceResourceResponse.Category")); + getInstanceResourceResponse.setGroup(_ctx.stringValue("GetInstanceResourceResponse.Group")); + getInstanceResourceResponse.setType(_ctx.stringValue("GetInstanceResourceResponse.Type")); + getInstanceResourceResponse.setUri(_ctx.stringValue("GetInstanceResourceResponse.Uri")); + getInstanceResourceResponse.setConfig(_ctx.stringValue("GetInstanceResourceResponse.Config")); + getInstanceResourceResponse.setGmtCreateTime(_ctx.stringValue("GetInstanceResourceResponse.GmtCreateTime")); + getInstanceResourceResponse.setGmtModifiedTime(_ctx.stringValue("GetInstanceResourceResponse.GmtModifiedTime")); + + return getInstanceResourceResponse; + } +} \ No newline at end of file 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 new file mode 100644 index 0000000000..ea45c2801a --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetInstanceResourceTableResponseUnmarshaller.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.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.GetInstanceResourceTableResponse; +import com.aliyuncs.pairecservice.model.v20221213.GetInstanceResourceTableResponse.FieldsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetInstanceResourceTableResponseUnmarshaller { + + public static GetInstanceResourceTableResponse unmarshall(GetInstanceResourceTableResponse getInstanceResourceTableResponse, UnmarshallerContext _ctx) { + + getInstanceResourceTableResponse.setRequestId(_ctx.stringValue("GetInstanceResourceTableResponse.RequestId")); + getInstanceResourceTableResponse.setTableName(_ctx.stringValue("GetInstanceResourceTableResponse.TableName")); + + List fields = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetInstanceResourceTableResponse.Fields.Length"); i++) { + FieldsItem fieldsItem = new FieldsItem(); + fieldsItem.setName(_ctx.stringValue("GetInstanceResourceTableResponse.Fields["+ i +"].Name")); + fieldsItem.setType(_ctx.stringValue("GetInstanceResourceTableResponse.Fields["+ i +"].Type")); + fieldsItem.setMeaning(_ctx.stringValue("GetInstanceResourceTableResponse.Fields["+ i +"].Meaning")); + fieldsItem.setIsDimensionField(_ctx.booleanValue("GetInstanceResourceTableResponse.Fields["+ i +"].IsDimensionField")); + + fields.add(fieldsItem); + } + getInstanceResourceTableResponse.setFields(fields); + + return getInstanceResourceTableResponse; + } +} \ 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 new file mode 100644 index 0000000000..1adf5cc3ae --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/GetTableMetaResponseUnmarshaller.java @@ -0,0 +1,55 @@ +/* + * 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.GetTableMetaResponse; +import com.aliyuncs.pairecservice.model.v20221213.GetTableMetaResponse.FieldsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTableMetaResponseUnmarshaller { + + public static GetTableMetaResponse unmarshall(GetTableMetaResponse getTableMetaResponse, UnmarshallerContext _ctx) { + + getTableMetaResponse.setRequestId(_ctx.stringValue("GetTableMetaResponse.RequestId")); + getTableMetaResponse.setName(_ctx.stringValue("GetTableMetaResponse.Name")); + getTableMetaResponse.setDescription(_ctx.stringValue("GetTableMetaResponse.Description")); + getTableMetaResponse.setResourceId(_ctx.stringValue("GetTableMetaResponse.ResourceId")); + getTableMetaResponse.setTableName(_ctx.stringValue("GetTableMetaResponse.TableName")); + getTableMetaResponse.setType(_ctx.stringValue("GetTableMetaResponse.Type")); + getTableMetaResponse.setModule(_ctx.stringValue("GetTableMetaResponse.Module")); + getTableMetaResponse.setCanDelete(_ctx.booleanValue("GetTableMetaResponse.CanDelete")); + getTableMetaResponse.setGmtCreateTime(_ctx.stringValue("GetTableMetaResponse.GmtCreateTime")); + getTableMetaResponse.setGmtModifiedTime(_ctx.stringValue("GetTableMetaResponse.GmtModifiedTime")); + getTableMetaResponse.setUrl(_ctx.stringValue("GetTableMetaResponse.Url")); + + List fields = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetTableMetaResponse.Fields.Length"); i++) { + FieldsItem fieldsItem = new FieldsItem(); + fieldsItem.setName(_ctx.stringValue("GetTableMetaResponse.Fields["+ i +"].Name")); + fieldsItem.setMeaning(_ctx.stringValue("GetTableMetaResponse.Fields["+ i +"].Meaning")); + fieldsItem.setType(_ctx.stringValue("GetTableMetaResponse.Fields["+ i +"].Type")); + fieldsItem.setIsDimensionField(_ctx.booleanValue("GetTableMetaResponse.Fields["+ i +"].IsDimensionField")); + + fields.add(fieldsItem); + } + getTableMetaResponse.setFields(fields); + + return getTableMetaResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListABMetricGroupsResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListABMetricGroupsResponseUnmarshaller.java new file mode 100644 index 0000000000..5971b23ed5 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListABMetricGroupsResponseUnmarshaller.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.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.ListABMetricGroupsResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListABMetricGroupsResponse.ABMetricGroupsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListABMetricGroupsResponseUnmarshaller { + + public static ListABMetricGroupsResponse unmarshall(ListABMetricGroupsResponse listABMetricGroupsResponse, UnmarshallerContext _ctx) { + + listABMetricGroupsResponse.setRequestId(_ctx.stringValue("ListABMetricGroupsResponse.RequestId")); + listABMetricGroupsResponse.setTotalCount(_ctx.longValue("ListABMetricGroupsResponse.TotalCount")); + + List aBMetricGroups = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListABMetricGroupsResponse.ABMetricGroups.Length"); i++) { + ABMetricGroupsItem aBMetricGroupsItem = new ABMetricGroupsItem(); + aBMetricGroupsItem.setABMetricGroupId(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].ABMetricGroupId")); + aBMetricGroupsItem.setName(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].Name")); + aBMetricGroupsItem.setSceneId(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].SceneId")); + aBMetricGroupsItem.setDescription(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].Description")); + aBMetricGroupsItem.setOwner(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].Owner")); + aBMetricGroupsItem.setABMetricIds(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].ABMetricIds")); + aBMetricGroupsItem.setABMetricNames(_ctx.stringValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].ABMetricNames")); + aBMetricGroupsItem.setRealtime(_ctx.booleanValue("ListABMetricGroupsResponse.ABMetricGroups["+ i +"].Realtime")); + + aBMetricGroups.add(aBMetricGroupsItem); + } + listABMetricGroupsResponse.setABMetricGroups(aBMetricGroups); + + return listABMetricGroupsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListABMetricsResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListABMetricsResponseUnmarshaller.java new file mode 100644 index 0000000000..cbe154fcde --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListABMetricsResponseUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * 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.ListABMetricsResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListABMetricsResponse.ABMetricsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListABMetricsResponseUnmarshaller { + + public static ListABMetricsResponse unmarshall(ListABMetricsResponse listABMetricsResponse, UnmarshallerContext _ctx) { + + listABMetricsResponse.setRequestId(_ctx.stringValue("ListABMetricsResponse.RequestId")); + listABMetricsResponse.setTotalCount(_ctx.longValue("ListABMetricsResponse.TotalCount")); + + List aBMetrics = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListABMetricsResponse.ABMetrics.Length"); i++) { + ABMetricsItem aBMetricsItem = new ABMetricsItem(); + aBMetricsItem.setABMetricId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].ABMetricId")); + aBMetricsItem.setName(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].Name")); + aBMetricsItem.setDescription(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].Description")); + aBMetricsItem.setSceneId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].SceneId")); + aBMetricsItem.setSceneName(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].SceneName")); + aBMetricsItem.setType(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].Type")); + aBMetricsItem.setRealtime(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].Realtime")); + aBMetricsItem.setTableMetaId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].TableMetaId")); + aBMetricsItem.setResultTableMetaId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].ResultTableMetaId")); + aBMetricsItem.setResultResourceId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].ResultResourceId")); + aBMetricsItem.setDefinition(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].Definition")); + aBMetricsItem.setStatisticsCycle(_ctx.integerValue("ListABMetricsResponse.ABMetrics["+ i +"].StatisticsCycle")); + aBMetricsItem.setLeftMetricId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].LeftMetricId")); + aBMetricsItem.setRightMetricId(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].RightMetricId")); + aBMetricsItem.setOperator(_ctx.stringValue("ListABMetricsResponse.ABMetrics["+ i +"].Operator")); + + aBMetrics.add(aBMetricsItem); + } + listABMetricsResponse.setABMetrics(aBMetrics); + + return listABMetricsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListCalculationJobsResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListCalculationJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..c52d0788e6 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListCalculationJobsResponseUnmarshaller.java @@ -0,0 +1,55 @@ +/* + * 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.ListCalculationJobsResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListCalculationJobsResponse.CalculationJobsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCalculationJobsResponseUnmarshaller { + + public static ListCalculationJobsResponse unmarshall(ListCalculationJobsResponse listCalculationJobsResponse, UnmarshallerContext _ctx) { + + listCalculationJobsResponse.setRequestId(_ctx.stringValue("ListCalculationJobsResponse.RequestId")); + listCalculationJobsResponse.setTotalCount(_ctx.longValue("ListCalculationJobsResponse.TotalCount")); + + List calculationJobs = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCalculationJobsResponse.CalculationJobs.Length"); i++) { + CalculationJobsItem calculationJobsItem = new CalculationJobsItem(); + calculationJobsItem.setCalculationJobId(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].CalculationJobId")); + calculationJobsItem.setABMetricName(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].ABMetricName")); + calculationJobsItem.setStatus(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].Status")); + calculationJobsItem.setConfig(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].Config")); + calculationJobsItem.setGmtRanTime(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].GmtRanTime")); + calculationJobsItem.setBizDate(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].BizDate")); + calculationJobsItem.setJobSource(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].JobSource")); + + List jobMessage = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].JobMessage.Length"); j++) { + jobMessage.add(_ctx.stringValue("ListCalculationJobsResponse.CalculationJobs["+ i +"].JobMessage["+ j +"]")); + } + calculationJobsItem.setJobMessage(jobMessage); + + calculationJobs.add(calculationJobsItem); + } + listCalculationJobsResponse.setCalculationJobs(calculationJobs); + + return listCalculationJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListInstanceResourcesResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListInstanceResourcesResponseUnmarshaller.java new file mode 100644 index 0000000000..159538f93e --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListInstanceResourcesResponseUnmarshaller.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.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.ListInstanceResourcesResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListInstanceResourcesResponse.ResourcesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListInstanceResourcesResponseUnmarshaller { + + public static ListInstanceResourcesResponse unmarshall(ListInstanceResourcesResponse listInstanceResourcesResponse, UnmarshallerContext _ctx) { + + listInstanceResourcesResponse.setRequestId(_ctx.stringValue("ListInstanceResourcesResponse.RequestId")); + listInstanceResourcesResponse.setTotalCount(_ctx.longValue("ListInstanceResourcesResponse.TotalCount")); + + List resources = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListInstanceResourcesResponse.Resources.Length"); i++) { + ResourcesItem resourcesItem = new ResourcesItem(); + resourcesItem.setResourceId(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].ResourceId")); + resourcesItem.setCategory(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].Category")); + resourcesItem.setGroup(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].Group")); + resourcesItem.setType(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].Type")); + resourcesItem.setUri(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].Uri")); + resourcesItem.setConfig(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].Config")); + resourcesItem.setGmtCreateAt(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].GmtCreateAt")); + resourcesItem.setGmtModifiedAt(_ctx.stringValue("ListInstanceResourcesResponse.Resources["+ i +"].GmtModifiedAt")); + + resources.add(resourcesItem); + } + listInstanceResourcesResponse.setResources(resources); + + return listInstanceResourcesResponse; + } +} \ 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 new file mode 100644 index 0000000000..d9a5561dfb --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ListTableMetasResponseUnmarshaller.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.transform.v20221213; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.pairecservice.model.v20221213.ListTableMetasResponse; +import com.aliyuncs.pairecservice.model.v20221213.ListTableMetasResponse.TableMetasItem; +import com.aliyuncs.pairecservice.model.v20221213.ListTableMetasResponse.TableMetasItem.FieldsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTableMetasResponseUnmarshaller { + + public static ListTableMetasResponse unmarshall(ListTableMetasResponse listTableMetasResponse, UnmarshallerContext _ctx) { + + listTableMetasResponse.setRequestId(_ctx.stringValue("ListTableMetasResponse.RequestId")); + listTableMetasResponse.setTotalCount(_ctx.longValue("ListTableMetasResponse.TotalCount")); + + List tableMetas = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTableMetasResponse.TableMetas.Length"); i++) { + TableMetasItem tableMetasItem = new TableMetasItem(); + tableMetasItem.setTableMetaId(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].TableMetaId")); + tableMetasItem.setName(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Name")); + tableMetasItem.setDescription(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Description")); + tableMetasItem.setResourceId(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].ResourceId")); + tableMetasItem.setTableName(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].TableName")); + tableMetasItem.setType(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Type")); + tableMetasItem.setModule(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Module")); + tableMetasItem.setCanDelete(_ctx.booleanValue("ListTableMetasResponse.TableMetas["+ i +"].CanDelete")); + tableMetasItem.setGmtCreateTime(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].GmtCreateTime")); + tableMetasItem.setGmtModifiedTime(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].GmtModifiedTime")); + tableMetasItem.setGmtImportedTime(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].GmtImportedTime")); + tableMetasItem.setUrl(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Url")); + + List fields = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTableMetasResponse.TableMetas["+ i +"].Fields.Length"); j++) { + FieldsItem fieldsItem = new FieldsItem(); + fieldsItem.setName(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Fields["+ j +"].Name")); + fieldsItem.setMeaning(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Fields["+ j +"].Meaning")); + fieldsItem.setType(_ctx.stringValue("ListTableMetasResponse.TableMetas["+ i +"].Fields["+ j +"].Type")); + fieldsItem.setIsDimensionField(_ctx.booleanValue("ListTableMetasResponse.TableMetas["+ i +"].Fields["+ j +"].IsDimensionField")); + + fields.add(fieldsItem); + } + tableMetasItem.setFields(fields); + + tableMetas.add(tableMetasItem); + } + listTableMetasResponse.setTableMetas(tableMetas); + + return listTableMetasResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReportABMetricGroupResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReportABMetricGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..ed85bcf731 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/ReportABMetricGroupResponseUnmarshaller.java @@ -0,0 +1,40 @@ +/* + * 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.ReportABMetricGroupResponse; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ReportABMetricGroupResponseUnmarshaller { + + public static ReportABMetricGroupResponse unmarshall(ReportABMetricGroupResponse reportABMetricGroupResponse, UnmarshallerContext _ctx) { + + reportABMetricGroupResponse.setRequestId(_ctx.stringValue("ReportABMetricGroupResponse.RequestId")); + reportABMetricGroupResponse.setExperimentReport(_ctx.mapValue("ReportABMetricGroupResponse.ExperimentReport")); + + List groupDimension = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ReportABMetricGroupResponse.GroupDimension.Length"); i++) { + groupDimension.add(_ctx.stringValue("ReportABMetricGroupResponse.GroupDimension["+ i +"]")); + } + reportABMetricGroupResponse.setGroupDimension(groupDimension); + + return reportABMetricGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateABMetricGroupResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateABMetricGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..aa2175e287 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateABMetricGroupResponseUnmarshaller.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.UpdateABMetricGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateABMetricGroupResponseUnmarshaller { + + public static UpdateABMetricGroupResponse unmarshall(UpdateABMetricGroupResponse updateABMetricGroupResponse, UnmarshallerContext _ctx) { + + updateABMetricGroupResponse.setRequestId(_ctx.stringValue("UpdateABMetricGroupResponse.RequestId")); + + return updateABMetricGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateABMetricResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateABMetricResponseUnmarshaller.java new file mode 100644 index 0000000000..6239a55a72 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateABMetricResponseUnmarshaller.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.UpdateABMetricResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateABMetricResponseUnmarshaller { + + public static UpdateABMetricResponse unmarshall(UpdateABMetricResponse updateABMetricResponse, UnmarshallerContext _ctx) { + + updateABMetricResponse.setRequestId(_ctx.stringValue("UpdateABMetricResponse.RequestId")); + + return updateABMetricResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateInstanceResourceResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateInstanceResourceResponseUnmarshaller.java new file mode 100644 index 0000000000..c4771bcdb4 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateInstanceResourceResponseUnmarshaller.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.UpdateInstanceResourceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateInstanceResourceResponseUnmarshaller { + + public static UpdateInstanceResourceResponse unmarshall(UpdateInstanceResourceResponse updateInstanceResourceResponse, UnmarshallerContext _ctx) { + + updateInstanceResourceResponse.setRequestId(_ctx.stringValue("UpdateInstanceResourceResponse.RequestId")); + + return updateInstanceResourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTableMetaResponseUnmarshaller.java b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTableMetaResponseUnmarshaller.java new file mode 100644 index 0000000000..97d9e75646 --- /dev/null +++ b/aliyun-java-sdk-pairecservice/src/main/java/com/aliyuncs/pairecservice/transform/v20221213/UpdateTableMetaResponseUnmarshaller.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.UpdateTableMetaResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateTableMetaResponseUnmarshaller { + + public static UpdateTableMetaResponse unmarshall(UpdateTableMetaResponse updateTableMetaResponse, UnmarshallerContext _ctx) { + + updateTableMetaResponse.setRequestId(_ctx.stringValue("UpdateTableMetaResponse.RequestId")); + + return updateTableMetaResponse; + } +} \ No newline at end of file