mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Co-authored-by: Aakash Sinha <mailtomeaakash@gmail.com>
This commit is contained in:
parent
39d6c20fb3
commit
8fe13f91a1
@ -53,7 +53,7 @@ public class GuestOSResponse extends BaseResponse {
|
||||
|
||||
@SerializedName(ApiConstants.IS_USER_DEFINED)
|
||||
@Param(description = "is the guest OS user defined")
|
||||
private String isUserDefined;
|
||||
private Boolean isUserDefined;
|
||||
|
||||
@SerializedName(ApiConstants.FOR_DISPLAY)
|
||||
@Param(description = "is the guest OS visible for the users")
|
||||
@ -99,11 +99,11 @@ public class GuestOSResponse extends BaseResponse {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getIsUserDefined() {
|
||||
public Boolean getIsUserDefined() {
|
||||
return isUserDefined;
|
||||
}
|
||||
|
||||
public void setIsUserDefined(String isUserDefined) {
|
||||
public void setIsUserDefined(Boolean isUserDefined) {
|
||||
this.isUserDefined = isUserDefined;
|
||||
}
|
||||
|
||||
|
||||
@ -3730,7 +3730,7 @@ public class ApiResponseHelper implements ResponseGenerator {
|
||||
response.setName(guestOS.getDisplayName());
|
||||
response.setDescription(guestOS.getDisplayName());
|
||||
response.setId(guestOS.getUuid());
|
||||
response.setIsUserDefined(String.valueOf(guestOS.getIsUserDefined()));
|
||||
response.setIsUserDefined(guestOS.getIsUserDefined());
|
||||
response.setForDisplay(guestOS.getForDisplay());
|
||||
GuestOSCategoryVO category = ApiDBUtils.findGuestOsCategoryById(guestOS.getCategoryId());
|
||||
if (category != null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user