Class ScopeInfoDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.ScopeInfoDTO
-
public class ScopeInfoDTO extends Object
ScopeInfoDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_KEYstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_ROLES
-
Constructor Summary
Constructors Constructor Description ScopeInfoDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScopeInfoDTOdescription(String description)booleanequals(Object o)StringgetDescription()Description of the scopeStringgetKey()Get keyStringgetName()Get nameList<String>getRoles()Allowed roles for the scopeinthashCode()ScopeInfoDTOkey(String key)ScopeInfoDTOname(String name)ScopeInfoDTOroles(List<String> roles)voidsetDescription(String description)voidsetKey(String key)voidsetName(String name)voidsetRoles(List<String> roles)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_KEY
public static final String SERIALIZED_NAME_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLES
public static final String SERIALIZED_NAME_ROLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
public ScopeInfoDTO key(String key)
-
setKey
public void setKey(String key)
-
name
public ScopeInfoDTO name(String name)
-
setName
public void setName(String name)
-
roles
public ScopeInfoDTO roles(List<String> roles)
-
description
public ScopeInfoDTO description(String description)
-
getDescription
@Nullable public String getDescription()
Description of the scope- Returns:
- description
-
setDescription
public void setDescription(String description)
-
-