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

import d.b.a.a.a;
import g.h0.c.l;
import g.i;

/* JADX INFO: compiled from: DocRenderer.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class OpenSdkInfo {
    private final String api;
    private final String method;

    public OpenSdkInfo(String str, String str2) {
        l.f(str, "method");
        l.f(str2, "api");
        this.method = str;
        this.api = str2;
    }

    public static /* synthetic */ OpenSdkInfo copy$default(OpenSdkInfo openSdkInfo, String str, String str2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = openSdkInfo.method;
        }
        if ((i2 & 2) != 0) {
            str2 = openSdkInfo.api;
        }
        return openSdkInfo.copy(str, str2);
    }

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

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

    public final OpenSdkInfo copy(String str, String str2) {
        l.f(str, "method");
        l.f(str2, "api");
        return new OpenSdkInfo(str, str2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof OpenSdkInfo)) {
            return false;
        }
        OpenSdkInfo openSdkInfo = (OpenSdkInfo) obj;
        return l.a(this.method, openSdkInfo.method) && l.a(this.api, openSdkInfo.api);
    }

    public final String getApi() {
        return this.api;
    }

    public final String getMethod() {
        return this.method;
    }

    public int hashCode() {
        return this.api.hashCode() + (this.method.hashCode() * 31);
    }

    public String toString() {
        StringBuilder sbB = a.B("OpenSdkInfo(method=");
        sbB.append(this.method);
        sbB.append(", api=");
        return a.u(sbB, this.api, ')');
    }
}
