Skip to content

Commit 5ed8cfc

Browse files
author
BitsAdmin
committed
Merge branch 'local/iam20180101_0102_Get' into 'integration_2025-01-02_663693108482'
feat: [development task] iam-manual-java (951616) See merge request iaasng/volcengine-java-sdk!348
2 parents 2ba324e + cfb4c1b commit 5ed8cfc

43 files changed

Lines changed: 2924 additions & 1160 deletions

Some content is hidden

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

volcengine-java-sdk-iam/src/main/java/com/volcengine/iam/IamApi.java

Lines changed: 427 additions & 427 deletions
Large diffs are not rendered by default.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
* iam
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.iam.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+
* AccessKeyLastUsedForGetAccessKeyLastUsedOutput
28+
*/
29+
30+
31+
32+
public class AccessKeyLastUsedForGetAccessKeyLastUsedOutput {
33+
@SerializedName("Region")
34+
private String region = null;
35+
36+
@SerializedName("RequestTime")
37+
private String requestTime = null;
38+
39+
@SerializedName("Service")
40+
private String service = null;
41+
42+
public AccessKeyLastUsedForGetAccessKeyLastUsedOutput region(String region) {
43+
this.region = region;
44+
return this;
45+
}
46+
47+
/**
48+
* Get region
49+
* @return region
50+
**/
51+
@Schema(description = "")
52+
public String getRegion() {
53+
return region;
54+
}
55+
56+
public void setRegion(String region) {
57+
this.region = region;
58+
}
59+
60+
public AccessKeyLastUsedForGetAccessKeyLastUsedOutput requestTime(String requestTime) {
61+
this.requestTime = requestTime;
62+
return this;
63+
}
64+
65+
/**
66+
* Get requestTime
67+
* @return requestTime
68+
**/
69+
@Schema(description = "")
70+
public String getRequestTime() {
71+
return requestTime;
72+
}
73+
74+
public void setRequestTime(String requestTime) {
75+
this.requestTime = requestTime;
76+
}
77+
78+
public AccessKeyLastUsedForGetAccessKeyLastUsedOutput service(String service) {
79+
this.service = service;
80+
return this;
81+
}
82+
83+
/**
84+
* Get service
85+
* @return service
86+
**/
87+
@Schema(description = "")
88+
public String getService() {
89+
return service;
90+
}
91+
92+
public void setService(String service) {
93+
this.service = service;
94+
}
95+
96+
97+
@Override
98+
public boolean equals(java.lang.Object o) {
99+
if (this == o) {
100+
return true;
101+
}
102+
if (o == null || getClass() != o.getClass()) {
103+
return false;
104+
}
105+
AccessKeyLastUsedForGetAccessKeyLastUsedOutput accessKeyLastUsedForGetAccessKeyLastUsedOutput = (AccessKeyLastUsedForGetAccessKeyLastUsedOutput) o;
106+
return Objects.equals(this.region, accessKeyLastUsedForGetAccessKeyLastUsedOutput.region) &&
107+
Objects.equals(this.requestTime, accessKeyLastUsedForGetAccessKeyLastUsedOutput.requestTime) &&
108+
Objects.equals(this.service, accessKeyLastUsedForGetAccessKeyLastUsedOutput.service);
109+
}
110+
111+
@Override
112+
public int hashCode() {
113+
return Objects.hash(region, requestTime, service);
114+
}
115+
116+
117+
@Override
118+
public String toString() {
119+
StringBuilder sb = new StringBuilder();
120+
sb.append("class AccessKeyLastUsedForGetAccessKeyLastUsedOutput {\n");
121+
122+
sb.append(" region: ").append(toIndentedString(region)).append("\n");
123+
sb.append(" requestTime: ").append(toIndentedString(requestTime)).append("\n");
124+
sb.append(" service: ").append(toIndentedString(service)).append("\n");
125+
sb.append("}");
126+
return sb.toString();
127+
}
128+
129+
/**
130+
* Convert the given object to string with each line indented by 4 spaces
131+
* (except the first line).
132+
*/
133+
private String toIndentedString(java.lang.Object o) {
134+
if (o == null) {
135+
return "null";
136+
}
137+
return o.toString().replace("\n", "\n ");
138+
}
139+
140+
}

volcengine-java-sdk-iam/src/main/java/com/volcengine/iam/model/AddSAMLProviderCertificateRequest.java

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,17 @@
1212

1313
package com.volcengine.iam.model;
1414

15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
1519
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
1622
import io.swagger.v3.oas.annotations.media.Schema;
17-
18-
import javax.validation.constraints.NotNull;
19-
import java.util.Objects;
20-
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
2126
/**
2227
* AddSAMLProviderCertificateRequest
2328
*/
@@ -71,7 +76,7 @@ public void setX509Certificate(String x509Certificate) {
7176

7277

7378
@Override
74-
public boolean equals(Object o) {
79+
public boolean equals(java.lang.Object o) {
7580
if (this == o) {
7681
return true;
7782
}
@@ -104,7 +109,7 @@ public String toString() {
104109
* Convert the given object to string with each line indented by 4 spaces
105110
* (except the first line).
106111
*/
107-
private String toIndentedString(Object o) {
112+
private String toIndentedString(java.lang.Object o) {
108113
if (o == null) {
109114
return "null";
110115
}

volcengine-java-sdk-iam/src/main/java/com/volcengine/iam/model/AddSAMLProviderCertificateResponse.java

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@
1212

1313
package com.volcengine.iam.model;
1414

15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
1519
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
1622
import io.swagger.v3.oas.annotations.media.Schema;
17-
18-
import java.util.Objects;
19-
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
2026
/**
2127
* AddSAMLProviderCertificateResponse
2228
*/
@@ -47,7 +53,7 @@ public void setCertificateId(String certificateId) {
4753

4854

4955
@Override
50-
public boolean equals(Object o) {
56+
public boolean equals(java.lang.Object o) {
5157
if (this == o) {
5258
return true;
5359
}
@@ -78,7 +84,7 @@ public String toString() {
7884
* Convert the given object to string with each line indented by 4 spaces
7985
* (except the first line).
8086
*/
81-
private String toIndentedString(Object o) {
87+
private String toIndentedString(java.lang.Object o) {
8288
if (o == null) {
8389
return "null";
8490
}

volcengine-java-sdk-iam/src/main/java/com/volcengine/iam/model/ChangeSecureContactInfoRequest.java

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)