ledger-core
HttpReadBodyResult.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from http_client.djinni
3 
4 #ifndef DJINNI_GENERATED_HTTPREADBODYRESULT_HPP_JNI_
5 #define DJINNI_GENERATED_HTTPREADBODYRESULT_HPP_JNI_
6 
7 #include "../../api/HttpReadBodyResult.hpp"
8 #include "djinni_support.hpp"
9 
10 namespace djinni_generated {
11 
12 class HttpReadBodyResult final {
13 public:
15  using JniType = jobject;
16 
17  using Boxed = HttpReadBodyResult;
18 
20 
21  static CppType toCpp(JNIEnv* jniEnv, JniType j);
22  static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, const CppType& c);
23 
24 private:
26  friend ::djinni::JniClass<HttpReadBodyResult>;
27 
28  const ::djinni::GlobalRef<jclass> clazz { ::djinni::jniFindClass("co/ledger/core/HttpReadBodyResult") };
29  const jmethodID jconstructor { ::djinni::jniGetMethodID(clazz.get(), "<init>", "(Lco/ledger/core/Error;[B)V") };
30  const jfieldID field_error { ::djinni::jniGetFieldID(clazz.get(), "error", "Lco/ledger/core/Error;") };
31  const jfieldID field_data { ::djinni::jniGetFieldID(clazz.get(), "data", "[B") };
32 };
33 
34 } // namespace djinni_generated
35 #endif //DJINNI_GENERATED_HTTPREADBODYRESULT_HPP_JNI_
Definition: HttpReadBodyResult.hpp:17
Definition: HttpReadBodyResult.hpp:12
Definition: Account.cpp:22