Class GraphQLValidationResponseDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.GraphQLValidationResponseDTO
-
public class GraphQLValidationResponseDTO extends Object
GraphQLValidationResponseDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ERROR_MESSAGEstatic StringSERIALIZED_NAME_GRAPH_Q_L_INFOstatic StringSERIALIZED_NAME_IS_VALID
-
Constructor Summary
Constructors Constructor Description GraphQLValidationResponseDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)GraphQLValidationResponseDTOerrorMessage(String errorMessage)StringgetErrorMessage()This attribute declares the validation error messageGraphQLValidationResponseGraphQLInfoDTOgetGraphQLInfo()Get graphQLInfoGraphQLValidationResponseDTOgraphQLInfo(GraphQLValidationResponseGraphQLInfoDTO graphQLInfo)inthashCode()BooleanisIsValid()This attribute declares whether this definition is valid or not.GraphQLValidationResponseDTOisValid(Boolean isValid)voidsetErrorMessage(String errorMessage)voidsetGraphQLInfo(GraphQLValidationResponseGraphQLInfoDTO graphQLInfo)voidsetIsValid(Boolean isValid)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_IS_VALID
public static final String SERIALIZED_NAME_IS_VALID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_MESSAGE
public static final String SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GRAPH_Q_L_INFO
public static final String SERIALIZED_NAME_GRAPH_Q_L_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValid
public GraphQLValidationResponseDTO isValid(Boolean isValid)
-
isIsValid
public Boolean isIsValid()
This attribute declares whether this definition is valid or not.- Returns:
- isValid
-
setIsValid
public void setIsValid(Boolean isValid)
-
errorMessage
public GraphQLValidationResponseDTO errorMessage(String errorMessage)
-
getErrorMessage
public String getErrorMessage()
This attribute declares the validation error message- Returns:
- errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
graphQLInfo
public GraphQLValidationResponseDTO graphQLInfo(GraphQLValidationResponseGraphQLInfoDTO graphQLInfo)
-
getGraphQLInfo
@Nullable public GraphQLValidationResponseGraphQLInfoDTO getGraphQLInfo()
Get graphQLInfo- Returns:
- graphQLInfo
-
setGraphQLInfo
public void setGraphQLInfo(GraphQLValidationResponseGraphQLInfoDTO graphQLInfo)
-
-