package com.ifpdos.udi.sdk.kotlin.comment.parser;

import java.util.Map;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: Comment.kt */
/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B!\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00030\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u0015\u0010\r\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00030\u0005HÆ\u0003J)\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u0014\b\u0002\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00030\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0006HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u001d\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00030\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0015"}, d2 = {"Lcom/ifpdos/udi/sdk/kotlin/comment/parser/Comment;", "", "documentComment", "Lcom/ifpdos/udi/sdk/kotlin/comment/parser/CommentDetails;", "elementComments", "", "", "(Lcom/ifpdos/udi/sdk/kotlin/comment/parser/CommentDetails;Ljava/util/Map;)V", "getDocumentComment", "()Lcom/ifpdos/udi/sdk/kotlin/comment/parser/CommentDetails;", "getElementComments", "()Ljava/util/Map;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "kotlin-comment-parser"}, k = 1, mv = {1, 6, 0}, xi = 48)
public final /* data */ class Comment {
    private final CommentDetails documentComment;
    private final Map<String, CommentDetails> elementComments;

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ Comment copy$default(Comment comment, CommentDetails commentDetails, Map map, int i, Object obj) {
        if ((i & 1) != 0) {
            commentDetails = comment.documentComment;
        }
        if ((i & 2) != 0) {
            map = comment.elementComments;
        }
        return comment.copy(commentDetails, map);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final CommentDetails getDocumentComment() {
        return this.documentComment;
    }

    public final Map<String, CommentDetails> component2() {
        return this.elementComments;
    }

    public final Comment copy(CommentDetails documentComment, Map<String, CommentDetails> elementComments) {
        Intrinsics.checkNotNullParameter(documentComment, "documentComment");
        Intrinsics.checkNotNullParameter(elementComments, "elementComments");
        return new Comment(documentComment, elementComments);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof Comment)) {
            return false;
        }
        Comment comment = (Comment) other;
        return Intrinsics.areEqual(this.documentComment, comment.documentComment) && Intrinsics.areEqual(this.elementComments, comment.elementComments);
    }

    public int hashCode() {
        return (this.documentComment.hashCode() * 31) + this.elementComments.hashCode();
    }

    public String toString() {
        return "Comment(documentComment=" + this.documentComment + ", elementComments=" + this.elementComments + ')';
    }

    public Comment(CommentDetails documentComment, Map<String, CommentDetails> elementComments) {
        Intrinsics.checkNotNullParameter(documentComment, "documentComment");
        Intrinsics.checkNotNullParameter(elementComments, "elementComments");
        this.documentComment = documentComment;
        this.elementComments = elementComments;
    }

    public final CommentDetails getDocumentComment() {
        return this.documentComment;
    }

    public final Map<String, CommentDetails> getElementComments() {
        return this.elementComments;
    }
}
