Add no args constructor to fix matrix deserialization issues.

This commit is contained in:
Kavin 2023-08-04 15:56:37 +01:00
parent 8841c5a56e
commit 0753e30ea5
No known key found for this signature in database
GPG key ID: 6E4598CA5C92C41F

View file

@ -1,17 +1,15 @@
package me.kavin.piped.utils.obj;
import java.util.List;
import java.net.URL;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import java.net.URL;
import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
public class MetaInfo {
public String title, description;
public List<URL> urls;
public List<String> urlTexts;
public MetaInfo(String title, String description, List<URL> urls, List<String> urlTexts) {
this.title = title;
this.description = description;
this.urls = urls;
this.urlTexts = urlTexts;
}
}