package com.seewo.ota.udi.model;

import androidx.annotation.Keep;
import f.i;
import f.z.d.k;

/* JADX INFO: compiled from: UpsInformation.kt */
/* JADX INFO: loaded from: classes.dex */
@i
@Keep
public final class UpsInformation {
    private final String id;
    private final String module;
    private final boolean monopolize;
    private final String name;
    private final String otaKey;
    private final boolean reboot;
    private final String type;
    private final String version;

    public UpsInformation(String str, String str2, boolean z, String str3, String str4, boolean z2, String str5, String str6) {
        k.e(str, "id");
        k.e(str2, "module");
        k.e(str3, "name");
        k.e(str4, "otaKey");
        k.e(str5, "type");
        k.e(str6, "version");
        this.id = str;
        this.module = str2;
        this.monopolize = z;
        this.name = str3;
        this.otaKey = str4;
        this.reboot = z2;
        this.type = str5;
        this.version = str6;
    }

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

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

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

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

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

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

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

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

    public final UpsInformation copy(String str, String str2, boolean z, String str3, String str4, boolean z2, String str5, String str6) {
        k.e(str, "id");
        k.e(str2, "module");
        k.e(str3, "name");
        k.e(str4, "otaKey");
        k.e(str5, "type");
        k.e(str6, "version");
        return new UpsInformation(str, str2, z, str3, str4, z2, str5, str6);
    }

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

    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 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: r1v13 */
    /* JADX WARN: Type inference failed for: r1v14 */
    /* JADX WARN: Type inference failed for: r1v3, types: [int] */
    /* JADX WARN: Type inference failed for: r2v0 */
    /* JADX WARN: Type inference failed for: r2v1, types: [int] */
    /* JADX WARN: Type inference failed for: r2v2 */
    public int hashCode() {
        int iHashCode = ((this.id.hashCode() * 31) + this.module.hashCode()) * 31;
        boolean z = this.monopolize;
        ?? r1 = z;
        if (z) {
            r1 = 1;
        }
        int iHashCode2 = (((((iHashCode + r1) * 31) + this.name.hashCode()) * 31) + this.otaKey.hashCode()) * 31;
        boolean z2 = this.reboot;
        return ((((iHashCode2 + (z2 ? 1 : z2)) * 31) + this.type.hashCode()) * 31) + this.version.hashCode();
    }

    public String toString() {
        return "UpsInformation(id=" + this.id + ", module=" + this.module + ", monopolize=" + this.monopolize + ", name=" + this.name + ", otaKey=" + this.otaKey + ", reboot=" + this.reboot + ", type=" + this.type + ", version=" + this.version + ')';
    }
}
