package com.ifpdos.debugmenu.upgrades.entrties;

import d.b.a.a.a;
import g.h0.c.g;
import g.h0.c.l;
import g.i;

/* JADX INFO: compiled from: Progress.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class Progress {
    private boolean finish;
    private String progress;
    private boolean result;

    public Progress() {
        this(false, false, null, 7, null);
    }

    public Progress(boolean z, boolean z2, String str) {
        this.finish = z;
        this.result = z2;
        this.progress = str;
    }

    public static /* synthetic */ Progress copy$default(Progress progress, boolean z, boolean z2, String str, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            z = progress.finish;
        }
        if ((i2 & 2) != 0) {
            z2 = progress.result;
        }
        if ((i2 & 4) != 0) {
            str = progress.progress;
        }
        return progress.copy(z, z2, str);
    }

    public final boolean component1() {
        return this.finish;
    }

    public final boolean component2() {
        return this.result;
    }

    public final String component3() {
        return this.progress;
    }

    public final Progress copy(boolean z, boolean z2, String str) {
        return new Progress(z, z2, str);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Progress)) {
            return false;
        }
        Progress progress = (Progress) obj;
        return this.finish == progress.finish && this.result == progress.result && l.a(this.progress, progress.progress);
    }

    public final boolean getFinish() {
        return this.finish;
    }

    public final String getProgress() {
        return this.progress;
    }

    public final boolean getResult() {
        return this.result;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r0v1, types: [int] */
    /* JADX WARN: Type inference failed for: r0v6 */
    /* JADX WARN: Type inference failed for: r0v7 */
    /* JADX WARN: Type inference failed for: r1v0 */
    /* JADX WARN: Type inference failed for: r1v1, types: [int] */
    /* JADX WARN: Type inference failed for: r1v6 */
    public int hashCode() {
        boolean z = this.finish;
        ?? r0 = z;
        if (z) {
            r0 = 1;
        }
        int i2 = r0 * 31;
        boolean z2 = this.result;
        int i3 = (i2 + (z2 ? 1 : z2)) * 31;
        String str = this.progress;
        return i3 + (str == null ? 0 : str.hashCode());
    }

    public final void setFinish(boolean z) {
        this.finish = z;
    }

    public final void setProgress(String str) {
        this.progress = str;
    }

    public final void setResult(boolean z) {
        this.result = z;
    }

    public String toString() {
        StringBuilder sbB = a.B("Progress(finish=");
        sbB.append(this.finish);
        sbB.append(", result=");
        sbB.append(this.result);
        sbB.append(", progress=");
        return a.u(sbB, this.progress, ')');
    }

    public /* synthetic */ Progress(boolean z, boolean z2, String str, int i2, g gVar) {
        this((i2 & 1) != 0 ? false : z, (i2 & 2) != 0 ? false : z2, (i2 & 4) != 0 ? "0%" : str);
    }
}
