package com.martsnew.domain.model;

import P6.g;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.material.datepicker.d;
import d5.AbstractC0844a;

/* JADX INFO: loaded from: classes.dex */
public final class Country implements Parcelable {
    public static final Parcelable.Creator<Country> CREATOR = new d(24);

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final long f11017q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final String f11018r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final String f11019s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final String f11020t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public final boolean f11021u;

    public Country(long j8, String str, String str2, String str3, boolean z8) {
        g.e(str, "iso");
        g.e(str2, "name");
        g.e(str3, "slug");
        this.f11017q = j8;
        this.f11018r = str;
        this.f11019s = str2;
        this.f11020t = str3;
        this.f11021u = z8;
    }

    @Override // android.os.Parcelable
    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Country)) {
            return false;
        }
        Country country = (Country) obj;
        return this.f11017q == country.f11017q && g.a(this.f11018r, country.f11018r) && g.a(this.f11019s, country.f11019s) && g.a(this.f11020t, country.f11020t) && this.f11021u == country.f11021u;
    }

    public final int hashCode() {
        long j8 = this.f11017q;
        return AbstractC0844a.g(AbstractC0844a.g(AbstractC0844a.g(((int) (j8 ^ (j8 >>> 32))) * 31, 31, this.f11018r), 31, this.f11019s), 31, this.f11020t) + (this.f11021u ? 1231 : 1237);
    }

    public final String toString() {
        return "Country(id=" + this.f11017q + ", iso=" + this.f11018r + ", name=" + this.f11019s + ", slug=" + this.f11020t + ", publish=" + this.f11021u + ")";
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        g.e(parcel, "dest");
        parcel.writeLong(this.f11017q);
        parcel.writeString(this.f11018r);
        parcel.writeString(this.f11019s);
        parcel.writeString(this.f11020t);
        parcel.writeInt(this.f11021u ? 1 : 0);
    }
}
