public boolean equals()

in core/src/main/java/com/amplifyframework/core/model/ModelSchema.java [379:396]


    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        } else if (obj == null || getClass() != obj.getClass()) {
            return false;
        } else {
            ModelSchema that = (ModelSchema) obj;
            return ObjectsCompat.equals(getName(), that.getName()) &&
                ObjectsCompat.equals(getPluralName(), that.getPluralName()) &&
                ObjectsCompat.equals(getListPluralName(), that.getListPluralName()) &&
                ObjectsCompat.equals(getSyncPluralName(), that.getSyncPluralName()) &&
                ObjectsCompat.equals(getAuthRules(), that.getAuthRules()) &&
                ObjectsCompat.equals(getFields(), that.getFields()) &&
                ObjectsCompat.equals(getAssociations(), that.getAssociations()) &&
                ObjectsCompat.equals(getIndexes(), that.getIndexes()) &&
                ObjectsCompat.equals(getModelClass(), that.getModelClass());
        }
    }