public boolean equals()

in extension-base/src/main/java/com/azure/autorest/extension/base/model/codemodel/XmlSerializationFormat.java [152:163]


    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }

        if (!(other instanceof XmlSerializationFormat)) {
            return false;
        }
        XmlSerializationFormat rhs = ((XmlSerializationFormat) other);
        return Objects.equals(name, rhs.name) && Objects.equals(namespace, rhs.namespace) && attribute == rhs.attribute
            && wrapped == rhs.wrapped && Objects.equals(prefix, rhs.prefix) && text == rhs.text;
    }