Skip to content

Commit 0e17ffa

Browse files
ci_volc_sdk_genvolc-sdk-team
authored andcommitted
feat: auto generate for ml_platform-Java-2024-07-01-online-1299-2025_06_18_14_32_37
1 parent d824f5e commit 0e17ffa

File tree

66 files changed

+9037
-170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+9037
-170
lines changed

volcengine-java-sdk-mlplatform20240701/src/main/java/com/volcengine/mlplatform20240701/MlPlatform20240701Api.java

Lines changed: 1002 additions & 120 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
/*
2+
* ml_platform20240701
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.mlplatform20240701.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import java.util.ArrayList;
25+
import java.util.List;
26+
import javax.validation.constraints.*;
27+
import javax.validation.Valid;
28+
/**
29+
* AllocatedComputeResourceForListResourceReservationRecordsOutput
30+
*/
31+
32+
33+
34+
public class AllocatedComputeResourceForListResourceReservationRecordsOutput {
35+
@SerializedName("Count")
36+
private Long count = null;
37+
38+
@SerializedName("InstanceTypeId")
39+
private String instanceTypeId = null;
40+
41+
@SerializedName("ZoneIds")
42+
private List<String> zoneIds = null;
43+
44+
public AllocatedComputeResourceForListResourceReservationRecordsOutput count(Long count) {
45+
this.count = count;
46+
return this;
47+
}
48+
49+
/**
50+
* Get count
51+
* @return count
52+
**/
53+
@Schema(description = "")
54+
public Long getCount() {
55+
return count;
56+
}
57+
58+
public void setCount(Long count) {
59+
this.count = count;
60+
}
61+
62+
public AllocatedComputeResourceForListResourceReservationRecordsOutput instanceTypeId(String instanceTypeId) {
63+
this.instanceTypeId = instanceTypeId;
64+
return this;
65+
}
66+
67+
/**
68+
* Get instanceTypeId
69+
* @return instanceTypeId
70+
**/
71+
@Schema(description = "")
72+
public String getInstanceTypeId() {
73+
return instanceTypeId;
74+
}
75+
76+
public void setInstanceTypeId(String instanceTypeId) {
77+
this.instanceTypeId = instanceTypeId;
78+
}
79+
80+
public AllocatedComputeResourceForListResourceReservationRecordsOutput zoneIds(List<String> zoneIds) {
81+
this.zoneIds = zoneIds;
82+
return this;
83+
}
84+
85+
public AllocatedComputeResourceForListResourceReservationRecordsOutput addZoneIdsItem(String zoneIdsItem) {
86+
if (this.zoneIds == null) {
87+
this.zoneIds = new ArrayList<String>();
88+
}
89+
this.zoneIds.add(zoneIdsItem);
90+
return this;
91+
}
92+
93+
/**
94+
* Get zoneIds
95+
* @return zoneIds
96+
**/
97+
@Schema(description = "")
98+
public List<String> getZoneIds() {
99+
return zoneIds;
100+
}
101+
102+
public void setZoneIds(List<String> zoneIds) {
103+
this.zoneIds = zoneIds;
104+
}
105+
106+
107+
@Override
108+
public boolean equals(java.lang.Object o) {
109+
if (this == o) {
110+
return true;
111+
}
112+
if (o == null || getClass() != o.getClass()) {
113+
return false;
114+
}
115+
AllocatedComputeResourceForListResourceReservationRecordsOutput allocatedComputeResourceForListResourceReservationRecordsOutput = (AllocatedComputeResourceForListResourceReservationRecordsOutput) o;
116+
return Objects.equals(this.count, allocatedComputeResourceForListResourceReservationRecordsOutput.count) &&
117+
Objects.equals(this.instanceTypeId, allocatedComputeResourceForListResourceReservationRecordsOutput.instanceTypeId) &&
118+
Objects.equals(this.zoneIds, allocatedComputeResourceForListResourceReservationRecordsOutput.zoneIds);
119+
}
120+
121+
@Override
122+
public int hashCode() {
123+
return Objects.hash(count, instanceTypeId, zoneIds);
124+
}
125+
126+
127+
@Override
128+
public String toString() {
129+
StringBuilder sb = new StringBuilder();
130+
sb.append("class AllocatedComputeResourceForListResourceReservationRecordsOutput {\n");
131+
132+
sb.append(" count: ").append(toIndentedString(count)).append("\n");
133+
sb.append(" instanceTypeId: ").append(toIndentedString(instanceTypeId)).append("\n");
134+
sb.append(" zoneIds: ").append(toIndentedString(zoneIds)).append("\n");
135+
sb.append("}");
136+
return sb.toString();
137+
}
138+
139+
/**
140+
* Convert the given object to string with each line indented by 4 spaces
141+
* (except the first line).
142+
*/
143+
private String toIndentedString(java.lang.Object o) {
144+
if (o == null) {
145+
return "null";
146+
}
147+
return o.toString().replace("\n", "\n ");
148+
}
149+
150+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/*
2+
* ml_platform20240701
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.mlplatform20240701.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* CancelResourceReservationPlanRequest
28+
*/
29+
30+
31+
32+
public class CancelResourceReservationPlanRequest {
33+
@SerializedName("DryRun")
34+
private Boolean dryRun = null;
35+
36+
@SerializedName("Id")
37+
private String id = null;
38+
39+
public CancelResourceReservationPlanRequest dryRun(Boolean dryRun) {
40+
this.dryRun = dryRun;
41+
return this;
42+
}
43+
44+
/**
45+
* Get dryRun
46+
* @return dryRun
47+
**/
48+
@Schema(description = "")
49+
public Boolean isDryRun() {
50+
return dryRun;
51+
}
52+
53+
public void setDryRun(Boolean dryRun) {
54+
this.dryRun = dryRun;
55+
}
56+
57+
public CancelResourceReservationPlanRequest id(String id) {
58+
this.id = id;
59+
return this;
60+
}
61+
62+
/**
63+
* Get id
64+
* @return id
65+
**/
66+
@NotNull
67+
@Schema(required = true, description = "")
68+
public String getId() {
69+
return id;
70+
}
71+
72+
public void setId(String id) {
73+
this.id = id;
74+
}
75+
76+
77+
@Override
78+
public boolean equals(java.lang.Object o) {
79+
if (this == o) {
80+
return true;
81+
}
82+
if (o == null || getClass() != o.getClass()) {
83+
return false;
84+
}
85+
CancelResourceReservationPlanRequest cancelResourceReservationPlanRequest = (CancelResourceReservationPlanRequest) o;
86+
return Objects.equals(this.dryRun, cancelResourceReservationPlanRequest.dryRun) &&
87+
Objects.equals(this.id, cancelResourceReservationPlanRequest.id);
88+
}
89+
90+
@Override
91+
public int hashCode() {
92+
return Objects.hash(dryRun, id);
93+
}
94+
95+
96+
@Override
97+
public String toString() {
98+
StringBuilder sb = new StringBuilder();
99+
sb.append("class CancelResourceReservationPlanRequest {\n");
100+
101+
sb.append(" dryRun: ").append(toIndentedString(dryRun)).append("\n");
102+
sb.append(" id: ").append(toIndentedString(id)).append("\n");
103+
sb.append("}");
104+
return sb.toString();
105+
}
106+
107+
/**
108+
* Convert the given object to string with each line indented by 4 spaces
109+
* (except the first line).
110+
*/
111+
private String toIndentedString(java.lang.Object o) {
112+
if (o == null) {
113+
return "null";
114+
}
115+
return o.toString().replace("\n", "\n ");
116+
}
117+
118+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
* ml_platform20240701
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.mlplatform20240701.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* CancelResourceReservationPlanResponse
28+
*/
29+
30+
31+
32+
public class CancelResourceReservationPlanResponse extends com.volcengine.model.AbstractResponse {
33+
@SerializedName("Id")
34+
private String id = null;
35+
36+
public CancelResourceReservationPlanResponse id(String id) {
37+
this.id = id;
38+
return this;
39+
}
40+
41+
/**
42+
* Get id
43+
* @return id
44+
**/
45+
@Schema(description = "")
46+
public String getId() {
47+
return id;
48+
}
49+
50+
public void setId(String id) {
51+
this.id = id;
52+
}
53+
54+
55+
@Override
56+
public boolean equals(java.lang.Object o) {
57+
if (this == o) {
58+
return true;
59+
}
60+
if (o == null || getClass() != o.getClass()) {
61+
return false;
62+
}
63+
CancelResourceReservationPlanResponse cancelResourceReservationPlanResponse = (CancelResourceReservationPlanResponse) o;
64+
return Objects.equals(this.id, cancelResourceReservationPlanResponse.id);
65+
}
66+
67+
@Override
68+
public int hashCode() {
69+
return Objects.hash(id);
70+
}
71+
72+
73+
@Override
74+
public String toString() {
75+
StringBuilder sb = new StringBuilder();
76+
sb.append("class CancelResourceReservationPlanResponse {\n");
77+
78+
sb.append(" id: ").append(toIndentedString(id)).append("\n");
79+
sb.append("}");
80+
return sb.toString();
81+
}
82+
83+
/**
84+
* Convert the given object to string with each line indented by 4 spaces
85+
* (except the first line).
86+
*/
87+
private String toIndentedString(java.lang.Object o) {
88+
if (o == null) {
89+
return "null";
90+
}
91+
return o.toString().replace("\n", "\n ");
92+
}
93+
94+
}

0 commit comments

Comments
 (0)