package com.strmr.ps.data.model;

import androidx.media3.container.NalUnitUtil;
import defpackage.cr4;
import defpackage.kp6;
import defpackage.pq6;
import defpackage.uz1;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0003\u0004\u0005\u0006B\t\b\u0004¢\u0006\u0004\b\u0002\u0010\u0003\u0082\u0001\u0003\u0007\b\t¨\u0006\n"}, d2 = {"Lcom/strmr/ps/data/model/UpdateCheckResult;", "", "<init>", "()V", "UpdateAvailable", "NoUpdateAvailable", "Error", "Lcom/strmr/ps/data/model/UpdateCheckResult$Error;", "Lcom/strmr/ps/data/model/UpdateCheckResult$NoUpdateAvailable;", "Lcom/strmr/ps/data/model/UpdateCheckResult$UpdateAvailable;", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public abstract class UpdateCheckResult {

    @Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0003\n\u0002\b\n\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0004\b\u0006\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\r\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u001f\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0016"}, d2 = {"Lcom/strmr/ps/data/model/UpdateCheckResult$Error;", "Lcom/strmr/ps/data/model/UpdateCheckResult;", "message", "", "exception", "", "<init>", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "getMessage", "()Ljava/lang/String;", "getException", "()Ljava/lang/Throwable;", "component1", "component2", "copy", "equals", "", "other", "", "hashCode", "", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class Error extends UpdateCheckResult {

        @pq6
        private final Throwable exception;

        @kp6
        private final String message;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public Error(@kp6 String str, @pq6 Throwable th) {
            super(null);
            cr4.g(str, "message");
            this.message = str;
            this.exception = th;
        }

        public static /* synthetic */ Error copy$default(Error error, String str, Throwable th, int i, Object obj) {
            if ((i & 1) != 0) {
                str = error.message;
            }
            if ((i & 2) != 0) {
                th = error.exception;
            }
            return error.copy(str, th);
        }

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

        @pq6
        /* JADX INFO: renamed from: component2, reason: from getter */
        public final Throwable getException() {
            return this.exception;
        }

        @kp6
        public final Error copy(@kp6 String message, @pq6 Throwable exception) {
            cr4.g(message, "message");
            return new Error(message, exception);
        }

        public boolean equals(@pq6 Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof Error)) {
                return false;
            }
            Error error = (Error) other;
            return cr4.b(this.message, error.message) && cr4.b(this.exception, error.exception);
        }

        @pq6
        public final Throwable getException() {
            return this.exception;
        }

        @kp6
        public final String getMessage() {
            return this.message;
        }

        public int hashCode() {
            int iHashCode = this.message.hashCode() * 31;
            Throwable th = this.exception;
            return iHashCode + (th == null ? 0 : th.hashCode());
        }

        @kp6
        public String toString() {
            return "Error(message=" + this.message + ", exception=" + this.exception + ")";
        }

        public /* synthetic */ Error(String str, Throwable th, int i, uz1 uz1Var) {
            this(str, (i & 2) != 0 ? null : th);
        }
    }

    @Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u0013\u0010\u0004\u001a\u00020\u00052\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007HÖ\u0003J\t\u0010\b\u001a\u00020\tHÖ\u0001J\t\u0010\n\u001a\u00020\u000bHÖ\u0001¨\u0006\f"}, d2 = {"Lcom/strmr/ps/data/model/UpdateCheckResult$NoUpdateAvailable;", "Lcom/strmr/ps/data/model/UpdateCheckResult;", "<init>", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class NoUpdateAvailable extends UpdateCheckResult {

        @kp6
        public static final NoUpdateAvailable INSTANCE = new NoUpdateAvailable();

        private NoUpdateAvailable() {
            super(null);
        }

        public boolean equals(@pq6 Object other) {
            return this == other || (other instanceof NoUpdateAvailable);
        }

        public int hashCode() {
            return -1933904630;
        }

        @kp6
        public String toString() {
            return "NoUpdateAvailable";
        }
    }

    @Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u00052\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\n¨\u0006\u0015"}, d2 = {"Lcom/strmr/ps/data/model/UpdateCheckResult$UpdateAvailable;", "Lcom/strmr/ps/data/model/UpdateCheckResult;", "updateInfo", "Lcom/strmr/ps/data/model/UpdateInfo;", "isForced", "", "<init>", "(Lcom/strmr/ps/data/model/UpdateInfo;Z)V", "getUpdateInfo", "()Lcom/strmr/ps/data/model/UpdateInfo;", "()Z", "component1", "component2", "copy", "equals", "other", "", "hashCode", "", "toString", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class UpdateAvailable extends UpdateCheckResult {
        private final boolean isForced;

        @kp6
        private final UpdateInfo updateInfo;

        public /* synthetic */ UpdateAvailable(UpdateInfo updateInfo, boolean z, int i, uz1 uz1Var) {
            this(updateInfo, (i & 2) != 0 ? false : z);
        }

        public static /* synthetic */ UpdateAvailable copy$default(UpdateAvailable updateAvailable, UpdateInfo updateInfo, boolean z, int i, Object obj) {
            if ((i & 1) != 0) {
                updateInfo = updateAvailable.updateInfo;
            }
            if ((i & 2) != 0) {
                z = updateAvailable.isForced;
            }
            return updateAvailable.copy(updateInfo, z);
        }

        @kp6
        /* JADX INFO: renamed from: component1, reason: from getter */
        public final UpdateInfo getUpdateInfo() {
            return this.updateInfo;
        }

        /* JADX INFO: renamed from: component2, reason: from getter */
        public final boolean getIsForced() {
            return this.isForced;
        }

        @kp6
        public final UpdateAvailable copy(@kp6 UpdateInfo updateInfo, boolean isForced) {
            cr4.g(updateInfo, "updateInfo");
            return new UpdateAvailable(updateInfo, isForced);
        }

        public boolean equals(@pq6 Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof UpdateAvailable)) {
                return false;
            }
            UpdateAvailable updateAvailable = (UpdateAvailable) other;
            return cr4.b(this.updateInfo, updateAvailable.updateInfo) && this.isForced == updateAvailable.isForced;
        }

        @kp6
        public final UpdateInfo getUpdateInfo() {
            return this.updateInfo;
        }

        public int hashCode() {
            return Boolean.hashCode(this.isForced) + (this.updateInfo.hashCode() * 31);
        }

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

        @kp6
        public String toString() {
            return "UpdateAvailable(updateInfo=" + this.updateInfo + ", isForced=" + this.isForced + ")";
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public UpdateAvailable(@kp6 UpdateInfo updateInfo, boolean z) {
            super(null);
            cr4.g(updateInfo, "updateInfo");
            this.updateInfo = updateInfo;
            this.isForced = z;
        }
    }

    public /* synthetic */ UpdateCheckResult(uz1 uz1Var) {
        this();
    }

    private UpdateCheckResult() {
    }
}
