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

import com.ifpdos.udi.sdk.kotlin.comment.parser.CommentDetails;
import d.b.a.a.a;
import g.h0.c.l;
import g.i;

/* JADX INFO: compiled from: ApiInfo.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class ApiInfo {
    private final Uri alias;
    private final String apiName;
    private final CommentDetails comment;
    private final Request getterRequest;
    private final Notify notify;
    private final Request setterRequest;
    private final boolean staticCall;
    private final Uri uri;

    public ApiInfo(CommentDetails commentDetails, String str, Uri uri, Uri uri2, Request request, Request request2, Notify notify, boolean z) {
        l.f(commentDetails, "comment");
        l.f(str, "apiName");
        l.f(uri, "uri");
        this.comment = commentDetails;
        this.apiName = str;
        this.uri = uri;
        this.alias = uri2;
        this.getterRequest = request;
        this.setterRequest = request2;
        this.notify = notify;
        this.staticCall = z;
    }

    public final CommentDetails component1() {
        return this.comment;
    }

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

    public final Uri component3() {
        return this.uri;
    }

    public final Uri component4() {
        return this.alias;
    }

    public final Request component5() {
        return this.getterRequest;
    }

    public final Request component6() {
        return this.setterRequest;
    }

    public final Notify component7() {
        return this.notify;
    }

    public final boolean component8() {
        return this.staticCall;
    }

    public final ApiInfo copy(CommentDetails commentDetails, String str, Uri uri, Uri uri2, Request request, Request request2, Notify notify, boolean z) {
        l.f(commentDetails, "comment");
        l.f(str, "apiName");
        l.f(uri, "uri");
        return new ApiInfo(commentDetails, str, uri, uri2, request, request2, notify, z);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ApiInfo)) {
            return false;
        }
        ApiInfo apiInfo = (ApiInfo) obj;
        return l.a(this.comment, apiInfo.comment) && l.a(this.apiName, apiInfo.apiName) && l.a(this.uri, apiInfo.uri) && l.a(this.alias, apiInfo.alias) && l.a(this.getterRequest, apiInfo.getterRequest) && l.a(this.setterRequest, apiInfo.setterRequest) && l.a(this.notify, apiInfo.notify) && this.staticCall == apiInfo.staticCall;
    }

    public final Uri getAlias() {
        return this.alias;
    }

    public final String getApiName() {
        return this.apiName;
    }

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

    public final Request getGetterRequest() {
        return this.getterRequest;
    }

    public final Notify getNotify() {
        return this.notify;
    }

    public final Request getSetterRequest() {
        return this.setterRequest;
    }

    public final boolean getStaticCall() {
        return this.staticCall;
    }

    public final Uri getUri() {
        return this.uri;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r0v15, types: [int] */
    /* JADX WARN: Type inference failed for: r0v16 */
    /* JADX WARN: Type inference failed for: r0v20 */
    public int hashCode() {
        int iHashCode = (this.uri.hashCode() + a.x(this.apiName, this.comment.hashCode() * 31, 31)) * 31;
        Uri uri = this.alias;
        int iHashCode2 = (iHashCode + (uri == null ? 0 : uri.hashCode())) * 31;
        Request request = this.getterRequest;
        int iHashCode3 = (iHashCode2 + (request == null ? 0 : request.hashCode())) * 31;
        Request request2 = this.setterRequest;
        int iHashCode4 = (iHashCode3 + (request2 == null ? 0 : request2.hashCode())) * 31;
        Notify notify = this.notify;
        int iHashCode5 = (iHashCode4 + (notify != null ? notify.hashCode() : 0)) * 31;
        boolean z = this.staticCall;
        ?? r0 = z;
        if (z) {
            r0 = 1;
        }
        return iHashCode5 + r0;
    }

    public String toString() {
        StringBuilder sbB = a.B("ApiInfo(comment=");
        sbB.append(this.comment);
        sbB.append(", apiName=");
        sbB.append(this.apiName);
        sbB.append(", uri=");
        sbB.append(this.uri);
        sbB.append(", alias=");
        sbB.append(this.alias);
        sbB.append(", getterRequest=");
        sbB.append(this.getterRequest);
        sbB.append(", setterRequest=");
        sbB.append(this.setterRequest);
        sbB.append(", notify=");
        sbB.append(this.notify);
        sbB.append(", staticCall=");
        sbB.append(this.staticCall);
        sbB.append(')');
        return sbB.toString();
    }
}
