@Deprecated public class AclToken extends Object
Constructor and Description |
---|
AclToken()
Deprecated.
Default constructor
|
AclToken(AclToken token)
Deprecated.
Copy constructor
|
AclToken(JsonObject token)
Deprecated.
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Deprecated.
Get ID of token
|
String |
getName()
Deprecated.
Get name of token
|
String |
getRules()
Deprecated.
Get rules for token
|
AclTokenType |
getType()
Deprecated.
Get type of token
|
AclToken |
setId(String id)
Deprecated.
Set ID of token
|
AclToken |
setName(String name)
Deprecated.
Set name of token
|
AclToken |
setRules(String rules)
Deprecated.
Set rules for token
|
AclToken |
setType(AclTokenType type)
Deprecated.
Set type of token
|
JsonObject |
toJson()
Deprecated.
Convert to JSON
|
public AclToken()
public AclToken(AclToken token)
token
- the one to copypublic AclToken(JsonObject token)
token
- the JSONpublic JsonObject toJson()
public String getId()
public AclToken setId(String id)
id
- ID of tokenpublic String getName()
public AclToken setName(String name)
name
- name of tokenpublic AclTokenType getType()
public AclToken setType(AclTokenType type)
type
- type of tokenpublic String getRules()
Copyright © 2024 Eclipse. All rights reserved.