Class MCPServerMetadataDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.MCPServerMetadataDTO
MCPServerMetadataDTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanDisplay name of the MCP Server.getId()Get idgetName()Get nameIf the provider value is not given, the user invoking the API will be used as the provider.Get versioninthashCode()voidsetDisplayName(String displayName) voidvoidvoidsetProvider(String provider) voidsetVersion(String version) toString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_PROVIDER
- See Also:
-
-
Constructor Details
-
MCPServerMetadataDTO
public MCPServerMetadataDTO()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
displayName
-
getDisplayName
Display name of the MCP Server. This is the name that will be displayed in the Publisher and DevPortal. If not provided, the name will be used as the display name.- Returns:
- displayName
-
setDisplayName
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
provider
-
getProvider
If the provider value is not given, the user invoking the API will be used as the provider.- Returns:
- provider
-
setProvider
-
equals
-
hashCode
public int hashCode() -
toString
-