package com.strmr.ps.data.local.entity;

import androidx.media3.container.NalUnitUtil;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.ih7;
import defpackage.kp6;
import defpackage.n41;
import defpackage.pq6;
import defpackage.uz1;
import defpackage.vm2;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u001d\b\u0087\b\u0018\u00002\u00020\u0001BM\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u0012\b\b\u0002\u0010\b\u001a\u00020\u0005\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0005\u0012\b\b\u0002\u0010\n\u001a\u00020\u000b\u0012\b\b\u0002\u0010\f\u001a\u00020\u000b¢\u0006\u0004\b\r\u0010\u000eJ\t\u0010\u001b\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0005HÆ\u0003J\u0010\u0010\u001f\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\u0016J\t\u0010 \u001a\u00020\u000bHÆ\u0003J\t\u0010!\u001a\u00020\u000bHÆ\u0003JV\u0010\"\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u00052\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\n\u001a\u00020\u000b2\b\b\u0002\u0010\f\u001a\u00020\u000bHÆ\u0001¢\u0006\u0002\u0010#J\u0013\u0010$\u001a\u00020\u00072\b\u0010%\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010&\u001a\u00020\u0005HÖ\u0001J\t\u0010'\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0013R\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0012R\u0015\u0010\t\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010\u0017\u001a\u0004\b\u0015\u0010\u0016R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0019R\u0011\u0010\f\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0019¨\u0006("}, d2 = {"Lcom/strmr/ps/data/local/entity/SyncCheckpoint;", "", "syncType", "", "currentPage", "", "isInProgress", "", "itemsSynced", "totalItems", "startedAt", "", "lastUpdatedAt", "<init>", "(Ljava/lang/String;IZILjava/lang/Integer;JJ)V", "getSyncType", "()Ljava/lang/String;", "getCurrentPage", "()I", "()Z", "getItemsSynced", "getTotalItems", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getStartedAt", "()J", "getLastUpdatedAt", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/lang/String;IZILjava/lang/Integer;JJ)Lcom/strmr/ps/data/local/entity/SyncCheckpoint;", "equals", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vm2
public final /* data */ class SyncCheckpoint {
    private final int currentPage;
    private final boolean isInProgress;
    private final int itemsSynced;
    private final long lastUpdatedAt;
    private final long startedAt;

    @ih7
    @kp6
    private final String syncType;

    @pq6
    private final Integer totalItems;

    public SyncCheckpoint(@kp6 String str, int i, boolean z, int i2, @pq6 Integer num, long j, long j2) {
        cr4.g(str, "syncType");
        this.syncType = str;
        this.currentPage = i;
        this.isInProgress = z;
        this.itemsSynced = i2;
        this.totalItems = num;
        this.startedAt = j;
        this.lastUpdatedAt = j2;
    }

    public static /* synthetic */ SyncCheckpoint copy$default(SyncCheckpoint syncCheckpoint, String str, int i, boolean z, int i2, Integer num, long j, long j2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            str = syncCheckpoint.syncType;
        }
        if ((i3 & 2) != 0) {
            i = syncCheckpoint.currentPage;
        }
        if ((i3 & 4) != 0) {
            z = syncCheckpoint.isInProgress;
        }
        if ((i3 & 8) != 0) {
            i2 = syncCheckpoint.itemsSynced;
        }
        if ((i3 & 16) != 0) {
            num = syncCheckpoint.totalItems;
        }
        if ((i3 & 32) != 0) {
            j = syncCheckpoint.startedAt;
        }
        if ((i3 & 64) != 0) {
            j2 = syncCheckpoint.lastUpdatedAt;
        }
        long j3 = j2;
        long j4 = j;
        Integer num2 = num;
        boolean z2 = z;
        return syncCheckpoint.copy(str, i, z2, i2, num2, j4, j3);
    }

    @kp6
    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getSyncType() {
        return this.syncType;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final int getCurrentPage() {
        return this.currentPage;
    }

    /* JADX INFO: renamed from: component3, reason: from getter */
    public final boolean getIsInProgress() {
        return this.isInProgress;
    }

    /* JADX INFO: renamed from: component4, reason: from getter */
    public final int getItemsSynced() {
        return this.itemsSynced;
    }

    @pq6
    /* JADX INFO: renamed from: component5, reason: from getter */
    public final Integer getTotalItems() {
        return this.totalItems;
    }

    /* JADX INFO: renamed from: component6, reason: from getter */
    public final long getStartedAt() {
        return this.startedAt;
    }

    /* JADX INFO: renamed from: component7, reason: from getter */
    public final long getLastUpdatedAt() {
        return this.lastUpdatedAt;
    }

    @kp6
    public final SyncCheckpoint copy(@kp6 String syncType, int currentPage, boolean isInProgress, int itemsSynced, @pq6 Integer totalItems, long startedAt, long lastUpdatedAt) {
        cr4.g(syncType, "syncType");
        return new SyncCheckpoint(syncType, currentPage, isInProgress, itemsSynced, totalItems, startedAt, lastUpdatedAt);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof SyncCheckpoint)) {
            return false;
        }
        SyncCheckpoint syncCheckpoint = (SyncCheckpoint) other;
        return cr4.b(this.syncType, syncCheckpoint.syncType) && this.currentPage == syncCheckpoint.currentPage && this.isInProgress == syncCheckpoint.isInProgress && this.itemsSynced == syncCheckpoint.itemsSynced && cr4.b(this.totalItems, syncCheckpoint.totalItems) && this.startedAt == syncCheckpoint.startedAt && this.lastUpdatedAt == syncCheckpoint.lastUpdatedAt;
    }

    public final int getCurrentPage() {
        return this.currentPage;
    }

    public final int getItemsSynced() {
        return this.itemsSynced;
    }

    public final long getLastUpdatedAt() {
        return this.lastUpdatedAt;
    }

    public final long getStartedAt() {
        return this.startedAt;
    }

    @kp6
    public final String getSyncType() {
        return this.syncType;
    }

    @pq6
    public final Integer getTotalItems() {
        return this.totalItems;
    }

    public int hashCode() {
        int iA = fi7.a(this.itemsSynced, fi7.c(fi7.a(this.currentPage, this.syncType.hashCode() * 31, 31), 31, this.isInProgress), 31);
        Integer num = this.totalItems;
        return Long.hashCode(this.lastUpdatedAt) + fi7.b((iA + (num == null ? 0 : num.hashCode())) * 31, 31, this.startedAt);
    }

    public final boolean isInProgress() {
        return this.isInProgress;
    }

    @kp6
    public String toString() {
        String str = this.syncType;
        int i = this.currentPage;
        boolean z = this.isInProgress;
        int i2 = this.itemsSynced;
        Integer num = this.totalItems;
        long j = this.startedAt;
        long j2 = this.lastUpdatedAt;
        StringBuilder sbV = n41.v("SyncCheckpoint(syncType=", i, str, ", currentPage=", ", isInProgress=");
        sbV.append(z);
        sbV.append(", itemsSynced=");
        sbV.append(i2);
        sbV.append(", totalItems=");
        sbV.append(num);
        sbV.append(", startedAt=");
        sbV.append(j);
        sbV.append(", lastUpdatedAt=");
        sbV.append(j2);
        sbV.append(")");
        return sbV.toString();
    }

    public /* synthetic */ SyncCheckpoint(String str, int i, boolean z, int i2, Integer num, long j, long j2, int i3, uz1 uz1Var) {
        this(str, (i3 & 2) != 0 ? 0 : i, (i3 & 4) != 0 ? false : z, (i3 & 8) != 0 ? 0 : i2, (i3 & 16) != 0 ? null : num, (i3 & 32) != 0 ? System.currentTimeMillis() : j, (i3 & 64) != 0 ? System.currentTimeMillis() : j2);
    }
}
