package com.bytedance.pitaya.api.bean;

import X.AnonymousClass2RF;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.bytedance.pitaya.jniwrapper.ReflectionCall;
import java.util.Objects;

public final class PTYModelInfo implements ReflectionCall {
    public static final AnonymousClass2RF Companion = new AnonymousClass2RF((byte) 0);
    public final int engineType;
    public final String modelGroup;
    public final String name;
    public final String originModelPath;
    public final String version;

    static {
        Covode.recordClassIndex(36380);
    }

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

    public static /* synthetic */ PTYModelInfo copy$default(PTYModelInfo pTYModelInfo, String str, String str2, int i, String str3, String str4, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = pTYModelInfo.name;
        }
        if ((i2 & 2) != 0) {
            str2 = pTYModelInfo.version;
        }
        if ((i2 & 4) != 0) {
            i = pTYModelInfo.engineType;
        }
        if ((i2 & 8) != 0) {
            str3 = pTYModelInfo.modelGroup;
        }
        if ((i2 & 16) != 0) {
            str4 = pTYModelInfo.originModelPath;
        }
        return pTYModelInfo.copy(str, str2, i, str3, str4);
    }

    private Object[] getObjects() {
        return new Object[]{this.name, this.version, Integer.valueOf(this.engineType), this.modelGroup, this.originModelPath};
    }

    public final PTYModelInfo copy(String str, String str2, int i, String str3, String str4) {
        String str5 = str2;
        String str6 = str;
        M12.LIZ(str6, str5);
        return new PTYModelInfo(str6, str5, i, str3, str4);
    }

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

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

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

    public final int getEngineType() {
        return this.engineType;
    }

    public final String getModelGroup() {
        return this.modelGroup;
    }

    public final String getName() {
        return this.name;
    }

    public final String getOriginModelPath() {
        return this.originModelPath;
    }

    public final String getVersion() {
        return this.version;
    }

    public PTYModelInfo(String str, String str2, int i, String str3, String str4) {
        M12.LIZ(str, str2);
        this.name = str;
        this.version = str2;
        this.engineType = i;
        this.modelGroup = str3;
        this.originModelPath = str4;
    }
}
