Skip to content

Commit

Permalink
Generated 2022-12-13 for PaiRecService.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 12, 2024
1 parent 851a4bf commit 9c8335a
Show file tree
Hide file tree
Showing 118 changed files with 7,388 additions and 5 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-pairecservice/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-07-12 Version: 1.0.4
- Generated 2022-12-13 for `PaiRecService`.

2023-12-21 Version: 1.0.3
- Add api about ABMetric, ABMetricGroup, CalculationJob.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-pairecservice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-pairecservice</artifactId>
<packaging>jar</packaging>
<version>1.0.3</version>
<version>1.0.4</version>
<name>aliyun-java-sdk-pairecservice</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.pairecservice.model.v20221213;

import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class CloneTrafficControlTaskRequest extends RoaAcsRequest<CloneTrafficControlTaskResponse> {


private String trafficControlTaskId;

private String body;
public CloneTrafficControlTaskRequest() {
super("PaiRecService", "2022-12-13", "CloneTrafficControlTask");
setUriPattern("/api/v1/trafficcontroltasks/[TrafficControlTaskId]/action/clone");
setMethod(MethodType.POST);
}

public String getTrafficControlTaskId() {
return this.trafficControlTaskId;
}

public void setTrafficControlTaskId(String trafficControlTaskId) {
this.trafficControlTaskId = trafficControlTaskId;
if(trafficControlTaskId != null){
putPathParameter("TrafficControlTaskId", trafficControlTaskId);
}
}

public String getBody() {
return this.body;
}

public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}

@Override
public Class<CloneTrafficControlTaskResponse> getResponseClass() {
return CloneTrafficControlTaskResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.pairecservice.model.v20221213;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.pairecservice.transform.v20221213.CloneTrafficControlTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CloneTrafficControlTaskResponse extends AcsResponse {

private String requestId;

private String trafficControlTaskId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getTrafficControlTaskId() {
return this.trafficControlTaskId;
}

public void setTrafficControlTaskId(String trafficControlTaskId) {
this.trafficControlTaskId = trafficControlTaskId;
}

@Override
public CloneTrafficControlTaskResponse getInstance(UnmarshallerContext context) {
return CloneTrafficControlTaskResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.pairecservice.model.v20221213;

import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class CreateResourceRuleItemRequest extends RoaAcsRequest<CreateResourceRuleItemResponse> {


private String body;

private String resourceRuleId;
public CreateResourceRuleItemRequest() {
super("PaiRecService", "2022-12-13", "CreateResourceRuleItem");
setUriPattern("/api/v1/resourcerules/[ResourceRuleId]/items");
setMethod(MethodType.POST);
}

public String getBody() {
return this.body;
}

public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}

public String getResourceRuleId() {
return this.resourceRuleId;
}

public void setResourceRuleId(String resourceRuleId) {
this.resourceRuleId = resourceRuleId;
if(resourceRuleId != null){
putPathParameter("ResourceRuleId", resourceRuleId);
}
}

@Override
public Class<CreateResourceRuleItemResponse> getResponseClass() {
return CreateResourceRuleItemResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.pairecservice.model.v20221213;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.pairecservice.transform.v20221213.CreateResourceRuleItemResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CreateResourceRuleItemResponse extends AcsResponse {

private String requestId;

private String resourceRuleItemId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getResourceRuleItemId() {
return this.resourceRuleItemId;
}

public void setResourceRuleItemId(String resourceRuleItemId) {
this.resourceRuleItemId = resourceRuleItemId;
}

@Override
public CreateResourceRuleItemResponse getInstance(UnmarshallerContext context) {
return CreateResourceRuleItemResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.pairecservice.model.v20221213;

import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class CreateResourceRuleRequest extends RoaAcsRequest<CreateResourceRuleResponse> {


private String body;
public CreateResourceRuleRequest() {
super("PaiRecService", "2022-12-13", "CreateResourceRule");
setUriPattern("/api/v1/resourcerules");
setMethod(MethodType.POST);
}

public String getBody() {
return this.body;
}

public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}

@Override
public Class<CreateResourceRuleResponse> getResponseClass() {
return CreateResourceRuleResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.pairecservice.model.v20221213;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.pairecservice.transform.v20221213.CreateResourceRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CreateResourceRuleResponse extends AcsResponse {

private String requestId;

private String resourceRuleId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getResourceRuleId() {
return this.resourceRuleId;
}

public void setResourceRuleId(String resourceRuleId) {
this.resourceRuleId = resourceRuleId;
}

@Override
public CreateResourceRuleResponse getInstance(UnmarshallerContext context) {
return CreateResourceRuleResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Loading

0 comments on commit 9c8335a

Please sign in to comment.