add domainpath to WebhookResponse

This commit is contained in:
Wei Zhou 2024-08-26 18:10:07 +02:00
parent f5efe56fb5
commit b61c3b8102
No known key found for this signature in database
GPG Key ID: 1503DFE7C8226103

View File

@ -54,6 +54,10 @@ public class WebhookResponse extends BaseResponse implements ControlledViewEntit
@Param(description = "The name of the domain in which the Webhook exists") @Param(description = "The name of the domain in which the Webhook exists")
private String domainName; private String domainName;
@SerializedName(ApiConstants.DOMAIN_PATH)
@Param(description = "path of the domain to which the Webhook belongs")
private String domainPath;
@SerializedName(ApiConstants.ACCOUNT) @SerializedName(ApiConstants.ACCOUNT)
@Param(description = "The account associated with the Webhook") @Param(description = "The account associated with the Webhook")
private String accountName; private String accountName;
@ -107,6 +111,11 @@ public class WebhookResponse extends BaseResponse implements ControlledViewEntit
this.domainId = domainId; this.domainId = domainId;
} }
@Override
public void setDomainPath(String domainPath) {
this.domainPath = domainPath;
}
@Override @Override
public void setDomainName(String domainName) { public void setDomainName(String domainName) {
this.domainName = domainName; this.domainName = domainName;