T2CodeLib/src/main/java/net/t2code/t2codelib/SPIGOT/api/update/T2CupdateWebData.java

32 lines
814 B
Java
Raw Normal View History

2022-11-10 10:28:55 +00:00
package net.t2code.t2codelib.SPIGOT.api.update;
import lombok.Getter;
public class T2CupdateWebData {
@Getter
2022-11-10 13:00:59 +00:00
private String updateName;
2022-11-10 10:28:55 +00:00
@Getter
2022-11-10 13:00:59 +00:00
private String tagName;
2022-11-10 10:28:55 +00:00
@Getter
private String body;
@Getter
2022-11-10 13:00:59 +00:00
private String updateUrl;
2022-11-10 10:28:55 +00:00
@Getter
2022-11-10 13:00:59 +00:00
private String publishedAt;
2022-11-10 10:28:55 +00:00
@Getter
private String downloadURL;
@Getter
2022-11-10 13:00:59 +00:00
private boolean preRelease;
2022-11-10 10:28:55 +00:00
2022-11-10 13:00:59 +00:00
public T2CupdateWebData(String updateName, String tagName, String body, String updateUrl, String publishedAt, String downloadURL, boolean preRelease) {
this.updateName = updateName;
this.tagName = tagName;
2022-11-10 10:28:55 +00:00
this.body = body;
2022-11-10 13:00:59 +00:00
this.updateUrl = updateUrl;
this.publishedAt = publishedAt;
2022-11-10 10:28:55 +00:00
this.downloadURL = downloadURL;
2022-11-10 13:00:59 +00:00
this.preRelease = preRelease;
2022-11-10 10:28:55 +00:00
}
}