package com.ss.android.ugc.aweme.ktv;

import X.AnonymousClass2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.io.Serializable;
import java.util.Objects;

public final class SimpleEffect implements Serializable {
    public String defaultColor;
    public final String id;
    public boolean isItalic;
    public final String name;
    public final String path;
    public final String resId;

    static {
        Covode.recordClassIndex(90042);
    }

    public static /* synthetic */ SimpleEffect copy$default(SimpleEffect simpleEffect, String str, String str2, String str3, String str4, boolean z, String str5, int i, Object obj) {
        if ((i & 1) != 0) {
            str = simpleEffect.id;
        }
        if ((i & 2) != 0) {
            str2 = simpleEffect.resId;
        }
        if ((i & 4) != 0) {
            str3 = simpleEffect.name;
        }
        if ((i & 8) != 0) {
            str4 = simpleEffect.path;
        }
        if ((i & 16) != 0) {
            z = simpleEffect.isItalic;
        }
        if ((i & 32) != 0) {
            str5 = simpleEffect.defaultColor;
        }
        return simpleEffect.copy(str, str2, str3, str4, z, str5);
    }

    private Object[] getObjects() {
        return new Object[]{this.id, this.resId, this.name, this.path, Boolean.valueOf(this.isItalic), this.defaultColor};
    }

    public final SimpleEffect copy(String str, String str2, String str3, String str4, boolean z, String str5) {
        String str6 = str2;
        String str7 = str;
        String str8 = str4;
        M12.LIZ(str7, str6, str8);
        return new SimpleEffect(str7, str6, str3, str8, z, str5);
    }

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

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

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

    public final String getDefaultColor() {
        return this.defaultColor;
    }

    public final String getId() {
        return this.id;
    }

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

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

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

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

    public final void setDefaultColor(String str) {
        this.defaultColor = str;
    }

    public final void setItalic(boolean z) {
        this.isItalic = z;
    }

    public SimpleEffect(String str, String str2, String str3, String str4, boolean z, String str5) {
        M12.LIZ(str, str2, str4);
        this.id = str;
        this.resId = str2;
        this.name = str3;
        this.path = str4;
        this.isItalic = z;
        this.defaultColor = str5;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ SimpleEffect(String str, String str2, String str3, String str4, boolean z, String str5, int i, AnonymousClass2HN r15) {
        this(str, str2, str3, str4, (i & 16) != 0 ? false : z, (i & 32) != 0 ? null : str5);
    }
}
