File tree Expand file tree Collapse file tree
api/src/main/java/org/apache/cloudstack/api/response
server/src/main/java/com/cloud/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public class GuestOSResponse extends BaseResponse {
5353
5454 @ SerializedName (ApiConstants .IS_USER_DEFINED )
5555 @ Param (description = "is the guest OS user defined" )
56- private String isUserDefined ;
56+ private Boolean isUserDefined ;
5757
5858 @ SerializedName (ApiConstants .FOR_DISPLAY )
5959 @ Param (description = "is the guest OS visible for the users" )
@@ -99,11 +99,11 @@ public void setDescription(String description) {
9999 this .description = description ;
100100 }
101101
102- public String getIsUserDefined () {
102+ public Boolean getIsUserDefined () {
103103 return isUserDefined ;
104104 }
105105
106- public void setIsUserDefined (String isUserDefined ) {
106+ public void setIsUserDefined (Boolean isUserDefined ) {
107107 this .isUserDefined = isUserDefined ;
108108 }
109109
Original file line number Diff line number Diff line change @@ -3730,7 +3730,7 @@ public GuestOSResponse createGuestOSResponse(GuestOS guestOS) {
37303730 response .setName (guestOS .getDisplayName ());
37313731 response .setDescription (guestOS .getDisplayName ());
37323732 response .setId (guestOS .getUuid ());
3733- response .setIsUserDefined (String . valueOf ( guestOS .getIsUserDefined () ));
3733+ response .setIsUserDefined (guestOS .getIsUserDefined ());
37343734 response .setForDisplay (guestOS .getForDisplay ());
37353735 GuestOSCategoryVO category = ApiDBUtils .findGuestOsCategoryById (guestOS .getCategoryId ());
37363736 if (category != null ) {
You can’t perform that action at this time.
0 commit comments