> getSchemas() {
+ return CreateMultichainTokenRequestCreateParams.schemas;
+ }
+
+ /**
+ * Set the instance that matches the oneOf child schema, check the instance parameter is valid
+ * against the oneOf child schemas: EVMTokenCreateParamsDto
+ *
+ * It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be
+ * a composed schema (allOf, anyOf, oneOf).
+ */
+ @Override
+ public void setActualInstance(Object instance) {
+ if (JSON.isInstanceOf(EVMTokenCreateParamsDto.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ throw new RuntimeException("Invalid instance type. Must be EVMTokenCreateParamsDto");
+ }
+
+ /**
+ * Get the actual instance, which can be the following: EVMTokenCreateParamsDto
+ *
+ * @return The actual instance (EVMTokenCreateParamsDto)
+ */
+ @Override
+ public Object getActualInstance() {
+ return super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `EVMTokenCreateParamsDto`. If the actual instance is not
+ * `EVMTokenCreateParamsDto`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `EVMTokenCreateParamsDto`
+ * @throws ClassCastException if the instance is not `EVMTokenCreateParamsDto`
+ */
+ public EVMTokenCreateParamsDto getEVMTokenCreateParamsDto() throws ClassCastException {
+ return (EVMTokenCreateParamsDto) super.getActualInstance();
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ if (getActualInstance() instanceof EVMTokenCreateParamsDto) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((EVMTokenCreateParamsDto) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_0" + suffix));
+ }
+ return joiner.toString();
+ }
+ return null;
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java
new file mode 100644
index 00000000..4dbd9f70
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java
@@ -0,0 +1,247 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** CreateMultipleDepositAddressesJobStatus */
+@JsonPropertyOrder({
+ CreateMultipleDepositAddressesJobStatus.JSON_PROPERTY_STATUS,
+ CreateMultipleDepositAddressesJobStatus.JSON_PROPERTY_ADDRESSES,
+ CreateMultipleDepositAddressesJobStatus.JSON_PROPERTY_ERROR_MESSAGE
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateMultipleDepositAddressesJobStatus {
+ public static final String JSON_PROPERTY_STATUS = "status";
+ private String status;
+
+ public static final String JSON_PROPERTY_ADDRESSES = "addresses";
+ private List addresses;
+
+ public static final String JSON_PROPERTY_ERROR_MESSAGE = "errorMessage";
+ private String errorMessage;
+
+ public CreateMultipleDepositAddressesJobStatus() {}
+
+ public CreateMultipleDepositAddressesJobStatus status(String status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public CreateMultipleDepositAddressesJobStatus addresses(List addresses) {
+ this.addresses = addresses;
+ return this;
+ }
+
+ public CreateMultipleDepositAddressesJobStatus addAddressesItem(NewAddress addressesItem) {
+ if (this.addresses == null) {
+ this.addresses = new ArrayList<>();
+ }
+ this.addresses.add(addressesItem);
+ return this;
+ }
+
+ /**
+ * Get addresses
+ *
+ * @return addresses
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ADDRESSES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getAddresses() {
+ return addresses;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESSES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAddresses(List addresses) {
+ this.addresses = addresses;
+ }
+
+ public CreateMultipleDepositAddressesJobStatus errorMessage(String errorMessage) {
+ this.errorMessage = errorMessage;
+ return this;
+ }
+
+ /**
+ * Get errorMessage
+ *
+ * @return errorMessage
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getErrorMessage() {
+ return errorMessage;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setErrorMessage(String errorMessage) {
+ this.errorMessage = errorMessage;
+ }
+
+ /** Return true if this CreateMultipleDepositAddressesJobStatus object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateMultipleDepositAddressesJobStatus createMultipleDepositAddressesJobStatus =
+ (CreateMultipleDepositAddressesJobStatus) o;
+ return Objects.equals(this.status, createMultipleDepositAddressesJobStatus.status)
+ && Objects.equals(this.addresses, createMultipleDepositAddressesJobStatus.addresses)
+ && Objects.equals(
+ this.errorMessage, createMultipleDepositAddressesJobStatus.errorMessage);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(status, addresses, errorMessage);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateMultipleDepositAddressesJobStatus {\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n");
+ sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `status` to the URL query string
+ if (getStatus() != null) {
+ joiner.add(
+ String.format(
+ "%sstatus%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getStatus()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `addresses` to the URL query string
+ if (getAddresses() != null) {
+ for (int i = 0; i < getAddresses().size(); i++) {
+ if (getAddresses().get(i) != null) {
+ joiner.add(
+ getAddresses()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%saddresses%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `errorMessage` to the URL query string
+ if (getErrorMessage() != null) {
+ joiner.add(
+ String.format(
+ "%serrorMessage%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getErrorMessage()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java
new file mode 100644
index 00000000..8b3c192c
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java
@@ -0,0 +1,387 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** CreateMultipleDepositAddressesRequest */
+@JsonPropertyOrder({
+ CreateMultipleDepositAddressesRequest.JSON_PROPERTY_VAULT_ACCOUNT_ID,
+ CreateMultipleDepositAddressesRequest.JSON_PROPERTY_ASSET_ID,
+ CreateMultipleDepositAddressesRequest.JSON_PROPERTY_COUNT,
+ CreateMultipleDepositAddressesRequest.JSON_PROPERTY_DESCRIPTIONS,
+ CreateMultipleDepositAddressesRequest.JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM,
+ CreateMultipleDepositAddressesRequest.JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM_INDEX
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class CreateMultipleDepositAddressesRequest {
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID = "vaultAccountId";
+ private Integer vaultAccountId;
+
+ public static final String JSON_PROPERTY_ASSET_ID = "assetId";
+ private String assetId;
+
+ public static final String JSON_PROPERTY_COUNT = "count";
+ private Integer count;
+
+ public static final String JSON_PROPERTY_DESCRIPTIONS = "descriptions";
+ private List descriptions;
+
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM =
+ "vaultAccountToCopyDescFrom";
+ private Integer vaultAccountToCopyDescFrom;
+
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM_INDEX =
+ "vaultAccountToCopyDescFromIndex";
+ private Integer vaultAccountToCopyDescFromIndex;
+
+ public CreateMultipleDepositAddressesRequest() {}
+
+ public CreateMultipleDepositAddressesRequest vaultAccountId(Integer vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ return this;
+ }
+
+ /**
+ * Existing Vault account ID to add deposit addresses to
+ *
+ * @return vaultAccountId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public Integer getVaultAccountId() {
+ return vaultAccountId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setVaultAccountId(Integer vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ }
+
+ public CreateMultipleDepositAddressesRequest assetId(String assetId) {
+ this.assetId = assetId;
+ return this;
+ }
+
+ /**
+ * asset ID
+ *
+ * @return assetId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ASSET_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getAssetId() {
+ return assetId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAssetId(String assetId) {
+ this.assetId = assetId;
+ }
+
+ public CreateMultipleDepositAddressesRequest count(Integer count) {
+ this.count = count;
+ return this;
+ }
+
+ /**
+ * Count of deposit addresses to issue
+ *
+ * @return count
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_COUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public Integer getCount() {
+ return count;
+ }
+
+ @JsonProperty(JSON_PROPERTY_COUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCount(Integer count) {
+ this.count = count;
+ }
+
+ public CreateMultipleDepositAddressesRequest descriptions(List descriptions) {
+ this.descriptions = descriptions;
+ return this;
+ }
+
+ public CreateMultipleDepositAddressesRequest addDescriptionsItem(String descriptionsItem) {
+ if (this.descriptions == null) {
+ this.descriptions = new ArrayList<>();
+ }
+ this.descriptions.add(descriptionsItem);
+ return this;
+ }
+
+ /**
+ * Desctiptions of the newly created addresses
+ *
+ * @return descriptions
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getDescriptions() {
+ return descriptions;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescriptions(List descriptions) {
+ this.descriptions = descriptions;
+ }
+
+ public CreateMultipleDepositAddressesRequest vaultAccountToCopyDescFrom(
+ Integer vaultAccountToCopyDescFrom) {
+ this.vaultAccountToCopyDescFrom = vaultAccountToCopyDescFrom;
+ return this;
+ }
+
+ /**
+ * Existing Vault Account ID to copy deposit addresses descriptions from in case no descriptions
+ * were provided
+ *
+ * @return vaultAccountToCopyDescFrom
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Integer getVaultAccountToCopyDescFrom() {
+ return vaultAccountToCopyDescFrom;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setVaultAccountToCopyDescFrom(Integer vaultAccountToCopyDescFrom) {
+ this.vaultAccountToCopyDescFrom = vaultAccountToCopyDescFrom;
+ }
+
+ public CreateMultipleDepositAddressesRequest vaultAccountToCopyDescFromIndex(
+ Integer vaultAccountToCopyDescFromIndex) {
+ this.vaultAccountToCopyDescFromIndex = vaultAccountToCopyDescFromIndex;
+ return this;
+ }
+
+ /**
+ * Existing length within the vault account to copy deposit addresses descriptions from
+ *
+ * @return vaultAccountToCopyDescFromIndex
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM_INDEX)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Integer getVaultAccountToCopyDescFromIndex() {
+ return vaultAccountToCopyDescFromIndex;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_TO_COPY_DESC_FROM_INDEX)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setVaultAccountToCopyDescFromIndex(Integer vaultAccountToCopyDescFromIndex) {
+ this.vaultAccountToCopyDescFromIndex = vaultAccountToCopyDescFromIndex;
+ }
+
+ /** Return true if this CreateMultipleDepositAddressesRequest object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ CreateMultipleDepositAddressesRequest createMultipleDepositAddressesRequest =
+ (CreateMultipleDepositAddressesRequest) o;
+ return Objects.equals(
+ this.vaultAccountId, createMultipleDepositAddressesRequest.vaultAccountId)
+ && Objects.equals(this.assetId, createMultipleDepositAddressesRequest.assetId)
+ && Objects.equals(this.count, createMultipleDepositAddressesRequest.count)
+ && Objects.equals(
+ this.descriptions, createMultipleDepositAddressesRequest.descriptions)
+ && Objects.equals(
+ this.vaultAccountToCopyDescFrom,
+ createMultipleDepositAddressesRequest.vaultAccountToCopyDescFrom)
+ && Objects.equals(
+ this.vaultAccountToCopyDescFromIndex,
+ createMultipleDepositAddressesRequest.vaultAccountToCopyDescFromIndex);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ vaultAccountId,
+ assetId,
+ count,
+ descriptions,
+ vaultAccountToCopyDescFrom,
+ vaultAccountToCopyDescFromIndex);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class CreateMultipleDepositAddressesRequest {\n");
+ sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n");
+ sb.append(" assetId: ").append(toIndentedString(assetId)).append("\n");
+ sb.append(" count: ").append(toIndentedString(count)).append("\n");
+ sb.append(" descriptions: ").append(toIndentedString(descriptions)).append("\n");
+ sb.append(" vaultAccountToCopyDescFrom: ")
+ .append(toIndentedString(vaultAccountToCopyDescFrom))
+ .append("\n");
+ sb.append(" vaultAccountToCopyDescFromIndex: ")
+ .append(toIndentedString(vaultAccountToCopyDescFromIndex))
+ .append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `vaultAccountId` to the URL query string
+ if (getVaultAccountId() != null) {
+ joiner.add(
+ String.format(
+ "%svaultAccountId%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getVaultAccountId()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `assetId` to the URL query string
+ if (getAssetId() != null) {
+ joiner.add(
+ String.format(
+ "%sassetId%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getAssetId()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `count` to the URL query string
+ if (getCount() != null) {
+ joiner.add(
+ String.format(
+ "%scount%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getCount()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `descriptions` to the URL query string
+ if (getDescriptions() != null) {
+ for (int i = 0; i < getDescriptions().size(); i++) {
+ joiner.add(
+ String.format(
+ "%sdescriptions%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ URLEncoder.encode(
+ String.valueOf(getDescriptions().get(i)),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+ }
+
+ // add `vaultAccountToCopyDescFrom` to the URL query string
+ if (getVaultAccountToCopyDescFrom() != null) {
+ joiner.add(
+ String.format(
+ "%svaultAccountToCopyDescFrom%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getVaultAccountToCopyDescFrom()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `vaultAccountToCopyDescFromIndex` to the URL query string
+ if (getVaultAccountToCopyDescFromIndex() != null) {
+ joiner.add(
+ String.format(
+ "%svaultAccountToCopyDescFromIndex%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getVaultAccountToCopyDescFromIndex()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java
new file mode 100644
index 00000000..57496ca2
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java
@@ -0,0 +1,139 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Response DTO containing a deployable address */
+@JsonPropertyOrder({DeployableAddressResponse.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class DeployableAddressResponse {
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ private String address;
+
+ public DeployableAddressResponse() {}
+
+ public DeployableAddressResponse address(String address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * The deployable address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+ /** Return true if this DeployableAddressResponse object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DeployableAddressResponse deployableAddressResponse = (DeployableAddressResponse) o;
+ return Objects.equals(this.address, deployableAddressResponse.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DeployableAddressResponse {\n");
+ sb.append(" address: ").append(toIndentedString(address)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(
+ String.format(
+ "%saddress%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getAddress()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java b/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java
new file mode 100644
index 00000000..9c6967fd
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java
@@ -0,0 +1,183 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.math.BigDecimal;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** DeployedContractNotFoundError */
+@JsonPropertyOrder({
+ DeployedContractNotFoundError.JSON_PROPERTY_MESSAGE,
+ DeployedContractNotFoundError.JSON_PROPERTY_CODE
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class DeployedContractNotFoundError {
+ public static final String JSON_PROPERTY_MESSAGE = "message";
+ private String message;
+
+ public static final String JSON_PROPERTY_CODE = "code";
+ private BigDecimal code;
+
+ public DeployedContractNotFoundError() {}
+
+ public DeployedContractNotFoundError message(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * Not Found error message
+ *
+ * @return message
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public DeployedContractNotFoundError code(BigDecimal code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * Error code
+ *
+ * @return code
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getCode() {
+ return code;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCode(BigDecimal code) {
+ this.code = code;
+ }
+
+ /** Return true if this DeployedContractNotFoundError object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DeployedContractNotFoundError deployedContractNotFoundError =
+ (DeployedContractNotFoundError) o;
+ return Objects.equals(this.message, deployedContractNotFoundError.message)
+ && Objects.equals(this.code, deployedContractNotFoundError.code);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(message, code);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class DeployedContractNotFoundError {\n");
+ sb.append(" message: ").append(toIndentedString(message)).append("\n");
+ sb.append(" code: ").append(toIndentedString(code)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `message` to the URL query string
+ if (getMessage() != null) {
+ joiner.add(
+ String.format(
+ "%smessage%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getMessage()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `code` to the URL query string
+ if (getCode() != null) {
+ joiner.add(
+ String.format(
+ "%scode%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getCode()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java
index 733583ee..fd7d46bc 100644
--- a/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java
+++ b/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java
@@ -29,7 +29,8 @@
DestinationTransferPeerPath.JSON_PROPERTY_ID,
DestinationTransferPeerPath.JSON_PROPERTY_NAME,
DestinationTransferPeerPath.JSON_PROPERTY_WALLET_ID,
- DestinationTransferPeerPath.JSON_PROPERTY_ONE_TIME_ADDRESS
+ DestinationTransferPeerPath.JSON_PROPERTY_ONE_TIME_ADDRESS,
+ DestinationTransferPeerPath.JSON_PROPERTY_IS_COLLATERAL
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DestinationTransferPeerPath {
@@ -51,6 +52,9 @@ public class DestinationTransferPeerPath {
public static final String JSON_PROPERTY_ONE_TIME_ADDRESS = "oneTimeAddress";
private OneTimeAddress oneTimeAddress;
+ public static final String JSON_PROPERTY_IS_COLLATERAL = "isCollateral";
+ private Boolean isCollateral;
+
public DestinationTransferPeerPath() {}
public DestinationTransferPeerPath type(TransferPeerPathType type) {
@@ -191,6 +195,29 @@ public void setOneTimeAddress(OneTimeAddress oneTimeAddress) {
this.oneTimeAddress = oneTimeAddress;
}
+ public DestinationTransferPeerPath isCollateral(Boolean isCollateral) {
+ this.isCollateral = isCollateral;
+ return this;
+ }
+
+ /**
+ * indicate if the destination is collateral account
+ *
+ * @return isCollateral
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_COLLATERAL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsCollateral() {
+ return isCollateral;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_COLLATERAL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsCollateral(Boolean isCollateral) {
+ this.isCollateral = isCollateral;
+ }
+
/** Return true if this DestinationTransferPeerPath object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -206,12 +233,13 @@ public boolean equals(Object o) {
&& Objects.equals(this.id, destinationTransferPeerPath.id)
&& Objects.equals(this.name, destinationTransferPeerPath.name)
&& Objects.equals(this.walletId, destinationTransferPeerPath.walletId)
- && Objects.equals(this.oneTimeAddress, destinationTransferPeerPath.oneTimeAddress);
+ && Objects.equals(this.oneTimeAddress, destinationTransferPeerPath.oneTimeAddress)
+ && Objects.equals(this.isCollateral, destinationTransferPeerPath.isCollateral);
}
@Override
public int hashCode() {
- return Objects.hash(type, subType, id, name, walletId, oneTimeAddress);
+ return Objects.hash(type, subType, id, name, walletId, oneTimeAddress, isCollateral);
}
@Override
@@ -224,6 +252,7 @@ public String toString() {
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n");
sb.append(" oneTimeAddress: ").append(toIndentedString(oneTimeAddress)).append("\n");
+ sb.append(" isCollateral: ").append(toIndentedString(isCollateral)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -331,6 +360,19 @@ public String toUrlQueryString(String prefix) {
joiner.add(getOneTimeAddress().toUrlQueryString(prefix + "oneTimeAddress" + suffix));
}
+ // add `isCollateral` to the URL query string
+ if (getIsCollateral() != null) {
+ joiner.add(
+ String.format(
+ "%sisCollateral%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getIsCollateral()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java
new file mode 100644
index 00000000..c5d341b6
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java
@@ -0,0 +1,288 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+import java.util.UUID;
+
+/** Request body for calculating deterministic address */
+@JsonPropertyOrder({
+ GetDeployableAddressRequest.JSON_PROPERTY_CHAIN_DESCRIPTOR,
+ GetDeployableAddressRequest.JSON_PROPERTY_TEMPLATE_ID,
+ GetDeployableAddressRequest.JSON_PROPERTY_INIT_PARAMS,
+ GetDeployableAddressRequest.JSON_PROPERTY_SALT
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class GetDeployableAddressRequest {
+ public static final String JSON_PROPERTY_CHAIN_DESCRIPTOR = "chainDescriptor";
+ private String chainDescriptor;
+
+ public static final String JSON_PROPERTY_TEMPLATE_ID = "templateId";
+ private UUID templateId;
+
+ public static final String JSON_PROPERTY_INIT_PARAMS = "initParams";
+ private List initParams = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_SALT = "salt";
+ private String salt;
+
+ public GetDeployableAddressRequest() {}
+
+ public GetDeployableAddressRequest chainDescriptor(String chainDescriptor) {
+ this.chainDescriptor = chainDescriptor;
+ return this;
+ }
+
+ /**
+ * The base asset identifier of the blockchain (legacyId) to calculate deterministic address
+ *
+ * @return chainDescriptor
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CHAIN_DESCRIPTOR)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getChainDescriptor() {
+ return chainDescriptor;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CHAIN_DESCRIPTOR)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setChainDescriptor(String chainDescriptor) {
+ this.chainDescriptor = chainDescriptor;
+ }
+
+ public GetDeployableAddressRequest templateId(UUID templateId) {
+ this.templateId = templateId;
+ return this;
+ }
+
+ /**
+ * The template identifier
+ *
+ * @return templateId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public UUID getTemplateId() {
+ return templateId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTemplateId(UUID templateId) {
+ this.templateId = templateId;
+ }
+
+ public GetDeployableAddressRequest initParams(List initParams) {
+ this.initParams = initParams;
+ return this;
+ }
+
+ public GetDeployableAddressRequest addInitParamsItem(ParameterWithValue initParamsItem) {
+ if (this.initParams == null) {
+ this.initParams = new ArrayList<>();
+ }
+ this.initParams.add(initParamsItem);
+ return this;
+ }
+
+ /**
+ * The deploy function parameters and values of the contract template
+ *
+ * @return initParams
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_INIT_PARAMS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public List getInitParams() {
+ return initParams;
+ }
+
+ @JsonProperty(JSON_PROPERTY_INIT_PARAMS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setInitParams(List initParams) {
+ this.initParams = initParams;
+ }
+
+ public GetDeployableAddressRequest salt(String salt) {
+ this.salt = salt;
+ return this;
+ }
+
+ /**
+ * The salt to calculate the deterministic address. Must be a number between 0 and 2^256 -1, for
+ * it to fit in the bytes32 parameter
+ *
+ * @return salt
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SALT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getSalt() {
+ return salt;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SALT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setSalt(String salt) {
+ this.salt = salt;
+ }
+
+ /** Return true if this GetDeployableAddressRequest object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ GetDeployableAddressRequest getDeployableAddressRequest = (GetDeployableAddressRequest) o;
+ return Objects.equals(this.chainDescriptor, getDeployableAddressRequest.chainDescriptor)
+ && Objects.equals(this.templateId, getDeployableAddressRequest.templateId)
+ && Objects.equals(this.initParams, getDeployableAddressRequest.initParams)
+ && Objects.equals(this.salt, getDeployableAddressRequest.salt);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(chainDescriptor, templateId, initParams, salt);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class GetDeployableAddressRequest {\n");
+ sb.append(" chainDescriptor: ").append(toIndentedString(chainDescriptor)).append("\n");
+ sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
+ sb.append(" initParams: ").append(toIndentedString(initParams)).append("\n");
+ sb.append(" salt: ").append(toIndentedString(salt)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `chainDescriptor` to the URL query string
+ if (getChainDescriptor() != null) {
+ joiner.add(
+ String.format(
+ "%schainDescriptor%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getChainDescriptor()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `templateId` to the URL query string
+ if (getTemplateId() != null) {
+ joiner.add(
+ String.format(
+ "%stemplateId%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getTemplateId()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `initParams` to the URL query string
+ if (getInitParams() != null) {
+ for (int i = 0; i < getInitParams().size(); i++) {
+ if (getInitParams().get(i) != null) {
+ joiner.add(
+ getInitParams()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%sinitParams%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `salt` to the URL query string
+ if (getSalt() != null) {
+ joiner.add(
+ String.format(
+ "%ssalt%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getSalt()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java b/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java
index aee80122..816fdad2 100644
--- a/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java
+++ b/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java
@@ -50,7 +50,9 @@
* April 1st, 2023. Older transactions may have this as their operation, in case users in the
* workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. *
* `PROGRAM_CALL` - In Solana refers to invoking on-chain programs (smart contracts) to
- * execute transactions and interact with the blockchain.
+ * execute transactions and interact with the blockchain. * `APPROVE` - Enables the
+ * approve function for a smart contract or wallet to withdraw from a designated wallet. [Learn
+ * more](https://support.fireblocks.io/hc/en-us/articles/4404616097426-Amount-Cap-for-Approve-transactions).
*/
public enum GetTransactionOperation {
TRANSFER("TRANSFER"),
@@ -77,7 +79,9 @@ public enum GetTransactionOperation {
SUPPLY_TO_COMPOUND("SUPPLY_TO_COMPOUND"),
- PROGRAM_CALL("PROGRAM_CALL");
+ PROGRAM_CALL("PROGRAM_CALL"),
+
+ APPROVE("APPROVE");
private String value;
diff --git a/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java b/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java
new file mode 100644
index 00000000..5725df14
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java
@@ -0,0 +1,182 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.math.BigDecimal;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** InvalidParamaterValueError */
+@JsonPropertyOrder({
+ InvalidParamaterValueError.JSON_PROPERTY_MESSAGE,
+ InvalidParamaterValueError.JSON_PROPERTY_CODE
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class InvalidParamaterValueError {
+ public static final String JSON_PROPERTY_MESSAGE = "message";
+ private String message;
+
+ public static final String JSON_PROPERTY_CODE = "code";
+ private BigDecimal code;
+
+ public InvalidParamaterValueError() {}
+
+ public InvalidParamaterValueError message(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * Bad request error message
+ *
+ * @return message
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public InvalidParamaterValueError code(BigDecimal code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * Error code
+ *
+ * @return code
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getCode() {
+ return code;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCode(BigDecimal code) {
+ this.code = code;
+ }
+
+ /** Return true if this InvalidParamaterValueError object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ InvalidParamaterValueError invalidParamaterValueError = (InvalidParamaterValueError) o;
+ return Objects.equals(this.message, invalidParamaterValueError.message)
+ && Objects.equals(this.code, invalidParamaterValueError.code);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(message, code);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class InvalidParamaterValueError {\n");
+ sb.append(" message: ").append(toIndentedString(message)).append("\n");
+ sb.append(" code: ").append(toIndentedString(code)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `message` to the URL query string
+ if (getMessage() != null) {
+ joiner.add(
+ String.format(
+ "%smessage%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getMessage()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `code` to the URL query string
+ if (getCode() != null) {
+ joiner.add(
+ String.format(
+ "%scode%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getCode()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/NewAddress.java b/src/main/java/com/fireblocks/sdk/model/NewAddress.java
new file mode 100644
index 00000000..1e67d92f
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/NewAddress.java
@@ -0,0 +1,223 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** NewAddress */
+@JsonPropertyOrder({
+ NewAddress.JSON_PROPERTY_ADDRESS,
+ NewAddress.JSON_PROPERTY_INDEX,
+ NewAddress.JSON_PROPERTY_DESCRIPTION
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class NewAddress {
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ private String address;
+
+ public static final String JSON_PROPERTY_INDEX = "index";
+ private Integer index;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ private String description;
+
+ public NewAddress() {}
+
+ public NewAddress address(String address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * The address string.
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+ public NewAddress index(Integer index) {
+ this.index = index;
+ return this;
+ }
+
+ /**
+ * The index of the address in the list.
+ *
+ * @return index
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_INDEX)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public Integer getIndex() {
+ return index;
+ }
+
+ @JsonProperty(JSON_PROPERTY_INDEX)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setIndex(Integer index) {
+ this.index = index;
+ }
+
+ public NewAddress description(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * A description of the address.
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /** Return true if this NewAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ NewAddress newAddress = (NewAddress) o;
+ return Objects.equals(this.address, newAddress.address)
+ && Objects.equals(this.index, newAddress.index)
+ && Objects.equals(this.description, newAddress.description);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(address, index, description);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class NewAddress {\n");
+ sb.append(" address: ").append(toIndentedString(address)).append("\n");
+ sb.append(" index: ").append(toIndentedString(index)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(
+ String.format(
+ "%saddress%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getAddress()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `index` to the URL query string
+ if (getIndex() != null) {
+ joiner.add(
+ String.format(
+ "%sindex%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getIndex()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getDescription()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java b/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java
index af5a32d4..bc417912 100644
--- a/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java
+++ b/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java
@@ -22,7 +22,9 @@ public enum NotificationStatus {
FAILED("FAILED"),
- IN_PROGRESS("IN_PROGRESS");
+ IN_PROGRESS("IN_PROGRESS"),
+
+ ON_HOLD("ON_HOLD");
private String value;
diff --git a/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java b/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java
new file mode 100644
index 00000000..fc6f980a
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java
@@ -0,0 +1,360 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.annotation.JsonValue;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** ReissueMultichainTokenRequest */
+@JsonPropertyOrder({
+ ReissueMultichainTokenRequest.JSON_PROPERTY_VAULT_ACCOUNT_ID,
+ ReissueMultichainTokenRequest.JSON_PROPERTY_CHAINS,
+ ReissueMultichainTokenRequest.JSON_PROPERTY_USE_GASLESS,
+ ReissueMultichainTokenRequest.JSON_PROPERTY_FEE,
+ ReissueMultichainTokenRequest.JSON_PROPERTY_FEE_LEVEL
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ReissueMultichainTokenRequest {
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID = "vaultAccountId";
+ private String vaultAccountId;
+
+ public static final String JSON_PROPERTY_CHAINS = "chains";
+ private List chains = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_USE_GASLESS = "useGasless";
+ private Boolean useGasless;
+
+ public static final String JSON_PROPERTY_FEE = "fee";
+ private String fee;
+
+ /** Fee level for the deploy request. Interchangeable with the 'fee' field */
+ public enum FeeLevelEnum {
+ LOW("LOW"),
+
+ MEDIUM("MEDIUM"),
+
+ HIGH("HIGH");
+
+ private String value;
+
+ FeeLevelEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static FeeLevelEnum fromValue(String value) {
+ for (FeeLevelEnum b : FeeLevelEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_FEE_LEVEL = "feeLevel";
+ private FeeLevelEnum feeLevel;
+
+ public ReissueMultichainTokenRequest() {}
+
+ public ReissueMultichainTokenRequest vaultAccountId(String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ return this;
+ }
+
+ /**
+ * The id of the vault account that initiated the request to issue the token
+ *
+ * @return vaultAccountId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getVaultAccountId() {
+ return vaultAccountId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setVaultAccountId(String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ }
+
+ public ReissueMultichainTokenRequest chains(List chains) {
+ this.chains = chains;
+ return this;
+ }
+
+ public ReissueMultichainTokenRequest addChainsItem(String chainsItem) {
+ if (this.chains == null) {
+ this.chains = new ArrayList<>();
+ }
+ this.chains.add(chainsItem);
+ return this;
+ }
+
+ /**
+ * The base asset identifiers of the blockchains you want to deploy to
+ *
+ * @return chains
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CHAINS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public List getChains() {
+ return chains;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CHAINS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setChains(List chains) {
+ this.chains = chains;
+ }
+
+ public ReissueMultichainTokenRequest useGasless(Boolean useGasless) {
+ this.useGasless = useGasless;
+ return this;
+ }
+
+ /**
+ * Whether to use gasless deployment or not
+ *
+ * @return useGasless
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_USE_GASLESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getUseGasless() {
+ return useGasless;
+ }
+
+ @JsonProperty(JSON_PROPERTY_USE_GASLESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setUseGasless(Boolean useGasless) {
+ this.useGasless = useGasless;
+ }
+
+ public ReissueMultichainTokenRequest fee(String fee) {
+ this.fee = fee;
+ return this;
+ }
+
+ /**
+ * Max fee amount for the deploy request. Interchangeable with the 'feeLevel' field
+ *
+ * @return fee
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_FEE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getFee() {
+ return fee;
+ }
+
+ @JsonProperty(JSON_PROPERTY_FEE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setFee(String fee) {
+ this.fee = fee;
+ }
+
+ public ReissueMultichainTokenRequest feeLevel(FeeLevelEnum feeLevel) {
+ this.feeLevel = feeLevel;
+ return this;
+ }
+
+ /**
+ * Fee level for the deploy request. Interchangeable with the 'fee' field
+ *
+ * @return feeLevel
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_FEE_LEVEL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public FeeLevelEnum getFeeLevel() {
+ return feeLevel;
+ }
+
+ @JsonProperty(JSON_PROPERTY_FEE_LEVEL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setFeeLevel(FeeLevelEnum feeLevel) {
+ this.feeLevel = feeLevel;
+ }
+
+ /** Return true if this ReissueMultichainTokenRequest object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ReissueMultichainTokenRequest reissueMultichainTokenRequest =
+ (ReissueMultichainTokenRequest) o;
+ return Objects.equals(this.vaultAccountId, reissueMultichainTokenRequest.vaultAccountId)
+ && Objects.equals(this.chains, reissueMultichainTokenRequest.chains)
+ && Objects.equals(this.useGasless, reissueMultichainTokenRequest.useGasless)
+ && Objects.equals(this.fee, reissueMultichainTokenRequest.fee)
+ && Objects.equals(this.feeLevel, reissueMultichainTokenRequest.feeLevel);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(vaultAccountId, chains, useGasless, fee, feeLevel);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ReissueMultichainTokenRequest {\n");
+ sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n");
+ sb.append(" chains: ").append(toIndentedString(chains)).append("\n");
+ sb.append(" useGasless: ").append(toIndentedString(useGasless)).append("\n");
+ sb.append(" fee: ").append(toIndentedString(fee)).append("\n");
+ sb.append(" feeLevel: ").append(toIndentedString(feeLevel)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `vaultAccountId` to the URL query string
+ if (getVaultAccountId() != null) {
+ joiner.add(
+ String.format(
+ "%svaultAccountId%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getVaultAccountId()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `chains` to the URL query string
+ if (getChains() != null) {
+ for (int i = 0; i < getChains().size(); i++) {
+ joiner.add(
+ String.format(
+ "%schains%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ URLEncoder.encode(
+ String.valueOf(getChains().get(i)),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+ }
+
+ // add `useGasless` to the URL query string
+ if (getUseGasless() != null) {
+ joiner.add(
+ String.format(
+ "%suseGasless%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getUseGasless()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `fee` to the URL query string
+ if (getFee() != null) {
+ joiner.add(
+ String.format(
+ "%sfee%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getFee()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `feeLevel` to the URL query string
+ if (getFeeLevel() != null) {
+ joiner.add(
+ String.format(
+ "%sfeeLevel%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getFeeLevel()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java b/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java
new file mode 100644
index 00000000..83bee1c8
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java
@@ -0,0 +1,211 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+import java.util.UUID;
+
+/** ResendNotificationsByResourceIdRequest */
+@JsonPropertyOrder({
+ ResendNotificationsByResourceIdRequest.JSON_PROPERTY_RESOURCE_ID,
+ ResendNotificationsByResourceIdRequest.JSON_PROPERTY_EXCLUDE_STATUSES
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class ResendNotificationsByResourceIdRequest {
+ public static final String JSON_PROPERTY_RESOURCE_ID = "resourceId";
+ private UUID resourceId;
+
+ public static final String JSON_PROPERTY_EXCLUDE_STATUSES = "excludeStatuses";
+ private List excludeStatuses;
+
+ public ResendNotificationsByResourceIdRequest() {}
+
+ public ResendNotificationsByResourceIdRequest resourceId(UUID resourceId) {
+ this.resourceId = resourceId;
+ return this;
+ }
+
+ /**
+ * The resource id to resend notifications for
+ *
+ * @return resourceId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_RESOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public UUID getResourceId() {
+ return resourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RESOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setResourceId(UUID resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public ResendNotificationsByResourceIdRequest excludeStatuses(
+ List excludeStatuses) {
+ this.excludeStatuses = excludeStatuses;
+ return this;
+ }
+
+ public ResendNotificationsByResourceIdRequest addExcludeStatusesItem(
+ NotificationStatus excludeStatusesItem) {
+ if (this.excludeStatuses == null) {
+ this.excludeStatuses = new ArrayList<>();
+ }
+ this.excludeStatuses.add(excludeStatusesItem);
+ return this;
+ }
+
+ /**
+ * (optional) List of notification statuses to exclude from the resend operation - Empty array
+ * means all statuses will be included - If you want to exclude some statuses, you can use the
+ * following example: [ IN_PROGRESS, FAILED ] - Default if missing, means all statuses other
+ * than \"COMPLETED\" will be included
+ *
+ * @return excludeStatuses
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_EXCLUDE_STATUSES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getExcludeStatuses() {
+ return excludeStatuses;
+ }
+
+ @JsonProperty(JSON_PROPERTY_EXCLUDE_STATUSES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setExcludeStatuses(List excludeStatuses) {
+ this.excludeStatuses = excludeStatuses;
+ }
+
+ /** Return true if this ResendNotificationsByResourceIdRequest object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ResendNotificationsByResourceIdRequest resendNotificationsByResourceIdRequest =
+ (ResendNotificationsByResourceIdRequest) o;
+ return Objects.equals(this.resourceId, resendNotificationsByResourceIdRequest.resourceId)
+ && Objects.equals(
+ this.excludeStatuses,
+ resendNotificationsByResourceIdRequest.excludeStatuses);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(resourceId, excludeStatuses);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ResendNotificationsByResourceIdRequest {\n");
+ sb.append(" resourceId: ").append(toIndentedString(resourceId)).append("\n");
+ sb.append(" excludeStatuses: ").append(toIndentedString(excludeStatuses)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `resourceId` to the URL query string
+ if (getResourceId() != null) {
+ joiner.add(
+ String.format(
+ "%sresourceId%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getResourceId()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `excludeStatuses` to the URL query string
+ if (getExcludeStatuses() != null) {
+ for (int i = 0; i < getExcludeStatuses().size(); i++) {
+ if (getExcludeStatuses().get(i) != null) {
+ joiner.add(
+ String.format(
+ "%sexcludeStatuses%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ URLEncoder.encode(
+ String.valueOf(getExcludeStatuses().get(i)),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+ }
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java
index 85aedfe3..870ee666 100644
--- a/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java
+++ b/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java
@@ -28,7 +28,8 @@
SourceTransferPeerPath.JSON_PROPERTY_SUB_TYPE,
SourceTransferPeerPath.JSON_PROPERTY_ID,
SourceTransferPeerPath.JSON_PROPERTY_NAME,
- SourceTransferPeerPath.JSON_PROPERTY_WALLET_ID
+ SourceTransferPeerPath.JSON_PROPERTY_WALLET_ID,
+ SourceTransferPeerPath.JSON_PROPERTY_IS_COLLATERAL
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SourceTransferPeerPath {
@@ -47,6 +48,9 @@ public class SourceTransferPeerPath {
public static final String JSON_PROPERTY_WALLET_ID = "walletId";
private UUID walletId;
+ public static final String JSON_PROPERTY_IS_COLLATERAL = "isCollateral";
+ private Boolean isCollateral;
+
public SourceTransferPeerPath() {}
public SourceTransferPeerPath type(TransferPeerPathType type) {
@@ -164,6 +168,29 @@ public void setWalletId(UUID walletId) {
this.walletId = walletId;
}
+ public SourceTransferPeerPath isCollateral(Boolean isCollateral) {
+ this.isCollateral = isCollateral;
+ return this;
+ }
+
+ /**
+ * indicate if the source is collateral account
+ *
+ * @return isCollateral
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_COLLATERAL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsCollateral() {
+ return isCollateral;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_COLLATERAL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsCollateral(Boolean isCollateral) {
+ this.isCollateral = isCollateral;
+ }
+
/** Return true if this SourceTransferPeerPath object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -178,12 +205,13 @@ public boolean equals(Object o) {
&& Objects.equals(this.subType, sourceTransferPeerPath.subType)
&& Objects.equals(this.id, sourceTransferPeerPath.id)
&& Objects.equals(this.name, sourceTransferPeerPath.name)
- && Objects.equals(this.walletId, sourceTransferPeerPath.walletId);
+ && Objects.equals(this.walletId, sourceTransferPeerPath.walletId)
+ && Objects.equals(this.isCollateral, sourceTransferPeerPath.isCollateral);
}
@Override
public int hashCode() {
- return Objects.hash(type, subType, id, name, walletId);
+ return Objects.hash(type, subType, id, name, walletId, isCollateral);
}
@Override
@@ -195,6 +223,7 @@ public String toString() {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n");
+ sb.append(" isCollateral: ").append(toIndentedString(isCollateral)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -297,6 +326,19 @@ public String toUrlQueryString(String prefix) {
.replaceAll("\\+", "%20")));
}
+ // add `isCollateral` to the URL query string
+ if (getIsCollateral() != null) {
+ joiner.add(
+ String.format(
+ "%sisCollateral%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(
+ String.valueOf(getIsCollateral()),
+ StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java b/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java
new file mode 100644
index 00000000..e67798f5
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java
@@ -0,0 +1,183 @@
+/*
+ * 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 com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.math.BigDecimal;
+import java.net.URLEncoder;
+import java.nio.charset.StandardCharsets;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TokenLinkNotMultichainCompatibleHttpError */
+@JsonPropertyOrder({
+ TokenLinkNotMultichainCompatibleHttpError.JSON_PROPERTY_MESSAGE,
+ TokenLinkNotMultichainCompatibleHttpError.JSON_PROPERTY_CODE
+})
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class TokenLinkNotMultichainCompatibleHttpError {
+ public static final String JSON_PROPERTY_MESSAGE = "message";
+ private String message;
+
+ public static final String JSON_PROPERTY_CODE = "code";
+ private BigDecimal code;
+
+ public TokenLinkNotMultichainCompatibleHttpError() {}
+
+ public TokenLinkNotMultichainCompatibleHttpError message(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * Bad request error message
+ *
+ * @return message
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public TokenLinkNotMultichainCompatibleHttpError code(BigDecimal code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * Error code
+ *
+ * @return code
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getCode() {
+ return code;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCode(BigDecimal code) {
+ this.code = code;
+ }
+
+ /** Return true if this TokenLinkNotMultichainCompatibleHttpError object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TokenLinkNotMultichainCompatibleHttpError tokenLinkNotMultichainCompatibleHttpError =
+ (TokenLinkNotMultichainCompatibleHttpError) o;
+ return Objects.equals(this.message, tokenLinkNotMultichainCompatibleHttpError.message)
+ && Objects.equals(this.code, tokenLinkNotMultichainCompatibleHttpError.code);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(message, code);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TokenLinkNotMultichainCompatibleHttpError {\n");
+ sb.append(" message: ").append(toIndentedString(message)).append("\n");
+ sb.append(" code: ").append(toIndentedString(code)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces (except the first
+ * line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @return URL query string
+ */
+ public String toUrlQueryString() {
+ return toUrlQueryString(null);
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ String suffix = "";
+ String containerSuffix = "";
+ String containerPrefix = "";
+ if (prefix == null) {
+ // style=form, explode=true, e.g. /pet?name=cat&type=manx
+ prefix = "";
+ } else {
+ // deepObject style e.g. /pet?id[name]=cat&id[type]=manx
+ prefix = prefix + "[";
+ suffix = "]";
+ containerSuffix = "]";
+ containerPrefix = "[";
+ }
+
+ StringJoiner joiner = new StringJoiner("&");
+
+ // add `message` to the URL query string
+ if (getMessage() != null) {
+ joiner.add(
+ String.format(
+ "%smessage%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getMessage()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ // add `code` to the URL query string
+ if (getCode() != null) {
+ joiner.add(
+ String.format(
+ "%scode%s=%s",
+ prefix,
+ suffix,
+ URLEncoder.encode(String.valueOf(getCode()), StandardCharsets.UTF_8)
+ .replaceAll("\\+", "%20")));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java b/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java
index a66688e0..05a0d1a5 100644
--- a/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java
+++ b/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java
@@ -38,6 +38,9 @@
* - Enables the approve function for a smart contract or wallet to withdraw from a designated
* wallet. [Learn
* more](https://support.fireblocks.io/hc/en-us/articles/4404616097426-Amount-Cap-for-Approve-transactions).
+ * * `ENABLE_ASSET` - Algorand, DigitalBits, Solana, and Stellar require an on-chain
+ * transaction to create an asset wallet and enable the deposit address. This transaction is
+ * automatically created when adding assets on these blockchains at a vault account.
*/
public enum TransactionOperation {
TRANSFER("TRANSFER"),
@@ -54,7 +57,9 @@ public enum TransactionOperation {
TYPED_MESSAGE("TYPED_MESSAGE"),
- APPROVE("APPROVE");
+ APPROVE("APPROVE"),
+
+ ENABLE_ASSET("ENABLE_ASSET");
private String value;
diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAsset.java b/src/main/java/com/fireblocks/sdk/model/VaultAsset.java
index 51fd01d9..13327c9b 100644
--- a/src/main/java/com/fireblocks/sdk/model/VaultAsset.java
+++ b/src/main/java/com/fireblocks/sdk/model/VaultAsset.java
@@ -16,7 +16,6 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import java.math.BigDecimal;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.Objects;
@@ -69,7 +68,7 @@ public class VaultAsset {
private String staked;
public static final String JSON_PROPERTY_TOTAL_STAKED_C_P_U = "totalStakedCPU";
- private BigDecimal totalStakedCPU;
+ private String totalStakedCPU;
public static final String JSON_PROPERTY_TOTAL_STAKED_NETWORK = "totalStakedNetwork";
private String totalStakedNetwork;
@@ -284,7 +283,7 @@ public void setStaked(String staked) {
this.staked = staked;
}
- public VaultAsset totalStakedCPU(BigDecimal totalStakedCPU) {
+ public VaultAsset totalStakedCPU(String totalStakedCPU) {
this.totalStakedCPU = totalStakedCPU;
return this;
}
@@ -297,13 +296,13 @@ public VaultAsset totalStakedCPU(BigDecimal totalStakedCPU) {
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TOTAL_STAKED_C_P_U)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public BigDecimal getTotalStakedCPU() {
+ public String getTotalStakedCPU() {
return totalStakedCPU;
}
@JsonProperty(JSON_PROPERTY_TOTAL_STAKED_C_P_U)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setTotalStakedCPU(BigDecimal totalStakedCPU) {
+ public void setTotalStakedCPU(String totalStakedCPU) {
this.totalStakedCPU = totalStakedCPU;
}
diff --git a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
index d065eaf7..013b977b 100644
--- a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
@@ -101,6 +101,7 @@ public void listAssetsTest() throws ApiException {
String symbol = null;
AssetScope scope = null;
Boolean deprecated = null;
+ List ids = null;
String pageCursor = null;
BigDecimal pageSize = null;
String idempotencyKey = null;
@@ -111,6 +112,7 @@ public void listAssetsTest() throws ApiException {
symbol,
scope,
deprecated,
+ ids,
pageCursor,
pageSize,
idempotencyKey);
@@ -128,10 +130,11 @@ public void listBlockchainsTest() throws ApiException {
String protocol = null;
Boolean deprecated = null;
Boolean test = null;
+ List ids = null;
String pageCursor = null;
BigDecimal pageSize = null;
CompletableFuture> response =
- api.listBlockchains(protocol, deprecated, test, pageCursor, pageSize);
+ api.listBlockchains(protocol, deprecated, test, ids, pageCursor, pageSize);
}
/**
diff --git a/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java b/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java
index fdc07355..6de522fd 100644
--- a/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java
@@ -21,12 +21,17 @@
import com.fireblocks.sdk.model.CollectionLinkDto;
import com.fireblocks.sdk.model.CollectionMintRequestDto;
import com.fireblocks.sdk.model.CollectionMintResponseDto;
+import com.fireblocks.sdk.model.CreateMultichainTokenRequest;
import com.fireblocks.sdk.model.CreateTokenRequestDto;
+import com.fireblocks.sdk.model.DeployableAddressResponse;
+import com.fireblocks.sdk.model.GetDeployableAddressRequest;
import com.fireblocks.sdk.model.GetLinkedCollectionsPaginatedResponse;
+import com.fireblocks.sdk.model.ReissueMultichainTokenRequest;
import com.fireblocks.sdk.model.TokenLinkDto;
import com.fireblocks.sdk.model.TokenLinkRequestDto;
import com.fireblocks.sdk.model.TokensPaginatedResponse;
import java.math.BigDecimal;
+import java.util.List;
import java.util.concurrent.CompletableFuture;
import org.junit.Ignore;
import org.junit.Test;
@@ -96,6 +101,23 @@ public void getCollectionByIdTest() throws ApiException {
CompletableFuture> response = api.getCollectionById(id);
}
+ /**
+ * Get deterministic address for contract deployment
+ *
+ * Get a deterministic address for contract deployment. The address is derived from the
+ * contract's bytecode and provided salt. This endpoint is used to get the address of a
+ * contract that will be deployed in the future.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getDeployableAddressTest() throws ApiException {
+ GetDeployableAddressRequest getDeployableAddressRequest = null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.getDeployableAddress(getDeployableAddressRequest, idempotencyKey);
+ }
+
/**
* Get collections
*
@@ -161,6 +183,21 @@ public void issueNewTokenTest() throws ApiException {
api.issueNewToken(createTokenRequestDto, idempotencyKey);
}
+ /**
+ * Issue a token on one or more blockchains
+ *
+ * Facilitates the creation of a new token on one or more blockchains.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void issueTokenMultiChainTest() throws ApiException {
+ CreateMultichainTokenRequest createMultichainTokenRequest = null;
+ String idempotencyKey = null;
+ CompletableFuture>> response =
+ api.issueTokenMultiChain(createMultichainTokenRequest, idempotencyKey);
+ }
+
/**
* Link a contract
*
@@ -192,6 +229,24 @@ public void mintCollectionTokenTest() throws ApiException {
api.mintCollectionToken(collectionMintRequestDto, id, idempotencyKey);
}
+ /**
+ * Reissue a multichain token
+ *
+ * Reissue a multichain token. This endpoint allows you to reissue a token on one or more
+ * blockchains. The token must be initially issued using the issueTokenMultiChain endpoint.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void reIssueTokenMultiChainTest() throws ApiException {
+ ReissueMultichainTokenRequest reissueMultichainTokenRequest = null;
+ String tokenLinkId = null;
+ String idempotencyKey = null;
+ CompletableFuture>> response =
+ api.reIssueTokenMultiChain(
+ reissueMultichainTokenRequest, tokenLinkId, idempotencyKey);
+ }
+
/**
* Unlink a token
*
diff --git a/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java b/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java
index f3be3762..417f7d59 100644
--- a/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java
@@ -19,6 +19,8 @@
import com.fireblocks.sdk.model.CreateAddressResponse;
import com.fireblocks.sdk.model.CreateAssetsRequest;
import com.fireblocks.sdk.model.CreateMultipleAccountsRequest;
+import com.fireblocks.sdk.model.CreateMultipleDepositAddressesJobStatus;
+import com.fireblocks.sdk.model.CreateMultipleDepositAddressesRequest;
import com.fireblocks.sdk.model.CreateVaultAccountRequest;
import com.fireblocks.sdk.model.CreateVaultAssetResponse;
import com.fireblocks.sdk.model.GetMaxSpendableAmountResponse;
@@ -99,6 +101,23 @@ public void createMultipleAccountsTest() throws ApiException {
api.createMultipleAccounts(createMultipleAccountsRequest, idempotencyKey);
}
+ /**
+ * Bulk creation of new deposit addresses
+ *
+ * Create multiple deposit address by running an async job. </br> **Note**: - We limit
+ * accounts to 10k per operation.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void createMultipleDepositAddressesTest() throws ApiException {
+ CreateMultipleDepositAddressesRequest createMultipleDepositAddressesRequest = null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.createMultipleDepositAddresses(
+ createMultipleDepositAddressesRequest, idempotencyKey);
+ }
+
/**
* Create a new vault account
*
@@ -170,6 +189,20 @@ public void getAssetWalletsTest() throws ApiException {
api.getAssetWallets(totalAmountLargerThan, assetId, orderBy, before, after, limit);
}
+ /**
+ * Get job status of bulk creation of new deposit addresses
+ *
+ * Returns the status of bulk creation of new deposit addresses job and the result or error
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getCreateMultipleDepositAddressesJobStatusTest() throws ApiException {
+ String jobId = null;
+ CompletableFuture> response =
+ api.getCreateMultipleDepositAddressesJobStatus(jobId);
+ }
+
/**
* Get the maximum spendable amount in a single transaction.
*
diff --git a/src/test/java/com/fireblocks/sdk/api/WebhooksV2BetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/WebhooksV2BetaApiTest.java
index fbebede4..6dda5ef6 100644
--- a/src/test/java/com/fireblocks/sdk/api/WebhooksV2BetaApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/WebhooksV2BetaApiTest.java
@@ -19,6 +19,7 @@
import com.fireblocks.sdk.model.NotificationPaginatedResponse;
import com.fireblocks.sdk.model.NotificationStatus;
import com.fireblocks.sdk.model.NotificationWithData;
+import com.fireblocks.sdk.model.ResendNotificationsByResourceIdRequest;
import com.fireblocks.sdk.model.UpdateWebhookRequest;
import com.fireblocks.sdk.model.Webhook;
import com.fireblocks.sdk.model.WebhookEvent;
@@ -164,6 +165,25 @@ public void resendNotificationByIdTest() throws ApiException {
api.resendNotificationById(webhookId, notificationId, idempotencyKey);
}
+ /**
+ * Resend notifications by resource Id
+ *
+ * Resend notifications by resource Id **Note:** These endpoints are currently in beta and
+ * might be subject to changes.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void resendNotificationsByResourceIdTest() throws ApiException {
+ ResendNotificationsByResourceIdRequest resendNotificationsByResourceIdRequest = null;
+ String webhookId = null;
+ String idempotencyKey = null;
+
+ CompletableFuture> response =
+ api.resendNotificationsByResourceId(
+ resendNotificationsByResourceIdRequest, webhookId, idempotencyKey);
+ }
+
/**
* Update webhook
*
diff --git a/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java b/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java
new file mode 100644
index 00000000..c490d0e7
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java
@@ -0,0 +1,39 @@
+/*
+ * 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 AddressNotAvailableError */
+public class AddressNotAvailableErrorTest {
+ private final AddressNotAvailableError model = new AddressNotAvailableError();
+
+ /** Model tests for AddressNotAvailableError */
+ @Test
+ public void testAddressNotAvailableError() {
+ // TODO: test AddressNotAvailableError
+ }
+
+ /** Test the property 'message' */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /** Test the property 'code' */
+ @Test
+ public void codeTest() {
+ // TODO: test code
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestCreateParamsTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestCreateParamsTest.java
new file mode 100644
index 00000000..df2524eb
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestCreateParamsTest.java
@@ -0,0 +1,40 @@
+/*
+ * 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 CreateMultichainTokenRequestCreateParams */
+public class CreateMultichainTokenRequestCreateParamsTest {
+ private final CreateMultichainTokenRequestCreateParams model =
+ new CreateMultichainTokenRequestCreateParams();
+
+ /** Model tests for CreateMultichainTokenRequestCreateParams */
+ @Test
+ public void testCreateMultichainTokenRequestCreateParams() {
+ // TODO: test CreateMultichainTokenRequestCreateParams
+ }
+
+ /** Test the property 'contractId' */
+ @Test
+ public void contractIdTest() {
+ // TODO: test contractId
+ }
+
+ /** Test the property 'deployFunctionParams' */
+ @Test
+ public void deployFunctionParamsTest() {
+ // TODO: test deployFunctionParams
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java
new file mode 100644
index 00000000..aaf1bd37
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java
@@ -0,0 +1,75 @@
+/*
+ * 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 CreateMultichainTokenRequest */
+public class CreateMultichainTokenRequestTest {
+ private final CreateMultichainTokenRequest model = new CreateMultichainTokenRequest();
+
+ /** Model tests for CreateMultichainTokenRequest */
+ @Test
+ public void testCreateMultichainTokenRequest() {
+ // TODO: test CreateMultichainTokenRequest
+ }
+
+ /** Test the property 'vaultAccountId' */
+ @Test
+ public void vaultAccountIdTest() {
+ // TODO: test vaultAccountId
+ }
+
+ /** Test the property 'createParams' */
+ @Test
+ public void createParamsTest() {
+ // TODO: test createParams
+ }
+
+ /** Test the property 'salt' */
+ @Test
+ public void saltTest() {
+ // TODO: test salt
+ }
+
+ /** Test the property 'chains' */
+ @Test
+ public void chainsTest() {
+ // TODO: test chains
+ }
+
+ /** Test the property 'displayName' */
+ @Test
+ public void displayNameTest() {
+ // TODO: test displayName
+ }
+
+ /** Test the property 'useGasless' */
+ @Test
+ public void useGaslessTest() {
+ // TODO: test useGasless
+ }
+
+ /** Test the property 'fee' */
+ @Test
+ public void feeTest() {
+ // TODO: test fee
+ }
+
+ /** Test the property 'feeLevel' */
+ @Test
+ public void feeLevelTest() {
+ // TODO: test feeLevel
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java
new file mode 100644
index 00000000..f8d2a991
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java
@@ -0,0 +1,46 @@
+/*
+ * 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 CreateMultipleDepositAddressesJobStatus */
+public class CreateMultipleDepositAddressesJobStatusTest {
+ private final CreateMultipleDepositAddressesJobStatus model =
+ new CreateMultipleDepositAddressesJobStatus();
+
+ /** Model tests for CreateMultipleDepositAddressesJobStatus */
+ @Test
+ public void testCreateMultipleDepositAddressesJobStatus() {
+ // TODO: test CreateMultipleDepositAddressesJobStatus
+ }
+
+ /** Test the property 'status' */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'addresses' */
+ @Test
+ public void addressesTest() {
+ // TODO: test addresses
+ }
+
+ /** Test the property 'errorMessage' */
+ @Test
+ public void errorMessageTest() {
+ // TODO: test errorMessage
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java
new file mode 100644
index 00000000..522c77db
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java
@@ -0,0 +1,64 @@
+/*
+ * 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 CreateMultipleDepositAddressesRequest */
+public class CreateMultipleDepositAddressesRequestTest {
+ private final CreateMultipleDepositAddressesRequest model =
+ new CreateMultipleDepositAddressesRequest();
+
+ /** Model tests for CreateMultipleDepositAddressesRequest */
+ @Test
+ public void testCreateMultipleDepositAddressesRequest() {
+ // TODO: test CreateMultipleDepositAddressesRequest
+ }
+
+ /** Test the property 'vaultAccountId' */
+ @Test
+ public void vaultAccountIdTest() {
+ // TODO: test vaultAccountId
+ }
+
+ /** Test the property 'assetId' */
+ @Test
+ public void assetIdTest() {
+ // TODO: test assetId
+ }
+
+ /** Test the property 'count' */
+ @Test
+ public void countTest() {
+ // TODO: test count
+ }
+
+ /** Test the property 'descriptions' */
+ @Test
+ public void descriptionsTest() {
+ // TODO: test descriptions
+ }
+
+ /** Test the property 'vaultAccountToCopyDescFrom' */
+ @Test
+ public void vaultAccountToCopyDescFromTest() {
+ // TODO: test vaultAccountToCopyDescFrom
+ }
+
+ /** Test the property 'vaultAccountToCopyDescFromIndex' */
+ @Test
+ public void vaultAccountToCopyDescFromIndexTest() {
+ // TODO: test vaultAccountToCopyDescFromIndex
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java
new file mode 100644
index 00000000..35559e45
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java
@@ -0,0 +1,33 @@
+/*
+ * 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 DeployableAddressResponse */
+public class DeployableAddressResponseTest {
+ private final DeployableAddressResponse model = new DeployableAddressResponse();
+
+ /** Model tests for DeployableAddressResponse */
+ @Test
+ public void testDeployableAddressResponse() {
+ // TODO: test DeployableAddressResponse
+ }
+
+ /** Test the property 'address' */
+ @Test
+ public void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java b/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java
new file mode 100644
index 00000000..8c292bdf
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java
@@ -0,0 +1,39 @@
+/*
+ * 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 DeployedContractNotFoundError */
+public class DeployedContractNotFoundErrorTest {
+ private final DeployedContractNotFoundError model = new DeployedContractNotFoundError();
+
+ /** Model tests for DeployedContractNotFoundError */
+ @Test
+ public void testDeployedContractNotFoundError() {
+ // TODO: test DeployedContractNotFoundError
+ }
+
+ /** Test the property 'message' */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /** Test the property 'code' */
+ @Test
+ public void codeTest() {
+ // TODO: test code
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java
index f3c3f790..915f3f72 100644
--- a/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java
@@ -60,4 +60,10 @@ public void walletIdTest() {
public void oneTimeAddressTest() {
// TODO: test oneTimeAddress
}
+
+ /** Test the property 'isCollateral' */
+ @Test
+ public void isCollateralTest() {
+ // TODO: test isCollateral
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java
new file mode 100644
index 00000000..407f9e34
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java
@@ -0,0 +1,51 @@
+/*
+ * 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 GetDeployableAddressRequest */
+public class GetDeployableAddressRequestTest {
+ private final GetDeployableAddressRequest model = new GetDeployableAddressRequest();
+
+ /** Model tests for GetDeployableAddressRequest */
+ @Test
+ public void testGetDeployableAddressRequest() {
+ // TODO: test GetDeployableAddressRequest
+ }
+
+ /** Test the property 'chainDescriptor' */
+ @Test
+ public void chainDescriptorTest() {
+ // TODO: test chainDescriptor
+ }
+
+ /** Test the property 'templateId' */
+ @Test
+ public void templateIdTest() {
+ // TODO: test templateId
+ }
+
+ /** Test the property 'initParams' */
+ @Test
+ public void initParamsTest() {
+ // TODO: test initParams
+ }
+
+ /** Test the property 'salt' */
+ @Test
+ public void saltTest() {
+ // TODO: test salt
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java b/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java
new file mode 100644
index 00000000..7ae59b88
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java
@@ -0,0 +1,39 @@
+/*
+ * 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 InvalidParamaterValueError */
+public class InvalidParamaterValueErrorTest {
+ private final InvalidParamaterValueError model = new InvalidParamaterValueError();
+
+ /** Model tests for InvalidParamaterValueError */
+ @Test
+ public void testInvalidParamaterValueError() {
+ // TODO: test InvalidParamaterValueError
+ }
+
+ /** Test the property 'message' */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /** Test the property 'code' */
+ @Test
+ public void codeTest() {
+ // TODO: test code
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java b/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java
new file mode 100644
index 00000000..e2400b34
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java
@@ -0,0 +1,45 @@
+/*
+ * 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 NewAddress */
+public class NewAddressTest {
+ private final NewAddress model = new NewAddress();
+
+ /** Model tests for NewAddress */
+ @Test
+ public void testNewAddress() {
+ // TODO: test NewAddress
+ }
+
+ /** Test the property 'address' */
+ @Test
+ public void addressTest() {
+ // TODO: test address
+ }
+
+ /** Test the property 'index' */
+ @Test
+ public void indexTest() {
+ // TODO: test index
+ }
+
+ /** Test the property 'description' */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java
new file mode 100644
index 00000000..e279774b
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java
@@ -0,0 +1,57 @@
+/*
+ * 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 ReissueMultichainTokenRequest */
+public class ReissueMultichainTokenRequestTest {
+ private final ReissueMultichainTokenRequest model = new ReissueMultichainTokenRequest();
+
+ /** Model tests for ReissueMultichainTokenRequest */
+ @Test
+ public void testReissueMultichainTokenRequest() {
+ // TODO: test ReissueMultichainTokenRequest
+ }
+
+ /** Test the property 'vaultAccountId' */
+ @Test
+ public void vaultAccountIdTest() {
+ // TODO: test vaultAccountId
+ }
+
+ /** Test the property 'chains' */
+ @Test
+ public void chainsTest() {
+ // TODO: test chains
+ }
+
+ /** Test the property 'useGasless' */
+ @Test
+ public void useGaslessTest() {
+ // TODO: test useGasless
+ }
+
+ /** Test the property 'fee' */
+ @Test
+ public void feeTest() {
+ // TODO: test fee
+ }
+
+ /** Test the property 'feeLevel' */
+ @Test
+ public void feeLevelTest() {
+ // TODO: test feeLevel
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java
new file mode 100644
index 00000000..cb1acebd
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java
@@ -0,0 +1,40 @@
+/*
+ * 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 ResendNotificationsByResourceIdRequest */
+public class ResendNotificationsByResourceIdRequestTest {
+ private final ResendNotificationsByResourceIdRequest model =
+ new ResendNotificationsByResourceIdRequest();
+
+ /** Model tests for ResendNotificationsByResourceIdRequest */
+ @Test
+ public void testResendNotificationsByResourceIdRequest() {
+ // TODO: test ResendNotificationsByResourceIdRequest
+ }
+
+ /** Test the property 'resourceId' */
+ @Test
+ public void resourceIdTest() {
+ // TODO: test resourceId
+ }
+
+ /** Test the property 'excludeStatuses' */
+ @Test
+ public void excludeStatusesTest() {
+ // TODO: test excludeStatuses
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java
index ffa9b12a..9cc4803b 100644
--- a/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java
@@ -54,4 +54,10 @@ public void nameTest() {
public void walletIdTest() {
// TODO: test walletId
}
+
+ /** Test the property 'isCollateral' */
+ @Test
+ public void isCollateralTest() {
+ // TODO: test isCollateral
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java b/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java
new file mode 100644
index 00000000..66a315a9
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java
@@ -0,0 +1,40 @@
+/*
+ * 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 TokenLinkNotMultichainCompatibleHttpError */
+public class TokenLinkNotMultichainCompatibleHttpErrorTest {
+ private final TokenLinkNotMultichainCompatibleHttpError model =
+ new TokenLinkNotMultichainCompatibleHttpError();
+
+ /** Model tests for TokenLinkNotMultichainCompatibleHttpError */
+ @Test
+ public void testTokenLinkNotMultichainCompatibleHttpError() {
+ // TODO: test TokenLinkNotMultichainCompatibleHttpError
+ }
+
+ /** Test the property 'message' */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /** Test the property 'code' */
+ @Test
+ public void codeTest() {
+ // TODO: test code
+ }
+}