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

import androidx.media3.container.NalUnitUtil;
import com.google.gson.annotations.SerializedName;
import defpackage.cr4;
import defpackage.kp6;
import defpackage.pq6;
import defpackage.uz1;
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\u0000\n\u0002\u0010\u0006\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0013\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B-\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0004\b\n\u0010\u000bJ\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0017\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\u000fJ\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0007HÆ\u0003¢\u0006\u0002\u0010\u0012J\t\u0010\u0019\u001a\u00020\tHÆ\u0003J:\u0010\u001a\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\b\b\u0002\u0010\b\u001a\u00020\tHÆ\u0001¢\u0006\u0002\u0010\u001bJ\u0013\u0010\u001c\u001a\u00020\u001d2\b\u0010\u001e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001f\u001a\u00020\u0005HÖ\u0001J\t\u0010 \u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u001a\u0010\u0004\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u0010\u001a\u0004\b\u000e\u0010\u000fR\u001a\u0010\u0006\u001a\u0004\u0018\u00010\u00078\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u0013\u001a\u0004\b\u0011\u0010\u0012R\u0016\u0010\b\u001a\u00020\t8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015¨\u0006!"}, d2 = {"Lcom/strmr/ps/data/model/trakt/TraktMovie;", "", "title", "", "year", "", "rating", "", "ids", "Lcom/strmr/ps/data/model/trakt/TraktIds;", "<init>", "(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Double;Lcom/strmr/ps/data/model/trakt/TraktIds;)V", "getTitle", "()Ljava/lang/String;", "getYear", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getRating", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getIds", "()Lcom/strmr/ps/data/model/trakt/TraktIds;", "component1", "component2", "component3", "component4", "copy", "(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Double;Lcom/strmr/ps/data/model/trakt/TraktIds;)Lcom/strmr/ps/data/model/trakt/TraktMovie;", "equals", "", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class TraktMovie {

    @SerializedName("ids")
    @kp6
    private final TraktIds ids;

    @SerializedName("rating")
    @pq6
    private final Double rating;

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

    @SerializedName("year")
    @pq6
    private final Integer year;

    public TraktMovie(@kp6 String str, @pq6 Integer num, @pq6 Double d, @kp6 TraktIds traktIds) {
        cr4.g(str, "title");
        cr4.g(traktIds, "ids");
        this.title = str;
        this.year = num;
        this.rating = d;
        this.ids = traktIds;
    }

    public static /* synthetic */ TraktMovie copy$default(TraktMovie traktMovie, String str, Integer num, Double d, TraktIds traktIds, int i, Object obj) {
        if ((i & 1) != 0) {
            str = traktMovie.title;
        }
        if ((i & 2) != 0) {
            num = traktMovie.year;
        }
        if ((i & 4) != 0) {
            d = traktMovie.rating;
        }
        if ((i & 8) != 0) {
            traktIds = traktMovie.ids;
        }
        return traktMovie.copy(str, num, d, traktIds);
    }

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

    @pq6
    /* JADX INFO: renamed from: component2, reason: from getter */
    public final Integer getYear() {
        return this.year;
    }

    @pq6
    /* JADX INFO: renamed from: component3, reason: from getter */
    public final Double getRating() {
        return this.rating;
    }

    @kp6
    /* JADX INFO: renamed from: component4, reason: from getter */
    public final TraktIds getIds() {
        return this.ids;
    }

    @kp6
    public final TraktMovie copy(@kp6 String title, @pq6 Integer year, @pq6 Double rating, @kp6 TraktIds ids) {
        cr4.g(title, "title");
        cr4.g(ids, "ids");
        return new TraktMovie(title, year, rating, ids);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TraktMovie)) {
            return false;
        }
        TraktMovie traktMovie = (TraktMovie) other;
        return cr4.b(this.title, traktMovie.title) && cr4.b(this.year, traktMovie.year) && cr4.b(this.rating, traktMovie.rating) && cr4.b(this.ids, traktMovie.ids);
    }

    @kp6
    public final TraktIds getIds() {
        return this.ids;
    }

    @pq6
    public final Double getRating() {
        return this.rating;
    }

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

    @pq6
    public final Integer getYear() {
        return this.year;
    }

    public int hashCode() {
        int iHashCode = this.title.hashCode() * 31;
        Integer num = this.year;
        int iHashCode2 = (iHashCode + (num == null ? 0 : num.hashCode())) * 31;
        Double d = this.rating;
        return this.ids.hashCode() + ((iHashCode2 + (d != null ? d.hashCode() : 0)) * 31);
    }

    @kp6
    public String toString() {
        return "TraktMovie(title=" + this.title + ", year=" + this.year + ", rating=" + this.rating + ", ids=" + this.ids + ")";
    }

    public /* synthetic */ TraktMovie(String str, Integer num, Double d, TraktIds traktIds, int i, uz1 uz1Var) {
        this(str, num, (i & 4) != 0 ? null : d, traktIds);
    }
}
