public class RestGlobalPermission extends AbstractRestModel
Modifier and Type | Class and Description |
---|---|
static class |
RestGlobalPermission.PermissionType
An enum that represents the permissions allowed to be modified by the REST endpoint.
|
self
Constructor and Description |
---|
RestGlobalPermission() |
RestGlobalPermission(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addPermission(RestGlobalPermission.PermissionType permissionType) |
String |
getName() |
Set<RestGlobalPermission.PermissionType> |
getPermissions() |
void |
setName(String name) |
getSelf, setSelf
public RestGlobalPermission()
public RestGlobalPermission(@NotNull String name)
@Nullable public String getName()
public void setName(@Nullable String name)
@NotNull public Set<RestGlobalPermission.PermissionType> getPermissions()
public void addPermission(@Nullable RestGlobalPermission.PermissionType permissionType)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.