package androidx.work.impl.model; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public final class WorkGenerationalId { private final int generation; private final String workSpecId; public static /* synthetic */ WorkGenerationalId copy$default(WorkGenerationalId workGenerationalId, String str, int i, int i2, Object obj) { if ((i2 & 1) != 0) { str = workGenerationalId.workSpecId; } if ((i2 & 2) != 0) { i = workGenerationalId.generation; } return workGenerationalId.copy(str, i); } public final String component1() { return this.workSpecId; } public final int component2() { return this.generation; } public final WorkGenerationalId copy(String workSpecId, int i) { Intrinsics.checkNotNullParameter(workSpecId, "workSpecId"); return new WorkGenerationalId(workSpecId, i); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof WorkGenerationalId)) { return false; } WorkGenerationalId workGenerationalId = (WorkGenerationalId) obj; return Intrinsics.areEqual(this.workSpecId, workGenerationalId.workSpecId) && this.generation == workGenerationalId.generation; } public final int getGeneration() { return this.generation; } public final String getWorkSpecId() { return this.workSpecId; } public int hashCode() { return (this.workSpecId.hashCode() * 31) + Integer.hashCode(this.generation); } public String toString() { return "WorkGenerationalId(workSpecId=" + this.workSpecId + ", generation=" + this.generation + ')'; } public WorkGenerationalId(String workSpecId, int i) { Intrinsics.checkNotNullParameter(workSpecId, "workSpecId"); this.workSpecId = workSpecId; this.generation = i; } }