All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.server.issue.SearchRequest Maven / Gradle / Ivy

There is a newer version: 7.2.1
Show newest version
/*
 * SonarQube
 * Copyright (C) 2009-2018 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
package org.sonar.server.issue;

import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;

public class SearchRequest {
  private List actionPlans;
  private List additionalFields;
  private Boolean asc;
  private Boolean assigned;
  private List assignees;
  private List authors;
  private List componentKeys;
  private List componentRootUuids;
  private List componentRoots;
  private List componentUuids;
  private List components;
  private String createdAfter;
  private String createdAt;
  private String createdBefore;
  private String createdInLast;
  private List directories;
  private String facetMode;
  private List facets;
  private List fileUuids;
  private List issues;
  private List languages;
  private List moduleUuids;
  private Boolean onComponentOnly;
  private String branch;
  private String pullRequest;
  private String organization;
  private Integer page;
  private Integer pageSize;
  private List projectKeys;
  private List projectUuids;
  private List projects;
  private List resolutions;
  private Boolean resolved;
  private List rules;
  private Boolean sinceLeakPeriod;
  private String sort;
  private List severities;
  private List statuses;
  private List tags;
  private List types;

  @CheckForNull
  public List getActionPlans() {
    return actionPlans;
  }

  public SearchRequest setActionPlans(@Nullable List actionPlans) {
    this.actionPlans = actionPlans;
    return this;
  }

  @CheckForNull
  public List getAdditionalFields() {
    return additionalFields;
  }

  public SearchRequest setAdditionalFields(@Nullable List additionalFields) {
    this.additionalFields = additionalFields;
    return this;
  }

  @CheckForNull
  public Boolean getAsc() {
    return asc;
  }

  public SearchRequest setAsc(boolean asc) {
    this.asc = asc;
    return this;
  }

  @CheckForNull
  public Boolean getAssigned() {
    return assigned;
  }

  public SearchRequest setAssigned(@Nullable Boolean assigned) {
    this.assigned = assigned;
    return this;
  }

  @CheckForNull
  public List getAssignees() {
    return assignees;
  }

  public SearchRequest setAssignees(@Nullable List assignees) {
    this.assignees = assignees;
    return this;
  }

  @CheckForNull
  public List getAuthors() {
    return authors;
  }

  public SearchRequest setAuthors(@Nullable List authors) {
    this.authors = authors;
    return this;
  }

  @CheckForNull
  public List getComponentKeys() {
    return componentKeys;
  }

  public SearchRequest setComponentKeys(@Nullable List componentKeys) {
    this.componentKeys = componentKeys;
    return this;
  }

  @CheckForNull
  public List getComponentUuids() {
    return componentUuids;
  }

  public SearchRequest setComponentUuids(@Nullable List componentUuids) {
    this.componentUuids = componentUuids;
    return this;
  }

  @CheckForNull
  public String getCreatedAfter() {
    return createdAfter;
  }

  public SearchRequest setCreatedAfter(@Nullable String createdAfter) {
    this.createdAfter = createdAfter;
    return this;
  }

  @CheckForNull
  public String getCreatedAt() {
    return createdAt;
  }

  public SearchRequest setCreatedAt(@Nullable String createdAt) {
    this.createdAt = createdAt;
    return this;
  }

  @CheckForNull
  public String getCreatedBefore() {
    return createdBefore;
  }

  public SearchRequest setCreatedBefore(@Nullable String createdBefore) {
    this.createdBefore = createdBefore;
    return this;
  }

  @CheckForNull
  public String getCreatedInLast() {
    return createdInLast;
  }

  public SearchRequest setCreatedInLast(@Nullable String createdInLast) {
    this.createdInLast = createdInLast;
    return this;
  }

  @CheckForNull
  public List getDirectories() {
    return directories;
  }

  public SearchRequest setDirectories(@Nullable List directories) {
    this.directories = directories;
    return this;
  }

  @CheckForNull
  public String getFacetMode() {
    return facetMode;
  }

  public SearchRequest setFacetMode(@Nullable String facetMode) {
    this.facetMode = facetMode;
    return this;
  }

  @CheckForNull
  public List getFacets() {
    return facets;
  }

  public SearchRequest setFacets(@Nullable List facets) {
    this.facets = facets;
    return this;
  }

  @CheckForNull
  public List getFileUuids() {
    return fileUuids;
  }

  public SearchRequest setFileUuids(@Nullable List fileUuids) {
    this.fileUuids = fileUuids;
    return this;
  }

  @CheckForNull
  public List getIssues() {
    return issues;
  }

  public SearchRequest setIssues(@Nullable List issues) {
    this.issues = issues;
    return this;
  }

  @CheckForNull
  public List getLanguages() {
    return languages;
  }

  public SearchRequest setLanguages(@Nullable List languages) {
    this.languages = languages;
    return this;
  }

  @CheckForNull
  public List getModuleUuids() {
    return moduleUuids;
  }

  public SearchRequest setModuleUuids(@Nullable List moduleUuids) {
    this.moduleUuids = moduleUuids;
    return this;
  }

  @CheckForNull
  public Boolean getOnComponentOnly() {
    return onComponentOnly;
  }

  public SearchRequest setOnComponentOnly(Boolean onComponentOnly) {
    this.onComponentOnly = onComponentOnly;
    return this;
  }

  @CheckForNull
  public String getOrganization() {
    return organization;
  }

  public SearchRequest setOrganization(@Nullable String s) {
    this.organization = s;
    return this;
  }

  @CheckForNull
  public Integer getPage() {
    return page;
  }

  public SearchRequest setPage(int page) {
    this.page = page;
    return this;
  }

  @CheckForNull
  public Integer getPageSize() {
    return pageSize;
  }

  public SearchRequest setPageSize(int pageSize) {
    this.pageSize = pageSize;
    return this;
  }

  @CheckForNull
  public List getProjectKeys() {
    return projectKeys;
  }

  public SearchRequest setProjectKeys(@Nullable List projectKeys) {
    this.projectKeys = projectKeys;
    return this;
  }

  @CheckForNull
  public List getProjectUuids() {
    return projectUuids;
  }

  public SearchRequest setProjectUuids(@Nullable List projectUuids) {
    this.projectUuids = projectUuids;
    return this;
  }

  @CheckForNull
  public List getResolutions() {
    return resolutions;
  }

  public SearchRequest setResolutions(@Nullable List resolutions) {
    this.resolutions = resolutions;
    return this;
  }

  @CheckForNull
  public Boolean getResolved() {
    return resolved;
  }

  public SearchRequest setResolved(@Nullable Boolean resolved) {
    this.resolved = resolved;
    return this;
  }

  @CheckForNull
  public List getRules() {
    return rules;
  }

  public SearchRequest setRules(@Nullable List rules) {
    this.rules = rules;
    return this;
  }

  @CheckForNull
  public Boolean getSinceLeakPeriod() {
    return sinceLeakPeriod;
  }

  public SearchRequest setSinceLeakPeriod(@Nullable Boolean sinceLeakPeriod) {
    this.sinceLeakPeriod = sinceLeakPeriod;
    return this;
  }

  @CheckForNull
  public String getSort() {
    return sort;
  }

  public SearchRequest setSort(@Nullable String sort) {
    this.sort = sort;
    return this;
  }

  @CheckForNull
  public List getSeverities() {
    return severities;
  }

  public SearchRequest setSeverities(@Nullable List severities) {
    this.severities = severities;
    return this;
  }

  @CheckForNull
  public List getStatuses() {
    return statuses;
  }

  public SearchRequest setStatuses(@Nullable List statuses) {
    this.statuses = statuses;
    return this;
  }

  @CheckForNull
  public List getTags() {
    return tags;
  }

  public SearchRequest setTags(@Nullable List tags) {
    this.tags = tags;
    return this;
  }

  @CheckForNull
  public List getTypes() {
    return types;
  }

  public SearchRequest setTypes(@Nullable List types) {
    this.types = types;
    return this;
  }

  @CheckForNull
  public List getComponentRootUuids() {
    return componentRootUuids;
  }

  public SearchRequest setComponentRootUuids(List componentRootUuids) {
    this.componentRootUuids = componentRootUuids;
    return this;
  }

  @CheckForNull
  public List getComponentRoots() {
    return componentRoots;
  }

  public SearchRequest setComponentRoots(@Nullable List componentRoots) {
    this.componentRoots = componentRoots;
    return this;
  }

  @CheckForNull
  public List getComponents() {
    return components;
  }

  public SearchRequest setComponents(@Nullable List components) {
    this.components = components;
    return this;
  }

  @CheckForNull
  public List getProjects() {
    return projects;
  }

  public SearchRequest setProjects(@Nullable List projects) {
    this.projects = projects;
    return this;
  }

  @CheckForNull
  public String getBranch() {
    return branch;
  }

  public SearchRequest setBranch(@Nullable String branch) {
    this.branch = branch;
    return this;
  }

  @CheckForNull
  public String getPullRequest() {
    return pullRequest;
  }

  public SearchRequest setPullRequest(@Nullable String pullRequest) {
    this.pullRequest = pullRequest;
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy