diff --git a/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java b/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java index 161b8c5796a..5e1cca36138 100644 --- a/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java +++ b/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java @@ -54,6 +54,10 @@ public class WebhookResponse extends BaseResponse implements ControlledViewEntit @Param(description = "The name of the domain in which the Webhook exists") private String domainName; + @SerializedName(ApiConstants.DOMAIN_PATH) + @Param(description = "path of the domain to which the Webhook belongs") + private String domainPath; + @SerializedName(ApiConstants.ACCOUNT) @Param(description = "The account associated with the Webhook") private String accountName; @@ -107,6 +111,11 @@ public class WebhookResponse extends BaseResponse implements ControlledViewEntit this.domainId = domainId; } + @Override + public void setDomainPath(String domainPath) { + this.domainPath = domainPath; + } + @Override public void setDomainName(String domainName) { this.domainName = domainName;