package com.seewo.ota.v.s.r;

import f.z.d.g;
import f.z.d.k;

/* JADX INFO: compiled from: UsbInfo.kt */
/* JADX INFO: loaded from: classes.dex */
public final class c {
    private final int a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private final int f2444b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final String f2445c;

    public c(int i2, int i3) {
        this(i2, i3, null, 4, null);
    }

    public c(int i2, int i3, String str) {
        this.a = i2;
        this.f2444b = i3;
        this.f2445c = str;
    }

    public final int a() {
        return this.a;
    }

    public final int b() {
        return this.f2444b;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof c)) {
            return false;
        }
        c cVar = (c) obj;
        return this.a == cVar.a && this.f2444b == cVar.f2444b && k.a(this.f2445c, cVar.f2445c);
    }

    public int hashCode() {
        int iHashCode = ((Integer.hashCode(this.a) * 31) + Integer.hashCode(this.f2444b)) * 31;
        String str = this.f2445c;
        return iHashCode + (str == null ? 0 : str.hashCode());
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("UsbInfo(pid=");
        int i2 = this.a;
        f.e0.a.a(16);
        String string = Integer.toString(i2, 16);
        k.d(string, "toString(this, checkRadix(radix))");
        sb.append(string);
        sb.append(", vid=");
        int i3 = this.f2444b;
        f.e0.a.a(16);
        String string2 = Integer.toString(i3, 16);
        k.d(string2, "toString(this, checkRadix(radix))");
        sb.append(string2);
        sb.append(", productName=");
        sb.append(this.f2445c);
        sb.append(')');
        return sb.toString();
    }

    public /* synthetic */ c(int i2, int i3, String str, int i4, g gVar) {
        this(i2, i3, (i4 & 4) != 0 ? null : str);
    }
}
