Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RushanNanayakkara committed Jun 20, 2024
1 parent f5e241a commit 8132e60
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,24 @@ public int hashCode() {
@Override
public String toString() {

return "class ConfirmRequest {" +
" confirmationCode: " + confirmationCode + "\n" +
" otp: " + otp + "\n" +
" properties: " + properties + "\n" +
"}";
StringBuilder sb = new StringBuilder();
sb.append("class ConfirmRequest {").append("\n");
sb.append(" confirmationCode: ").append(toIndentedString(confirmationCode)).append("\n");
sb.append(" otp: ").append(toIndentedString(otp)).append("\n");
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
sb.append("}");
return sb.toString();
}

/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {

if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,23 @@ public int hashCode() {
@Override
public String toString() {

return "class RecoveryResponse {\n" +
" resetCode: " + resetCode + "\n" +
" links: " + links + "\n" +
"}";
StringBuilder sb = new StringBuilder();
sb.append("class RecoveryResponse {\n");
sb.append(" resetCode: ").append(toIndentedString(resetCode)).append("\n");
sb.append(" links: ").append(toIndentedString(links)).append("\n");
sb.append("}");
return sb.toString();
}

/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {

if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,13 @@ public int hashCode() {
@Override
public String toString() {

return "class ResendRequest {\n" +
" resendCode: " + toIndentedString(resendCode) + "\n" +
" properties: " + toIndentedString(properties) + "\n" +
"}";
StringBuilder sb = new StringBuilder();
sb.append("class ResendRequest {\n");

sb.append(" resendCode: ").append(toIndentedString(resendCode)).append("\n");
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
sb.append("}");
return sb.toString();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,15 @@ public int hashCode() {
@Override
public String toString() {

return "class ResendResponse {\n" +
" code: " + toIndentedString(code) + "\n" +
" message: " + toIndentedString(message) + "\n" +
" notificationChannel: " + toIndentedString(notificationChannel) + "\n" +
" resendCode: " + toIndentedString(resendCode) + "\n" +
" links: " + toIndentedString(links) + "\n" +
"}";
StringBuilder sb = new StringBuilder();
sb.append("class ResendResponse {\n");
sb.append(" code: ").append(toIndentedString(code)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
sb.append(" notificationChannel: ").append(toIndentedString(notificationChannel)).append("\n");
sb.append(" resendCode: ").append(toIndentedString(resendCode)).append("\n");
sb.append(" links: ").append(toIndentedString(links)).append("\n");
sb.append("}");
return sb.toString();
}

/**
Expand All @@ -234,6 +236,4 @@ private String toIndentedString(Object o) {
}
return o.toString().replace("\n", "\n ");
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,24 @@ public int hashCode() {
@Override
public String toString() {

return "class ConfirmRequest {" +
" confirmationCode: " + resetCode + "\n" +
" otp: " + flowConfirmationCode + "\n" +
" properties: " + properties + "\n" +
"}";
StringBuilder sb = new StringBuilder();
sb.append("class ResendResponse {\n");
sb.append(" resetCode: ").append(toIndentedString(resetCode)).append("\n");
sb.append(" flowConfirmationCode: ").append(toIndentedString(flowConfirmationCode)).append("\n");
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
sb.append("}");
return sb.toString();
}

/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {

if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@ public int hashCode() {
@Override
public String toString() {

return "class ResendResponse {\n" +
" code: " + toIndentedString(code) + "\n" +
" message: " + toIndentedString(message) + "\n" +
"}";
StringBuilder sb = new StringBuilder();
sb.append("class ResendResponse {\n");
sb.append(" code: ").append(toIndentedString(code)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
sb.append("}");
return sb.toString();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2631,4 +2631,10 @@
<HybridMode>false</HybridMode>
</MB>
</CacheInvalidator>

<ConfigSwitching>
<OnInitialUse>
<EnableSMSOTPPasswordRecoveryIfConnectorEnabled>false</EnableSMSOTPPasswordRecoveryIfConnectorEnabled>
</OnInitialUse>
</ConfigSwitching>
</Server>

0 comments on commit 8132e60

Please sign in to comment.