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 TrafficControl implements Serializable {
    @c(LIZ = "business")
    public final String business;
    @c(LIZ = "strategy")
    public final List<Strategy> strategy;

    static {
        Covode.recordClassIndex(60467);
    }

    public TrafficControl() {
        this((String) null, (List) null, 3, (AnonymousClass2HN) null);
    }

    public static /* synthetic */ TrafficControl copy$default(TrafficControl trafficControl, String str, List<Strategy> list, int i, Object obj) {
        if ((i & 1) != 0) {
            str = trafficControl.business;
        }
        if ((i & 2) != 0) {
            list = trafficControl.strategy;
        }
        return trafficControl.copy(str, list);
    }

    private Object[] getObjects() {
        return new Object[]{this.business, this.strategy};
    }

    public final TrafficControl copy(String str, List<Strategy> list) {
        return new TrafficControl(str, list);
    }

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

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

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

    public final String getBusiness() {
        return this.business;
    }

    public final List<Strategy> getStrategy() {
        return this.strategy;
    }

    public TrafficControl(String str, List<Strategy> list) {
        this.business = str;
        this.strategy = list;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ TrafficControl(String str, Lel lel, int i, AnonymousClass2HN r5) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? Lel.INSTANCE : lel);
    }
}
