Class MCPServerValidationResponseDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.MCPServerValidationResponseDTO
MCPServerValidationResponseDTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorMessage(String errorMessage) MCP Server schema definition content.This attribute declares the validation error messageGet toolInfointhashCode()This attribute declares whether this definition is valid or not.voidsetContent(String content) voidsetErrorMessage(String errorMessage) voidsetIsValid(Boolean isValid) voidtoString()
-
Field Details
-
SERIALIZED_NAME_IS_VALID
- See Also:
-
SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
-
SERIALIZED_NAME_CONTENT
- See Also:
-
SERIALIZED_NAME_TOOL_INFO
- See Also:
-
-
Constructor Details
-
MCPServerValidationResponseDTO
public MCPServerValidationResponseDTO()
-
-
Method Details
-
isValid
-
isIsValid
This attribute declares whether this definition is valid or not.- Returns:
- isValid
-
setIsValid
-
errorMessage
-
getErrorMessage
This attribute declares the validation error message- Returns:
- errorMessage
-
setErrorMessage
-
content
-
getContent
MCP Server schema definition content.- Returns:
- content
-
setContent
-
toolInfo
-
getToolInfo
Get toolInfo- Returns:
- toolInfo
-
setToolInfo
-
equals
-
hashCode
public int hashCode() -
toString
-