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

import androidx.media3.container.NalUnitUtil;
import androidx.media3.extractor.text.ttml.TtmlNode;
import com.google.gson.annotations.SerializedName;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.kp6;
import defpackage.n89;
import defpackage.pq6;
import defpackage.vw2;
import defpackage.vx8;
import java.util.List;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\u0006\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u001f\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001Bc\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\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u0005\u0012\u000e\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000e¢\u0006\u0004\b\u000f\u0010\u0010J\b\u0010\u001f\u001a\u0004\u0018\u00010\u0005J\b\u0010 \u001a\u0004\u0018\u00010\u0005J\b\u0010!\u001a\u0004\u0018\u00010\u0005J\t\u0010\"\u001a\u00020\u0003HÆ\u0003J\t\u0010#\u001a\u00020\u0005HÆ\u0003J\u000b\u0010$\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010%\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010&\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010'\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0010\u0010(\u001a\u0004\u0018\u00010\u000bHÆ\u0003¢\u0006\u0002\u0010\u001aJ\u000b\u0010)\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0011\u0010*\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000eHÆ\u0003J|\u0010+\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\u00052\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u00052\u0010\b\u0002\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000eHÆ\u0001¢\u0006\u0002\u0010,J\u0013\u0010-\u001a\u00020.2\b\u0010/\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00100\u001a\u00020\u0003HÖ\u0001J\t\u00101\u001a\u00020\u0005HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0018\u0010\u0006\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0014R\u0018\u0010\u0007\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0014R\u0018\u0010\b\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0014R\u0018\u0010\t\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0014R\u001a\u0010\n\u001a\u0004\u0018\u00010\u000b8\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u001b\u001a\u0004\b\u0019\u0010\u001aR\u0018\u0010\f\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0014R\u001e\u0010\r\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000e8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001e¨\u00062"}, d2 = {"Lcom/strmr/ps/data/model/tmdb/TMDBPersonMovieCredit;", "", TtmlNode.ATTR_ID, "", "title", "", "overview", "posterPath", "backdropPath", "releaseDate", "voteAverage", "", "character", "genreIds", "", "<init>", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/String;Ljava/util/List;)V", "getId", "()I", "getTitle", "()Ljava/lang/String;", "getOverview", "getPosterPath", "getBackdropPath", "getReleaseDate", "getVoteAverage", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getCharacter", "getGenreIds", "()Ljava/util/List;", "getPosterUrl", "getBackdropUrl", "getYear", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/String;Ljava/util/List;)Lcom/strmr/ps/data/model/tmdb/TMDBPersonMovieCredit;", "equals", "", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vx8
public final /* data */ class TMDBPersonMovieCredit {

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

    @SerializedName("character")
    @pq6
    private final String character;

    @SerializedName("genre_ids")
    @pq6
    private final List<Integer> genreIds;

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

    @SerializedName("overview")
    @pq6
    private final String overview;

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

    @SerializedName("release_date")
    @pq6
    private final String releaseDate;

    @SerializedName("title")
    @kp6
    private final String title;

    @SerializedName("vote_average")
    @pq6
    private final Double voteAverage;

    public TMDBPersonMovieCredit(int i, @kp6 String str, @pq6 String str2, @pq6 String str3, @pq6 String str4, @pq6 String str5, @pq6 Double d, @pq6 String str6, @pq6 List<Integer> list) {
        cr4.g(str, "title");
        this.id = i;
        this.title = str;
        this.overview = str2;
        this.posterPath = str3;
        this.backdropPath = str4;
        this.releaseDate = str5;
        this.voteAverage = d;
        this.character = str6;
        this.genreIds = list;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ TMDBPersonMovieCredit copy$default(TMDBPersonMovieCredit tMDBPersonMovieCredit, int i, String str, String str2, String str3, String str4, String str5, Double d, String str6, List list, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = tMDBPersonMovieCredit.id;
        }
        if ((i2 & 2) != 0) {
            str = tMDBPersonMovieCredit.title;
        }
        if ((i2 & 4) != 0) {
            str2 = tMDBPersonMovieCredit.overview;
        }
        if ((i2 & 8) != 0) {
            str3 = tMDBPersonMovieCredit.posterPath;
        }
        if ((i2 & 16) != 0) {
            str4 = tMDBPersonMovieCredit.backdropPath;
        }
        if ((i2 & 32) != 0) {
            str5 = tMDBPersonMovieCredit.releaseDate;
        }
        if ((i2 & 64) != 0) {
            d = tMDBPersonMovieCredit.voteAverage;
        }
        if ((i2 & 128) != 0) {
            str6 = tMDBPersonMovieCredit.character;
        }
        if ((i2 & 256) != 0) {
            list = tMDBPersonMovieCredit.genreIds;
        }
        String str7 = str6;
        List list2 = list;
        String str8 = str5;
        Double d2 = d;
        String str9 = str4;
        String str10 = str2;
        return tMDBPersonMovieCredit.copy(i, str, str10, str3, str9, str8, d2, str7, list2);
    }

    /* 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 getTitle() {
        return this.title;
    }

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

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

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

    @pq6
    /* JADX INFO: renamed from: component6, reason: from getter */
    public final String getReleaseDate() {
        return this.releaseDate;
    }

    @pq6
    /* JADX INFO: renamed from: component7, reason: from getter */
    public final Double getVoteAverage() {
        return this.voteAverage;
    }

    @pq6
    /* JADX INFO: renamed from: component8, reason: from getter */
    public final String getCharacter() {
        return this.character;
    }

    @pq6
    public final List<Integer> component9() {
        return this.genreIds;
    }

    @kp6
    public final TMDBPersonMovieCredit copy(int id, @kp6 String title, @pq6 String overview, @pq6 String posterPath, @pq6 String backdropPath, @pq6 String releaseDate, @pq6 Double voteAverage, @pq6 String character, @pq6 List<Integer> genreIds) {
        cr4.g(title, "title");
        return new TMDBPersonMovieCredit(id, title, overview, posterPath, backdropPath, releaseDate, voteAverage, character, genreIds);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TMDBPersonMovieCredit)) {
            return false;
        }
        TMDBPersonMovieCredit tMDBPersonMovieCredit = (TMDBPersonMovieCredit) other;
        return this.id == tMDBPersonMovieCredit.id && cr4.b(this.title, tMDBPersonMovieCredit.title) && cr4.b(this.overview, tMDBPersonMovieCredit.overview) && cr4.b(this.posterPath, tMDBPersonMovieCredit.posterPath) && cr4.b(this.backdropPath, tMDBPersonMovieCredit.backdropPath) && cr4.b(this.releaseDate, tMDBPersonMovieCredit.releaseDate) && cr4.b(this.voteAverage, tMDBPersonMovieCredit.voteAverage) && cr4.b(this.character, tMDBPersonMovieCredit.character) && cr4.b(this.genreIds, tMDBPersonMovieCredit.genreIds);
    }

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

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

    @pq6
    public final String getCharacter() {
        return this.character;
    }

    @pq6
    public final List<Integer> getGenreIds() {
        return this.genreIds;
    }

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

    @pq6
    public final String getOverview() {
        return this.overview;
    }

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

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

    @pq6
    public final String getReleaseDate() {
        return this.releaseDate;
    }

    @kp6
    public final String getTitle() {
        return this.title;
    }

    @pq6
    public final Double getVoteAverage() {
        return this.voteAverage;
    }

    @pq6
    public final String getYear() {
        String str = this.releaseDate;
        if (str != null) {
            return n89.bb(4, str);
        }
        return null;
    }

    public int hashCode() {
        int iB = vw2.b(Integer.hashCode(this.id) * 31, 31, this.title);
        String str = this.overview;
        int iHashCode = (iB + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.posterPath;
        int iHashCode2 = (iHashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.backdropPath;
        int iHashCode3 = (iHashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.releaseDate;
        int iHashCode4 = (iHashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
        Double d = this.voteAverage;
        int iHashCode5 = (iHashCode4 + (d == null ? 0 : d.hashCode())) * 31;
        String str5 = this.character;
        int iHashCode6 = (iHashCode5 + (str5 == null ? 0 : str5.hashCode())) * 31;
        List<Integer> list = this.genreIds;
        return iHashCode6 + (list != null ? list.hashCode() : 0);
    }

    @kp6
    public String toString() {
        int i = this.id;
        String str = this.title;
        String str2 = this.overview;
        String str3 = this.posterPath;
        String str4 = this.backdropPath;
        String str5 = this.releaseDate;
        Double d = this.voteAverage;
        String str6 = this.character;
        List<Integer> list = this.genreIds;
        StringBuilder sbK = fi7.k("TMDBPersonMovieCredit(id=", i, ", title=", str, ", overview=");
        vw2.aa(sbK, str2, ", posterPath=", str3, ", backdropPath=");
        vw2.aa(sbK, str4, ", releaseDate=", str5, ", voteAverage=");
        sbK.append(d);
        sbK.append(", character=");
        sbK.append(str6);
        sbK.append(", genreIds=");
        return fi7.i(sbK, list, ")");
    }
}
