Skip to content

Commit cfb4c1b

Browse files
update iam
1 parent d3ea577 commit cfb4c1b

9 files changed

Lines changed: 2115 additions & 0 deletions

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

Lines changed: 505 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
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+
* AddSAMLProviderCertificateRequest
28+
*/
29+
30+
31+
32+
public class AddSAMLProviderCertificateRequest {
33+
@SerializedName("SAMLProviderName")
34+
private String saMLProviderName = null;
35+
36+
@SerializedName("X509Certificate")
37+
private String x509Certificate = null;
38+
39+
public AddSAMLProviderCertificateRequest saMLProviderName(String saMLProviderName) {
40+
this.saMLProviderName = saMLProviderName;
41+
return this;
42+
}
43+
44+
/**
45+
* Get saMLProviderName
46+
* @return saMLProviderName
47+
**/
48+
@NotNull
49+
@Schema(required = true, description = "")
50+
public String getSaMLProviderName() {
51+
return saMLProviderName;
52+
}
53+
54+
public void setSaMLProviderName(String saMLProviderName) {
55+
this.saMLProviderName = saMLProviderName;
56+
}
57+
58+
public AddSAMLProviderCertificateRequest x509Certificate(String x509Certificate) {
59+
this.x509Certificate = x509Certificate;
60+
return this;
61+
}
62+
63+
/**
64+
* Get x509Certificate
65+
* @return x509Certificate
66+
**/
67+
@NotNull
68+
@Schema(required = true, description = "")
69+
public String getX509Certificate() {
70+
return x509Certificate;
71+
}
72+
73+
public void setX509Certificate(String x509Certificate) {
74+
this.x509Certificate = x509Certificate;
75+
}
76+
77+
78+
@Override
79+
public boolean equals(java.lang.Object o) {
80+
if (this == o) {
81+
return true;
82+
}
83+
if (o == null || getClass() != o.getClass()) {
84+
return false;
85+
}
86+
AddSAMLProviderCertificateRequest addSAMLProviderCertificateRequest = (AddSAMLProviderCertificateRequest) o;
87+
return Objects.equals(this.saMLProviderName, addSAMLProviderCertificateRequest.saMLProviderName) &&
88+
Objects.equals(this.x509Certificate, addSAMLProviderCertificateRequest.x509Certificate);
89+
}
90+
91+
@Override
92+
public int hashCode() {
93+
return Objects.hash(saMLProviderName, x509Certificate);
94+
}
95+
96+
97+
@Override
98+
public String toString() {
99+
StringBuilder sb = new StringBuilder();
100+
sb.append("class AddSAMLProviderCertificateRequest {\n");
101+
102+
sb.append(" saMLProviderName: ").append(toIndentedString(saMLProviderName)).append("\n");
103+
sb.append(" x509Certificate: ").append(toIndentedString(x509Certificate)).append("\n");
104+
sb.append("}");
105+
return sb.toString();
106+
}
107+
108+
/**
109+
* Convert the given object to string with each line indented by 4 spaces
110+
* (except the first line).
111+
*/
112+
private String toIndentedString(java.lang.Object o) {
113+
if (o == null) {
114+
return "null";
115+
}
116+
return o.toString().replace("\n", "\n ");
117+
}
118+
119+
}
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* AddSAMLProviderCertificateResponse
28+
*/
29+
30+
31+
32+
public class AddSAMLProviderCertificateResponse extends com.volcengine.model.AbstractResponse {
33+
@SerializedName("CertificateId")
34+
private String certificateId = null;
35+
36+
public AddSAMLProviderCertificateResponse certificateId(String certificateId) {
37+
this.certificateId = certificateId;
38+
return this;
39+
}
40+
41+
/**
42+
* Get certificateId
43+
* @return certificateId
44+
**/
45+
@Schema(description = "")
46+
public String getCertificateId() {
47+
return certificateId;
48+
}
49+
50+
public void setCertificateId(String certificateId) {
51+
this.certificateId = certificateId;
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+
AddSAMLProviderCertificateResponse addSAMLProviderCertificateResponse = (AddSAMLProviderCertificateResponse) o;
64+
return Objects.equals(this.certificateId, addSAMLProviderCertificateResponse.certificateId);
65+
}
66+
67+
@Override
68+
public int hashCode() {
69+
return Objects.hash(certificateId);
70+
}
71+
72+
73+
@Override
74+
public String toString() {
75+
StringBuilder sb = new StringBuilder();
76+
sb.append("class AddSAMLProviderCertificateResponse {\n");
77+
78+
sb.append(" certificateId: ").append(toIndentedString(certificateId)).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)