001/* 002 * SonarQube 003 * Copyright (C) 2009-2016 SonarSource SA 004 * mailto:contact AT sonarsource DOT com 005 * 006 * This program is free software; you can redistribute it and/or 007 * modify it under the terms of the GNU Lesser General Public 008 * License as published by the Free Software Foundation; either 009 * version 3 of the License, or (at your option) any later version. 010 * 011 * This program is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014 * Lesser General Public License for more details. 015 * 016 * You should have received a copy of the GNU Lesser General Public License 017 * along with this program; if not, write to the Free Software Foundation, 018 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 019 */ 020package org.sonarqube.ws.client.permission; 021 022import javax.annotation.CheckForNull; 023import javax.annotation.Nullable; 024 025public class RemoveGroupWsRequest { 026 private String groupId; 027 private String groupName; 028 private String permission; 029 private String projectId; 030 private String projectKey; 031 032 @CheckForNull 033 public String getGroupId() { 034 return groupId; 035 } 036 037 public RemoveGroupWsRequest setGroupId(@Nullable String groupId) { 038 this.groupId = groupId; 039 return this; 040 } 041 042 @CheckForNull 043 public String getGroupName() { 044 return groupName; 045 } 046 047 public RemoveGroupWsRequest setGroupName(@Nullable String groupName) { 048 this.groupName = groupName; 049 return this; 050 } 051 052 public String getPermission() { 053 return permission; 054 } 055 056 public RemoveGroupWsRequest setPermission(String permission) { 057 this.permission = permission; 058 return this; 059 } 060 061 @CheckForNull 062 public String getProjectId() { 063 return projectId; 064 } 065 066 public RemoveGroupWsRequest setProjectId(@Nullable String projectId) { 067 this.projectId = projectId; 068 return this; 069 } 070 071 @CheckForNull 072 public String getProjectKey() { 073 return projectKey; 074 } 075 076 public RemoveGroupWsRequest setProjectKey(@Nullable String projectKey) { 077 this.projectKey = projectKey; 078 return this; 079 } 080}