package com.strmr.ps.data.model;

import androidx.media3.container.NalUnitUtil;
import com.google.android.gms.common.internal.ImagesContract;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import defpackage.bi8;
import defpackage.cr4;
import defpackage.fa1;
import defpackage.kp6;
import defpackage.n25;
import defpackage.n41;
import defpackage.pq6;
import defpackage.si8;
import defpackage.ta7;
import defpackage.u79;
import defpackage.uz1;
import defpackage.wi8;
import defpackage.x15;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@si8
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\b\b\u0087\b\u0018\u0000 $2\u00020\u0001:\u0002%$B\u001b\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\u0005\u0010\u0006B/\b\u0010\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002\u0012\b\u0010\n\u001a\u0004\u0018\u00010\t¢\u0006\u0004\b\u0005\u0010\u000bJ'\u0010\u0014\u001a\u00020\u00112\u0006\u0010\f\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\r2\u0006\u0010\u0010\u001a\u00020\u000fH\u0001¢\u0006\u0004\b\u0012\u0010\u0013J\u0010\u0010\u0015\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\b\u0015\u0010\u0016J\u0012\u0010\u0017\u001a\u0004\u0018\u00010\u0002HÆ\u0003¢\u0006\u0004\b\u0017\u0010\u0016J&\u0010\u0018\u001a\u00020\u00002\b\b\u0002\u0010\u0003\u001a\u00020\u00022\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0002HÆ\u0001¢\u0006\u0004\b\u0018\u0010\u0019J\u0010\u0010\u001a\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u001a\u0010\u0016J\u0010\u0010\u001b\u001a\u00020\u0007HÖ\u0001¢\u0006\u0004\b\u001b\u0010\u001cJ\u001a\u0010\u001f\u001a\u00020\u001e2\b\u0010\u001d\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u001f\u0010 R\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0003\u0010!\u001a\u0004\b\"\u0010\u0016R\u0019\u0010\u0004\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u0004\u0010!\u001a\u0004\b#\u0010\u0016¨\u0006&"}, d2 = {"Lcom/strmr/ps/data/model/UserCollectionLink;", "", "", ImagesContract.URL, AppMeasurementSdk.ConditionalUserProperty.NAME, "<init>", "(Ljava/lang/String;Ljava/lang/String;)V", "", "seen0", "Lwi8;", "serializationConstructorMarker", "(ILjava/lang/String;Ljava/lang/String;Lwi8;)V", "self", "Lfa1;", "output", "Lbi8;", "serialDesc", "Le6a;", "write$Self$app_sideloadRelease", "(Lcom/strmr/ps/data/model/UserCollectionLink;Lfa1;Lbi8;)V", "write$Self", "component1", "()Ljava/lang/String;", "component2", "copy", "(Ljava/lang/String;Ljava/lang/String;)Lcom/strmr/ps/data/model/UserCollectionLink;", "toString", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "Ljava/lang/String;", "getUrl", "getName", "Companion", "$serializer", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class UserCollectionLink {

    /* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
    @kp6
    public static final Companion INSTANCE = new Companion(null);

    @pq6
    private final String name;

    @kp6
    private final String url;

    @Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u0013\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004¢\u0006\u0004\b\u0006\u0010\u0007¨\u0006\b"}, d2 = {"Lcom/strmr/ps/data/model/UserCollectionLink$Companion;", "", "<init>", "()V", "Ln25;", "Lcom/strmr/ps/data/model/UserCollectionLink;", "serializer", "()Ln25;", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class Companion {
        private Companion() {
        }

        @kp6
        public final n25<UserCollectionLink> serializer() {
            return UserCollectionLink$$serializer.INSTANCE;
        }

        public /* synthetic */ Companion(uz1 uz1Var) {
            this();
        }
    }

    public /* synthetic */ UserCollectionLink(int i, String str, String str2, wi8 wi8Var) {
        if (1 != (i & 1)) {
            ta7.a(i, 1, UserCollectionLink$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.url = str;
        if ((i & 2) == 0) {
            this.name = null;
        } else {
            this.name = str2;
        }
    }

    public static /* synthetic */ UserCollectionLink copy$default(UserCollectionLink userCollectionLink, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = userCollectionLink.url;
        }
        if ((i & 2) != 0) {
            str2 = userCollectionLink.name;
        }
        return userCollectionLink.copy(str, str2);
    }

    @x15
    public static final /* synthetic */ void write$Self$app_sideloadRelease(UserCollectionLink self, fa1 output, bi8 serialDesc) {
        output.n(serialDesc, 0, self.url);
        if (!output.e(serialDesc, 1) && self.name == null) {
            return;
        }
        output.ae(serialDesc, 1, u79.a, self.name);
    }

    @kp6
    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getUrl() {
        return this.url;
    }

    @pq6
    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getName() {
        return this.name;
    }

    @kp6
    public final UserCollectionLink copy(@kp6 String url, @pq6 String name) {
        cr4.g(url, ImagesContract.URL);
        return new UserCollectionLink(url, name);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof UserCollectionLink)) {
            return false;
        }
        UserCollectionLink userCollectionLink = (UserCollectionLink) other;
        return cr4.b(this.url, userCollectionLink.url) && cr4.b(this.name, userCollectionLink.name);
    }

    @pq6
    public final String getName() {
        return this.name;
    }

    @kp6
    public final String getUrl() {
        return this.url;
    }

    public int hashCode() {
        int iHashCode = this.url.hashCode() * 31;
        String str = this.name;
        return iHashCode + (str == null ? 0 : str.hashCode());
    }

    @kp6
    public String toString() {
        return n41.o("UserCollectionLink(url=", this.url, ", name=", this.name, ")");
    }

    public UserCollectionLink(@kp6 String str, @pq6 String str2) {
        cr4.g(str, ImagesContract.URL);
        this.url = str;
        this.name = str2;
    }

    public /* synthetic */ UserCollectionLink(String str, String str2, int i, uz1 uz1Var) {
        this(str, (i & 2) != 0 ? null : str2);
    }
}
