Class WSDLValidationResponseDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.WSDLValidationResponseDTO
-
public class WSDLValidationResponseDTO extends Object
WSDLValidationResponseDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ERRORSstatic StringSERIALIZED_NAME_IS_VALIDstatic StringSERIALIZED_NAME_WSDL_INFO
-
Constructor Summary
Constructors Constructor Description WSDLValidationResponseDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)WSDLValidationResponseDTOerrors(List<ErrorListItemDTO> errors)List<ErrorListItemDTO>getErrors()If there are more than one error list them out.WSDLValidationResponseWsdlInfoDTOgetWsdlInfo()Get wsdlInfointhashCode()BooleanisIsValid()This attribute declares whether this definition is valid or not.WSDLValidationResponseDTOisValid(Boolean isValid)voidsetErrors(List<ErrorListItemDTO> errors)voidsetIsValid(Boolean isValid)voidsetWsdlInfo(WSDLValidationResponseWsdlInfoDTO wsdlInfo)StringtoString()WSDLValidationResponseDTOwsdlInfo(WSDLValidationResponseWsdlInfoDTO wsdlInfo)
-
-
-
Field Detail
-
SERIALIZED_NAME_IS_VALID
public static final String SERIALIZED_NAME_IS_VALID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_ERRORS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WSDL_INFO
public static final String SERIALIZED_NAME_WSDL_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValid
public WSDLValidationResponseDTO 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)
-
errors
public WSDLValidationResponseDTO errors(List<ErrorListItemDTO> errors)
-
getErrors
@Nullable public List<ErrorListItemDTO> getErrors()
If there are more than one error list them out. For example, list out validation errors by each field.- Returns:
- errors
-
setErrors
public void setErrors(List<ErrorListItemDTO> errors)
-
wsdlInfo
public WSDLValidationResponseDTO wsdlInfo(WSDLValidationResponseWsdlInfoDTO wsdlInfo)
-
getWsdlInfo
@Nullable public WSDLValidationResponseWsdlInfoDTO getWsdlInfo()
Get wsdlInfo- Returns:
- wsdlInfo
-
setWsdlInfo
public void setWsdlInfo(WSDLValidationResponseWsdlInfoDTO wsdlInfo)
-
-