public class ScopeInfoDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_KEY |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_ROLES |
| Constructor and Description |
|---|
ScopeInfoDTO() |
| Modifier and Type | Method and Description |
|---|---|
ScopeInfoDTO |
description(String description) |
boolean |
equals(Object o) |
String |
getDescription()
Description of the scope
|
String |
getKey()
Get key
|
String |
getName()
Get name
|
List<String> |
getRoles()
Allowed roles for the scope
|
int |
hashCode() |
ScopeInfoDTO |
key(String key) |
ScopeInfoDTO |
name(String name) |
ScopeInfoDTO |
roles(List<String> roles) |
void |
setDescription(String description) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setRoles(List<String> roles) |
String |
toString() |
public static final String SERIALIZED_NAME_KEY
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_ROLES
public static final String SERIALIZED_NAME_DESCRIPTION
public ScopeInfoDTO key(String key)
public void setKey(String key)
public ScopeInfoDTO name(String name)
public void setName(String name)
public ScopeInfoDTO roles(List<String> roles)
public ScopeInfoDTO description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
Copyright © 2021 WSO2 Inc. All rights reserved.