static void n_SetContentDate_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amazon.Clouddrive.Model.ContentProperties __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.ContentDate = p0;
        }
        static IntPtr n_WithContentProperties_Lcom_amazon_clouddrive_model_ContentProperties_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amazon.Clouddrive.Model.CreateNodeRequest __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.CreateNodeRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Amazon.Clouddrive.Model.ContentProperties p0     = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.WithContentProperties(p0));

            return(__ret);
        }
        static int n_CompareTo_Lcom_amazon_clouddrive_model_ContentProperties_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Amazon.Clouddrive.Model.ContentProperties __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Amazon.Clouddrive.Model.ContentProperties p0     = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (native_p0, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.CompareTo(p0);

            return(__ret);
        }
        public virtual unsafe int CompareTo(global::Com.Amazon.Clouddrive.Model.ContentProperties p0)
        {
            if (id_compareTo_Lcom_amazon_clouddrive_model_ContentProperties_ == IntPtr.Zero)
            {
                id_compareTo_Lcom_amazon_clouddrive_model_ContentProperties_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Lcom/amazon/clouddrive/model/ContentProperties;)I");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                int __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallIntMethod(Handle, id_compareTo_Lcom_amazon_clouddrive_model_ContentProperties_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compareTo", "(Lcom/amazon/clouddrive/model/ContentProperties;)I"), __args);
                }
                return(__ret);
            } finally {
            }
        }
예제 #5
0
 static void n_SetContentProperties_Lcom_amazon_clouddrive_model_ContentProperties_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amazon.Clouddrive.Model.EditableNode      __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.EditableNode> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Amazon.Clouddrive.Model.ContentProperties p0     = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ContentProperties = p0;
 }
        public virtual unsafe global::Com.Amazon.Clouddrive.Model.CreateNodeRequest WithContentProperties(global::Com.Amazon.Clouddrive.Model.ContentProperties p0)
        {
            if (id_withContentProperties_Lcom_amazon_clouddrive_model_ContentProperties_ == IntPtr.Zero)
            {
                id_withContentProperties_Lcom_amazon_clouddrive_model_ContentProperties_ = JNIEnv.GetMethodID(class_ref, "withContentProperties", "(Lcom/amazon/clouddrive/model/ContentProperties;)Lcom/amazon/clouddrive/model/CreateNodeRequest;");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                global::Com.Amazon.Clouddrive.Model.CreateNodeRequest __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.CreateNodeRequest> (JNIEnv.CallObjectMethod(Handle, id_withContentProperties_Lcom_amazon_clouddrive_model_ContentProperties_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.CreateNodeRequest> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "withContentProperties", "(Lcom/amazon/clouddrive/model/ContentProperties;)Lcom/amazon/clouddrive/model/CreateNodeRequest;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }
 static IntPtr n_GetVideo(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amazon.Clouddrive.Model.ContentProperties __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Video));
 }
 static void n_SetVersion_Ljava_lang_Long_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Amazon.Clouddrive.Model.ContentProperties __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Long p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Long> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Version = p0;
 }
 static IntPtr n_GetExtension(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Amazon.Clouddrive.Model.ContentProperties __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Model.ContentProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.Extension));
 }