package com.ss.android.ugc.aweme.im.message.template.component;

import X.7he;
import X.C2692J5n;
import X.C2693J5o;
import X.C2694J5p;
import X.Crj;
import X.M12;
import X.PLh;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import java.util.Map;
import java.util.Objects;

public final class BaseRequestComponent implements BaseComponent<PLh> {
    public static final Parcelable.Creator<BaseRequestComponent> CREATOR = new C2692J5n();
    public static final Crj LIZIZ = 7he.LIZ(C2693J5o.LIZ);
    public static final C2694J5p LIZJ = new C2694J5p((byte) 0);
    public final QueryDataComponent LIZ;

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

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        this.LIZ.writeToParcel(parcel, 0);
    }

    public /* synthetic */ BaseRequestComponent() {
        this(new QueryDataComponent((String) null, (Map) null, 3));
    }

    static {
        Covode.recordClassIndex(83649);
    }

    public BaseRequestComponent(QueryDataComponent queryDataComponent) {
        M12.LIZ(queryDataComponent);
        this.LIZ = queryDataComponent;
    }
}
