package com.ifpdos.udi.sdk.service.doc.mkdocs;

import d.b.a.a.a;
import g.h0.c.l;
import g.i;
import java.util.List;

/* JADX INFO: compiled from: MkDocsGenerator.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class EnumDefine {
    private final String comment;
    private final List<EnumValueDefine> fields;
    private final String simpleType;
    private final String type;

    public EnumDefine(String str, String str2, String str3, List<EnumValueDefine> list) {
        l.f(str, "type");
        l.f(str2, "simpleType");
        l.f(list, "fields");
        this.type = str;
        this.simpleType = str2;
        this.comment = str3;
        this.fields = list;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ EnumDefine copy$default(EnumDefine enumDefine, String str, String str2, String str3, List list, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = enumDefine.type;
        }
        if ((i2 & 2) != 0) {
            str2 = enumDefine.simpleType;
        }
        if ((i2 & 4) != 0) {
            str3 = enumDefine.comment;
        }
        if ((i2 & 8) != 0) {
            list = enumDefine.fields;
        }
        return enumDefine.copy(str, str2, str3, list);
    }

    public final String component1() {
        return this.type;
    }

    public final String component2() {
        return this.simpleType;
    }

    public final String component3() {
        return this.comment;
    }

    public final List<EnumValueDefine> component4() {
        return this.fields;
    }

    public final EnumDefine copy(String str, String str2, String str3, List<EnumValueDefine> list) {
        l.f(str, "type");
        l.f(str2, "simpleType");
        l.f(list, "fields");
        return new EnumDefine(str, str2, str3, list);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof EnumDefine)) {
            return false;
        }
        EnumDefine enumDefine = (EnumDefine) obj;
        return l.a(this.type, enumDefine.type) && l.a(this.simpleType, enumDefine.simpleType) && l.a(this.comment, enumDefine.comment) && l.a(this.fields, enumDefine.fields);
    }

    public final String getComment() {
        return this.comment;
    }

    public final List<EnumValueDefine> getFields() {
        return this.fields;
    }

    public final String getSimpleType() {
        return this.simpleType;
    }

    public final String getType() {
        return this.type;
    }

    public int hashCode() {
        int iX = a.x(this.simpleType, this.type.hashCode() * 31, 31);
        String str = this.comment;
        return this.fields.hashCode() + ((iX + (str == null ? 0 : str.hashCode())) * 31);
    }

    public String toString() {
        StringBuilder sbB = a.B("EnumDefine(type=");
        sbB.append(this.type);
        sbB.append(", simpleType=");
        sbB.append(this.simpleType);
        sbB.append(", comment=");
        sbB.append(this.comment);
        sbB.append(", fields=");
        sbB.append(this.fields);
        sbB.append(')');
        return sbB.toString();
    }
}
