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 ClassDefine {
    private final String comment;
    private final List<FieldInfo> fields;
    private String simpleClassNameWithGeneric;
    private String simpleType;
    private final String type;

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

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

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

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

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

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

    public final List<FieldInfo> component5() {
        return this.fields;
    }

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

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

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

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

    public final String getSimpleClassNameWithGeneric() {
        return this.simpleClassNameWithGeneric;
    }

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

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

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

    public final void setSimpleClassNameWithGeneric(String str) {
        l.f(str, "<set-?>");
        this.simpleClassNameWithGeneric = str;
    }

    public final void setSimpleType(String str) {
        l.f(str, "<set-?>");
        this.simpleType = str;
    }

    public String toString() {
        StringBuilder sbB = a.B("ClassDefine(type=");
        sbB.append(this.type);
        sbB.append(", simpleClassNameWithGeneric=");
        sbB.append(this.simpleClassNameWithGeneric);
        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();
    }
}
