// 
// Decompiled by Procyon v0.6.0
// 

package io.sentry.clientreport;

import io.sentry.util.Objects;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.ApiStatus;

@ApiStatus.Internal
final class ClientReportKey
{
    @NotNull
    private final String reason;
    @NotNull
    private final String category;
    
    ClientReportKey(@NotNull final String reason, @NotNull final String category) {
        this.reason = reason;
        this.category = category;
    }
    
    @NotNull
    public String getReason() {
        return this.reason;
    }
    
    @NotNull
    public String getCategory() {
        return this.category;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof ClientReportKey)) {
            return false;
        }
        final ClientReportKey that = (ClientReportKey)o;
        return Objects.equals(this.getReason(), that.getReason()) && Objects.equals(this.getCategory(), that.getCategory());
    }
    
    @Override
    public int hashCode() {
        return Objects.hash(this.getReason(), this.getCategory());
    }
}
