vishesh92 commented on code in PR #12294:
URL: https://github.com/apache/cloudstack/pull/12294#discussion_r2667256978
##########
api/src/main/java/org/apache/cloudstack/api/response/LoginCmdResponse.java:
##########
@@ -223,4 +227,12 @@ public String getManagementServerId() {
public void setManagementServerId(String managementServerId) {
this.managementServerId = managementServerId;
}
+
+ public Boolean getPasswordChangeRequired() {
+ return passwordChangeRequired;
+ }
+
+ public void setPasswordChangeRequired(String passwordChangeRequired) {
+ this.passwordChangeRequired =
Boolean.parseBoolean(passwordChangeRequired);
+ }
Review Comment:
Use BooleanUtils here? Most of the response classes have simple setters and
getters. So, it will be better to update the method to accept a boolean instead
of a string.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]