package com.linecorp.linesdk;

import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;

public class LineAccessToken implements Parcelable {
    public static final Parcelable.Creator<LineAccessToken> CREATOR = new Parcelable.Creator<LineAccessToken>() {
        static {
            Covode.recordClassIndex(46010);
        }

        public final /* bridge */ /* synthetic */ Object[] newArray(int i) {
            return new LineAccessToken[i];
        }

        public final /* synthetic */ Object createFromParcel(Parcel parcel) {
            return new LineAccessToken(parcel, (byte) 0);
        }
    };
    public final String LIZ;
    public final long LIZIZ;
    public final long LIZJ;

    public int describeContents() {
        return 0;
    }

    static {
        Covode.recordClassIndex(46009);
    }

    public int hashCode() {
        long j = this.LIZIZ;
        long j2 = this.LIZJ;
        return (((this.LIZ.hashCode() * 31) + ((int) (j ^ (j >>> 32)))) * 31) + ((int) (j2 ^ (j2 >>> 32)));
    }

    public String toString() {
        return "LineAccessToken{accessToken='#####', expiresInMillis=" + this.LIZIZ + ", issuedClientTimeMillis=" + this.LIZJ + '}';
    }

    public LineAccessToken(Parcel parcel) {
        this.LIZ = parcel.readString();
        this.LIZIZ = parcel.readLong();
        this.LIZJ = parcel.readLong();
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        LineAccessToken lineAccessToken = (LineAccessToken) obj;
        if (this.LIZIZ == lineAccessToken.LIZIZ && this.LIZJ == lineAccessToken.LIZJ) {
            return this.LIZ.equals(lineAccessToken.LIZ);
        }
        return false;
    }

    public /* synthetic */ LineAccessToken(Parcel parcel, byte b) {
        this(parcel);
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(this.LIZ);
        parcel.writeLong(this.LIZIZ);
        parcel.writeLong(this.LIZJ);
    }

    public LineAccessToken(String str, long j, long j2) {
        this.LIZ = str;
        this.LIZIZ = j;
        this.LIZJ = j2;
    }
}
