Skip to content

Commit f1b1f0a

Browse files
authored
Update client code for f8ce855050efb5f06826725efe108f37b6d77e15 (#40)
1 parent 5afd1a8 commit f1b1f0a

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

src/main/java/io/gopluslabs/client/model/ResponseWrapperSolanaTokenSecurityCreator.java renamed to src/main/java/io/gopluslabs/client/model/ResponseWrapperSolanaTokenSecurityCreators.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
import io.swagger.v3.oas.annotations.media.Schema;
2323
import java.io.IOException;
2424
/**
25-
* ResponseWrapperSolanaTokenSecurityCreator
25+
* ResponseWrapperSolanaTokenSecurityCreators
2626
*/
2727

2828

2929

30-
public class ResponseWrapperSolanaTokenSecurityCreator {
30+
public class ResponseWrapperSolanaTokenSecurityCreators {
3131
@SerializedName("address")
3232
private String address = null;
3333

3434
@SerializedName("malicious_address")
3535
private Integer maliciousAddress = null;
3636

37-
public ResponseWrapperSolanaTokenSecurityCreator address(String address) {
37+
public ResponseWrapperSolanaTokenSecurityCreators address(String address) {
3838
this.address = address;
3939
return this;
4040
}
@@ -52,7 +52,7 @@ public void setAddress(String address) {
5252
this.address = address;
5353
}
5454

55-
public ResponseWrapperSolanaTokenSecurityCreator maliciousAddress(Integer maliciousAddress) {
55+
public ResponseWrapperSolanaTokenSecurityCreators maliciousAddress(Integer maliciousAddress) {
5656
this.maliciousAddress = maliciousAddress;
5757
return this;
5858
}
@@ -79,9 +79,9 @@ public boolean equals(java.lang.Object o) {
7979
if (o == null || getClass() != o.getClass()) {
8080
return false;
8181
}
82-
ResponseWrapperSolanaTokenSecurityCreator responseWrapperSolanaTokenSecurityCreator = (ResponseWrapperSolanaTokenSecurityCreator) o;
83-
return Objects.equals(this.address, responseWrapperSolanaTokenSecurityCreator.address) &&
84-
Objects.equals(this.maliciousAddress, responseWrapperSolanaTokenSecurityCreator.maliciousAddress);
82+
ResponseWrapperSolanaTokenSecurityCreators responseWrapperSolanaTokenSecurityCreators = (ResponseWrapperSolanaTokenSecurityCreators) o;
83+
return Objects.equals(this.address, responseWrapperSolanaTokenSecurityCreators.address) &&
84+
Objects.equals(this.maliciousAddress, responseWrapperSolanaTokenSecurityCreators.maliciousAddress);
8585
}
8686

8787
@Override
@@ -93,7 +93,7 @@ public int hashCode() {
9393
@Override
9494
public String toString() {
9595
StringBuilder sb = new StringBuilder();
96-
sb.append("class ResponseWrapperSolanaTokenSecurityCreator {\n");
96+
sb.append("class ResponseWrapperSolanaTokenSecurityCreators {\n");
9797

9898
sb.append(" address: ").append(toIndentedString(address)).append("\n");
9999
sb.append(" maliciousAddress: ").append(toIndentedString(maliciousAddress)).append("\n");

src/main/java/io/gopluslabs/client/model/ResponseWrapperSolanaTokenSecurityResult.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import com.google.gson.stream.JsonWriter;
2222
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityBalanceMutableAuthority;
2323
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityClosable;
24-
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityCreator;
24+
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityCreators;
2525
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityDefaultAccountStateUpgradable;
2626
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityDex;
2727
import io.gopluslabs.client.model.ResponseWrapperSolanaTokenSecurityFreezable;
@@ -48,8 +48,8 @@ public class ResponseWrapperSolanaTokenSecurityResult {
4848
@SerializedName("metadata")
4949
private ResponseWrapperSolanaTokenSecurityMetadata metadata = null;
5050

51-
@SerializedName("creator")
52-
private List<ResponseWrapperSolanaTokenSecurityCreator> creator = null;
51+
@SerializedName("creators")
52+
private List<ResponseWrapperSolanaTokenSecurityCreators> creators = null;
5353

5454
@SerializedName("lp_holders")
5555
private List<ResponseWrapperSolanaTokenSecurityLpHolders> lpHolders = null;
@@ -117,30 +117,30 @@ public void setMetadata(ResponseWrapperSolanaTokenSecurityMetadata metadata) {
117117
this.metadata = metadata;
118118
}
119119

120-
public ResponseWrapperSolanaTokenSecurityResult creator(List<ResponseWrapperSolanaTokenSecurityCreator> creator) {
121-
this.creator = creator;
120+
public ResponseWrapperSolanaTokenSecurityResult creators(List<ResponseWrapperSolanaTokenSecurityCreators> creators) {
121+
this.creators = creators;
122122
return this;
123123
}
124124

125-
public ResponseWrapperSolanaTokenSecurityResult addCreatorItem(ResponseWrapperSolanaTokenSecurityCreator creatorItem) {
126-
if (this.creator == null) {
127-
this.creator = new ArrayList<ResponseWrapperSolanaTokenSecurityCreator>();
125+
public ResponseWrapperSolanaTokenSecurityResult addCreatorsItem(ResponseWrapperSolanaTokenSecurityCreators creatorsItem) {
126+
if (this.creators == null) {
127+
this.creators = new ArrayList<ResponseWrapperSolanaTokenSecurityCreators>();
128128
}
129-
this.creator.add(creatorItem);
129+
this.creators.add(creatorsItem);
130130
return this;
131131
}
132132

133133
/**
134134
* Contains information about the token creators.
135-
* @return creator
135+
* @return creators
136136
**/
137137
@Schema(description = "Contains information about the token creators.")
138-
public List<ResponseWrapperSolanaTokenSecurityCreator> getCreator() {
139-
return creator;
138+
public List<ResponseWrapperSolanaTokenSecurityCreators> getCreators() {
139+
return creators;
140140
}
141141

142-
public void setCreator(List<ResponseWrapperSolanaTokenSecurityCreator> creator) {
143-
this.creator = creator;
142+
public void setCreators(List<ResponseWrapperSolanaTokenSecurityCreators> creators) {
143+
this.creators = creators;
144144
}
145145

146146
public ResponseWrapperSolanaTokenSecurityResult lpHolders(List<ResponseWrapperSolanaTokenSecurityLpHolders> lpHolders) {
@@ -474,7 +474,7 @@ public boolean equals(java.lang.Object o) {
474474
}
475475
ResponseWrapperSolanaTokenSecurityResult responseWrapperSolanaTokenSecurityResult = (ResponseWrapperSolanaTokenSecurityResult) o;
476476
return Objects.equals(this.metadata, responseWrapperSolanaTokenSecurityResult.metadata) &&
477-
Objects.equals(this.creator, responseWrapperSolanaTokenSecurityResult.creator) &&
477+
Objects.equals(this.creators, responseWrapperSolanaTokenSecurityResult.creators) &&
478478
Objects.equals(this.lpHolders, responseWrapperSolanaTokenSecurityResult.lpHolders) &&
479479
Objects.equals(this.closable, responseWrapperSolanaTokenSecurityResult.closable) &&
480480
Objects.equals(this.transferHook, responseWrapperSolanaTokenSecurityResult.transferHook) &&
@@ -495,7 +495,7 @@ public boolean equals(java.lang.Object o) {
495495

496496
@Override
497497
public int hashCode() {
498-
return Objects.hash(metadata, creator, lpHolders, closable, transferHook, transferHookUpgradable, trustedToken, defaultAccountStateUpgradable, noneTransferable, defaultAccountState, mintable, balanceMutableAuthority, transferFee, holders, freezable, metadataMutable, dex, transferFeeUpgradable);
498+
return Objects.hash(metadata, creators, lpHolders, closable, transferHook, transferHookUpgradable, trustedToken, defaultAccountStateUpgradable, noneTransferable, defaultAccountState, mintable, balanceMutableAuthority, transferFee, holders, freezable, metadataMutable, dex, transferFeeUpgradable);
499499
}
500500

501501

@@ -505,7 +505,7 @@ public String toString() {
505505
sb.append("class ResponseWrapperSolanaTokenSecurityResult {\n");
506506

507507
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
508-
sb.append(" creator: ").append(toIndentedString(creator)).append("\n");
508+
sb.append(" creators: ").append(toIndentedString(creators)).append("\n");
509509
sb.append(" lpHolders: ").append(toIndentedString(lpHolders)).append("\n");
510510
sb.append(" closable: ").append(toIndentedString(closable)).append("\n");
511511
sb.append(" transferHook: ").append(toIndentedString(transferHook)).append("\n");

0 commit comments

Comments
 (0)