package androidx.credentials.webauthn; import androidx.annotation.RestrictTo; import kotlin.jvm.internal.Intrinsics; @RestrictTo({RestrictTo.Scope.LIBRARY}) /* loaded from: classes.dex */ public final class PublicKeyCredentialParameters { private final long alg; private final String type; public static /* synthetic */ PublicKeyCredentialParameters copy$default(PublicKeyCredentialParameters publicKeyCredentialParameters, String str, long j, int i, Object obj) { if ((i & 1) != 0) { str = publicKeyCredentialParameters.type; } if ((i & 2) != 0) { j = publicKeyCredentialParameters.alg; } return publicKeyCredentialParameters.copy(str, j); } public final String component1() { return this.type; } public final long component2() { return this.alg; } public final PublicKeyCredentialParameters copy(String type, long j) { Intrinsics.checkNotNullParameter(type, "type"); return new PublicKeyCredentialParameters(type, j); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof PublicKeyCredentialParameters)) { return false; } PublicKeyCredentialParameters publicKeyCredentialParameters = (PublicKeyCredentialParameters) obj; return Intrinsics.areEqual(this.type, publicKeyCredentialParameters.type) && this.alg == publicKeyCredentialParameters.alg; } public final long getAlg() { return this.alg; } public final String getType() { return this.type; } public int hashCode() { return (this.type.hashCode() * 31) + Long.hashCode(this.alg); } public String toString() { return "PublicKeyCredentialParameters(type=" + this.type + ", alg=" + this.alg + ')'; } public PublicKeyCredentialParameters(String type, long j) { Intrinsics.checkNotNullParameter(type, "type"); this.type = type; this.alg = j; } }