data) {
this.data = data;
}
diff --git a/src/test/java/com/fireblocks/sdk/FireblocksTest.java b/src/test/java/com/fireblocks/sdk/FireblocksTest.java
index b3f4c57a..aa60672b 100644
--- a/src/test/java/com/fireblocks/sdk/FireblocksTest.java
+++ b/src/test/java/com/fireblocks/sdk/FireblocksTest.java
@@ -387,14 +387,6 @@ public void testGetBlockchainsAssetsApi() {
Assert.assertSame(blockchainsAssets, fireblocks.blockchainsAssets());
}
- @Test
- public void testGetBlockchainsAssetsBetaApi() {
- setupFireblocks(true, null, null);
- BlockchainsAssetsBetaApi blockchainsAssetsBeta = fireblocks.blockchainsAssetsBeta();
- Assert.assertNotNull(blockchainsAssetsBeta);
- Assert.assertSame(blockchainsAssetsBeta, fireblocks.blockchainsAssetsBeta());
- }
-
@Test
public void testGetComplianceApi() {
setupFireblocks(true, null, null);
diff --git a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
index 27d9772f..d065eaf7 100644
--- a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
@@ -15,11 +15,18 @@
import com.fireblocks.sdk.ApiException;
import com.fireblocks.sdk.ApiResponse;
+import com.fireblocks.sdk.model.Asset;
+import com.fireblocks.sdk.model.AssetClass;
import com.fireblocks.sdk.model.AssetPriceResponse;
import com.fireblocks.sdk.model.AssetResponse;
+import com.fireblocks.sdk.model.AssetScope;
import com.fireblocks.sdk.model.AssetTypeResponse;
+import com.fireblocks.sdk.model.BlockchainResponse;
+import com.fireblocks.sdk.model.ListAssetsResponse;
+import com.fireblocks.sdk.model.ListBlockchainsResponse;
import com.fireblocks.sdk.model.RegisterNewAssetRequest;
import com.fireblocks.sdk.model.SetAssetPriceRequest;
+import java.math.BigDecimal;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import org.junit.Ignore;
@@ -32,9 +39,42 @@ public class BlockchainsAssetsApiTest {
private final BlockchainsAssetsApi api = new BlockchainsAssetsApi();
/**
- * List all asset types supported by Fireblocks
+ * Get an asset
*
- * Returns all asset types supported by Fireblocks.
+ *
Returns an asset by ID or legacyID.</br> **Note**: - We will continue displaying and
+ * supporting the legacy ID (API ID). Since not all Fireblocks services fully support the new
+ * Assets UUID, please use only the legacy ID until further notice.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getAssetTest() throws ApiException {
+ String id = null;
+ String idempotencyKey = null;
+ CompletableFuture> response = api.getAsset(id, idempotencyKey);
+ }
+
+ /**
+ * Get an blockchain
+ *
+ * Returns an blockchain by ID or legacyID.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getBlockchainTest() throws ApiException {
+ String id = null;
+ CompletableFuture> response = api.getBlockchain(id);
+ }
+
+ /**
+ * List all asset types supported by Fireblocks - legacy endpoint
+ *
+ * Legacy Endpoint – Retrieves all assets supported by Fireblocks in your workspace without
+ * extended information.</br> **Note**: - This endpoint will remain available for the
+ * foreseeable future and is not deprecated.</br> - The `listAssets` endpoint
+ * provides more detailed asset information and improved performance.</br> - We recommend
+ * transitioning to the `listAssets` endpoint for better results.
*
* @throws ApiException if the Api call fails
*/
@@ -43,6 +83,57 @@ public void getSupportedAssetsTest() throws ApiException {
CompletableFuture>> response = api.getSupportedAssets();
}
+ /**
+ * List assets
+ *
+ * Retrieves all assets supported by Fireblocks in your workspace, providing extended
+ * information and enhanced performance compared to the legacy `supported_assets`
+ * endpoint.</br> **Note**: - We will continue displaying and supporting the legacy ID
+ * (API ID). Since not all Fireblocks services fully support the new Assets UUID, please use
+ * only the legacy ID until further notice.</br>
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void listAssetsTest() throws ApiException {
+ String blockchainId = null;
+ AssetClass assetClass = null;
+ String symbol = null;
+ AssetScope scope = null;
+ Boolean deprecated = null;
+ String pageCursor = null;
+ BigDecimal pageSize = null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.listAssets(
+ blockchainId,
+ assetClass,
+ symbol,
+ scope,
+ deprecated,
+ pageCursor,
+ pageSize,
+ idempotencyKey);
+ }
+
+ /**
+ * List blockchains
+ *
+ * Returns all blockchains supported by Fireblocks.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void listBlockchainsTest() throws ApiException {
+ String protocol = null;
+ Boolean deprecated = null;
+ Boolean test = null;
+ String pageCursor = null;
+ BigDecimal pageSize = null;
+ CompletableFuture> response =
+ api.listBlockchains(protocol, deprecated, test, pageCursor, pageSize);
+ }
+
/**
* Register an asset
*
diff --git a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsBetaApiTest.java
deleted file mode 100644
index 24a859ec..00000000
--- a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsBetaApiTest.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Fireblocks API
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * The version of the OpenAPI document: 1.6.2
- * Contact: support@fireblocks.com
- *
- * 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.fireblocks.sdk.api;
-
-
-import com.fireblocks.sdk.ApiException;
-import com.fireblocks.sdk.ApiResponse;
-import com.fireblocks.sdk.model.AssetClassBeta;
-import com.fireblocks.sdk.model.AssetResponseBeta;
-import com.fireblocks.sdk.model.BlockchainResponse;
-import com.fireblocks.sdk.model.ListAssetsResponse;
-import com.fireblocks.sdk.model.ListBlockchainsResponse;
-import java.math.BigDecimal;
-import java.util.concurrent.CompletableFuture;
-import org.junit.Ignore;
-import org.junit.Test;
-
-/** API tests for BlockchainsAssetsBetaApi */
-@Ignore
-public class BlockchainsAssetsBetaApiTest {
-
- private final BlockchainsAssetsBetaApi api = new BlockchainsAssetsBetaApi();
-
- /**
- * Get an asset
- *
- * Returns an asset by ID or legacyID.</br> **Note**: - This endpoint is now in Beta,
- * disabled for general availability at this time.
- *
- * @throws ApiException if the Api call fails
- */
- @Test
- public void getAssetByIdTest() throws ApiException {
- String id = null;
- String idempotencyKey = null;
- CompletableFuture> response =
- api.getAssetById(id, idempotencyKey);
- }
-
- /**
- * Get an blockchain
- *
- * Returns an blockchain by ID or legacyID.</br> **Note**: - This endpoint is now in
- * Beta, disabled for general availability at this time.
- *
- * @throws ApiException if the Api call fails
- */
- @Test
- public void getBlockchainByIdTest() throws ApiException {
- String id = null;
- CompletableFuture> response = api.getBlockchainById(id);
- }
-
- /**
- * List assets
- *
- * Returns all asset type supported by Fireblocks.</br> **Note**: - This endpoint is
- * now in Beta, disabled for general availability at this time.
- *
- * @throws ApiException if the Api call fails
- */
- @Test
- public void listAssetsTest() throws ApiException {
- String blockchainId = null;
- AssetClassBeta assetClass = null;
- String symbol = null;
- String scope = null;
- Boolean deprecated = null;
- String pageCursor = null;
- BigDecimal pageSize = null;
- String idempotencyKey = null;
- CompletableFuture> response =
- api.listAssets(
- blockchainId,
- assetClass,
- symbol,
- scope,
- deprecated,
- pageCursor,
- pageSize,
- idempotencyKey);
- }
-
- /**
- * List blockchains
- *
- * Returns all blockchains supported by Fireblocks.</br> **Note**: - This endpoint is
- * now in Beta, disabled for general availability at this time.
- *
- * @throws ApiException if the Api call fails
- */
- @Test
- public void listBlockchainsTest() throws ApiException {
- String protocol = null;
- Boolean deprecated = null;
- Boolean test = null;
- String pageCursor = null;
- BigDecimal pageSize = null;
- CompletableFuture> response =
- api.listBlockchains(protocol, deprecated, test, pageCursor, pageSize);
- }
-}
diff --git a/src/test/java/com/fireblocks/sdk/model/AssetClassBetaTest.java b/src/test/java/com/fireblocks/sdk/model/AssetClassTest.java
similarity index 70%
rename from src/test/java/com/fireblocks/sdk/model/AssetClassBetaTest.java
rename to src/test/java/com/fireblocks/sdk/model/AssetClassTest.java
index d1429abf..c0065d43 100644
--- a/src/test/java/com/fireblocks/sdk/model/AssetClassBetaTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AssetClassTest.java
@@ -15,11 +15,11 @@
import org.junit.Test;
-/** Model tests for AssetClassBeta */
-public class AssetClassBetaTest {
- /** Model tests for AssetClassBeta */
+/** Model tests for AssetClass */
+public class AssetClassTest {
+ /** Model tests for AssetClass */
@Test
- public void testAssetClassBeta() {
- // TODO: test AssetClassBeta
+ public void testAssetClass() {
+ // TODO: test AssetClass
}
}
diff --git a/src/test/java/com/fireblocks/sdk/model/AssetMetadataBetaTest.java b/src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java
similarity index 73%
rename from src/test/java/com/fireblocks/sdk/model/AssetMetadataBetaTest.java
rename to src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java
index c892727c..5735084a 100644
--- a/src/test/java/com/fireblocks/sdk/model/AssetMetadataBetaTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java
@@ -15,14 +15,14 @@
import org.junit.Test;
-/** Model tests for AssetMetadataBeta */
-public class AssetMetadataBetaTest {
- private final AssetMetadataBeta model = new AssetMetadataBeta();
+/** Model tests for AssetDetailsMetadata */
+public class AssetDetailsMetadataTest {
+ private final AssetDetailsMetadata model = new AssetDetailsMetadata();
- /** Model tests for AssetMetadataBeta */
+ /** Model tests for AssetDetailsMetadata */
@Test
- public void testAssetMetadataBeta() {
- // TODO: test AssetMetadataBeta
+ public void testAssetDetailsMetadata() {
+ // TODO: test AssetDetailsMetadata
}
/** Test the property 'scope' */
@@ -43,12 +43,6 @@ public void deprecationReferralIdTest() {
// TODO: test deprecationReferralId
}
- /** Test the property 'verified' */
- @Test
- public void verifiedTest() {
- // TODO: test verified
- }
-
/** Test the property 'website' */
@Test
public void websiteTest() {
diff --git a/src/test/java/com/fireblocks/sdk/model/AssetOnchainBetaTest.java b/src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java
similarity index 78%
rename from src/test/java/com/fireblocks/sdk/model/AssetOnchainBetaTest.java
rename to src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java
index 489e90b4..df9cdd67 100644
--- a/src/test/java/com/fireblocks/sdk/model/AssetOnchainBetaTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java
@@ -15,14 +15,14 @@
import org.junit.Test;
-/** Model tests for AssetOnchainBeta */
-public class AssetOnchainBetaTest {
- private final AssetOnchainBeta model = new AssetOnchainBeta();
+/** Model tests for AssetDetailsOnchain */
+public class AssetDetailsOnchainTest {
+ private final AssetDetailsOnchain model = new AssetDetailsOnchain();
- /** Model tests for AssetOnchainBeta */
+ /** Model tests for AssetDetailsOnchain */
@Test
- public void testAssetOnchainBeta() {
- // TODO: test AssetOnchainBeta
+ public void testAssetDetailsOnchain() {
+ // TODO: test AssetDetailsOnchain
}
/** Test the property 'symbol' */
diff --git a/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java b/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java
new file mode 100644
index 00000000..7d751947
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * 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.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for AssetScope */
+public class AssetScopeTest {
+ /** Model tests for AssetScope */
+ @Test
+ public void testAssetScope() {
+ // TODO: test AssetScope
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AssetResponseBetaTest.java b/src/test/java/com/fireblocks/sdk/model/AssetTest.java
similarity index 84%
rename from src/test/java/com/fireblocks/sdk/model/AssetResponseBetaTest.java
rename to src/test/java/com/fireblocks/sdk/model/AssetTest.java
index eba130c2..ca9bdc47 100644
--- a/src/test/java/com/fireblocks/sdk/model/AssetResponseBetaTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AssetTest.java
@@ -15,14 +15,14 @@
import org.junit.Test;
-/** Model tests for AssetResponseBeta */
-public class AssetResponseBetaTest {
- private final AssetResponseBeta model = new AssetResponseBeta();
+/** Model tests for Asset */
+public class AssetTest {
+ private final Asset model = new Asset();
- /** Model tests for AssetResponseBeta */
+ /** Model tests for Asset */
@Test
- public void testAssetResponseBeta() {
- // TODO: test AssetResponseBeta
+ public void testAsset() {
+ // TODO: test Asset
}
/** Test the property 'id' */