mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 03:10:50 +01:00
Rename role -> permissionRole
This commit is contained in:
@@ -31,6 +31,7 @@ import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@@ -42,8 +43,9 @@ import static java.util.stream.Collectors.toList;
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
@Getter
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement
|
||||
@XmlRootElement(name = "keys")
|
||||
class ApiKeyCollection {
|
||||
@XmlElement(name = "key")
|
||||
private Collection<ApiKeyWithPassphrase> keys;
|
||||
|
||||
public ApiKeyCollection add(ApiKeyWithPassphrase key) {
|
||||
|
||||
Reference in New Issue
Block a user