package com.strmr.ps.data.model.trakt;

import androidx.media3.container.NalUnitUtil;
import com.google.gson.annotations.SerializedName;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.kp6;
import defpackage.n41;
import defpackage.pq6;
import defpackage.vw2;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0011\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B/\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0007¢\u0006\u0004\b\t\u0010\nJ\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0007HÆ\u0003J;\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u0007HÆ\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001b\u001a\u00020\u0007HÖ\u0001J\t\u0010\u001c\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0016\u0010\u0004\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0016\u0010\u0005\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\fR\u0016\u0010\u0006\u001a\u00020\u00078\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0016\u0010\b\u001a\u00020\u00078\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0010¨\u0006\u001d"}, d2 = {"Lcom/strmr/ps/data/model/trakt/TraktDeviceCodeResponse;", "", "deviceCode", "", "userCode", "verificationUrl", "expiresIn", "", "interval", "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;II)V", "getDeviceCode", "()Ljava/lang/String;", "getUserCode", "getVerificationUrl", "getExpiresIn", "()I", "getInterval", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "", "other", "hashCode", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class TraktDeviceCodeResponse {

    @SerializedName("device_code")
    @kp6
    private final String deviceCode;

    @SerializedName("expires_in")
    private final int expiresIn;

    @SerializedName("interval")
    private final int interval;

    @SerializedName("user_code")
    @kp6
    private final String userCode;

    @SerializedName("verification_url")
    @kp6
    private final String verificationUrl;

    public TraktDeviceCodeResponse(@kp6 String str, @kp6 String str2, @kp6 String str3, int i, int i2) {
        cr4.g(str, "deviceCode");
        cr4.g(str2, "userCode");
        cr4.g(str3, "verificationUrl");
        this.deviceCode = str;
        this.userCode = str2;
        this.verificationUrl = str3;
        this.expiresIn = i;
        this.interval = i2;
    }

    public static /* synthetic */ TraktDeviceCodeResponse copy$default(TraktDeviceCodeResponse traktDeviceCodeResponse, String str, String str2, String str3, int i, int i2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            str = traktDeviceCodeResponse.deviceCode;
        }
        if ((i3 & 2) != 0) {
            str2 = traktDeviceCodeResponse.userCode;
        }
        if ((i3 & 4) != 0) {
            str3 = traktDeviceCodeResponse.verificationUrl;
        }
        if ((i3 & 8) != 0) {
            i = traktDeviceCodeResponse.expiresIn;
        }
        if ((i3 & 16) != 0) {
            i2 = traktDeviceCodeResponse.interval;
        }
        int i4 = i2;
        String str4 = str3;
        return traktDeviceCodeResponse.copy(str, str2, str4, i, i4);
    }

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

    @kp6
    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getUserCode() {
        return this.userCode;
    }

    @kp6
    /* JADX INFO: renamed from: component3, reason: from getter */
    public final String getVerificationUrl() {
        return this.verificationUrl;
    }

    /* JADX INFO: renamed from: component4, reason: from getter */
    public final int getExpiresIn() {
        return this.expiresIn;
    }

    /* JADX INFO: renamed from: component5, reason: from getter */
    public final int getInterval() {
        return this.interval;
    }

    @kp6
    public final TraktDeviceCodeResponse copy(@kp6 String deviceCode, @kp6 String userCode, @kp6 String verificationUrl, int expiresIn, int interval) {
        cr4.g(deviceCode, "deviceCode");
        cr4.g(userCode, "userCode");
        cr4.g(verificationUrl, "verificationUrl");
        return new TraktDeviceCodeResponse(deviceCode, userCode, verificationUrl, expiresIn, interval);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TraktDeviceCodeResponse)) {
            return false;
        }
        TraktDeviceCodeResponse traktDeviceCodeResponse = (TraktDeviceCodeResponse) other;
        return cr4.b(this.deviceCode, traktDeviceCodeResponse.deviceCode) && cr4.b(this.userCode, traktDeviceCodeResponse.userCode) && cr4.b(this.verificationUrl, traktDeviceCodeResponse.verificationUrl) && this.expiresIn == traktDeviceCodeResponse.expiresIn && this.interval == traktDeviceCodeResponse.interval;
    }

    @kp6
    public final String getDeviceCode() {
        return this.deviceCode;
    }

    public final int getExpiresIn() {
        return this.expiresIn;
    }

    public final int getInterval() {
        return this.interval;
    }

    @kp6
    public final String getUserCode() {
        return this.userCode;
    }

    @kp6
    public final String getVerificationUrl() {
        return this.verificationUrl;
    }

    public int hashCode() {
        return Integer.hashCode(this.interval) + fi7.a(this.expiresIn, vw2.b(vw2.b(this.deviceCode.hashCode() * 31, 31, this.userCode), 31, this.verificationUrl), 31);
    }

    @kp6
    public String toString() {
        String str = this.deviceCode;
        String str2 = this.userCode;
        String str3 = this.verificationUrl;
        int i = this.expiresIn;
        int i2 = this.interval;
        StringBuilder sbM = fi7.m("TraktDeviceCodeResponse(deviceCode=", str, ", userCode=", str2, ", verificationUrl=");
        sbM.append(str3);
        sbM.append(", expiresIn=");
        sbM.append(i);
        sbM.append(", interval=");
        return n41.q(sbM, i2, ")");
    }
}
