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

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

public final class ClipsModel implements Parcelable, Serializable {
    public static final Parcelable.Creator<ClipsModel> CREATOR = new C027757r();
    @c(LIZ = "duration")
    public final float duration;
    @c(LIZ = "i")
    public final double i;
    @c(LIZ = "o")
    public final double o;
    @c(LIZ = "xPoints")
    public final List<Float> xPoints;
    @c(LIZ = "yPoints")
    public final List<Float> yPoints;

    static {
        Covode.recordClassIndex(73896);
    }

    private Object[] LIZ() {
        return new Object[]{Double.valueOf(this.i), Double.valueOf(this.o), Float.valueOf(this.duration), this.xPoints, this.yPoints};
    }

    public static /* synthetic */ ClipsModel copy$default(ClipsModel clipsModel, double d, double d2, float f, List<Float> list, List<Float> list2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            d = clipsModel.i;
        }
        if ((i2 & 2) != 0) {
            d2 = clipsModel.o;
        }
        if ((i2 & 4) != 0) {
            f = clipsModel.duration;
        }
        if ((i2 & 8) != 0) {
            list = clipsModel.xPoints;
        }
        if ((i2 & 16) != 0) {
            list2 = clipsModel.yPoints;
        }
        return clipsModel.copy(d, d2, f, list, list2);
    }

    public final ClipsModel copy(double d, double d2, float f, List<Float> list, List<Float> list2) {
        List<Float> list3 = list2;
        List<Float> list4 = list;
        M12.LIZ(list4, list3);
        return new ClipsModel(d, d2, f, list4, list3);
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i2) {
        M12.LIZ(parcel);
        parcel.writeDouble(this.i);
        parcel.writeDouble(this.o);
        parcel.writeFloat(this.duration);
        List<Float> list = this.xPoints;
        parcel.writeInt(list.size());
        for (Float floatValue : list) {
            parcel.writeFloat(floatValue.floatValue());
        }
        List<Float> list2 = this.yPoints;
        parcel.writeInt(list2.size());
        for (Float floatValue2 : list2) {
            parcel.writeFloat(floatValue2.floatValue());
        }
    }

    public final float getDuration() {
        return this.duration;
    }

    public final double getI() {
        return this.i;
    }

    public final double getO() {
        return this.o;
    }

    public final List<Float> getXPoints() {
        return this.xPoints;
    }

    public final List<Float> getYPoints() {
        return this.yPoints;
    }

    public ClipsModel(double d, double d2, float f, List<Float> list, List<Float> list2) {
        M12.LIZ(list, list2);
        this.i = d;
        this.o = d2;
        this.duration = f;
        this.xPoints = list;
        this.yPoints = list2;
    }
}
