public unsafe SendSetUserProfileCommand(global::Com.Liveperson.Messaging.Messaging p0, string p1, global::Com.Liveperson.Messaging.Model.UserProfileBundle p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(SendSetUserProfileCommand))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/Messaging;Ljava/lang/String;Lcom/liveperson/messaging/model/UserProfileBundle;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/Messaging;Ljava/lang/String;Lcom/liveperson/messaging/model/UserProfileBundle;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_liveperson_messaging_Messaging_Ljava_lang_String_Lcom_liveperson_messaging_model_UserProfileBundle_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_liveperson_messaging_Messaging_Ljava_lang_String_Lcom_liveperson_messaging_model_UserProfileBundle_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/Messaging;Ljava/lang/String;Lcom/liveperson/messaging/model/UserProfileBundle;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_Messaging_Ljava_lang_String_Lcom_liveperson_messaging_model_UserProfileBundle_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_Messaging_Ljava_lang_String_Lcom_liveperson_messaging_model_UserProfileBundle_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
 static IntPtr n_GetPhoneNumber(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Model.UserProfileBundle __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.UserProfileBundle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.PhoneNumber));
 }