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.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\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u001b\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\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\u0005\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\f\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u000e¢\u0006\u0004\b\u000f\u0010\u0010J\b\u0010\u001e\u001a\u0004\u0018\u00010\u0005J\t\u0010\u001f\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\u000b\u0010%\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010&\u001a\u0004\u0018\u00010\fHÆ\u0003J\u000b\u0010'\u001a\u0004\u0018\u00010\u000eHÆ\u0003Jq\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\u00052\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000eHÆ\u0001J\u0013\u0010)\u001a\u00020*2\b\u0010+\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010,\u001a\u00020\u0003HÖ\u0001J\t\u0010-\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\u0018\u0010\n\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0014R\u0018\u0010\u000b\u001a\u0004\u0018\u00010\f8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u001bR\u0018\u0010\r\u001a\u0004\u0018\u00010\u000e8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001d¨\u0006."}, d2 = {"Lcom/strmr/ps/data/model/tmdb/TMDBPersonDetails;", "", TtmlNode.ATTR_ID, "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "biography", "profilePath", "birthday", "placeOfBirth", "knownForDepartment", "movieCredits", "Lcom/strmr/ps/data/model/tmdb/TMDBPersonMovieCredits;", "tvCredits", "Lcom/strmr/ps/data/model/tmdb/TMDBPersonTVCredits;", "<init>", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/strmr/ps/data/model/tmdb/TMDBPersonMovieCredits;Lcom/strmr/ps/data/model/tmdb/TMDBPersonTVCredits;)V", "getId", "()I", "getName", "()Ljava/lang/String;", "getBiography", "getProfilePath", "getBirthday", "getPlaceOfBirth", "getKnownForDepartment", "getMovieCredits", "()Lcom/strmr/ps/data/model/tmdb/TMDBPersonMovieCredits;", "getTvCredits", "()Lcom/strmr/ps/data/model/tmdb/TMDBPersonTVCredits;", "getProfileUrl", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "equals", "", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vx8
public final /* data */ class TMDBPersonDetails {

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

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

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

    @SerializedName("known_for_department")
    @pq6
    private final String knownForDepartment;

    @SerializedName("movie_credits")
    @pq6
    private final TMDBPersonMovieCredits movieCredits;

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

    @SerializedName("place_of_birth")
    @pq6
    private final String placeOfBirth;

    @SerializedName("profile_path")
    @pq6
    private final String profilePath;

    @SerializedName("tv_credits")
    @pq6
    private final TMDBPersonTVCredits tvCredits;

    public TMDBPersonDetails(int i, @kp6 String str, @pq6 String str2, @pq6 String str3, @pq6 String str4, @pq6 String str5, @pq6 String str6, @pq6 TMDBPersonMovieCredits tMDBPersonMovieCredits, @pq6 TMDBPersonTVCredits tMDBPersonTVCredits) {
        cr4.g(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        this.id = i;
        this.name = str;
        this.biography = str2;
        this.profilePath = str3;
        this.birthday = str4;
        this.placeOfBirth = str5;
        this.knownForDepartment = str6;
        this.movieCredits = tMDBPersonMovieCredits;
        this.tvCredits = tMDBPersonTVCredits;
    }

    public static /* synthetic */ TMDBPersonDetails copy$default(TMDBPersonDetails tMDBPersonDetails, int i, String str, String str2, String str3, String str4, String str5, String str6, TMDBPersonMovieCredits tMDBPersonMovieCredits, TMDBPersonTVCredits tMDBPersonTVCredits, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = tMDBPersonDetails.id;
        }
        if ((i2 & 2) != 0) {
            str = tMDBPersonDetails.name;
        }
        if ((i2 & 4) != 0) {
            str2 = tMDBPersonDetails.biography;
        }
        if ((i2 & 8) != 0) {
            str3 = tMDBPersonDetails.profilePath;
        }
        if ((i2 & 16) != 0) {
            str4 = tMDBPersonDetails.birthday;
        }
        if ((i2 & 32) != 0) {
            str5 = tMDBPersonDetails.placeOfBirth;
        }
        if ((i2 & 64) != 0) {
            str6 = tMDBPersonDetails.knownForDepartment;
        }
        if ((i2 & 128) != 0) {
            tMDBPersonMovieCredits = tMDBPersonDetails.movieCredits;
        }
        if ((i2 & 256) != 0) {
            tMDBPersonTVCredits = tMDBPersonDetails.tvCredits;
        }
        TMDBPersonMovieCredits tMDBPersonMovieCredits2 = tMDBPersonMovieCredits;
        TMDBPersonTVCredits tMDBPersonTVCredits2 = tMDBPersonTVCredits;
        String str7 = str5;
        String str8 = str6;
        String str9 = str4;
        String str10 = str2;
        return tMDBPersonDetails.copy(i, str, str10, str3, str9, str7, str8, tMDBPersonMovieCredits2, tMDBPersonTVCredits2);
    }

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

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

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

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

    @pq6
    /* JADX INFO: renamed from: component7, reason: from getter */
    public final String getKnownForDepartment() {
        return this.knownForDepartment;
    }

    @pq6
    /* JADX INFO: renamed from: component8, reason: from getter */
    public final TMDBPersonMovieCredits getMovieCredits() {
        return this.movieCredits;
    }

    @pq6
    /* JADX INFO: renamed from: component9, reason: from getter */
    public final TMDBPersonTVCredits getTvCredits() {
        return this.tvCredits;
    }

    @kp6
    public final TMDBPersonDetails copy(int id, @kp6 String name, @pq6 String biography, @pq6 String profilePath, @pq6 String birthday, @pq6 String placeOfBirth, @pq6 String knownForDepartment, @pq6 TMDBPersonMovieCredits movieCredits, @pq6 TMDBPersonTVCredits tvCredits) {
        cr4.g(name, AppMeasurementSdk.ConditionalUserProperty.NAME);
        return new TMDBPersonDetails(id, name, biography, profilePath, birthday, placeOfBirth, knownForDepartment, movieCredits, tvCredits);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TMDBPersonDetails)) {
            return false;
        }
        TMDBPersonDetails tMDBPersonDetails = (TMDBPersonDetails) other;
        return this.id == tMDBPersonDetails.id && cr4.b(this.name, tMDBPersonDetails.name) && cr4.b(this.biography, tMDBPersonDetails.biography) && cr4.b(this.profilePath, tMDBPersonDetails.profilePath) && cr4.b(this.birthday, tMDBPersonDetails.birthday) && cr4.b(this.placeOfBirth, tMDBPersonDetails.placeOfBirth) && cr4.b(this.knownForDepartment, tMDBPersonDetails.knownForDepartment) && cr4.b(this.movieCredits, tMDBPersonDetails.movieCredits) && cr4.b(this.tvCredits, tMDBPersonDetails.tvCredits);
    }

    @pq6
    public final String getBiography() {
        return this.biography;
    }

    @pq6
    public final String getBirthday() {
        return this.birthday;
    }

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

    @pq6
    public final String getKnownForDepartment() {
        return this.knownForDepartment;
    }

    @pq6
    public final TMDBPersonMovieCredits getMovieCredits() {
        return this.movieCredits;
    }

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

    @pq6
    public final String getPlaceOfBirth() {
        return this.placeOfBirth;
    }

    @pq6
    public final String getProfilePath() {
        return this.profilePath;
    }

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

    @pq6
    public final TMDBPersonTVCredits getTvCredits() {
        return this.tvCredits;
    }

    public int hashCode() {
        int iB = vw2.b(Integer.hashCode(this.id) * 31, 31, this.name);
        String str = this.biography;
        int iHashCode = (iB + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.profilePath;
        int iHashCode2 = (iHashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.birthday;
        int iHashCode3 = (iHashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.placeOfBirth;
        int iHashCode4 = (iHashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.knownForDepartment;
        int iHashCode5 = (iHashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
        TMDBPersonMovieCredits tMDBPersonMovieCredits = this.movieCredits;
        int iHashCode6 = (iHashCode5 + (tMDBPersonMovieCredits == null ? 0 : tMDBPersonMovieCredits.hashCode())) * 31;
        TMDBPersonTVCredits tMDBPersonTVCredits = this.tvCredits;
        return iHashCode6 + (tMDBPersonTVCredits != null ? tMDBPersonTVCredits.hashCode() : 0);
    }

    @kp6
    public String toString() {
        int i = this.id;
        String str = this.name;
        String str2 = this.biography;
        String str3 = this.profilePath;
        String str4 = this.birthday;
        String str5 = this.placeOfBirth;
        String str6 = this.knownForDepartment;
        TMDBPersonMovieCredits tMDBPersonMovieCredits = this.movieCredits;
        TMDBPersonTVCredits tMDBPersonTVCredits = this.tvCredits;
        StringBuilder sbK = fi7.k("TMDBPersonDetails(id=", i, ", name=", str, ", biography=");
        vw2.aa(sbK, str2, ", profilePath=", str3, ", birthday=");
        vw2.aa(sbK, str4, ", placeOfBirth=", str5, ", knownForDepartment=");
        sbK.append(str6);
        sbK.append(", movieCredits=");
        sbK.append(tMDBPersonMovieCredits);
        sbK.append(", tvCredits=");
        sbK.append(tMDBPersonTVCredits);
        sbK.append(")");
        return sbK.toString();
    }
}
