Skip to content

Commit

Permalink
migrate some entities from Java sdk to space gateway and add @Registe…
Browse files Browse the repository at this point in the history
…rForReflection annotation.
  • Loading branch information
ren2003u committed Oct 27, 2023
1 parent 5b8dbb6 commit f139728
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class ObtainBoxRegKeyResponse {

private String boxUUID;
private List<io.github.ren2003u.authentication.model.ObtainBoxRegKeyResponse.TokenResult> tokenResults = new ArrayList<>();
private List<TokenResult> tokenResults = new ArrayList<>();

// Getters and setters with encapsulation

Expand All @@ -21,11 +21,11 @@ public void setBoxUUID(String boxUUID) {
this.boxUUID = boxUUID;
}

public List<io.github.ren2003u.authentication.model.ObtainBoxRegKeyResponse.TokenResult> getTokenResults() {
public List<TokenResult> getTokenResults() {
return new ArrayList<>(this.tokenResults);
}

public void setTokenResults(List<io.github.ren2003u.authentication.model.ObtainBoxRegKeyResponse.TokenResult> tokenResults) {
public void setTokenResults(List<TokenResult> tokenResults) {
if (tokenResults != null) {
this.tokenResults = new ArrayList<>(tokenResults);
}
Expand Down

0 comments on commit f139728

Please sign in to comment.