package com.ss.android.ugc.aweme.feedback.runtime.behavior.strategy;

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

public final class DraftOperationLog {
    @c(LIZ = "count")
    public final int count;
    @c(LIZ = "e_code")
    public final List<DraftOperationCode> errorCode;
    @c(LIZ = "name")
    public final String name;
    @c(LIZ = "success_count")
    public final int successCount;

    static {
        Covode.recordClassIndex(80100);
    }

    public DraftOperationLog() {
        this((String) null, 0, (List) null, 0, 15, (AnonymousClass2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feedback_runtime_behavior_strategy_DraftOperationLog_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ DraftOperationLog copy$default(DraftOperationLog draftOperationLog, String str, int i, List<DraftOperationCode> list, int i2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            str = draftOperationLog.name;
        }
        if ((i3 & 2) != 0) {
            i = draftOperationLog.count;
        }
        if ((i3 & 4) != 0) {
            list = draftOperationLog.errorCode;
        }
        if ((i3 & 8) != 0) {
            i2 = draftOperationLog.successCount;
        }
        return draftOperationLog.copy(str, i, list, i2);
    }

    private Object[] getObjects() {
        return new Object[]{this.name, Integer.valueOf(this.count), this.errorCode, Integer.valueOf(this.successCount)};
    }

    public final DraftOperationLog copy(String str, int i, List<DraftOperationCode> list, int i2) {
        M12.LIZ(str, list);
        return new DraftOperationLog(str, i, list, i2);
    }

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

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

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

    public final int getCount() {
        return this.count;
    }

    public final List<DraftOperationCode> getErrorCode() {
        return this.errorCode;
    }

    public final String getName() {
        return this.name;
    }

    public final int getSuccessCount() {
        return this.successCount;
    }

    public DraftOperationLog(String str, int i, List<DraftOperationCode> list, int i2) {
        M12.LIZ(str, list);
        this.name = str;
        this.count = i;
        this.errorCode = list;
        this.successCount = i2;
    }

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