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

import X.AnonymousClass2HN;
import X.Lel;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;

public final class Strategy implements Serializable {
    @c(LIZ = "action")
    public final Integer action;
    @c(LIZ = "conditions")
    public final List<Condition> conditions;
    @c(LIZ = "domains")
    public final List<String> domains;

    static {
        Covode.recordClassIndex(60465);
    }

    public Strategy() {
        this((Integer) null, (List) null, (List) null, 7, (AnonymousClass2HN) null);
    }

    public static /* synthetic */ Strategy copy$default(Strategy strategy, Integer num, List<Condition> list, List<String> list2, int i, Object obj) {
        if ((i & 1) != 0) {
            num = strategy.action;
        }
        if ((i & 2) != 0) {
            list = strategy.conditions;
        }
        if ((i & 4) != 0) {
            list2 = strategy.domains;
        }
        return strategy.copy(num, list, list2);
    }

    private Object[] getObjects() {
        return new Object[]{this.action, this.conditions, this.domains};
    }

    public final Strategy copy(Integer num, List<Condition> list, List<String> list2) {
        return new Strategy(num, list, list2);
    }

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

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

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

    public final Integer getAction() {
        return this.action;
    }

    public final List<Condition> getConditions() {
        return this.conditions;
    }

    public final List<String> getDomains() {
        return this.domains;
    }

    public Strategy(Integer num, List<Condition> list, List<String> list2) {
        this.action = num;
        this.conditions = list;
        this.domains = list2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ Strategy(Integer num, Lel lel, Lel lel2, int i, AnonymousClass2HN r6) {
        this((i & 1) != 0 ? 2 : num, (i & 2) != 0 ? Lel.INSTANCE : lel, (i & 4) != 0 ? Lel.INSTANCE : lel2);
    }
}
