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.
    • id

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

    • Relation

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