package com.ss.android.ugc.aweme.discover.model;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.model.UrlModel;
import java.io.Serializable;
import java.util.Objects;

public final class CommerceChallengeBanner implements Serializable {
    @c(LIZ = "icon")
    public final UrlModel icon;
    @c(LIZ = "open_url")
    public final String openUrl;
    @c(LIZ = "web_url")
    public final String webUrl;

    static {
        Covode.recordClassIndex(65130);
    }

    public static /* synthetic */ CommerceChallengeBanner copy$default(CommerceChallengeBanner commerceChallengeBanner, UrlModel urlModel, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            urlModel = commerceChallengeBanner.icon;
        }
        if ((i & 2) != 0) {
            str = commerceChallengeBanner.webUrl;
        }
        if ((i & 4) != 0) {
            str2 = commerceChallengeBanner.openUrl;
        }
        return commerceChallengeBanner.copy(urlModel, str, str2);
    }

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

    public final CommerceChallengeBanner copy(UrlModel urlModel, String str, String str2) {
        M12.LIZ(urlModel, str, str2);
        return new CommerceChallengeBanner(urlModel, str, str2);
    }

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

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

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

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

    public final String getOpenUrl() {
        return this.openUrl;
    }

    public final String getWebUrl() {
        return this.webUrl;
    }

    public CommerceChallengeBanner(UrlModel urlModel, String str, String str2) {
        M12.LIZ(urlModel, str, str2);
        this.icon = urlModel;
        this.webUrl = str;
        this.openUrl = str2;
    }
}
