package com.ss.android.ugc.aweme.sticker.model;

import X.AnonymousClass71E;
import X.C38896fH;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import kotlin.h.b.n;

public final class BackgroundVideo implements Parcelable, Serializable {
    public static final Parcelable.Creator<BackgroundVideo> CREATOR = new AnonymousClass71E();
    @c(LIZ = "audioPath")
    @C38896fH
    public final String audioPath;
    @c(LIZ = "endTime")
    public long endTime;
    @c(LIZ = "isMultiBgVideo")
    public final boolean isMultiBgVideo;
    @c(LIZ = "maxDuration")
    public final long maxDuration;
    @c(LIZ = "uid")
    public final String uid;
    @c(LIZ = "videoPath")
    @C38896fH
    public final String videoPath;

    static {
        Covode.recordClassIndex(115752);
    }

    public final int describeContents() {
        return 0;
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeString(this.videoPath);
        parcel.writeString(this.audioPath);
        parcel.writeLong(this.maxDuration);
        parcel.writeInt(this.isMultiBgVideo ? 1 : 0);
        parcel.writeLong(this.endTime);
        parcel.writeString(this.uid);
    }

    public final String getAudioPath() {
        return this.audioPath;
    }

    public final long getEndTime() {
        return this.endTime;
    }

    public final long getMaxDuration() {
        return this.maxDuration;
    }

    public final String getUid() {
        return this.uid;
    }

    public final String getVideoPath() {
        return this.videoPath;
    }

    public final boolean isMultiBgVideo() {
        return this.isMultiBgVideo;
    }

    public final int hashCode() {
        return this.videoPath.hashCode();
    }

    public final void setEndTime(long j) {
        this.endTime = j;
    }

    public final boolean equals(Object obj) {
        if (obj instanceof BackgroundVideo) {
            BackgroundVideo backgroundVideo = (BackgroundVideo) obj;
            if (!n.LIZ(this.videoPath, backgroundVideo.videoPath) || !n.LIZ(this.audioPath, backgroundVideo.audioPath)) {
                return false;
            }
            return true;
        }
        return false;
    }

    public BackgroundVideo(String str, String str2, long j, boolean z, long j2, String str3) {
        M12.LIZ(str, str2, str3);
        this.videoPath = str;
        this.audioPath = str2;
        this.maxDuration = j;
        this.isMultiBgVideo = z;
        this.endTime = j2;
        this.uid = str3;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ BackgroundVideo(java.lang.String r10, java.lang.String r11, long r12, boolean r14, long r15, java.lang.String r17, int r18, X.2HN r19) {
        /*
            r9 = this;
            r8 = r17
            r5 = r14
            r6 = r15
            r0 = r18 & 8
            if (r0 == 0) goto L_0x000a
            r0 = 0
            r5 = 0
        L_0x000a:
            r0 = r18 & 16
            if (r0 == 0) goto L_0x0012
            r0 = 0
            r6 = 0
        L_0x0012:
            r0 = r18 & 32
            if (r0 == 0) goto L_0x0023
            java.util.UUID r0 = java.util.UUID.randomUUID()
            java.lang.String r8 = r0.toString()
            java.lang.String r0 = ""
            kotlin.h.b.n.LIZIZ(r8, r0)
        L_0x0023:
            r0 = r9
            r2 = r11
            r1 = r10
            r3 = r12
            r0.<init>(r1, r2, r3, r5, r6, r8)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.sticker.model.BackgroundVideo.<init>(java.lang.String, java.lang.String, long, boolean, long, java.lang.String, int, X.2HN):void");
    }
}
