Class Metadata
java.lang.Object
net.darkhax.curseforgegradle.api.metadata.Metadata
A POJO that represents the metadata value in a CurseForge upload request. This object exists to be serialized to the
JSON used to make that request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe changelog string.The changelog type.The display name.The supported game versions.The parent file ID.The relationship metadata.The release type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
changelog
The changelog string. OPTIONAL -
changelogType
The changelog type. OPTIONAL -
displayName
The display name. OPTIONAL -
parentFileID
The parent file ID. OPTIONAL -
gameVersions
The supported game versions. REQUIRED SOMETIMESWhen
parentFileIDis null this must be a non-empty set. IfparentFileIDis not null this must be null. -
releaseType
The release type. REQUIRED -
relations
The relationship metadata. OPTIONALIf
ProjectRelations.getRelations()is empty this must be null.
-
-
Constructor Details
-
Metadata
public Metadata()
-