Exemplo n.º 1
0
        static void n_SetAccessToken_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Coinbase.Api.Entity.OAuthTokensResponse __this = global::Java.Lang.Object.GetObject <global::Com.Coinbase.Api.Entity.OAuthTokensResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.AccessToken = p0;
        }
 static void n_SetOauth_Lcom_coinbase_api_entity_OAuthTokensResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Coinbase.Api.Entity.UserResponse        __this = global::Java.Lang.Object.GetObject <global::Com.Coinbase.Api.Entity.UserResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Coinbase.Api.Entity.OAuthTokensResponse p0     = global::Java.Lang.Object.GetObject <global::Com.Coinbase.Api.Entity.OAuthTokensResponse> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Oauth = p0;
 }
Exemplo n.º 3
0
 static void n_SetExpireIn_Ljava_lang_Integer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Coinbase.Api.Entity.OAuthTokensResponse __this = global::Java.Lang.Object.GetObject <global::Com.Coinbase.Api.Entity.OAuthTokensResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Integer p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Integer> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ExpireIn = p0;
 }
Exemplo n.º 4
0
 static IntPtr n_GetAccessToken(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Coinbase.Api.Entity.OAuthTokensResponse __this = global::Java.Lang.Object.GetObject <global::Com.Coinbase.Api.Entity.OAuthTokensResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.AccessToken));
 }
Exemplo n.º 5
0
 static IntPtr n_GetExpireIn(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Coinbase.Api.Entity.OAuthTokensResponse __this = global::Java.Lang.Object.GetObject <global::Com.Coinbase.Api.Entity.OAuthTokensResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.ExpireIn));
 }