Class RestGlobalPermission
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.AbstractRestModel
-
- com.atlassian.bamboo.rest.model.admin.permission.RestGlobalPermission
-
public class RestGlobalPermission extends AbstractRestModel
Model for user/group permission REST endpoint- Since:
- 5.10
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestGlobalPermission.PermissionType
An enum that represents the permissions allowed to be modified by the REST endpoint.
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
self
-
-
Constructor Summary
Constructors Constructor Description RestGlobalPermission()
RestGlobalPermission(@NotNull String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPermission(@Nullable RestGlobalPermission.PermissionType permissionType)
@Nullable String
getName()
@NotNull Set<RestGlobalPermission.PermissionType>
getPermissions()
void
setName(@Nullable String name)
-
Methods inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
getSelf, setSelf
-
-
-
-
Constructor Detail
-
RestGlobalPermission
public RestGlobalPermission()
-
RestGlobalPermission
public RestGlobalPermission(@NotNull @NotNull String name)
-
-
Method Detail
-
getName
@Nullable public @Nullable String getName()
-
setName
public void setName(@Nullable @Nullable String name)
-
getPermissions
@NotNull public @NotNull Set<RestGlobalPermission.PermissionType> getPermissions()
-
addPermission
public void addPermission(@Nullable @Nullable RestGlobalPermission.PermissionType permissionType)
-
-