New Bungee Updater
This commit is contained in:
31
src/main/java/net/t2code/t2codelib/T2CupdateWebData.java
Normal file
31
src/main/java/net/t2code/t2codelib/T2CupdateWebData.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package net.t2code.t2codelib;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
public class T2CupdateWebData {
|
||||
@Getter
|
||||
private String updateTitle;
|
||||
@Getter
|
||||
private String version;
|
||||
@Getter
|
||||
private String updateDescription;
|
||||
@Getter
|
||||
private String updateUrl;
|
||||
@Getter
|
||||
private String publishedAt;
|
||||
@Getter
|
||||
private String downloadURL;
|
||||
@Getter
|
||||
private boolean preRelease;
|
||||
|
||||
public T2CupdateWebData(String updateTitle, String version, String updateDescription, String updateUrl, String publishedAt, String downloadURL, boolean preRelease) {
|
||||
this.updateTitle = updateTitle;
|
||||
this.version = version;
|
||||
this.updateDescription = updateDescription;
|
||||
this.updateUrl = updateUrl;
|
||||
this.publishedAt = publishedAt;
|
||||
this.downloadURL = downloadURL;
|
||||
this.preRelease = preRelease;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user