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 java.util.List;
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 \n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B!\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u000e\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005¢\u0006\u0004\b\u0007\u0010\bJ\u0010\u0010\u000e\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\nJ\u0011\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0003J,\u0010\u0010\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0010\b\u0002\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u0005HÆ\u0001¢\u0006\u0002\u0010\u0011J\u0013\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001R\u001a\u0010\u0002\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nR\u001e\u0010\u0004\u001a\n\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\r¨\u0006\u0018"}, d2 = {"Lcom/strmr/ps/data/model/trakt/TraktWatchedSeason;", "", "number", "", "episodes", "", "Lcom/strmr/ps/data/model/trakt/TraktWatchedEpisode;", "<init>", "(Ljava/lang/Integer;Ljava/util/List;)V", "getNumber", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getEpisodes", "()Ljava/util/List;", "component1", "component2", "copy", "(Ljava/lang/Integer;Ljava/util/List;)Lcom/strmr/ps/data/model/trakt/TraktWatchedSeason;", "equals", "", "other", "hashCode", "toString", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class TraktWatchedSeason {

    @SerializedName("episodes")
    @pq6
    private final List<TraktWatchedEpisode> episodes;

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

    public TraktWatchedSeason(@pq6 Integer num, @pq6 List<TraktWatchedEpisode> list) {
        this.number = num;
        this.episodes = list;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ TraktWatchedSeason copy$default(TraktWatchedSeason traktWatchedSeason, Integer num, List list, int i, Object obj) {
        if ((i & 1) != 0) {
            num = traktWatchedSeason.number;
        }
        if ((i & 2) != 0) {
            list = traktWatchedSeason.episodes;
        }
        return traktWatchedSeason.copy(num, list);
    }

    @pq6
    /* JADX INFO: renamed from: component1, reason: from getter */
    public final Integer getNumber() {
        return this.number;
    }

    @pq6
    public final List<TraktWatchedEpisode> component2() {
        return this.episodes;
    }

    @kp6
    public final TraktWatchedSeason copy(@pq6 Integer number, @pq6 List<TraktWatchedEpisode> episodes) {
        return new TraktWatchedSeason(number, episodes);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TraktWatchedSeason)) {
            return false;
        }
        TraktWatchedSeason traktWatchedSeason = (TraktWatchedSeason) other;
        return cr4.b(this.number, traktWatchedSeason.number) && cr4.b(this.episodes, traktWatchedSeason.episodes);
    }

    @pq6
    public final List<TraktWatchedEpisode> getEpisodes() {
        return this.episodes;
    }

    @pq6
    public final Integer getNumber() {
        return this.number;
    }

    public int hashCode() {
        Integer num = this.number;
        int iHashCode = (num == null ? 0 : num.hashCode()) * 31;
        List<TraktWatchedEpisode> list = this.episodes;
        return iHashCode + (list != null ? list.hashCode() : 0);
    }

    @kp6
    public String toString() {
        return "TraktWatchedSeason(number=" + this.number + ", episodes=" + this.episodes + ")";
    }
}
