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(@NotNull String name) |
Modifier and Type | Method and Description |
---|---|
void |
addPermission(@Nullable RestGlobalPermission.PermissionType permissionType) |
@Nullable String |
getName() |
@NotNull Set<RestGlobalPermission.PermissionType> |
getPermissions() |
void |
setName(@Nullable String name) |
getSelf, setSelf
public RestGlobalPermission()
public RestGlobalPermission(@NotNull @NotNull String name)
@Nullable public @Nullable String getName()
public void setName(@Nullable @Nullable String name)
@NotNull public @NotNull Set<RestGlobalPermission.PermissionType> getPermissions()
public void addPermission(@Nullable @Nullable RestGlobalPermission.PermissionType permissionType)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.