package com.ss.android.ugc.aweme.sharedar;

import X.2HN;
import X.AnonymousClass7FI;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.Objects;

public final class SharedARModel implements Parcelable, Serializable {
    public static final Parcelable.Creator<SharedARModel> CREATOR = new AnonymousClass7FI();
    @c(LIZ = "is_current_user_host")
    public boolean isCurrentUserHost;
    @c(LIZ = "shared_ar_multi_player_user_id")
    public String sharedARMultiPlayerUserId;
    @c(LIZ = "shared_ar_multi_player_user_name")
    public String sharedARMultiPlayerUserName;
    @c(LIZ = "shared_ar_session_id")
    public String sharedARSessionId;
    @c(LIZ = "shared_ar_telco")
    public String sharedARTelco;

    static {
        Covode.recordClassIndex(107791);
    }

    public SharedARModel() {
        this((String) null, (String) null, (String) null, false, (String) null, 31, (2HN) null);
    }

    private Object[] LIZ() {
        return new Object[]{this.sharedARMultiPlayerUserId, this.sharedARMultiPlayerUserName, this.sharedARSessionId, Boolean.valueOf(this.isCurrentUserHost), this.sharedARTelco};
    }

    public static /* synthetic */ SharedARModel copy$default(SharedARModel sharedARModel, String str, String str2, String str3, boolean z, String str4, int i, Object obj) {
        if ((i & 1) != 0) {
            str = sharedARModel.sharedARMultiPlayerUserId;
        }
        if ((i & 2) != 0) {
            str2 = sharedARModel.sharedARMultiPlayerUserName;
        }
        if ((i & 4) != 0) {
            str3 = sharedARModel.sharedARSessionId;
        }
        if ((i & 8) != 0) {
            z = sharedARModel.isCurrentUserHost;
        }
        if ((i & 16) != 0) {
            str4 = sharedARModel.sharedARTelco;
        }
        return sharedARModel.copy(str, str2, str3, z, str4);
    }

    public final SharedARModel copy(String str, String str2, String str3, boolean z, String str4) {
        return new SharedARModel(str, str2, str3, z, str4);
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SharedARModel)) {
            return false;
        }
        return M12.LIZ(((SharedARModel) obj).LIZ(), LIZ());
    }

    public final int hashCode() {
        return Objects.hash(LIZ());
    }

    public final String toString() {
        return M12.LIZ("SharedARModel:%s,%s,%s,%s,%s", LIZ());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeString(this.sharedARMultiPlayerUserId);
        parcel.writeString(this.sharedARMultiPlayerUserName);
        parcel.writeString(this.sharedARSessionId);
        parcel.writeInt(this.isCurrentUserHost ? 1 : 0);
        parcel.writeString(this.sharedARTelco);
    }

    public final String getSharedARMultiPlayerUserId() {
        return this.sharedARMultiPlayerUserId;
    }

    public final String getSharedARMultiPlayerUserName() {
        return this.sharedARMultiPlayerUserName;
    }

    public final String getSharedARSessionId() {
        return this.sharedARSessionId;
    }

    public final String getSharedARTelco() {
        return this.sharedARTelco;
    }

    public final boolean isCurrentUserHost() {
        return this.isCurrentUserHost;
    }

    public final void setCurrentUserHost(boolean z) {
        this.isCurrentUserHost = z;
    }

    public final void setSharedARMultiPlayerUserId(String str) {
        this.sharedARMultiPlayerUserId = str;
    }

    public final void setSharedARMultiPlayerUserName(String str) {
        this.sharedARMultiPlayerUserName = str;
    }

    public final void setSharedARSessionId(String str) {
        this.sharedARSessionId = str;
    }

    public final void setSharedARTelco(String str) {
        this.sharedARTelco = str;
    }

    public SharedARModel(String str, String str2, String str3, boolean z, String str4) {
        this.sharedARMultiPlayerUserId = str;
        this.sharedARMultiPlayerUserName = str2;
        this.sharedARSessionId = str3;
        this.isCurrentUserHost = z;
        this.sharedARTelco = str4;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ SharedARModel(String str, String str2, String str3, boolean z, String str4, int i, 2HN r13) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : str3, (i & 8) != 0 ? false : z, (i & 16) == 0 ? str4 : null);
    }
}
