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

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.Objects;

public final class BackGroundGradient implements Serializable {
    @c(LIZ = "center_color")
    public final String centerColor;
    @c(LIZ = "end_color")
    public final String endColor;
    @c(LIZ = "start_color")
    public final String startColor;

    static {
        Covode.recordClassIndex(65112);
    }

    public static /* synthetic */ BackGroundGradient copy$default(BackGroundGradient backGroundGradient, String str, String str2, String str3, int i, Object obj) {
        if ((i & 1) != 0) {
            str = backGroundGradient.startColor;
        }
        if ((i & 2) != 0) {
            str2 = backGroundGradient.centerColor;
        }
        if ((i & 4) != 0) {
            str3 = backGroundGradient.endColor;
        }
        return backGroundGradient.copy(str, str2, str3);
    }

    private Object[] getObjects() {
        return new Object[]{this.startColor, this.centerColor, this.endColor};
    }

    public final BackGroundGradient copy(String str, String str2, String str3) {
        M12.LIZ(str, str2, str3);
        return new BackGroundGradient(str, str2, str3);
    }

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

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

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

    public final String getCenterColor() {
        return this.centerColor;
    }

    public final String getEndColor() {
        return this.endColor;
    }

    public final String getStartColor() {
        return this.startColor;
    }

    public BackGroundGradient(String str, String str2, String str3) {
        M12.LIZ(str, str2, str3);
        this.startColor = str;
        this.centerColor = str2;
        this.endColor = str3;
    }
}
