Class MCPServerScopeDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.MCPServerScopeDTO
-
public class MCPServerScopeDTO extends Object
MCPServerScopeDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_SCOPEstatic StringSERIALIZED_NAME_SHARED
-
Constructor Summary
Constructors Constructor Description MCPServerScopeDTO()
-
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.MCPServerScopeDTOscope(ScopeDTO scope)voidsetScope(ScopeDTO scope)voidsetShared(Boolean shared)MCPServerScopeDTOshared(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 MCPServerScopeDTO scope(ScopeDTO scope)
-
getScope
public ScopeDTO getScope()
Get scope- Returns:
- scope
-
setScope
public void setScope(ScopeDTO scope)
-
shared
public MCPServerScopeDTO shared(Boolean shared)
-
isShared
@Nullable public Boolean isShared()
States whether scope is shared. This will not be honored when updating/adding scopes to MCP Servers or when adding/updating Shared Scopes.- Returns:
- shared
-
setShared
public void setShared(Boolean shared)
-
-