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

import androidx.media3.container.NalUnitUtil;
import androidx.media3.extractor.text.ttml.TtmlNode;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
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 kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0010\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B+\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\u0004\b\b\u0010\tJ\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0005HÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0005HÆ\u0003J5\u0010\u0014\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0005HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\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\u0018\u0010\u0006\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\rR\u0018\u0010\u0007\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\r¨\u0006\u001a"}, d2 = {"Lcom/strmr/ps/data/model/tmdb/TMDBCollection;", "", TtmlNode.ATTR_ID, "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "posterPath", "backdropPath", "<init>", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getId", "()I", "getName", "()Ljava/lang/String;", "getPosterPath", "getBackdropPath", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class TMDBCollection {

    @SerializedName("backdrop_path")
    @pq6
    private final String backdropPath;

    @SerializedName(TtmlNode.ATTR_ID)
    private final int id;

    @SerializedName(AppMeasurementSdk.ConditionalUserProperty.NAME)
    @kp6
    private final String name;

    @SerializedName("poster_path")
    @pq6
    private final String posterPath;

    public TMDBCollection(int i, @kp6 String str, @pq6 String str2, @pq6 String str3) {
        cr4.g(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        this.id = i;
        this.name = str;
        this.posterPath = str2;
        this.backdropPath = str3;
    }

    public static /* synthetic */ TMDBCollection copy$default(TMDBCollection tMDBCollection, int i, String str, String str2, String str3, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = tMDBCollection.id;
        }
        if ((i2 & 2) != 0) {
            str = tMDBCollection.name;
        }
        if ((i2 & 4) != 0) {
            str2 = tMDBCollection.posterPath;
        }
        if ((i2 & 8) != 0) {
            str3 = tMDBCollection.backdropPath;
        }
        return tMDBCollection.copy(i, str, str2, str3);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final int getId() {
        return this.id;
    }

    @kp6
    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getName() {
        return this.name;
    }

    @pq6
    /* JADX INFO: renamed from: component3, reason: from getter */
    public final String getPosterPath() {
        return this.posterPath;
    }

    @pq6
    /* JADX INFO: renamed from: component4, reason: from getter */
    public final String getBackdropPath() {
        return this.backdropPath;
    }

    @kp6
    public final TMDBCollection copy(int id, @kp6 String name, @pq6 String posterPath, @pq6 String backdropPath) {
        cr4.g(name, AppMeasurementSdk.ConditionalUserProperty.NAME);
        return new TMDBCollection(id, name, posterPath, backdropPath);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TMDBCollection)) {
            return false;
        }
        TMDBCollection tMDBCollection = (TMDBCollection) other;
        return this.id == tMDBCollection.id && cr4.b(this.name, tMDBCollection.name) && cr4.b(this.posterPath, tMDBCollection.posterPath) && cr4.b(this.backdropPath, tMDBCollection.backdropPath);
    }

    @pq6
    public final String getBackdropPath() {
        return this.backdropPath;
    }

    public final int getId() {
        return this.id;
    }

    @kp6
    public final String getName() {
        return this.name;
    }

    @pq6
    public final String getPosterPath() {
        return this.posterPath;
    }

    public int hashCode() {
        int iB = vw2.b(Integer.hashCode(this.id) * 31, 31, this.name);
        String str = this.posterPath;
        int iHashCode = (iB + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.backdropPath;
        return iHashCode + (str2 != null ? str2.hashCode() : 0);
    }

    @kp6
    public String toString() {
        int i = this.id;
        String str = this.name;
        return n41.u(fi7.k("TMDBCollection(id=", i, ", name=", str, ", posterPath="), this.posterPath, ", backdropPath=", this.backdropPath, ")");
    }
}
