package org.gitlab4j.api; import java.util.List; import java.util.Optional; import java.util.stream.Stream; import jakarta.ws.rs.core.GenericType; import jakarta.ws.rs.core.Response; import org.gitlab4j.api.models.Label; /** * This class provides an entry point to all the GitLab API project and group label calls. * * @see Labels API at GitLab * @see Group Labels API at GitLab */ public class LabelsApi extends AbstractApi { public LabelsApi(GitLabApi gitLabApi) { super(gitLabApi); } /** * Get all labels of the specified project. * * @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance * @return a list of project's labels * @throws GitLabApiException if any exception occurs */ public List