Uses of Class
masecla.modrinth4j.model.version.ProjectVersion
Packages that use ProjectVersion
-
Uses of ProjectVersion in masecla.modrinth4j.endpoints.version
Methods in masecla.modrinth4j.endpoints.version that return types with arguments of type ProjectVersionModifier and TypeMethodDescriptionVersionEndpoints.createProjectVersion(CreateVersion.CreateVersionRequest request) Creates a new version for a project.VersionEndpoints.getProjectVersions(String slug, GetProjectVersions.GetProjectVersionsRequest requestObject) Fetches a list of versions for a project with the given slug, filtered by the given conditions.com.google.gson.reflect.TypeToken<ProjectVersion> CreateVersion.getResponseClass()Returns the response class to use.com.google.gson.reflect.TypeToken<List<ProjectVersion>> GetProjectVersions.getResponseClass()Returns the response class.com.google.gson.reflect.TypeToken<ProjectVersion> GetVersion.getResponseClass()Returns the response class.com.google.gson.reflect.TypeToken<ProjectVersion> GetVersionByVersionNumber.getResponseClass()Returns the response class.com.google.gson.reflect.TypeToken<List<ProjectVersion>> GetVersions.getResponseClass()Returns the response class.com.google.gson.reflect.TypeToken<ProjectVersion> ModifyVersion.getResponseClass()Returns the response class to use.VersionEndpoints.getVersion(String versionId) Fetches a version based on the version idVersionEndpoints.getVersion(String... versionIds) Fetches multiple versions based on the version idsVersionEndpoints.getVersion(List<String> versionIds) Fetches multiple versions based on the version idsVersionEndpoints.getVersionByNumber(String projectSlug, String versionNumber) Fetches a version based on the project slug and version numberVersionEndpoints.modifyProjectVersion(String versionId, ModifyVersion.ModifyVersionRequest request) Modifies a version based on the version idCreateVersion.sendRequest(CreateVersion.CreateVersionRequest request, Map<String, String> urlParams) This method will send the request. -
Uses of ProjectVersion in masecla.modrinth4j.endpoints.version.files
Methods in masecla.modrinth4j.endpoints.version.files that return types with arguments of type ProjectVersionModifier and TypeMethodDescriptionVersionFilesEndpoints.getLatestVersionByHash(FileHash algorithm, String hash, GetProjectLatestVersionFromHash.GetProjectLatestVersionFromHashRequest request) This endpoint is used to get the latest version of a project from a hash.com.google.gson.reflect.TypeToken<ProjectVersion> GetProjectLatestVersionFromHash.getResponseClass()Returns the response class.com.google.gson.reflect.TypeToken<ProjectVersion> GetVersionByHash.getResponseClass()Returns the response class.VersionFilesEndpoints.getVersionByHash(FileHash algorithm, String hash) This endpoint is used to get the latest version of a project from a hash.