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

import androidx.media3.container.NalUnitUtil;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import defpackage.cr4;
import defpackage.fi7;
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\u000e\n\u0000\n\u0002\u0010 \n\u0002\b\r\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B-\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005\u0012\u000e\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0005¢\u0006\u0004\b\u0007\u0010\bJ\t\u0010\u000e\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u000f\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005HÆ\u0003J\u0011\u0010\u0010\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0005HÆ\u0003J5\u0010\u0011\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u00052\u0010\b\u0002\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001J\t\u0010\u0017\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0019\u0010\u0006\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\f¨\u0006\u0018"}, d2 = {"Lcom/strmr/ps/data/model/addon/StremioResource;", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "types", "", "idPrefixes", "<init>", "(Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V", "getName", "()Ljava/lang/String;", "getTypes", "()Ljava/util/List;", "getIdPrefixes", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class StremioResource {

    @pq6
    private final List<String> idPrefixes;

    @kp6
    private final String name;

    @kp6
    private final List<String> types;

    public StremioResource(@kp6 String str, @kp6 List<String> list, @pq6 List<String> list2) {
        cr4.g(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        cr4.g(list, "types");
        this.name = str;
        this.types = list;
        this.idPrefixes = list2;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ StremioResource copy$default(StremioResource stremioResource, String str, List list, List list2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = stremioResource.name;
        }
        if ((i & 2) != 0) {
            list = stremioResource.types;
        }
        if ((i & 4) != 0) {
            list2 = stremioResource.idPrefixes;
        }
        return stremioResource.copy(str, list, list2);
    }

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

    @kp6
    public final List<String> component2() {
        return this.types;
    }

    @pq6
    public final List<String> component3() {
        return this.idPrefixes;
    }

    @kp6
    public final StremioResource copy(@kp6 String name, @kp6 List<String> types, @pq6 List<String> idPrefixes) {
        cr4.g(name, AppMeasurementSdk.ConditionalUserProperty.NAME);
        cr4.g(types, "types");
        return new StremioResource(name, types, idPrefixes);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof StremioResource)) {
            return false;
        }
        StremioResource stremioResource = (StremioResource) other;
        return cr4.b(this.name, stremioResource.name) && cr4.b(this.types, stremioResource.types) && cr4.b(this.idPrefixes, stremioResource.idPrefixes);
    }

    @pq6
    public final List<String> getIdPrefixes() {
        return this.idPrefixes;
    }

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

    @kp6
    public final List<String> getTypes() {
        return this.types;
    }

    public int hashCode() {
        int iD = fi7.d(this.types, this.name.hashCode() * 31, 31);
        List<String> list = this.idPrefixes;
        return iD + (list == null ? 0 : list.hashCode());
    }

    @kp6
    public String toString() {
        String str = this.name;
        List<String> list = this.types;
        List<String> list2 = this.idPrefixes;
        StringBuilder sb = new StringBuilder("StremioResource(name=");
        sb.append(str);
        sb.append(", types=");
        sb.append(list);
        sb.append(", idPrefixes=");
        return fi7.i(sb, list2, ")");
    }
}
