package com.ss.android.ugc.aweme.ecommerce.pdp.repository.dto;

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

public final class ReminderRequest implements Parcelable {
    public static final Parcelable.Creator<ReminderRequest> CREATOR = new CJ6();
    @c(LIZ = "activity_code")
    public final String LIZ;
    @c(LIZ = "item_list")
    public final List<ReminderItem> LIZIZ;

    static {
        Covode.recordClassIndex(71536);
    }

    private Object[] LIZ() {
        return new Object[]{this.LIZ, this.LIZIZ};
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeString(this.LIZ);
        List<ReminderItem> list = this.LIZIZ;
        if (list != null) {
            parcel.writeInt(1);
            parcel.writeInt(list.size());
            for (ReminderItem writeToParcel : list) {
                writeToParcel.writeToParcel(parcel, 0);
            }
            return;
        }
        parcel.writeInt(0);
    }

    public ReminderRequest(String str, List<ReminderItem> list) {
        this.LIZ = str;
        this.LIZIZ = list;
    }
}
