package com.seewo.ota.udi.model;

import com.google.gson.annotations.SerializedName;
import com.seewo.aidl.model.OTAScheduleTask;
import f.z.d.k;

/* JADX INFO: compiled from: OTAScheduleTaskUdi.kt */
/* JADX INFO: loaded from: classes.dex */
public final class c {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    @SerializedName("minute")
    private final int f2277b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    @SerializedName("weekDay")
    private final int f2278c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    @SerializedName("monthDay")
    private final int f2279d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    @SerializedName("month")
    private final int f2280e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    @SerializedName("year")
    private final int f2281f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    @SerializedName("repeatType")
    private final OTAScheduleTask.RepeatType f2282g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    @SerializedName("taskSwitch")
    private final boolean f2283h;

    public c(int i2, int i3, int i4, int i5, int i6, int i7, OTAScheduleTask.RepeatType repeatType, boolean z) {
        k.e(repeatType, "repeatType");
        this.a = i2;
        this.f2277b = i3;
        this.f2278c = i4;
        this.f2279d = i5;
        this.f2280e = i6;
        this.f2281f = i7;
        this.f2282g = repeatType;
        this.f2283h = z;
    }

    public final OTAScheduleTask a() {
        return new OTAScheduleTask(this.a, this.f2277b, this.f2278c, this.f2279d, this.f2280e, this.f2281f, this.f2282g, this.f2283h);
    }

    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.f2277b == cVar.f2277b && this.f2278c == cVar.f2278c && this.f2279d == cVar.f2279d && this.f2280e == cVar.f2280e && this.f2281f == cVar.f2281f && this.f2282g == cVar.f2282g && this.f2283h == cVar.f2283h;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r1v13, types: [int] */
    /* JADX WARN: Type inference failed for: r1v14 */
    /* JADX WARN: Type inference failed for: r1v15 */
    public int hashCode() {
        int iHashCode = ((((((((((((Integer.hashCode(this.a) * 31) + Integer.hashCode(this.f2277b)) * 31) + Integer.hashCode(this.f2278c)) * 31) + Integer.hashCode(this.f2279d)) * 31) + Integer.hashCode(this.f2280e)) * 31) + Integer.hashCode(this.f2281f)) * 31) + this.f2282g.hashCode()) * 31;
        boolean z = this.f2283h;
        ?? r1 = z;
        if (z) {
            r1 = 1;
        }
        return iHashCode + r1;
    }

    public String toString() {
        return "OTAScheduleTaskUdi(hour=" + this.a + ", minute=" + this.f2277b + ", weekDay=" + this.f2278c + ", monthDay=" + this.f2279d + ", month=" + this.f2280e + ", year=" + this.f2281f + ", repeatType=" + this.f2282g + ", taskSwitch=" + this.f2283h + ')';
    }
}
