package g.f.c.b.k.pc;

import com.ifpdos.udi.service.ups.pc.DeviceMode;
import com.ifpdos.udi.service.ups.pc.RebootBy;
import g.a.a.a.a;
import g.e.b.f0.b;
import io.netty.handler.codec.rtsp.RtspHeaders;
import kotlin.Metadata;
import kotlin.jvm.internal.o;

/* JADX INFO: renamed from: g.f.c.b.k.a.i, reason: from Kotlin metadata */
/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001BA\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\u0006\u0010\u0007\u001a\u00020\u0005\u0012\u0006\u0010\b\u001a\u00020\t\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\f¢\u0006\u0002\u0010\rJ\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001d\u001a\u00020\tHÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\fHÆ\u0003JS\u0010 \u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00052\b\b\u0002\u0010\u0007\u001a\u00020\u00052\b\b\u0002\u0010\b\u001a\u00020\t2\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\fHÆ\u0001J\u0013\u0010!\u001a\u00020\t2\b\u0010\"\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010#\u001a\u00020$HÖ\u0001J\t\u0010%\u001a\u00020\u0005HÖ\u0001R\u0016\u0010\b\u001a\u00020\t8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0016\u0010\u0006\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0018\u0010\n\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0011R\u0016\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0011R\u0016\u0010\u0007\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0011R\u0018\u0010\u000b\u001a\u0004\u0018\u00010\f8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018¨\u0006&"}, d2 = {"Lcom/ifpdos/udi/service/ups/pc/UpgradeRequest;", "", RtspHeaders.Values.MODE, "Lcom/ifpdos/udi/service/ups/pc/DeviceMode;", "otaKey", "", "id", "path", "force", "", "options", "rebootBy", "Lcom/ifpdos/udi/service/ups/pc/RebootBy;", "(Lcom/ifpdos/udi/service/ups/pc/DeviceMode;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Lcom/ifpdos/udi/service/ups/pc/RebootBy;)V", "getForce", "()Z", "getId", "()Ljava/lang/String;", "getMode", "()Lcom/ifpdos/udi/service/ups/pc/DeviceMode;", "getOptions", "getOtaKey", "getPath", "getRebootBy", "()Lcom/ifpdos/udi/service/ups/pc/RebootBy;", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "equals", "other", "hashCode", "", "toString", "ups_release"}, k = 1, mv = {1, 6, 0}, xi = 48)
public final /* data */ class UpgradeRequest {

    @b(RtspHeaders.Values.MODE)
    public final DeviceMode a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    @b("otaKey")
    public final String f4805b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    @b("id")
    public final String f4806c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    @b("path")
    public final String f4807d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    @b("force")
    public final boolean f4808e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    @b("options")
    public final String f4809f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    @b("rebootBy")
    public final RebootBy f4810g;

    public UpgradeRequest(DeviceMode deviceMode, String str, String str2, String str3, boolean z2, String str4, RebootBy rebootBy) {
        o.f(deviceMode, RtspHeaders.Values.MODE);
        o.f(str, "otaKey");
        o.f(str2, "id");
        o.f(str3, "path");
        this.a = deviceMode;
        this.f4805b = str;
        this.f4806c = str2;
        this.f4807d = str3;
        this.f4808e = z2;
        this.f4809f = str4;
        this.f4810g = rebootBy;
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof UpgradeRequest)) {
            return false;
        }
        UpgradeRequest upgradeRequest = (UpgradeRequest) other;
        return this.a == upgradeRequest.a && o.a(this.f4805b, upgradeRequest.f4805b) && o.a(this.f4806c, upgradeRequest.f4806c) && o.a(this.f4807d, upgradeRequest.f4807d) && this.f4808e == upgradeRequest.f4808e && o.a(this.f4809f, upgradeRequest.f4809f) && o.a(this.f4810g, upgradeRequest.f4810g);
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r1v10 */
    /* JADX WARN: Type inference failed for: r1v11 */
    /* JADX WARN: Type inference failed for: r1v4, types: [int] */
    public int hashCode() {
        int iH = a.H(this.f4807d, a.H(this.f4806c, a.H(this.f4805b, this.a.hashCode() * 31, 31), 31), 31);
        boolean z2 = this.f4808e;
        ?? r1 = z2;
        if (z2) {
            r1 = 1;
        }
        int i2 = (iH + r1) * 31;
        String str = this.f4809f;
        int iHashCode = (i2 + (str == null ? 0 : str.hashCode())) * 31;
        RebootBy rebootBy = this.f4810g;
        return iHashCode + (rebootBy != null ? rebootBy.hashCode() : 0);
    }

    public String toString() {
        StringBuilder sbF = a.F("UpgradeRequest(mode=");
        sbF.append(this.a);
        sbF.append(", otaKey=");
        sbF.append(this.f4805b);
        sbF.append(", id=");
        sbF.append(this.f4806c);
        sbF.append(", path=");
        sbF.append(this.f4807d);
        sbF.append(", force=");
        sbF.append(this.f4808e);
        sbF.append(", options=");
        sbF.append(this.f4809f);
        sbF.append(", rebootBy=");
        sbF.append(this.f4810g);
        sbF.append(')');
        return sbF.toString();
    }
}
