package com.ifpdos.debugmenu.upgrades.entrties;

import com.google.gson.annotations.SerializedName;
import d.b.a.a.a;
import g.h0.c.l;
import g.i;

/* JADX INFO: compiled from: UpsPluginFirmware.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class UpsPluginFirmware {

    @SerializedName("id")
    private final String id;

    @SerializedName("module")
    private final String module;

    @SerializedName("monopolize")
    private final boolean monopolize;

    @SerializedName("name")
    private final String name;

    @SerializedName("otaKey")
    private final String otaKey;

    @SerializedName("otakey")
    private final String otakey;

    @SerializedName("reboot")
    private final boolean reboot;

    @SerializedName("type")
    private final String type;

    @SerializedName("version")
    private final String version;

    public UpsPluginFirmware(String str, String str2, String str3, String str4, String str5, String str6, String str7, boolean z, boolean z2) {
        l.f(str, "name");
        l.f(str2, "module");
        l.f(str3, "type");
        l.f(str4, "version");
        l.f(str5, "otaKey");
        l.f(str6, "otakey");
        l.f(str7, "id");
        this.name = str;
        this.module = str2;
        this.type = str3;
        this.version = str4;
        this.otaKey = str5;
        this.otakey = str6;
        this.id = str7;
        this.reboot = z;
        this.monopolize = z2;
    }

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

    public final String component2() {
        return this.module;
    }

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

    public final String component4() {
        return this.version;
    }

    public final String component5() {
        return this.otaKey;
    }

    public final String component6() {
        return this.otakey;
    }

    public final String component7() {
        return this.id;
    }

    public final boolean component8() {
        return this.reboot;
    }

    public final boolean component9() {
        return this.monopolize;
    }

    public final UpsPluginFirmware copy(String str, String str2, String str3, String str4, String str5, String str6, String str7, boolean z, boolean z2) {
        l.f(str, "name");
        l.f(str2, "module");
        l.f(str3, "type");
        l.f(str4, "version");
        l.f(str5, "otaKey");
        l.f(str6, "otakey");
        l.f(str7, "id");
        return new UpsPluginFirmware(str, str2, str3, str4, str5, str6, str7, z, z2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof UpsPluginFirmware)) {
            return false;
        }
        UpsPluginFirmware upsPluginFirmware = (UpsPluginFirmware) obj;
        return l.a(this.name, upsPluginFirmware.name) && l.a(this.module, upsPluginFirmware.module) && l.a(this.type, upsPluginFirmware.type) && l.a(this.version, upsPluginFirmware.version) && l.a(this.otaKey, upsPluginFirmware.otaKey) && l.a(this.otakey, upsPluginFirmware.otakey) && l.a(this.id, upsPluginFirmware.id) && this.reboot == upsPluginFirmware.reboot && this.monopolize == upsPluginFirmware.monopolize;
    }

    public final String getId() {
        return this.id;
    }

    public final String getModule() {
        return this.module;
    }

    public final boolean getMonopolize() {
        return this.monopolize;
    }

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

    public final String getOtaKey() {
        return this.otaKey;
    }

    public final String getOtakey() {
        return this.otakey;
    }

    public final boolean getReboot() {
        return this.reboot;
    }

    public final String getType() {
        return this.type;
    }

    public final String getVersion() {
        return this.version;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r1v10 */
    /* JADX WARN: Type inference failed for: r1v7, types: [int] */
    /* JADX WARN: Type inference failed for: r1v9 */
    /* JADX WARN: Type inference failed for: r2v1 */
    /* JADX WARN: Type inference failed for: r2v2, types: [int] */
    /* JADX WARN: Type inference failed for: r2v3 */
    public int hashCode() {
        int iX = a.x(this.id, a.x(this.otakey, a.x(this.otaKey, a.x(this.version, a.x(this.type, a.x(this.module, this.name.hashCode() * 31, 31), 31), 31), 31), 31), 31);
        boolean z = this.reboot;
        ?? r1 = z;
        if (z) {
            r1 = 1;
        }
        int i2 = (iX + r1) * 31;
        boolean z2 = this.monopolize;
        return i2 + (z2 ? 1 : z2);
    }

    public String toString() {
        StringBuilder sbB = a.B("UpsPluginFirmware(name=");
        sbB.append(this.name);
        sbB.append(", module=");
        sbB.append(this.module);
        sbB.append(", type=");
        sbB.append(this.type);
        sbB.append(", version=");
        sbB.append(this.version);
        sbB.append(", otaKey=");
        sbB.append(this.otaKey);
        sbB.append(", otakey=");
        sbB.append(this.otakey);
        sbB.append(", id=");
        sbB.append(this.id);
        sbB.append(", reboot=");
        sbB.append(this.reboot);
        sbB.append(", monopolize=");
        sbB.append(this.monopolize);
        sbB.append(')');
        return sbB.toString();
    }
}
