package com.strmr.ps.data.model.tmdb;

import androidx.media3.container.NalUnitUtil;
import com.google.gson.annotations.SerializedName;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.kp6;
import defpackage.n41;
import defpackage.pq6;
import defpackage.vw2;
import defpackage.vx8;
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\u0002\b\u0014\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B+\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\u0004\b\b\u0010\tJ\b\u0010\u0012\u001a\u0004\u0018\u00010\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0005HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\u0010J:\u0010\u0017\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0005HÆ\u0001¢\u0006\u0002\u0010\u0018J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0005HÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0018\u0010\u0002\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0016\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0016\u0010\u0006\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u001a\u0010\u0007\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010¨\u0006\u001e"}, d2 = {"Lcom/strmr/ps/data/model/tmdb/TMDBWatchProvider;", "", "logoPath", "", "providerId", "", "providerName", "displayPriority", "<init>", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Integer;)V", "getLogoPath", "()Ljava/lang/String;", "getProviderId", "()I", "getProviderName", "getDisplayPriority", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getLogoUrl", "component1", "component2", "component3", "component4", "copy", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Integer;)Lcom/strmr/ps/data/model/tmdb/TMDBWatchProvider;", "equals", "", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vx8
public final /* data */ class TMDBWatchProvider {

    @SerializedName("display_priority")
    @pq6
    private final Integer displayPriority;

    @SerializedName("logo_path")
    @pq6
    private final String logoPath;

    @SerializedName("provider_id")
    private final int providerId;

    @SerializedName("provider_name")
    @kp6
    private final String providerName;

    public TMDBWatchProvider(@pq6 String str, int i, @kp6 String str2, @pq6 Integer num) {
        cr4.g(str2, "providerName");
        this.logoPath = str;
        this.providerId = i;
        this.providerName = str2;
        this.displayPriority = num;
    }

    public static /* synthetic */ TMDBWatchProvider copy$default(TMDBWatchProvider tMDBWatchProvider, String str, int i, String str2, Integer num, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = tMDBWatchProvider.logoPath;
        }
        if ((i2 & 2) != 0) {
            i = tMDBWatchProvider.providerId;
        }
        if ((i2 & 4) != 0) {
            str2 = tMDBWatchProvider.providerName;
        }
        if ((i2 & 8) != 0) {
            num = tMDBWatchProvider.displayPriority;
        }
        return tMDBWatchProvider.copy(str, i, str2, num);
    }

    @pq6
    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getLogoPath() {
        return this.logoPath;
    }

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

    @kp6
    /* JADX INFO: renamed from: component3, reason: from getter */
    public final String getProviderName() {
        return this.providerName;
    }

    @pq6
    /* JADX INFO: renamed from: component4, reason: from getter */
    public final Integer getDisplayPriority() {
        return this.displayPriority;
    }

    @kp6
    public final TMDBWatchProvider copy(@pq6 String logoPath, int providerId, @kp6 String providerName, @pq6 Integer displayPriority) {
        cr4.g(providerName, "providerName");
        return new TMDBWatchProvider(logoPath, providerId, providerName, displayPriority);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TMDBWatchProvider)) {
            return false;
        }
        TMDBWatchProvider tMDBWatchProvider = (TMDBWatchProvider) other;
        return cr4.b(this.logoPath, tMDBWatchProvider.logoPath) && this.providerId == tMDBWatchProvider.providerId && cr4.b(this.providerName, tMDBWatchProvider.providerName) && cr4.b(this.displayPriority, tMDBWatchProvider.displayPriority);
    }

    @pq6
    public final Integer getDisplayPriority() {
        return this.displayPriority;
    }

    @pq6
    public final String getLogoPath() {
        return this.logoPath;
    }

    @pq6
    public final String getLogoUrl() {
        String str = this.logoPath;
        if (str != null) {
            return "https://image.tmdb.org/t/p/w92".concat(str);
        }
        return null;
    }

    public final int getProviderId() {
        return this.providerId;
    }

    @kp6
    public final String getProviderName() {
        return this.providerName;
    }

    public int hashCode() {
        String str = this.logoPath;
        int iB = vw2.b(fi7.a(this.providerId, (str == null ? 0 : str.hashCode()) * 31, 31), 31, this.providerName);
        Integer num = this.displayPriority;
        return iB + (num != null ? num.hashCode() : 0);
    }

    @kp6
    public String toString() {
        String str = this.logoPath;
        int i = this.providerId;
        String str2 = this.providerName;
        Integer num = this.displayPriority;
        StringBuilder sbV = n41.v("TMDBWatchProvider(logoPath=", i, str, ", providerId=", ", providerName=");
        sbV.append(str2);
        sbV.append(", displayPriority=");
        sbV.append(num);
        sbV.append(")");
        return sbV.toString();
    }
}
