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

import X.C1R;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.ecommerce.service.vo.Image;
import java.util.Objects;

public final class Icon implements Parcelable {
    public static final Parcelable.Creator<Icon> CREATOR = new C1R();
    @c(LIZ = "icon")
    public final Image icon;
    @c(LIZ = "icon_dark")
    public final Image iconDark;

    static {
        Covode.recordClassIndex(70993);
    }

    public static /* synthetic */ Icon copy$default(Icon icon2, Image image, Image image2, int i, Object obj) {
        if ((i & 1) != 0) {
            image = icon2.icon;
        }
        if ((i & 2) != 0) {
            image2 = icon2.iconDark;
        }
        return icon2.copy(image, image2);
    }

    private Object[] getObjects() {
        return new Object[]{this.icon, this.iconDark};
    }

    public final Icon copy(Image image, Image image2) {
        return new Icon(image, image2);
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

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

    public final Image getIcon() {
        return this.icon;
    }

    public final Image getIconDark() {
        return this.iconDark;
    }

    public Icon(Image image, Image image2) {
        this.icon = image;
        this.iconDark = image2;
    }
}
