package com.ss.android.ugc.aweme.compliance.api.model;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Set;

public final class RuleConfig implements Serializable {
    @c(LIZ = "op")
    public final String op;
    public final Map<String, String> replaceMap;
    @c(LIZ = "type")
    public final String type;
    @c(LIZ = "value")
    public final Set<String> value;

    static {
        Covode.recordClassIndex(60463);
    }

    public RuleConfig() {
        this((String) null, (String) null, (Set) null, (Map) null, 15, (2HN) null);
    }

    public static /* synthetic */ RuleConfig copy$default(RuleConfig ruleConfig, String str, String str2, Set<String> set, Map<String, String> map, int i, Object obj) {
        if ((i & 1) != 0) {
            str = ruleConfig.op;
        }
        if ((i & 2) != 0) {
            str2 = ruleConfig.type;
        }
        if ((i & 4) != 0) {
            set = ruleConfig.value;
        }
        if ((i & 8) != 0) {
            map = ruleConfig.replaceMap;
        }
        return ruleConfig.copy(str, str2, set, map);
    }

    private Object[] getObjects() {
        return new Object[]{this.op, this.type, this.value, this.replaceMap};
    }

    public final RuleConfig copy(String str, String str2, Set<String> set, Map<String, String> map) {
        M12.LIZ(map);
        return new RuleConfig(str, str2, set, map);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof RuleConfig)) {
            return false;
        }
        return M12.LIZ(((RuleConfig) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("RuleConfig:%s,%s,%s,%s", getObjects());
    }

    public final String getOp() {
        return this.op;
    }

    public final Map<String, String> getReplaceMap() {
        return this.replaceMap;
    }

    public final String getType() {
        return this.type;
    }

    public final Set<String> getValue() {
        return this.value;
    }

    public RuleConfig(String str, String str2, Set<String> set, Map<String, String> map) {
        M12.LIZ(map);
        this.op = str;
        this.type = str2;
        this.value = set;
        this.replaceMap = map;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ RuleConfig(String str, String str2, Set set, Map map, int i, 2HN r8) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : set, (i & 8) != 0 ? new LinkedHashMap() : map);
    }
}
