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

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

public final class ShoutoutsOrderRestrict {
    @c(LIZ = "opening")
    public final boolean opening;
    @c(LIZ = "other_restrict")
    public final boolean otherRestrict;
    @c(LIZ = "reason")
    public final String reason;
    @c(LIZ = "restrict_type")
    public final int restrictType;

    static {
        Covode.recordClassIndex(114168);
    }

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

    public static /* synthetic */ ShoutoutsOrderRestrict copy$default(ShoutoutsOrderRestrict shoutoutsOrderRestrict, boolean z, boolean z2, String str, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            z = shoutoutsOrderRestrict.opening;
        }
        if ((i2 & 2) != 0) {
            z2 = shoutoutsOrderRestrict.otherRestrict;
        }
        if ((i2 & 4) != 0) {
            str = shoutoutsOrderRestrict.reason;
        }
        if ((i2 & 8) != 0) {
            i = shoutoutsOrderRestrict.restrictType;
        }
        return shoutoutsOrderRestrict.copy(z, z2, str, i);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.opening), Boolean.valueOf(this.otherRestrict), this.reason, Integer.valueOf(this.restrictType)};
    }

    public final ShoutoutsOrderRestrict copy(boolean z, boolean z2, String str, int i) {
        return new ShoutoutsOrderRestrict(z, z2, str, i);
    }

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

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

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

    public final boolean getOpening() {
        return this.opening;
    }

    public final boolean getOtherRestrict() {
        return this.otherRestrict;
    }

    public final String getReason() {
        return this.reason;
    }

    public final int getRestrictType() {
        return this.restrictType;
    }

    public ShoutoutsOrderRestrict(boolean z, boolean z2, String str, int i) {
        this.opening = z;
        this.otherRestrict = z2;
        this.reason = str;
        this.restrictType = i;
    }
}
