package com.strmr.ps.data.remote.model.torbox;

import androidx.media3.container.NalUnitUtil;
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 java.util.List;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B3\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\u000e\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\b¢\u0006\u0004\b\n\u0010\u000bJ\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0015\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\u0010J\u0011\u0010\u0017\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\bHÆ\u0003JB\u0010\u0018\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0010\b\u0002\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\bHÆ\u0001¢\u0006\u0002\u0010\u0019J\u0013\u0010\u001a\u001a\u00020\u001b2\b\u0010\u001c\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001d\u001a\u00020\u001eHÖ\u0001J\t\u0010\u001f\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0018\u0010\u0004\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\rR\u001a\u0010\u0005\u001a\u0004\u0018\u00010\u00068\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u001e\u0010\u0007\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\b8\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013¨\u0006 "}, d2 = {"Lcom/strmr/ps/data/remote/model/torbox/TorBoxCacheResult;", "", "hash", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "size", "", "files", "", "Lcom/strmr/ps/data/remote/model/torbox/TorBoxCacheFile;", "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;)V", "getHash", "()Ljava/lang/String;", "getName", "getSize", "()Ljava/lang/Long;", "Ljava/lang/Long;", "getFiles", "()Ljava/util/List;", "component1", "component2", "component3", "component4", "copy", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;)Lcom/strmr/ps/data/remote/model/torbox/TorBoxCacheResult;", "equals", "", "other", "hashCode", "", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class TorBoxCacheResult {

    @SerializedName("files")
    @pq6
    private final List<TorBoxCacheFile> files;

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

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

    @SerializedName("size")
    @pq6
    private final Long size;

    public TorBoxCacheResult(@kp6 String str, @pq6 String str2, @pq6 Long l, @pq6 List<TorBoxCacheFile> list) {
        cr4.g(str, "hash");
        this.hash = str;
        this.name = str2;
        this.size = l;
        this.files = list;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ TorBoxCacheResult copy$default(TorBoxCacheResult torBoxCacheResult, String str, String str2, Long l, List list, int i, Object obj) {
        if ((i & 1) != 0) {
            str = torBoxCacheResult.hash;
        }
        if ((i & 2) != 0) {
            str2 = torBoxCacheResult.name;
        }
        if ((i & 4) != 0) {
            l = torBoxCacheResult.size;
        }
        if ((i & 8) != 0) {
            list = torBoxCacheResult.files;
        }
        return torBoxCacheResult.copy(str, str2, l, list);
    }

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

    @pq6
    /* 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 Long getSize() {
        return this.size;
    }

    @pq6
    public final List<TorBoxCacheFile> component4() {
        return this.files;
    }

    @kp6
    public final TorBoxCacheResult copy(@kp6 String hash, @pq6 String name, @pq6 Long size, @pq6 List<TorBoxCacheFile> files) {
        cr4.g(hash, "hash");
        return new TorBoxCacheResult(hash, name, size, files);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TorBoxCacheResult)) {
            return false;
        }
        TorBoxCacheResult torBoxCacheResult = (TorBoxCacheResult) other;
        return cr4.b(this.hash, torBoxCacheResult.hash) && cr4.b(this.name, torBoxCacheResult.name) && cr4.b(this.size, torBoxCacheResult.size) && cr4.b(this.files, torBoxCacheResult.files);
    }

    @pq6
    public final List<TorBoxCacheFile> getFiles() {
        return this.files;
    }

    @kp6
    public final String getHash() {
        return this.hash;
    }

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

    @pq6
    public final Long getSize() {
        return this.size;
    }

    public int hashCode() {
        int iHashCode = this.hash.hashCode() * 31;
        String str = this.name;
        int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
        Long l = this.size;
        int iHashCode3 = (iHashCode2 + (l == null ? 0 : l.hashCode())) * 31;
        List<TorBoxCacheFile> list = this.files;
        return iHashCode3 + (list != null ? list.hashCode() : 0);
    }

    @kp6
    public String toString() {
        String str = this.hash;
        String str2 = this.name;
        Long l = this.size;
        List<TorBoxCacheFile> list = this.files;
        StringBuilder sbM = fi7.m("TorBoxCacheResult(hash=", str, ", name=", str2, ", size=");
        sbM.append(l);
        sbM.append(", files=");
        sbM.append(list);
        sbM.append(")");
        return sbM.toString();
    }
}
