Class Relation

java.lang.Object
net.darkhax.curseforgegradle.api.metadata.Relation

public class Relation extends Object
Represents a project relationship in the CurseForge upload metadata.
  • Field Details

    • slug

      @Expose @SerializedName("slug") public String slug
      The slug of the project.
    • type

      @Expose @SerializedName("type") public String type
      The type of relationship.
  • Constructor Details

    • Relation

      protected Relation(String slug, String type)
      Creates a new project relationship.
      Parameters:
      slug - The slug of the project.
      type - The type of relationship.