Class APIScopeDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIScopeDTO
-
public class APIScopeDTO extends Object
APIScopeDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_SCOPEstatic StringSERIALIZED_NAME_SHARED
-
Constructor Summary
Constructors Constructor Description APIScopeDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ScopeDTOgetScope()Get scopeinthashCode()BooleanisShared()States whether scope is shared.APIScopeDTOscope(ScopeDTO scope)voidsetScope(ScopeDTO scope)voidsetShared(Boolean shared)APIScopeDTOshared(Boolean shared)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_SCOPE
public static final String SERIALIZED_NAME_SCOPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHARED
public static final String SERIALIZED_NAME_SHARED
- See Also:
- Constant Field Values
-
-
Method Detail
-
scope
public APIScopeDTO scope(ScopeDTO scope)
-
getScope
public ScopeDTO getScope()
Get scope- Returns:
- scope
-
setScope
public void setScope(ScopeDTO scope)
-
shared
public APIScopeDTO shared(Boolean shared)
-
isShared
@Nullable public Boolean isShared()
States whether scope is shared. This will not be honored when updating/adding scopes to APIs or when adding/updating Shared Scopes.- Returns:
- shared
-
setShared
public void setShared(Boolean shared)
-
-