diff --git a/pom.xml b/pom.xml
index ae6d38f..6768cfd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -330,7 +330,7 @@
org.hibernate
hibernate-validator
- 6.0.5.Final
+ 5.2.2.Final
diff --git a/src/main/java/net/media/openrtb25/response/nativeresponse/NativeResponseBody.java b/src/main/java/net/media/openrtb25/response/nativeresponse/NativeResponseBody.java
index 0a2f2fb..9693f53 100644
--- a/src/main/java/net/media/openrtb25/response/nativeresponse/NativeResponseBody.java
+++ b/src/main/java/net/media/openrtb25/response/nativeresponse/NativeResponseBody.java
@@ -27,7 +27,7 @@ public class NativeResponseBody {
private String ver;
- private Collection asset;
+ private Collection assets;
private Link link;
@@ -47,12 +47,12 @@ public void setVer(String ver) {
this.ver = ver;
}
- public Collection getAsset() {
- return this.asset;
+ public Collection getAssets() {
+ return this.assets;
}
- public void setAsset(Collection asset) {
- this.asset = asset;
+ public void setAssets(Collection assets) {
+ this.assets = assets;
}
public Link getLink() {
@@ -93,7 +93,7 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) return false;
NativeResponseBody that = (NativeResponseBody) o;
return Objects.equals(getVer(), that.getVer())
- && Objects.equals(getAsset(), that.getAsset())
+ && Objects.equals(getAssets(), that.getAssets())
&& Objects.equals(getLink(), that.getLink())
&& Objects.equals(getImptrackers(), that.getImptrackers())
&& Objects.equals(getJstracker(), that.getJstracker())
@@ -103,6 +103,6 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
return Objects.hash(
- getVer(), getAsset(), getLink(), getImptrackers(), getJstracker(), getExt());
+ getVer(), getAssets(), getLink(), getImptrackers(), getJstracker(), getExt());
}
}