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

import com.google.gson.annotations.SerializedName;
import java.util.List;

/* JADX INFO: compiled from: TouchModel.kt */
/* JADX INFO: loaded from: classes.dex */
public final class h<T> {

    @SerializedName("protocol_version")
    private final int a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    @SerializedName("touch")
    private final List<T> f2579b;

    /* JADX WARN: Multi-variable type inference failed */
    public h() {
        this(0, null, 3, 0 == true ? 1 : 0);
    }

    /* JADX WARN: Multi-variable type inference failed */
    public h(int i2, List<? extends T> list) {
        f.z.d.k.e(list, "touch");
        this.a = i2;
        this.f2579b = list;
    }

    public final List<T> a() {
        return this.f2579b;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof h)) {
            return false;
        }
        h hVar = (h) obj;
        return this.a == hVar.a && f.z.d.k.a(this.f2579b, hVar.f2579b);
    }

    public int hashCode() {
        return (Integer.hashCode(this.a) * 31) + this.f2579b.hashCode();
    }

    public String toString() {
        return "TouchModel(protocolVersion=" + this.a + ", touch=" + this.f2579b + ')';
    }

    public /* synthetic */ h(int i2, List list, int i3, f.z.d.g gVar) {
        this((i3 & 1) != 0 ? 1 : i2, (i3 & 2) != 0 ? f.u.k.d() : list);
    }
}
