package com.amplifyframework.predictions.models;

import com.amplifyframework.annotations.InternalAmplifyApi;
import java.util.Arrays;
import java.util.Date;
import kotlin.Metadata;

@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0015"}, d2 = {"Lcom/amplifyframework/predictions/models/VideoEvent;", "", "bytes", "", "timestamp", "Ljava/util/Date;", "([BLjava/util/Date;)V", "getBytes", "()[B", "getTimestamp", "()Ljava/util/Date;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "com.amplifyframework.core_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
@InternalAmplifyApi
/* loaded from: classes4.dex */
public final /* data */ class VideoEvent {
    private final byte[] bytes;
    private final Date timestamp;

    public VideoEvent(byte[] bytes, Date timestamp) {
        kotlin.jvm.internal.t.g(bytes, "bytes");
        kotlin.jvm.internal.t.g(timestamp, "timestamp");
        this.bytes = bytes;
        this.timestamp = timestamp;
    }

    public static /* synthetic */ VideoEvent copy$default(VideoEvent videoEvent, byte[] bArr, Date date, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            bArr = videoEvent.bytes;
        }
        if ((i10 & 2) != 0) {
            date = videoEvent.timestamp;
        }
        return videoEvent.copy(bArr, date);
    }

    /* renamed from: component1, reason: from getter */
    public final byte[] getBytes() {
        return this.bytes;
    }

    /* renamed from: component2, reason: from getter */
    public final Date getTimestamp() {
        return this.timestamp;
    }

    public final VideoEvent copy(byte[] bytes, Date timestamp) {
        kotlin.jvm.internal.t.g(bytes, "bytes");
        kotlin.jvm.internal.t.g(timestamp, "timestamp");
        return new VideoEvent(bytes, timestamp);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof VideoEvent)) {
            return false;
        }
        VideoEvent videoEvent = (VideoEvent) other;
        return kotlin.jvm.internal.t.b(this.bytes, videoEvent.bytes) && kotlin.jvm.internal.t.b(this.timestamp, videoEvent.timestamp);
    }

    public final byte[] getBytes() {
        return this.bytes;
    }

    public final Date getTimestamp() {
        return this.timestamp;
    }

    public int hashCode() {
        return (Arrays.hashCode(this.bytes) * 31) + this.timestamp.hashCode();
    }

    public String toString() {
        return "VideoEvent(bytes=" + Arrays.toString(this.bytes) + ", timestamp=" + this.timestamp + ")";
    }
}
