)
+ new TypeAdapter<
+ FetchAddressVerificationListResponseInnerAddressQuestionnaire>() {
+ @Override
+ public void write(
+ JsonWriter out,
+ FetchAddressVerificationListResponseInnerAddressQuestionnaire value)
+ throws IOException {
+ JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
+ elementAdapter.write(out, obj);
+ }
+
+ @Override
+ public FetchAddressVerificationListResponseInnerAddressQuestionnaire read(
+ JsonReader in) throws IOException {
+ JsonElement jsonElement = elementAdapter.read(in);
+ // validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
+ }
+ }.nullSafe();
+ }
+ }
+
+ /**
+ * Create an instance of FetchAddressVerificationListResponseInnerAddressQuestionnaire given an
+ * JSON string
+ *
+ * @param jsonString JSON string
+ * @return An instance of FetchAddressVerificationListResponseInnerAddressQuestionnaire
+ * @throws IOException if the JSON string is invalid with respect to
+ * FetchAddressVerificationListResponseInnerAddressQuestionnaire
+ */
+ public static FetchAddressVerificationListResponseInnerAddressQuestionnaire fromJson(
+ String jsonString) throws IOException {
+ return JSON.getGson()
+ .fromJson(
+ jsonString,
+ FetchAddressVerificationListResponseInnerAddressQuestionnaire.class);
+ }
+
+ /**
+ * Convert an instance of FetchAddressVerificationListResponseInnerAddressQuestionnaire to an
+ * JSON string
+ *
+ * @return JSON string
+ */
+ public String toJson() {
+ return JSON.getGson().toJson(this);
+ }
+}
diff --git a/examples/wallet/pom.xml b/examples/wallet/pom.xml
index f4442745..e532f84f 100644
--- a/examples/wallet/pom.xml
+++ b/examples/wallet/pom.xml
@@ -31,7 +31,7 @@
io.github.binance
binance-wallet
- 1.1.0
+ 2.0.0
\ No newline at end of file
diff --git a/examples/wallet/src/main/java/com/binance/connector/client/wallet/rest/travelrule/FetchAddressVerificationListExample.java b/examples/wallet/src/main/java/com/binance/connector/client/wallet/rest/travelrule/FetchAddressVerificationListExample.java
new file mode 100644
index 00000000..817a9ed2
--- /dev/null
+++ b/examples/wallet/src/main/java/com/binance/connector/client/wallet/rest/travelrule/FetchAddressVerificationListExample.java
@@ -0,0 +1,51 @@
+/*
+ * Binance Spot REST API
+ * OpenAPI Specifications for the Binance Spot REST API API documents: - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md) - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.binance.connector.client.wallet.rest.travelrule;
+
+import com.binance.connector.client.common.ApiException;
+import com.binance.connector.client.common.ApiResponse;
+import com.binance.connector.client.common.configuration.ClientConfiguration;
+import com.binance.connector.client.common.configuration.SignatureConfiguration;
+import com.binance.connector.client.wallet.rest.WalletRestApiUtil;
+import com.binance.connector.client.wallet.rest.api.WalletRestApi;
+import com.binance.connector.client.wallet.rest.model.FetchAddressVerificationListResponse;
+
+/** API examples for TravelRuleApi */
+public class FetchAddressVerificationListExample {
+ private WalletRestApi api;
+
+ public WalletRestApi getApi() {
+ if (api == null) {
+ ClientConfiguration clientConfiguration = WalletRestApiUtil.getClientConfiguration();
+ SignatureConfiguration signatureConfiguration = new SignatureConfiguration();
+ signatureConfiguration.setApiKey("apiKey");
+ signatureConfiguration.setPrivateKey("path/to/private.key");
+ clientConfiguration.setSignatureConfiguration(signatureConfiguration);
+ api = new WalletRestApi(clientConfiguration);
+ }
+ return api;
+ }
+
+ /**
+ * Fetch address verification list (USER_DATA)
+ *
+ * Fetch address verification list Weight: 10
+ *
+ * @throws ApiException if the Api call fails
+ */
+ public void fetchAddressVerificationListExample() throws ApiException {
+ ApiResponse response =
+ getApi().fetchAddressVerificationList();
+ System.out.println(response.getData());
+ }
+}