package com.amplifyframework.storage;

import com.amplifyframework.annotations.InternalAmplifyApi;
import java.util.Date;
import kotlin.Metadata;
import kotlin.jvm.internal.t;
import rm.e;

@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0019\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B1\b\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0001¢\u0006\u0002\u0010\nB9\b\u0007\u0012\u0006\u0010\u000b\u001a\u00020\u0003\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0001¢\u0006\u0002\u0010\fJ\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0005HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0007HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0001HÆ\u0003JG\u0010\u001f\u001a\u00020\u00002\b\b\u0002\u0010\u000b\u001a\u00020\u00032\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0001HÆ\u0001J\u0013\u0010 \u001a\u00020!2\b\u0010\"\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010#\u001a\u00020$HÖ\u0001J\t\u0010%\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u001c\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u000f\u0010\u0010\u001a\u0004\b\u0011\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0011\u0010\u000b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u000eR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018¨\u0006&"}, d2 = {"Lcom/amplifyframework/storage/StorageItem;", "", "key", "", "size", "", "lastModified", "Ljava/util/Date;", "eTag", "pluginResults", "(Ljava/lang/String;JLjava/util/Date;Ljava/lang/String;Ljava/lang/Object;)V", "path", "(Ljava/lang/String;Ljava/lang/String;JLjava/util/Date;Ljava/lang/String;Ljava/lang/Object;)V", "getETag", "()Ljava/lang/String;", "getKey$annotations", "()V", "getKey", "getLastModified", "()Ljava/util/Date;", "getPath", "getPluginResults", "()Ljava/lang/Object;", "getSize", "()J", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "equals", "", "other", "hashCode", "", "toString", "com.amplifyframework.core_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes4.dex */
public final /* data */ class StorageItem {
    private final String eTag;
    private final String key;
    private final Date lastModified;
    private final String path;
    private final Object pluginResults;
    private final long size;

    @InternalAmplifyApi
    public StorageItem(String path, String key, long j10, Date lastModified, String eTag, Object obj) {
        t.g(path, "path");
        t.g(key, "key");
        t.g(lastModified, "lastModified");
        t.g(eTag, "eTag");
        this.path = path;
        this.key = key;
        this.size = j10;
        this.lastModified = lastModified;
        this.eTag = eTag;
        this.pluginResults = obj;
    }

    public static /* synthetic */ StorageItem copy$default(StorageItem storageItem, String str, String str2, long j10, Date date, String str3, Object obj, int i10, Object obj2) {
        if ((i10 & 1) != 0) {
            str = storageItem.path;
        }
        if ((i10 & 2) != 0) {
            str2 = storageItem.key;
        }
        String str4 = str2;
        if ((i10 & 4) != 0) {
            j10 = storageItem.size;
        }
        long j11 = j10;
        if ((i10 & 8) != 0) {
            date = storageItem.lastModified;
        }
        Date date2 = date;
        if ((i10 & 16) != 0) {
            str3 = storageItem.eTag;
        }
        String str5 = str3;
        if ((i10 & 32) != 0) {
            obj = storageItem.pluginResults;
        }
        return storageItem.copy(str, str4, j11, date2, str5, obj);
    }

    @e
    public static /* synthetic */ void getKey$annotations() {
    }

    /* renamed from: component1, reason: from getter */
    public final String getPath() {
        return this.path;
    }

    /* renamed from: component2, reason: from getter */
    public final String getKey() {
        return this.key;
    }

    /* renamed from: component3, reason: from getter */
    public final long getSize() {
        return this.size;
    }

    /* renamed from: component4, reason: from getter */
    public final Date getLastModified() {
        return this.lastModified;
    }

    /* renamed from: component5, reason: from getter */
    public final String getETag() {
        return this.eTag;
    }

    /* renamed from: component6, reason: from getter */
    public final Object getPluginResults() {
        return this.pluginResults;
    }

    public final StorageItem copy(String path, String key, long size, Date lastModified, String eTag, Object pluginResults) {
        t.g(path, "path");
        t.g(key, "key");
        t.g(lastModified, "lastModified");
        t.g(eTag, "eTag");
        return new StorageItem(path, key, size, lastModified, eTag, pluginResults);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof StorageItem)) {
            return false;
        }
        StorageItem storageItem = (StorageItem) other;
        return t.b(this.path, storageItem.path) && t.b(this.key, storageItem.key) && this.size == storageItem.size && t.b(this.lastModified, storageItem.lastModified) && t.b(this.eTag, storageItem.eTag) && t.b(this.pluginResults, storageItem.pluginResults);
    }

    public final String getETag() {
        return this.eTag;
    }

    public final String getKey() {
        return this.key;
    }

    public final Date getLastModified() {
        return this.lastModified;
    }

    public final String getPath() {
        return this.path;
    }

    public final Object getPluginResults() {
        return this.pluginResults;
    }

    public final long getSize() {
        return this.size;
    }

    public int hashCode() {
        int hashCode = ((((((((this.path.hashCode() * 31) + this.key.hashCode()) * 31) + Long.hashCode(this.size)) * 31) + this.lastModified.hashCode()) * 31) + this.eTag.hashCode()) * 31;
        Object obj = this.pluginResults;
        return hashCode + (obj == null ? 0 : obj.hashCode());
    }

    public String toString() {
        return "StorageItem(path=" + this.path + ", key=" + this.key + ", size=" + this.size + ", lastModified=" + this.lastModified + ", eTag=" + this.eTag + ", pluginResults=" + this.pluginResults + ")";
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    @e
    public StorageItem(String key, long j10, Date lastModified, String eTag, Object obj) {
        this(key, key, j10, lastModified, eTag, obj);
        t.g(key, "key");
        t.g(lastModified, "lastModified");
        t.g(eTag, "eTag");
    }
}
