package com.ss.android.ugc.aweme.comment.settings;

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

public final class Configuration {
    @c(LIZ = "interval_days")
    public final int intervalDays;
    @c(LIZ = "max_times")
    public final int maxTimes;

    static {
        Covode.recordClassIndex(57240);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_comment_settings_Configuration_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ Configuration copy$default(Configuration configuration, int i, int i2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            i = configuration.intervalDays;
        }
        if ((i3 & 2) != 0) {
            i2 = configuration.maxTimes;
        }
        return configuration.copy(i, i2);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.intervalDays), Integer.valueOf(this.maxTimes)};
    }

    public final Configuration copy(int i, int i2) {
        return new Configuration(i, i2);
    }

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

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

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

    public final int getIntervalDays() {
        return this.intervalDays;
    }

    public final int getMaxTimes() {
        return this.maxTimes;
    }

    public Configuration(int i, int i2) {
        this.intervalDays = i;
        this.maxTimes = i2;
    }
}
