package com.martsnew.data.model.response;

import P6.g;
import o6.InterfaceC1389i;
import o6.InterfaceC1392l;

/* JADX INFO: loaded from: classes.dex */
@InterfaceC1392l(generateAdapter = true)
public final class GenreResponse {

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Integer f10788d;

    public GenreResponse(@InterfaceC1389i(name = "id") long j8, @InterfaceC1389i(name = "name") String str, @InterfaceC1389i(name = "slug") String str2, @InterfaceC1389i(name = "is_popular") Integer num) {
        this.f10785a = j8;
        this.f10786b = str;
        this.f10787c = str2;
        this.f10788d = num;
    }

    public final GenreResponse copy(@InterfaceC1389i(name = "id") long j8, @InterfaceC1389i(name = "name") String str, @InterfaceC1389i(name = "slug") String str2, @InterfaceC1389i(name = "is_popular") Integer num) {
        return new GenreResponse(j8, str, str2, num);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof GenreResponse)) {
            return false;
        }
        GenreResponse genreResponse = (GenreResponse) obj;
        return this.f10785a == genreResponse.f10785a && g.a(this.f10786b, genreResponse.f10786b) && g.a(this.f10787c, genreResponse.f10787c) && g.a(this.f10788d, genreResponse.f10788d);
    }

    public final int hashCode() {
        long j8 = this.f10785a;
        int i = ((int) (j8 ^ (j8 >>> 32))) * 31;
        String str = this.f10786b;
        int iHashCode = (i + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.f10787c;
        int iHashCode2 = (iHashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
        Integer num = this.f10788d;
        return iHashCode2 + (num != null ? num.hashCode() : 0);
    }

    public final String toString() {
        return "GenreResponse(id=" + this.f10785a + ", name=" + this.f10786b + ", slug=" + this.f10787c + ", isPopular=" + this.f10788d + ")";
    }
}
