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.pq6;
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\u0002\n\u0002\u0010\t\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B?\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\n\u0010\u000bJ\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0017\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0006HÆ\u0003J\u000b\u0010\u0019\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010\u001b\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010\u0014JR\u0010\u001c\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0006HÆ\u0001¢\u0006\u0002\u0010\u001dJ\u0013\u0010\u001e\u001a\u00020\u001f2\b\u0010 \u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010!\u001a\u00020\"HÖ\u0001J\t\u0010#\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0018\u0010\u0004\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\rR\u0016\u0010\u0005\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0018\u0010\u0007\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\rR\u0018\u0010\b\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\rR\u001a\u0010\t\u001a\u0004\u0018\u00010\u00068\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\u0015\u001a\u0004\b\u0013\u0010\u0014¨\u0006$"}, d2 = {"Lcom/strmr/ps/data/model/trakt/TraktTokenResponse;", "", "accessToken", "", "tokenType", "expiresIn", "", "refreshToken", "scope", "createdAt", "<init>", "(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V", "getAccessToken", "()Ljava/lang/String;", "getTokenType", "getExpiresIn", "()J", "getRefreshToken", "getScope", "getCreatedAt", "()Ljava/lang/Long;", "Ljava/lang/Long;", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;)Lcom/strmr/ps/data/model/trakt/TraktTokenResponse;", "equals", "", "other", "hashCode", "", "toString", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class TraktTokenResponse {

    @SerializedName("access_token")
    @kp6
    private final String accessToken;

    @SerializedName("created_at")
    @pq6
    private final Long createdAt;

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

    @SerializedName("refresh_token")
    @pq6
    private final String refreshToken;

    @SerializedName("scope")
    @pq6
    private final String scope;

    @SerializedName("token_type")
    @pq6
    private final String tokenType;

    public TraktTokenResponse(@kp6 String str, @pq6 String str2, long j, @pq6 String str3, @pq6 String str4, @pq6 Long l) {
        cr4.g(str, "accessToken");
        this.accessToken = str;
        this.tokenType = str2;
        this.expiresIn = j;
        this.refreshToken = str3;
        this.scope = str4;
        this.createdAt = l;
    }

    public static /* synthetic */ TraktTokenResponse copy$default(TraktTokenResponse traktTokenResponse, String str, String str2, long j, String str3, String str4, Long l, int i, Object obj) {
        if ((i & 1) != 0) {
            str = traktTokenResponse.accessToken;
        }
        if ((i & 2) != 0) {
            str2 = traktTokenResponse.tokenType;
        }
        if ((i & 4) != 0) {
            j = traktTokenResponse.expiresIn;
        }
        if ((i & 8) != 0) {
            str3 = traktTokenResponse.refreshToken;
        }
        if ((i & 16) != 0) {
            str4 = traktTokenResponse.scope;
        }
        if ((i & 32) != 0) {
            l = traktTokenResponse.createdAt;
        }
        Long l2 = l;
        String str5 = str3;
        long j2 = j;
        return traktTokenResponse.copy(str, str2, j2, str5, str4, l2);
    }

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

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

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

    @pq6
    /* JADX INFO: renamed from: component4, reason: from getter */
    public final String getRefreshToken() {
        return this.refreshToken;
    }

    @pq6
    /* JADX INFO: renamed from: component5, reason: from getter */
    public final String getScope() {
        return this.scope;
    }

    @pq6
    /* JADX INFO: renamed from: component6, reason: from getter */
    public final Long getCreatedAt() {
        return this.createdAt;
    }

    @kp6
    public final TraktTokenResponse copy(@kp6 String accessToken, @pq6 String tokenType, long expiresIn, @pq6 String refreshToken, @pq6 String scope, @pq6 Long createdAt) {
        cr4.g(accessToken, "accessToken");
        return new TraktTokenResponse(accessToken, tokenType, expiresIn, refreshToken, scope, createdAt);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof TraktTokenResponse)) {
            return false;
        }
        TraktTokenResponse traktTokenResponse = (TraktTokenResponse) other;
        return cr4.b(this.accessToken, traktTokenResponse.accessToken) && cr4.b(this.tokenType, traktTokenResponse.tokenType) && this.expiresIn == traktTokenResponse.expiresIn && cr4.b(this.refreshToken, traktTokenResponse.refreshToken) && cr4.b(this.scope, traktTokenResponse.scope) && cr4.b(this.createdAt, traktTokenResponse.createdAt);
    }

    @kp6
    public final String getAccessToken() {
        return this.accessToken;
    }

    @pq6
    public final Long getCreatedAt() {
        return this.createdAt;
    }

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

    @pq6
    public final String getRefreshToken() {
        return this.refreshToken;
    }

    @pq6
    public final String getScope() {
        return this.scope;
    }

    @pq6
    public final String getTokenType() {
        return this.tokenType;
    }

    public int hashCode() {
        int iHashCode = this.accessToken.hashCode() * 31;
        String str = this.tokenType;
        int iB = fi7.b((iHashCode + (str == null ? 0 : str.hashCode())) * 31, 31, this.expiresIn);
        String str2 = this.refreshToken;
        int iHashCode2 = (iB + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.scope;
        int iHashCode3 = (iHashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
        Long l = this.createdAt;
        return iHashCode3 + (l != null ? l.hashCode() : 0);
    }

    @kp6
    public String toString() {
        String str = this.accessToken;
        String str2 = this.tokenType;
        long j = this.expiresIn;
        String str3 = this.refreshToken;
        String str4 = this.scope;
        Long l = this.createdAt;
        StringBuilder sbM = fi7.m("TraktTokenResponse(accessToken=", str, ", tokenType=", str2, ", expiresIn=");
        sbM.append(j);
        sbM.append(", refreshToken=");
        sbM.append(str3);
        sbM.append(", scope=");
        sbM.append(str4);
        sbM.append(", createdAt=");
        sbM.append(l);
        sbM.append(")");
        return sbM.toString();
    }
}
