package com.vinfast.companion.serviceskit.domain.request;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes6.dex */
@kotlin.Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\f\b\u0086\b\u0018\u00002\u00020\u0001B%\u0012\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\u0007\u0010\bJ\u0010\u0010\t\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\t\u0010\nJ\u0010\u0010\u000b\u001a\u00020\u0004HÖ\u0001¢\u0006\u0004\b\u000b\u0010\fJ\u001a\u0010\u000f\u001a\u00020\u000e2\b\u0010\r\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u000f\u0010\u0010R\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u0013\u0010\nR\u001c\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0014\u0010\u0015\u001a\u0004\b\u0016\u0010\u0017R\u001c\u0010\u0006\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0018\u0010\u0012\u001a\u0004\b\u0019\u0010\n¨\u0006\u001a"}, d2 = {"Lcom/vinfast/companion/serviceskit/domain/request/CancelAppointmentRequest;", "", "", "appointmentId", "", "cancelCode", "reason", "<init>", "(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)V", "toString", "()Ljava/lang/String;", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "a", "Ljava/lang/String;", "getAppointmentId", "b", "Ljava/lang/Integer;", "getCancelCode", "()Ljava/lang/Integer;", "c", "getReason", "servicesKit_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class CancelAppointmentRequest {

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("appointmentId")
    @org.jetbrains.annotations.Nullable
    private final java.lang.String appointmentId;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("cancelCode")
    @org.jetbrains.annotations.Nullable
    private final java.lang.Integer cancelCode;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("reason")
    @org.jetbrains.annotations.Nullable
    private final java.lang.String reason;

    public CancelAppointmentRequest(java.lang.String str, java.lang.Integer num, java.lang.String str2) {
        this.appointmentId = str;
        this.cancelCode = num;
        this.reason = str2;
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof com.vinfast.companion.serviceskit.domain.request.CancelAppointmentRequest)) {
            return false;
        }
        com.vinfast.companion.serviceskit.domain.request.CancelAppointmentRequest cancelAppointmentRequest = (com.vinfast.companion.serviceskit.domain.request.CancelAppointmentRequest) other;
        return kotlin.jvm.internal.Intrinsics.g(this.appointmentId, cancelAppointmentRequest.appointmentId) && kotlin.jvm.internal.Intrinsics.g(this.cancelCode, cancelAppointmentRequest.cancelCode) && kotlin.jvm.internal.Intrinsics.g(this.reason, cancelAppointmentRequest.reason);
    }

    public int hashCode() {
        java.lang.String str = this.appointmentId;
        int iHashCode = (str == null ? 0 : str.hashCode()) * 31;
        java.lang.Integer num = this.cancelCode;
        int iHashCode2 = (iHashCode + (num == null ? 0 : num.hashCode())) * 31;
        java.lang.String str2 = this.reason;
        return iHashCode2 + (str2 != null ? str2.hashCode() : 0);
    }

    public java.lang.String toString() {
        return "CancelAppointmentRequest(appointmentId=" + this.appointmentId + ", cancelCode=" + this.cancelCode + ", reason=" + this.reason + ")";
    }
}
