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

import X.AnonymousClass2HN;
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 java.util.Objects;

public final class GreenScreenMaterial implements Parcelable, Serializable {
    public static final Parcelable.Creator<GreenScreenMaterial> CREATOR = new Creator();
    public static final Companion Companion = new Companion((AnonymousClass2HN) null);
    public static final String[] MEDIA_TYPE_STRING = {"all", "photo", "video", "giphy"};
    @c(LIZ = "author_name")
    public String authorName;
    @c(LIZ = "end_time")
    public long endTime;
    public String localPath;
    public String mediasource;
    @c(LIZ = "resource_id")
    public String resId;
    @c(LIZ = "start_time")
    public long startTime;
    @c(LIZ = "effect_id")
    public String stickerId;
    @c(LIZ = "type")
    public int type;

    public static class Creator implements Parcelable.Creator<GreenScreenMaterial> {
        static {
            Covode.recordClassIndex(78930);
        }

        public final GreenScreenMaterial createFromParcel(Parcel parcel) {
            M12.LIZ(parcel);
            return new GreenScreenMaterial(parcel.readInt(), parcel.readLong(), parcel.readLong(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString());
        }

        public final GreenScreenMaterial[] newArray(int i) {
            return new GreenScreenMaterial[i];
        }
    }

    public GreenScreenMaterial() {
        this(0, 0, 0, (String) null, (String) null, (String) null, (String) null, (String) null, 255, (AnonymousClass2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_GreenScreenMaterial_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_GreenScreenMaterial_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    public static /* synthetic */ GreenScreenMaterial copy$default(GreenScreenMaterial greenScreenMaterial, int i, long j, long j2, String str, String str2, String str3, String str4, String str5, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = greenScreenMaterial.type;
        }
        if ((i2 & 2) != 0) {
            j = greenScreenMaterial.startTime;
        }
        if ((i2 & 4) != 0) {
            j2 = greenScreenMaterial.endTime;
        }
        if ((i2 & 8) != 0) {
            str = greenScreenMaterial.resId;
        }
        if ((i2 & 16) != 0) {
            str2 = greenScreenMaterial.authorName;
        }
        if ((i2 & 32) != 0) {
            str3 = greenScreenMaterial.stickerId;
        }
        if ((i2 & 64) != 0) {
            str4 = greenScreenMaterial.localPath;
        }
        if ((i2 & 128) != 0) {
            str5 = greenScreenMaterial.mediasource;
        }
        return greenScreenMaterial.copy(i, j, j2, str, str2, str3, str4, str5);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.type), Long.valueOf(this.startTime), Long.valueOf(this.endTime), this.resId, this.authorName, this.stickerId, this.localPath, this.mediasource};
    }

    public final GreenScreenMaterial copy(int i, long j, long j2, String str, String str2, String str3, String str4, String str5) {
        String str6 = str2;
        String str7 = str;
        String str8 = str4;
        String str9 = str5;
        String str10 = str3;
        M12.LIZ(str7, str6, str10, str8, str9);
        return new GreenScreenMaterial(i, j, j2, str7, str6, str10, str8, str9);
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof GreenScreenMaterial)) {
            return false;
        }
        return M12.LIZ(((GreenScreenMaterial) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("GreenScreenMaterial:%s,%s,%s,%s,%s,%s,%s,%s", getObjects());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeInt(this.type);
        parcel.writeLong(this.startTime);
        parcel.writeLong(this.endTime);
        parcel.writeString(this.resId);
        parcel.writeString(this.authorName);
        parcel.writeString(this.stickerId);
        parcel.writeString(this.localPath);
        parcel.writeString(this.mediasource);
    }

    public static final class Companion {
        static {
            Covode.recordClassIndex(78929);
        }

        public Companion() {
        }

        public final String[] getMEDIA_TYPE_STRING() {
            return GreenScreenMaterial.MEDIA_TYPE_STRING;
        }

        public /* synthetic */ Companion(AnonymousClass2HN r1) {
            this();
        }
    }

    public final String getAuthorName() {
        return this.authorName;
    }

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

    public final String getLocalPath() {
        return this.localPath;
    }

    public final String getMediasource() {
        return this.mediasource;
    }

    public final String getResId() {
        return this.resId;
    }

    public final long getStartTime() {
        return this.startTime;
    }

    public final String getStickerId() {
        return this.stickerId;
    }

    public final int getType() {
        return this.type;
    }

    static {
        Covode.recordClassIndex(78928);
    }

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

    public final void setStartTime(long j) {
        this.startTime = j;
    }

    public final void setType(int i) {
        this.type = i;
    }

    public final void setAuthorName(String str) {
        M12.LIZ(str);
        this.authorName = str;
    }

    public final void setLocalPath(String str) {
        M12.LIZ(str);
        this.localPath = str;
    }

    public final void setMediasource(String str) {
        M12.LIZ(str);
        this.mediasource = str;
    }

    public final void setResId(String str) {
        M12.LIZ(str);
        this.resId = str;
    }

    public final void setStickerId(String str) {
        M12.LIZ(str);
        this.stickerId = str;
    }

    public GreenScreenMaterial(int i, long j, long j2, String str, String str2, String str3, String str4, String str5) {
        M12.LIZ(str, str2, str3, str4, str5);
        this.type = i;
        this.startTime = j;
        this.endTime = j2;
        this.resId = str;
        this.authorName = str2;
        this.stickerId = str3;
        this.localPath = str4;
        this.mediasource = str5;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ GreenScreenMaterial(int r13, long r14, long r16, java.lang.String r18, java.lang.String r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, int r23, X.AnonymousClass2HN r24) {
        /*
            r12 = this;
            r3 = r14
            r8 = r19
            r2 = r13
            r7 = r18
            r1 = r23
            r9 = r20
            r10 = r21
            r0 = r1 & 1
            if (r0 == 0) goto L_0x0011
            r2 = 1
        L_0x0011:
            r0 = r1 & 2
            r5 = 0
            if (r0 == 0) goto L_0x0019
            r3 = 0
        L_0x0019:
            r0 = r1 & 4
            if (r0 == 0) goto L_0x003f
        L_0x001d:
            r0 = r1 & 8
            java.lang.String r11 = ""
            if (r0 == 0) goto L_0x0024
            r7 = r11
        L_0x0024:
            r0 = r1 & 16
            if (r0 == 0) goto L_0x0029
            r8 = r11
        L_0x0029:
            r0 = r1 & 32
            if (r0 == 0) goto L_0x002e
            r9 = r11
        L_0x002e:
            r0 = r1 & 64
            if (r0 == 0) goto L_0x0033
            r10 = r11
        L_0x0033:
            r0 = r1 & 128(0x80, float:1.794E-43)
            if (r0 == 0) goto L_0x003c
        L_0x0037:
            r1 = r12
            r1.<init>(r2, r3, r5, r7, r8, r9, r10, r11)
            return
        L_0x003c:
            r11 = r22
            goto L_0x0037
        L_0x003f:
            r5 = r16
            goto L_0x001d
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.feed.model.GreenScreenMaterial.<init>(int, long, long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, X.2HN):void");
    }
}
