@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class HTMLValidationResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HTMLValidationResult.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ERRORS |
static String |
SERIALIZED_NAME_IS_VALID |
static String |
SERIALIZED_NAME_WARNINGS |
Constructor and Description |
---|
HTMLValidationResult() |
Modifier and Type | Method and Description |
---|---|
HTMLValidationResult |
addErrorsItem(ValidationMessage errorsItem) |
HTMLValidationResult |
addWarningsItem(ValidationMessage warningsItem) |
boolean |
equals(Object o) |
HTMLValidationResult |
errors(List<ValidationMessage> errors) |
static HTMLValidationResult |
fromJson(String jsonString)
Create an instance of HTMLValidationResult given an JSON string
|
List<ValidationMessage> |
getErrors()
Optional errors resulting from HTML validation
|
Boolean |
getIsValid()
Is HTML validation result valid
|
List<ValidationMessage> |
getWarnings()
Optional warnings resulting from HTML validation
|
int |
hashCode() |
HTMLValidationResult |
isValid(Boolean isValid) |
void |
setErrors(List<ValidationMessage> errors) |
void |
setIsValid(Boolean isValid) |
void |
setWarnings(List<ValidationMessage> warnings) |
String |
toJson()
Convert an instance of HTMLValidationResult to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
HTMLValidationResult |
warnings(List<ValidationMessage> warnings) |
public static final String SERIALIZED_NAME_IS_VALID
public static final String SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_WARNINGS
public HTMLValidationResult isValid(Boolean isValid)
public void setIsValid(Boolean isValid)
public HTMLValidationResult errors(List<ValidationMessage> errors)
public HTMLValidationResult addErrorsItem(ValidationMessage errorsItem)
@Nonnull public List<ValidationMessage> getErrors()
public void setErrors(List<ValidationMessage> errors)
public HTMLValidationResult warnings(List<ValidationMessage> warnings)
public HTMLValidationResult addWarningsItem(ValidationMessage warningsItem)
@Nonnull public List<ValidationMessage> getWarnings()
public void setWarnings(List<ValidationMessage> warnings)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to HTMLValidationResultpublic static HTMLValidationResult fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to HTMLValidationResultpublic String toJson()
Copyright © 2023. All rights reserved.