Skip to content

Commit b61c3b8

Browse files
committed
add domainpath to WebhookResponse
1 parent f5efe56 commit b61c3b8

File tree

1 file changed

+9
-0
lines changed
  • plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response

1 file changed

+9
-0
lines changed

plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ public class WebhookResponse extends BaseResponse implements ControlledViewEntit
5454
@Param(description = "The name of the domain in which the Webhook exists")
5555
private String domainName;
5656

57+
@SerializedName(ApiConstants.DOMAIN_PATH)
58+
@Param(description = "path of the domain to which the Webhook belongs")
59+
private String domainPath;
60+
5761
@SerializedName(ApiConstants.ACCOUNT)
5862
@Param(description = "The account associated with the Webhook")
5963
private String accountName;
@@ -107,6 +111,11 @@ public void setDomainId(String domainId) {
107111
this.domainId = domainId;
108112
}
109113

114+
@Override
115+
public void setDomainPath(String domainPath) {
116+
this.domainPath = domainPath;
117+
}
118+
110119
@Override
111120
public void setDomainName(String domainName) {
112121
this.domainName = domainName;

0 commit comments

Comments
 (0)