@Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            Example example = (Example) o;
            return allowConstraintErrors == example.allowConstraintErrors && Objects.equals(title, example.title)
                    && Objects.equals(documentation, example.documentation)
                    && Objects.equals(input, example.input)
                    && Objects.equals(output, example.output)
                    && Objects.equals(error, example.error);
        }
@return Returns true if input constraints errors are allowed.
smithy-model/src/main/java/software/amazon/smithy/model/traits/ExamplesTrait.java