package com.vinfast.companion.car.data.model.station;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes15.dex */
@kotlin.Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0011\b\u0086\b\u0018\u00002\u00020\u0001J\u0010\u0010\u0003\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0003\u0010\u0004J\u0010\u0010\u0006\u001a\u00020\u0005HÖ\u0001¢\u0006\u0004\b\u0006\u0010\u0007J\u001a\u0010\n\u001a\u00020\t2\b\u0010\b\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\n\u0010\u000bR\u001a\u0010\u000e\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\f\u0010\r\u001a\u0004\b\f\u0010\u0007R\u001a\u0010\u0012\u001a\u00020\u00028\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u000f\u0010\u0010\u001a\u0004\b\u0011\u0010\u0004R\u001a\u0010\u0014\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0011\u0010\r\u001a\u0004\b\u0013\u0010\u0007R\u001c\u0010\u0018\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0013\u0010\u0015\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\u0019\u001a\u00020\u00058F¢\u0006\u0006\u001a\u0004\b\u000f\u0010\u0007¨\u0006\u001a"}, d2 = {"Lcom/vinfast/companion/car/data/model/station/Connector;", "", "", "toString", "()Ljava/lang/String;", "", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "a", "I", "count", "b", "Ljava/lang/String;", "c", "status", "d", "total", "Ljava/lang/Integer;", "e", "()Ljava/lang/Integer;", "type", "safeType", "car_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class Connector {

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("count")
    private final int count;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("status")
    @org.jetbrains.annotations.NotNull
    private final java.lang.String status;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("total")
    private final int total;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("type")
    @org.jetbrains.annotations.Nullable
    private final java.lang.Integer type;

    /* JADX INFO: renamed from: a, reason: from getter */
    public final int getCount() {
        return this.count;
    }

    public final int b() {
        java.lang.Integer num = this.type;
        if (num != null) {
            return num.intValue();
        }
        return -1;
    }

    /* JADX INFO: renamed from: c, reason: from getter */
    public final java.lang.String getStatus() {
        return this.status;
    }

    /* JADX INFO: renamed from: d, reason: from getter */
    public final int getTotal() {
        return this.total;
    }

    /* JADX INFO: renamed from: e, reason: from getter */
    public final java.lang.Integer getType() {
        return this.type;
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof com.vinfast.companion.car.data.model.station.Connector)) {
            return false;
        }
        com.vinfast.companion.car.data.model.station.Connector connector = (com.vinfast.companion.car.data.model.station.Connector) other;
        return this.count == connector.count && kotlin.jvm.internal.Intrinsics.g(this.status, connector.status) && this.total == connector.total && kotlin.jvm.internal.Intrinsics.g(this.type, connector.type);
    }

    public int hashCode() {
        int iHashCode = ((((java.lang.Integer.hashCode(this.count) * 31) + this.status.hashCode()) * 31) + java.lang.Integer.hashCode(this.total)) * 31;
        java.lang.Integer num = this.type;
        return iHashCode + (num == null ? 0 : num.hashCode());
    }

    public java.lang.String toString() {
        return "Connector(count=" + this.count + ", status=" + this.status + ", total=" + this.total + ", type=" + this.type + ")";
    }
}
