> getSchemas() {
+ return FiatDestination.schemas;
+ }
+
+ /**
+ * Set the instance that matches the oneOf child schema, check the instance parameter is valid
+ * against the oneOf child schemas: AchDestination, IbanDestination,
+ * LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination,
+ * SpeiDestination, SwiftDestination, USWireDestination
+ *
+ * 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(AchDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(IbanDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(
+ LocalBankTransferAfricaDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(MobileMoneyDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(PixDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(SEPADestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(SpeiDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(SwiftDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(USWireDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ throw new RuntimeException(
+ "Invalid instance type. Must be AchDestination, IbanDestination,"
+ + " LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination,"
+ + " SEPADestination, SpeiDestination, SwiftDestination, USWireDestination");
+ }
+
+ /**
+ * Get the actual instance, which can be the following: AchDestination, IbanDestination,
+ * LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination,
+ * SpeiDestination, SwiftDestination, USWireDestination
+ *
+ * @return The actual instance (AchDestination, IbanDestination,
+ * LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination,
+ * SEPADestination, SpeiDestination, SwiftDestination, USWireDestination)
+ */
+ @Override
+ public Object getActualInstance() {
+ return super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `AchDestination`. If the actual instance is not `AchDestination`,
+ * the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `AchDestination`
+ * @throws ClassCastException if the instance is not `AchDestination`
+ */
+ public AchDestination getAchDestination() throws ClassCastException {
+ return (AchDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `IbanDestination`. If the actual instance is not
+ * `IbanDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `IbanDestination`
+ * @throws ClassCastException if the instance is not `IbanDestination`
+ */
+ public IbanDestination getIbanDestination() throws ClassCastException {
+ return (IbanDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `LocalBankTransferAfricaDestination`. If the actual instance is
+ * not `LocalBankTransferAfricaDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `LocalBankTransferAfricaDestination`
+ * @throws ClassCastException if the instance is not `LocalBankTransferAfricaDestination`
+ */
+ public LocalBankTransferAfricaDestination getLocalBankTransferAfricaDestination()
+ throws ClassCastException {
+ return (LocalBankTransferAfricaDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `MobileMoneyDestination`. If the actual instance is not
+ * `MobileMoneyDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `MobileMoneyDestination`
+ * @throws ClassCastException if the instance is not `MobileMoneyDestination`
+ */
+ public MobileMoneyDestination getMobileMoneyDestination() throws ClassCastException {
+ return (MobileMoneyDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `PixDestination`. If the actual instance is not `PixDestination`,
+ * the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `PixDestination`
+ * @throws ClassCastException if the instance is not `PixDestination`
+ */
+ public PixDestination getPixDestination() throws ClassCastException {
+ return (PixDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `SEPADestination`. If the actual instance is not
+ * `SEPADestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `SEPADestination`
+ * @throws ClassCastException if the instance is not `SEPADestination`
+ */
+ public SEPADestination getSEPADestination() throws ClassCastException {
+ return (SEPADestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `SpeiDestination`. If the actual instance is not
+ * `SpeiDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `SpeiDestination`
+ * @throws ClassCastException if the instance is not `SpeiDestination`
+ */
+ public SpeiDestination getSpeiDestination() throws ClassCastException {
+ return (SpeiDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `SwiftDestination`. If the actual instance is not
+ * `SwiftDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `SwiftDestination`
+ * @throws ClassCastException if the instance is not `SwiftDestination`
+ */
+ public SwiftDestination getSwiftDestination() throws ClassCastException {
+ return (SwiftDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `USWireDestination`. If the actual instance is not
+ * `USWireDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `USWireDestination`
+ * @throws ClassCastException if the instance is not `USWireDestination`
+ */
+ public USWireDestination getUSWireDestination() throws ClassCastException {
+ return (USWireDestination) 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 IbanDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((IbanDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_0" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof SwiftDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((SwiftDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_1" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof AchDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((AchDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_2" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof USWireDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((USWireDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_3" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof SpeiDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((SpeiDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_4" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof SEPADestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((SEPADestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_5" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof PixDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((PixDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_6" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof LocalBankTransferAfricaDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((LocalBankTransferAfricaDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_7" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof MobileMoneyDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((MobileMoneyDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_8" + suffix));
+ }
+ return joiner.toString();
+ }
+ return null;
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/IbanAddress.java b/src/main/java/com/fireblocks/sdk/model/IbanAddress.java
new file mode 100644
index 00000000..acf83ae1
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/IbanAddress.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.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** IbanAddress */
+@JsonPropertyOrder({IbanAddress.JSON_PROPERTY_ACCOUNT_HOLDER, IbanAddress.JSON_PROPERTY_IBAN})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class IbanAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_IBAN = "iban";
+ @jakarta.annotation.Nonnull private String iban;
+
+ public IbanAddress() {}
+
+ @JsonCreator
+ public IbanAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_IBAN, required = true) String iban) {
+ this.accountHolder = accountHolder;
+ this.iban = iban;
+ }
+
+ public IbanAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public IbanAddress iban(@jakarta.annotation.Nonnull String iban) {
+ this.iban = iban;
+ return this;
+ }
+
+ /**
+ * Get iban
+ *
+ * @return iban
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IBAN)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getIban() {
+ return iban;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IBAN)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setIban(@jakarta.annotation.Nonnull String iban) {
+ this.iban = iban;
+ }
+
+ /** Return true if this IbanAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ IbanAddress ibanAddress = (IbanAddress) o;
+ return Objects.equals(this.accountHolder, ibanAddress.accountHolder)
+ && Objects.equals(this.iban, ibanAddress.iban);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, iban);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class IbanAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" iban: ").append(toIndentedString(iban)).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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `iban` to the URL query string
+ if (getIban() != null) {
+ joiner.add(
+ String.format(
+ "%siban%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIban()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/IbanDestination.java b/src/main/java/com/fireblocks/sdk/model/IbanDestination.java
new file mode 100644
index 00000000..5c24e46a
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/IbanDestination.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** IbanDestination */
+@JsonPropertyOrder({IbanDestination.JSON_PROPERTY_TYPE, IbanDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class IbanDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ IBAN(String.valueOf("IBAN"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private IbanAddress address;
+
+ public IbanDestination() {}
+
+ @JsonCreator
+ public IbanDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) IbanAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public IbanDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public IbanDestination address(@jakarta.annotation.Nonnull IbanAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public IbanAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull IbanAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this IbanDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ IbanDestination ibanDestination = (IbanDestination) o;
+ return Objects.equals(this.type, ibanDestination.type)
+ && Objects.equals(this.address, ibanDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class IbanDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java b/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java
index 973c8cbe..4ac94f02 100644
--- a/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java
+++ b/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java
@@ -13,7 +13,6 @@
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;
@@ -52,17 +51,10 @@ public class InitiatorConfig {
@jakarta.annotation.Nullable private List exchange;
public static final String JSON_PROPERTY_OPERATOR = "operator";
- @jakarta.annotation.Nonnull private PolicyOperator operator;
+ @jakarta.annotation.Nullable private PolicyOperator operator;
public InitiatorConfig() {}
- @JsonCreator
- public InitiatorConfig(
- @JsonProperty(value = JSON_PROPERTY_OPERATOR, required = true)
- PolicyOperator operator) {
- this.operator = operator;
- }
-
public InitiatorConfig users(@jakarta.annotation.Nullable List users) {
this.users = users;
return this;
@@ -218,7 +210,7 @@ public void setExchange(@jakarta.annotation.Nullable List exchange) {
this.exchange = exchange;
}
- public InitiatorConfig operator(@jakarta.annotation.Nonnull PolicyOperator operator) {
+ public InitiatorConfig operator(@jakarta.annotation.Nullable PolicyOperator operator) {
this.operator = operator;
return this;
}
@@ -228,16 +220,16 @@ public InitiatorConfig operator(@jakarta.annotation.Nonnull PolicyOperator opera
*
* @return operator
*/
- @jakarta.annotation.Nonnull
+ @jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OPERATOR)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PolicyOperator getOperator() {
return operator;
}
@JsonProperty(JSON_PROPERTY_OPERATOR)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setOperator(@jakarta.annotation.Nonnull PolicyOperator operator) {
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperator(@jakarta.annotation.Nullable PolicyOperator operator) {
this.operator = operator;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java
index a0d71feb..7eefa6e2 100644
--- a/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java
@@ -24,29 +24,27 @@
/** LimitExecutionRequestDetails */
@JsonPropertyOrder({
+ LimitExecutionRequestDetails.JSON_PROPERTY_TYPE,
+ LimitExecutionRequestDetails.JSON_PROPERTY_TIME_IN_FORCE,
+ LimitExecutionRequestDetails.JSON_PROPERTY_LIMIT_PRICE,
LimitExecutionRequestDetails.JSON_PROPERTY_SIDE,
LimitExecutionRequestDetails.JSON_PROPERTY_BASE_AMOUNT,
LimitExecutionRequestDetails.JSON_PROPERTY_BASE_ASSET_ID,
LimitExecutionRequestDetails.JSON_PROPERTY_BASE_ASSET_RAIL,
LimitExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_ID,
- LimitExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL,
- LimitExecutionRequestDetails.JSON_PROPERTY_TYPE,
- LimitExecutionRequestDetails.JSON_PROPERTY_TIME_IN_FORCE,
- LimitExecutionRequestDetails.JSON_PROPERTY_LIMIT_PRICE
+ LimitExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class LimitExecutionRequestDetails {
- /** Side of the order */
- public enum SideEnum {
- BUY(String.valueOf("BUY")),
-
- SELL(String.valueOf("SELL"));
+ /** Order type for limit orders */
+ public enum TypeEnum {
+ LIMIT(String.valueOf("LIMIT"));
private String value;
- SideEnum(String value) {
+ TypeEnum(String value) {
this.value = value;
}
@@ -61,8 +59,8 @@ public String toString() {
}
@JsonCreator
- public static SideEnum fromValue(String value) {
- for (SideEnum b : SideEnum.values()) {
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -71,31 +69,24 @@ public static SideEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_SIDE = "side";
- @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
-
- public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
- @jakarta.annotation.Nonnull private String baseAmount;
-
- public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
- @jakarta.annotation.Nonnull private String baseAssetId;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
- public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
- @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+ public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce";
+ @jakarta.annotation.Nonnull private TimeInForce timeInForce;
- public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
- @jakarta.annotation.Nonnull private String quoteAssetId;
+ public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice";
+ @jakarta.annotation.Nonnull private String limitPrice;
- public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
- @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
+ /** Side of the order */
+ public enum SideEnum {
+ BUY(String.valueOf("BUY")),
- /** Order type for limit orders */
- public enum TypeEnum {
- LIMIT(String.valueOf("LIMIT"));
+ SELL(String.valueOf("SELL"));
private String value;
- TypeEnum(String value) {
+ SideEnum(String value) {
this.value = value;
}
@@ -110,8 +101,8 @@ public String toString() {
}
@JsonCreator
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
+ public static SideEnum fromValue(String value) {
+ for (SideEnum b : SideEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -120,34 +111,113 @@ public static TypeEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_TYPE = "type";
- @jakarta.annotation.Nonnull private TypeEnum type;
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
- public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce";
- @jakarta.annotation.Nonnull private TimeInForce timeInForce;
+ public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
+ @jakarta.annotation.Nonnull private String baseAmount;
- public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice";
- @jakarta.annotation.Nonnull private String limitPrice;
+ public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
+ @jakarta.annotation.Nonnull private String baseAssetId;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
+ @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
+ @jakarta.annotation.Nonnull private String quoteAssetId;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
+ @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
public LimitExecutionRequestDetails() {}
@JsonCreator
public LimitExecutionRequestDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true)
+ TimeInForce timeInForce,
+ @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice,
@JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side,
@JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount,
@JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId,
@JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true)
- String quoteAssetId,
- @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
- @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true)
- TimeInForce timeInForce,
- @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice) {
+ String quoteAssetId) {
+ this.type = type;
+ this.timeInForce = timeInForce;
+ this.limitPrice = limitPrice;
this.side = side;
this.baseAmount = baseAmount;
this.baseAssetId = baseAssetId;
this.quoteAssetId = quoteAssetId;
+ }
+
+ public LimitExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for limit orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
+ }
+
+ public LimitExecutionRequestDetails timeInForce(
+ @jakarta.annotation.Nonnull TimeInForce timeInForce) {
+ this.timeInForce = timeInForce;
+ return this;
+ }
+
+ /**
+ * Get timeInForce
+ *
+ * @return timeInForce
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TimeInForce getTimeInForce() {
+ return timeInForce;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) {
this.timeInForce = timeInForce;
+ }
+
+ public LimitExecutionRequestDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) {
+ this.limitPrice = limitPrice;
+ return this;
+ }
+
+ /**
+ * Price for limit orders
+ *
+ * @return limitPrice
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getLimitPrice() {
+ return limitPrice;
+ }
+
+ @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) {
this.limitPrice = limitPrice;
}
@@ -293,76 +363,6 @@ public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAss
this.quoteAssetRail = quoteAssetRail;
}
- public LimitExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- return this;
- }
-
- /**
- * Order type for limit orders
- *
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TypeEnum getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- }
-
- public LimitExecutionRequestDetails timeInForce(
- @jakarta.annotation.Nonnull TimeInForce timeInForce) {
- this.timeInForce = timeInForce;
- return this;
- }
-
- /**
- * Get timeInForce
- *
- * @return timeInForce
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TimeInForce getTimeInForce() {
- return timeInForce;
- }
-
- @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) {
- this.timeInForce = timeInForce;
- }
-
- public LimitExecutionRequestDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) {
- this.limitPrice = limitPrice;
- return this;
- }
-
- /**
- * Price for limit orders
- *
- * @return limitPrice
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getLimitPrice() {
- return limitPrice;
- }
-
- @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) {
- this.limitPrice = limitPrice;
- }
-
/** Return true if this LimitExecutionRequestDetails object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -374,44 +374,44 @@ public boolean equals(Object o) {
}
LimitExecutionRequestDetails limitExecutionRequestDetails =
(LimitExecutionRequestDetails) o;
- return Objects.equals(this.side, limitExecutionRequestDetails.side)
+ return Objects.equals(this.type, limitExecutionRequestDetails.type)
+ && Objects.equals(this.timeInForce, limitExecutionRequestDetails.timeInForce)
+ && Objects.equals(this.limitPrice, limitExecutionRequestDetails.limitPrice)
+ && Objects.equals(this.side, limitExecutionRequestDetails.side)
&& Objects.equals(this.baseAmount, limitExecutionRequestDetails.baseAmount)
&& Objects.equals(this.baseAssetId, limitExecutionRequestDetails.baseAssetId)
&& Objects.equals(this.baseAssetRail, limitExecutionRequestDetails.baseAssetRail)
&& Objects.equals(this.quoteAssetId, limitExecutionRequestDetails.quoteAssetId)
- && Objects.equals(this.quoteAssetRail, limitExecutionRequestDetails.quoteAssetRail)
- && Objects.equals(this.type, limitExecutionRequestDetails.type)
- && Objects.equals(this.timeInForce, limitExecutionRequestDetails.timeInForce)
- && Objects.equals(this.limitPrice, limitExecutionRequestDetails.limitPrice);
+ && Objects.equals(this.quoteAssetRail, limitExecutionRequestDetails.quoteAssetRail);
}
@Override
public int hashCode() {
return Objects.hash(
+ type,
+ timeInForce,
+ limitPrice,
side,
baseAmount,
baseAssetId,
baseAssetRail,
quoteAssetId,
- quoteAssetRail,
- type,
- timeInForce,
- limitPrice);
+ quoteAssetRail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LimitExecutionRequestDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n");
+ sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n");
sb.append(" side: ").append(toIndentedString(side)).append("\n");
sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n");
sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n");
sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n");
sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n");
- sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -459,6 +459,36 @@ public String toUrlQueryString(String prefix) {
StringJoiner joiner = new StringJoiner("&");
+ // add `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `timeInForce` to the URL query string
+ if (getTimeInForce() != null) {
+ joiner.add(
+ String.format(
+ "%stimeInForce%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce()))));
+ }
+
+ // add `limitPrice` to the URL query string
+ if (getLimitPrice() != null) {
+ joiner.add(
+ String.format(
+ "%slimitPrice%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice()))));
+ }
+
// add `side` to the URL query string
if (getSide() != null) {
joiner.add(
@@ -519,36 +549,6 @@ public String toUrlQueryString(String prefix) {
ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail()))));
}
- // add `type` to the URL query string
- if (getType() != null) {
- joiner.add(
- String.format(
- "%stype%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getType()))));
- }
-
- // add `timeInForce` to the URL query string
- if (getTimeInForce() != null) {
- joiner.add(
- String.format(
- "%stimeInForce%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce()))));
- }
-
- // add `limitPrice` to the URL query string
- if (getLimitPrice() != null) {
- joiner.add(
- String.format(
- "%slimitPrice%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice()))));
- }
-
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java
index 62b8039a..faef0453 100644
--- a/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java
@@ -24,29 +24,27 @@
/** LimitExecutionResponseDetails */
@JsonPropertyOrder({
+ LimitExecutionResponseDetails.JSON_PROPERTY_TYPE,
+ LimitExecutionResponseDetails.JSON_PROPERTY_TIME_IN_FORCE,
+ LimitExecutionResponseDetails.JSON_PROPERTY_LIMIT_PRICE,
LimitExecutionResponseDetails.JSON_PROPERTY_SIDE,
LimitExecutionResponseDetails.JSON_PROPERTY_BASE_AMOUNT,
LimitExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_ID,
LimitExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_RAIL,
LimitExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_ID,
- LimitExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL,
- LimitExecutionResponseDetails.JSON_PROPERTY_TYPE,
- LimitExecutionResponseDetails.JSON_PROPERTY_TIME_IN_FORCE,
- LimitExecutionResponseDetails.JSON_PROPERTY_LIMIT_PRICE
+ LimitExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class LimitExecutionResponseDetails {
- /** Side of the order */
- public enum SideEnum {
- BUY(String.valueOf("BUY")),
-
- SELL(String.valueOf("SELL"));
+ /** Order type for limit orders */
+ public enum TypeEnum {
+ LIMIT(String.valueOf("LIMIT"));
private String value;
- SideEnum(String value) {
+ TypeEnum(String value) {
this.value = value;
}
@@ -61,8 +59,8 @@ public String toString() {
}
@JsonCreator
- public static SideEnum fromValue(String value) {
- for (SideEnum b : SideEnum.values()) {
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -71,31 +69,24 @@ public static SideEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_SIDE = "side";
- @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
-
- public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
- @jakarta.annotation.Nonnull private String baseAmount;
-
- public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
- @jakarta.annotation.Nonnull private String baseAssetId;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
- public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
- @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+ public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce";
+ @jakarta.annotation.Nonnull private TimeInForce timeInForce;
- public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
- @jakarta.annotation.Nonnull private String quoteAssetId;
+ public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice";
+ @jakarta.annotation.Nonnull private String limitPrice;
- public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
- @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
+ /** Side of the order */
+ public enum SideEnum {
+ BUY(String.valueOf("BUY")),
- /** Order type for limit orders */
- public enum TypeEnum {
- LIMIT(String.valueOf("LIMIT"));
+ SELL(String.valueOf("SELL"));
private String value;
- TypeEnum(String value) {
+ SideEnum(String value) {
this.value = value;
}
@@ -110,8 +101,8 @@ public String toString() {
}
@JsonCreator
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
+ public static SideEnum fromValue(String value) {
+ for (SideEnum b : SideEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -120,34 +111,113 @@ public static TypeEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_TYPE = "type";
- @jakarta.annotation.Nonnull private TypeEnum type;
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
- public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce";
- @jakarta.annotation.Nonnull private TimeInForce timeInForce;
+ public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
+ @jakarta.annotation.Nonnull private String baseAmount;
- public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice";
- @jakarta.annotation.Nonnull private String limitPrice;
+ public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
+ @jakarta.annotation.Nonnull private String baseAssetId;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
+ @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
+ @jakarta.annotation.Nonnull private String quoteAssetId;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
+ @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
public LimitExecutionResponseDetails() {}
@JsonCreator
public LimitExecutionResponseDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true)
+ TimeInForce timeInForce,
+ @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice,
@JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side,
@JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount,
@JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId,
@JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true)
- String quoteAssetId,
- @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
- @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true)
- TimeInForce timeInForce,
- @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice) {
+ String quoteAssetId) {
+ this.type = type;
+ this.timeInForce = timeInForce;
+ this.limitPrice = limitPrice;
this.side = side;
this.baseAmount = baseAmount;
this.baseAssetId = baseAssetId;
this.quoteAssetId = quoteAssetId;
+ }
+
+ public LimitExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for limit orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
+ }
+
+ public LimitExecutionResponseDetails timeInForce(
+ @jakarta.annotation.Nonnull TimeInForce timeInForce) {
+ this.timeInForce = timeInForce;
+ return this;
+ }
+
+ /**
+ * Get timeInForce
+ *
+ * @return timeInForce
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TimeInForce getTimeInForce() {
+ return timeInForce;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) {
this.timeInForce = timeInForce;
+ }
+
+ public LimitExecutionResponseDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) {
+ this.limitPrice = limitPrice;
+ return this;
+ }
+
+ /**
+ * Price for limit orders
+ *
+ * @return limitPrice
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getLimitPrice() {
+ return limitPrice;
+ }
+
+ @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) {
this.limitPrice = limitPrice;
}
@@ -293,76 +363,6 @@ public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAss
this.quoteAssetRail = quoteAssetRail;
}
- public LimitExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- return this;
- }
-
- /**
- * Order type for limit orders
- *
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TypeEnum getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- }
-
- public LimitExecutionResponseDetails timeInForce(
- @jakarta.annotation.Nonnull TimeInForce timeInForce) {
- this.timeInForce = timeInForce;
- return this;
- }
-
- /**
- * Get timeInForce
- *
- * @return timeInForce
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TimeInForce getTimeInForce() {
- return timeInForce;
- }
-
- @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) {
- this.timeInForce = timeInForce;
- }
-
- public LimitExecutionResponseDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) {
- this.limitPrice = limitPrice;
- return this;
- }
-
- /**
- * Price for limit orders
- *
- * @return limitPrice
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getLimitPrice() {
- return limitPrice;
- }
-
- @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) {
- this.limitPrice = limitPrice;
- }
-
/** Return true if this LimitExecutionResponseDetails object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -374,44 +374,45 @@ public boolean equals(Object o) {
}
LimitExecutionResponseDetails limitExecutionResponseDetails =
(LimitExecutionResponseDetails) o;
- return Objects.equals(this.side, limitExecutionResponseDetails.side)
+ return Objects.equals(this.type, limitExecutionResponseDetails.type)
+ && Objects.equals(this.timeInForce, limitExecutionResponseDetails.timeInForce)
+ && Objects.equals(this.limitPrice, limitExecutionResponseDetails.limitPrice)
+ && Objects.equals(this.side, limitExecutionResponseDetails.side)
&& Objects.equals(this.baseAmount, limitExecutionResponseDetails.baseAmount)
&& Objects.equals(this.baseAssetId, limitExecutionResponseDetails.baseAssetId)
&& Objects.equals(this.baseAssetRail, limitExecutionResponseDetails.baseAssetRail)
&& Objects.equals(this.quoteAssetId, limitExecutionResponseDetails.quoteAssetId)
- && Objects.equals(this.quoteAssetRail, limitExecutionResponseDetails.quoteAssetRail)
- && Objects.equals(this.type, limitExecutionResponseDetails.type)
- && Objects.equals(this.timeInForce, limitExecutionResponseDetails.timeInForce)
- && Objects.equals(this.limitPrice, limitExecutionResponseDetails.limitPrice);
+ && Objects.equals(
+ this.quoteAssetRail, limitExecutionResponseDetails.quoteAssetRail);
}
@Override
public int hashCode() {
return Objects.hash(
+ type,
+ timeInForce,
+ limitPrice,
side,
baseAmount,
baseAssetId,
baseAssetRail,
quoteAssetId,
- quoteAssetRail,
- type,
- timeInForce,
- limitPrice);
+ quoteAssetRail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LimitExecutionResponseDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n");
+ sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n");
sb.append(" side: ").append(toIndentedString(side)).append("\n");
sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n");
sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n");
sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n");
sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n");
- sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -459,6 +460,36 @@ public String toUrlQueryString(String prefix) {
StringJoiner joiner = new StringJoiner("&");
+ // add `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `timeInForce` to the URL query string
+ if (getTimeInForce() != null) {
+ joiner.add(
+ String.format(
+ "%stimeInForce%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce()))));
+ }
+
+ // add `limitPrice` to the URL query string
+ if (getLimitPrice() != null) {
+ joiner.add(
+ String.format(
+ "%slimitPrice%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice()))));
+ }
+
// add `side` to the URL query string
if (getSide() != null) {
joiner.add(
@@ -519,36 +550,6 @@ public String toUrlQueryString(String prefix) {
ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail()))));
}
- // add `type` to the URL query string
- if (getType() != null) {
- joiner.add(
- String.format(
- "%stype%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getType()))));
- }
-
- // add `timeInForce` to the URL query string
- if (getTimeInForce() != null) {
- joiner.add(
- String.format(
- "%stimeInForce%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce()))));
- }
-
- // add `limitPrice` to the URL query string
- if (getLimitPrice() != null) {
- joiner.add(
- String.format(
- "%slimitPrice%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice()))));
- }
-
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java b/src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java
new file mode 100644
index 00000000..117023d1
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java
@@ -0,0 +1,263 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** LimitTypeDetails */
+@JsonPropertyOrder({
+ LimitTypeDetails.JSON_PROPERTY_TYPE,
+ LimitTypeDetails.JSON_PROPERTY_TIME_IN_FORCE,
+ LimitTypeDetails.JSON_PROPERTY_LIMIT_PRICE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class LimitTypeDetails {
+ /** Order type for limit orders */
+ public enum TypeEnum {
+ LIMIT(String.valueOf("LIMIT"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce";
+ @jakarta.annotation.Nonnull private TimeInForce timeInForce;
+
+ public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice";
+ @jakarta.annotation.Nonnull private String limitPrice;
+
+ public LimitTypeDetails() {}
+
+ @JsonCreator
+ public LimitTypeDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true)
+ TimeInForce timeInForce,
+ @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice) {
+ this.type = type;
+ this.timeInForce = timeInForce;
+ this.limitPrice = limitPrice;
+ }
+
+ public LimitTypeDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for limit orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public LimitTypeDetails timeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) {
+ this.timeInForce = timeInForce;
+ return this;
+ }
+
+ /**
+ * Get timeInForce
+ *
+ * @return timeInForce
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TimeInForce getTimeInForce() {
+ return timeInForce;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) {
+ this.timeInForce = timeInForce;
+ }
+
+ public LimitTypeDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) {
+ this.limitPrice = limitPrice;
+ return this;
+ }
+
+ /**
+ * Price for limit orders
+ *
+ * @return limitPrice
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getLimitPrice() {
+ return limitPrice;
+ }
+
+ @JsonProperty(JSON_PROPERTY_LIMIT_PRICE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) {
+ this.limitPrice = limitPrice;
+ }
+
+ /** Return true if this LimitTypeDetails object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LimitTypeDetails limitTypeDetails = (LimitTypeDetails) o;
+ return Objects.equals(this.type, limitTypeDetails.type)
+ && Objects.equals(this.timeInForce, limitTypeDetails.timeInForce)
+ && Objects.equals(this.limitPrice, limitTypeDetails.limitPrice);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, timeInForce, limitPrice);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class LimitTypeDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n");
+ sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `timeInForce` to the URL query string
+ if (getTimeInForce() != null) {
+ joiner.add(
+ String.format(
+ "%stimeInForce%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce()))));
+ }
+
+ // add `limitPrice` to the URL query string
+ if (getLimitPrice() != null) {
+ joiner.add(
+ String.format(
+ "%slimitPrice%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java
new file mode 100644
index 00000000..8453e214
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java
@@ -0,0 +1,271 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** LocalBankTransferAfricaAddress */
+@JsonPropertyOrder({
+ LocalBankTransferAfricaAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ LocalBankTransferAfricaAddress.JSON_PROPERTY_ACCOUNT_NUMBER,
+ LocalBankTransferAfricaAddress.JSON_PROPERTY_BANK_NAME,
+ LocalBankTransferAfricaAddress.JSON_PROPERTY_BANK_CODE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class LocalBankTransferAfricaAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
+ @jakarta.annotation.Nonnull private String accountNumber;
+
+ public static final String JSON_PROPERTY_BANK_NAME = "bankName";
+ @jakarta.annotation.Nonnull private String bankName;
+
+ public static final String JSON_PROPERTY_BANK_CODE = "bankCode";
+ @jakarta.annotation.Nonnull private String bankCode;
+
+ public LocalBankTransferAfricaAddress() {}
+
+ @JsonCreator
+ public LocalBankTransferAfricaAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_NUMBER, required = true)
+ String accountNumber,
+ @JsonProperty(value = JSON_PROPERTY_BANK_NAME, required = true) String bankName,
+ @JsonProperty(value = JSON_PROPERTY_BANK_CODE, required = true) String bankCode) {
+ this.accountHolder = accountHolder;
+ this.accountNumber = accountNumber;
+ this.bankName = bankName;
+ this.bankCode = bankCode;
+ }
+
+ public LocalBankTransferAfricaAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public LocalBankTransferAfricaAddress accountNumber(
+ @jakarta.annotation.Nonnull String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Get accountNumber
+ *
+ * @return accountNumber
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountNumber(@jakarta.annotation.Nonnull String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+ public LocalBankTransferAfricaAddress bankName(@jakarta.annotation.Nonnull String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Name of the bank
+ *
+ * @return bankName
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getBankName() {
+ return bankName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBankName(@jakarta.annotation.Nonnull String bankName) {
+ this.bankName = bankName;
+ }
+
+ public LocalBankTransferAfricaAddress bankCode(@jakarta.annotation.Nonnull String bankCode) {
+ this.bankCode = bankCode;
+ return this;
+ }
+
+ /**
+ * Internal bank identifier
+ *
+ * @return bankCode
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_BANK_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getBankCode() {
+ return bankCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBankCode(@jakarta.annotation.Nonnull String bankCode) {
+ this.bankCode = bankCode;
+ }
+
+ /** Return true if this LocalBankTransferAfricaAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LocalBankTransferAfricaAddress localBankTransferAfricaAddress =
+ (LocalBankTransferAfricaAddress) o;
+ return Objects.equals(this.accountHolder, localBankTransferAfricaAddress.accountHolder)
+ && Objects.equals(this.accountNumber, localBankTransferAfricaAddress.accountNumber)
+ && Objects.equals(this.bankName, localBankTransferAfricaAddress.bankName)
+ && Objects.equals(this.bankCode, localBankTransferAfricaAddress.bankCode);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, accountNumber, bankName, bankCode);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class LocalBankTransferAfricaAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" bankCode: ").append(toIndentedString(bankCode)).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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `accountNumber` to the URL query string
+ if (getAccountNumber() != null) {
+ joiner.add(
+ String.format(
+ "%saccountNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAccountNumber()))));
+ }
+
+ // add `bankName` to the URL query string
+ if (getBankName() != null) {
+ joiner.add(
+ String.format(
+ "%sbankName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankName()))));
+ }
+
+ // add `bankCode` to the URL query string
+ if (getBankCode() != null) {
+ joiner.add(
+ String.format(
+ "%sbankCode%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankCode()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java
new file mode 100644
index 00000000..1c8d6ae8
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java
@@ -0,0 +1,219 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** LocalBankTransferAfricaDestination */
+@JsonPropertyOrder({
+ LocalBankTransferAfricaDestination.JSON_PROPERTY_TYPE,
+ LocalBankTransferAfricaDestination.JSON_PROPERTY_ADDRESS
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class LocalBankTransferAfricaDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ LOCAL_BANK_TRANSFER_AFRICA(String.valueOf("LOCAL_BANK_TRANSFER_AFRICA"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private LocalBankTransferAfricaAddress address;
+
+ public LocalBankTransferAfricaDestination() {}
+
+ @JsonCreator
+ public LocalBankTransferAfricaDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true)
+ LocalBankTransferAfricaAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public LocalBankTransferAfricaDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public LocalBankTransferAfricaDestination address(
+ @jakarta.annotation.Nonnull LocalBankTransferAfricaAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public LocalBankTransferAfricaAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull LocalBankTransferAfricaAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this LocalBankTransferAfricaDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LocalBankTransferAfricaDestination localBankTransferAfricaDestination =
+ (LocalBankTransferAfricaDestination) o;
+ return Objects.equals(this.type, localBankTransferAfricaDestination.type)
+ && Objects.equals(this.address, localBankTransferAfricaDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class LocalBankTransferAfricaDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java
index 1170ec0e..d54b7b0a 100644
--- a/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java
@@ -24,27 +24,25 @@
/** MarketExecutionRequestDetails */
@JsonPropertyOrder({
+ MarketExecutionRequestDetails.JSON_PROPERTY_TYPE,
MarketExecutionRequestDetails.JSON_PROPERTY_SIDE,
MarketExecutionRequestDetails.JSON_PROPERTY_BASE_AMOUNT,
MarketExecutionRequestDetails.JSON_PROPERTY_BASE_ASSET_ID,
MarketExecutionRequestDetails.JSON_PROPERTY_BASE_ASSET_RAIL,
MarketExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_ID,
- MarketExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL,
- MarketExecutionRequestDetails.JSON_PROPERTY_TYPE
+ MarketExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class MarketExecutionRequestDetails {
- /** Side of the order */
- public enum SideEnum {
- BUY(String.valueOf("BUY")),
-
- SELL(String.valueOf("SELL"));
+ /** Order type for market orders */
+ public enum TypeEnum {
+ MARKET(String.valueOf("MARKET"));
private String value;
- SideEnum(String value) {
+ TypeEnum(String value) {
this.value = value;
}
@@ -59,8 +57,8 @@ public String toString() {
}
@JsonCreator
- public static SideEnum fromValue(String value) {
- for (SideEnum b : SideEnum.values()) {
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -69,31 +67,18 @@ public static SideEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_SIDE = "side";
- @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
-
- public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
- @jakarta.annotation.Nonnull private String baseAmount;
-
- public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
- @jakarta.annotation.Nonnull private String baseAssetId;
-
- public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
- @jakarta.annotation.Nullable private TransferRail baseAssetRail;
-
- public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
- @jakarta.annotation.Nonnull private String quoteAssetId;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
- public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
- @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
+ /** Side of the order */
+ public enum SideEnum {
+ BUY(String.valueOf("BUY")),
- /** Order type for market orders */
- public enum TypeEnum {
- MARKET(String.valueOf("MARKET"));
+ SELL(String.valueOf("SELL"));
private String value;
- TypeEnum(String value) {
+ SideEnum(String value) {
this.value = value;
}
@@ -108,8 +93,8 @@ public String toString() {
}
@JsonCreator
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
+ public static SideEnum fromValue(String value) {
+ for (SideEnum b : SideEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -118,23 +103,61 @@ public static TypeEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_TYPE = "type";
- @jakarta.annotation.Nonnull private TypeEnum type;
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
+
+ public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
+ @jakarta.annotation.Nonnull private String baseAmount;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
+ @jakarta.annotation.Nonnull private String baseAssetId;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
+ @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
+ @jakarta.annotation.Nonnull private String quoteAssetId;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
+ @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
public MarketExecutionRequestDetails() {}
@JsonCreator
public MarketExecutionRequestDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
@JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side,
@JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount,
@JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId,
@JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true)
- String quoteAssetId,
- @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) {
+ String quoteAssetId) {
+ this.type = type;
this.side = side;
this.baseAmount = baseAmount;
this.baseAssetId = baseAssetId;
this.quoteAssetId = quoteAssetId;
+ }
+
+ public MarketExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for market orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
}
@@ -280,29 +303,6 @@ public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAss
this.quoteAssetRail = quoteAssetRail;
}
- public MarketExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- return this;
- }
-
- /**
- * Order type for market orders
- *
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TypeEnum getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- }
-
/** Return true if this MarketExecutionRequestDetails object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -314,32 +314,33 @@ public boolean equals(Object o) {
}
MarketExecutionRequestDetails marketExecutionRequestDetails =
(MarketExecutionRequestDetails) o;
- return Objects.equals(this.side, marketExecutionRequestDetails.side)
+ return Objects.equals(this.type, marketExecutionRequestDetails.type)
+ && Objects.equals(this.side, marketExecutionRequestDetails.side)
&& Objects.equals(this.baseAmount, marketExecutionRequestDetails.baseAmount)
&& Objects.equals(this.baseAssetId, marketExecutionRequestDetails.baseAssetId)
&& Objects.equals(this.baseAssetRail, marketExecutionRequestDetails.baseAssetRail)
&& Objects.equals(this.quoteAssetId, marketExecutionRequestDetails.quoteAssetId)
- && Objects.equals(this.quoteAssetRail, marketExecutionRequestDetails.quoteAssetRail)
- && Objects.equals(this.type, marketExecutionRequestDetails.type);
+ && Objects.equals(
+ this.quoteAssetRail, marketExecutionRequestDetails.quoteAssetRail);
}
@Override
public int hashCode() {
return Objects.hash(
- side, baseAmount, baseAssetId, baseAssetRail, quoteAssetId, quoteAssetRail, type);
+ type, side, baseAmount, baseAssetId, baseAssetRail, quoteAssetId, quoteAssetRail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MarketExecutionRequestDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" side: ").append(toIndentedString(side)).append("\n");
sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n");
sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n");
sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n");
sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -387,6 +388,16 @@ public String toUrlQueryString(String prefix) {
StringJoiner joiner = new StringJoiner("&");
+ // add `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
// add `side` to the URL query string
if (getSide() != null) {
joiner.add(
@@ -447,16 +458,6 @@ public String toUrlQueryString(String prefix) {
ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail()))));
}
- // add `type` to the URL query string
- if (getType() != null) {
- joiner.add(
- String.format(
- "%stype%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getType()))));
- }
-
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java
index 74951048..0741164f 100644
--- a/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java
@@ -24,27 +24,25 @@
/** MarketExecutionResponseDetails */
@JsonPropertyOrder({
+ MarketExecutionResponseDetails.JSON_PROPERTY_TYPE,
MarketExecutionResponseDetails.JSON_PROPERTY_SIDE,
MarketExecutionResponseDetails.JSON_PROPERTY_BASE_AMOUNT,
MarketExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_ID,
MarketExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_RAIL,
MarketExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_ID,
- MarketExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL,
- MarketExecutionResponseDetails.JSON_PROPERTY_TYPE
+ MarketExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class MarketExecutionResponseDetails {
- /** Side of the order */
- public enum SideEnum {
- BUY(String.valueOf("BUY")),
-
- SELL(String.valueOf("SELL"));
+ /** Order type for market orders */
+ public enum TypeEnum {
+ MARKET(String.valueOf("MARKET"));
private String value;
- SideEnum(String value) {
+ TypeEnum(String value) {
this.value = value;
}
@@ -59,8 +57,8 @@ public String toString() {
}
@JsonCreator
- public static SideEnum fromValue(String value) {
- for (SideEnum b : SideEnum.values()) {
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -69,31 +67,18 @@ public static SideEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_SIDE = "side";
- @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
-
- public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
- @jakarta.annotation.Nonnull private String baseAmount;
-
- public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
- @jakarta.annotation.Nonnull private String baseAssetId;
-
- public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
- @jakarta.annotation.Nullable private TransferRail baseAssetRail;
-
- public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
- @jakarta.annotation.Nonnull private String quoteAssetId;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
- public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
- @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
+ /** Side of the order */
+ public enum SideEnum {
+ BUY(String.valueOf("BUY")),
- /** Order type for market orders */
- public enum TypeEnum {
- MARKET(String.valueOf("MARKET"));
+ SELL(String.valueOf("SELL"));
private String value;
- TypeEnum(String value) {
+ SideEnum(String value) {
this.value = value;
}
@@ -108,8 +93,8 @@ public String toString() {
}
@JsonCreator
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
+ public static SideEnum fromValue(String value) {
+ for (SideEnum b : SideEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -118,23 +103,61 @@ public static TypeEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_TYPE = "type";
- @jakarta.annotation.Nonnull private TypeEnum type;
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
+
+ public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
+ @jakarta.annotation.Nonnull private String baseAmount;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
+ @jakarta.annotation.Nonnull private String baseAssetId;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
+ @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
+ @jakarta.annotation.Nonnull private String quoteAssetId;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
+ @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
public MarketExecutionResponseDetails() {}
@JsonCreator
public MarketExecutionResponseDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
@JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side,
@JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount,
@JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId,
@JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true)
- String quoteAssetId,
- @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) {
+ String quoteAssetId) {
+ this.type = type;
this.side = side;
this.baseAmount = baseAmount;
this.baseAssetId = baseAssetId;
this.quoteAssetId = quoteAssetId;
+ }
+
+ public MarketExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for market orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
}
@@ -281,29 +304,6 @@ public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAss
this.quoteAssetRail = quoteAssetRail;
}
- public MarketExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- return this;
- }
-
- /**
- * Order type for market orders
- *
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TypeEnum getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- }
-
/** Return true if this MarketExecutionResponseDetails object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -315,33 +315,33 @@ public boolean equals(Object o) {
}
MarketExecutionResponseDetails marketExecutionResponseDetails =
(MarketExecutionResponseDetails) o;
- return Objects.equals(this.side, marketExecutionResponseDetails.side)
+ return Objects.equals(this.type, marketExecutionResponseDetails.type)
+ && Objects.equals(this.side, marketExecutionResponseDetails.side)
&& Objects.equals(this.baseAmount, marketExecutionResponseDetails.baseAmount)
&& Objects.equals(this.baseAssetId, marketExecutionResponseDetails.baseAssetId)
&& Objects.equals(this.baseAssetRail, marketExecutionResponseDetails.baseAssetRail)
&& Objects.equals(this.quoteAssetId, marketExecutionResponseDetails.quoteAssetId)
&& Objects.equals(
- this.quoteAssetRail, marketExecutionResponseDetails.quoteAssetRail)
- && Objects.equals(this.type, marketExecutionResponseDetails.type);
+ this.quoteAssetRail, marketExecutionResponseDetails.quoteAssetRail);
}
@Override
public int hashCode() {
return Objects.hash(
- side, baseAmount, baseAssetId, baseAssetRail, quoteAssetId, quoteAssetRail, type);
+ type, side, baseAmount, baseAssetId, baseAssetRail, quoteAssetId, quoteAssetRail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MarketExecutionResponseDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" side: ").append(toIndentedString(side)).append("\n");
sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n");
sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n");
sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n");
sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -389,6 +389,16 @@ public String toUrlQueryString(String prefix) {
StringJoiner joiner = new StringJoiner("&");
+ // add `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
// add `side` to the URL query string
if (getSide() != null) {
joiner.add(
@@ -449,16 +459,6 @@ public String toUrlQueryString(String prefix) {
ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail()))));
}
- // add `type` to the URL query string
- if (getType() != null) {
- joiner.add(
- String.format(
- "%stype%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getType()))));
- }
-
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java
new file mode 100644
index 00000000..8b6e41bd
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java
@@ -0,0 +1,178 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** MarketTypeDetails */
+@JsonPropertyOrder({MarketTypeDetails.JSON_PROPERTY_TYPE})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class MarketTypeDetails {
+ /** Order type for market orders */
+ public enum TypeEnum {
+ MARKET(String.valueOf("MARKET"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public MarketTypeDetails() {}
+
+ @JsonCreator
+ public MarketTypeDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) {
+ this.type = type;
+ }
+
+ public MarketTypeDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for market orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ /** Return true if this MarketTypeDetails object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MarketTypeDetails marketTypeDetails = (MarketTypeDetails) o;
+ return Objects.equals(this.type, marketTypeDetails.type);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MarketTypeDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java b/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java
new file mode 100644
index 00000000..15ce8c2c
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java
@@ -0,0 +1,366 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** MobileMoneyAddress */
+@JsonPropertyOrder({
+ MobileMoneyAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ MobileMoneyAddress.JSON_PROPERTY_MOBILE_PHONE_NUMBER,
+ MobileMoneyAddress.JSON_PROPERTY_PROVIDER,
+ MobileMoneyAddress.JSON_PROPERTY_BENEFICIARY_DOCUMENT_ID,
+ MobileMoneyAddress.JSON_PROPERTY_BENEFICIARY_RELATIONSHIP
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class MobileMoneyAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_MOBILE_PHONE_NUMBER = "mobilePhoneNumber";
+ @jakarta.annotation.Nonnull private String mobilePhoneNumber;
+
+ /** Mobile money provider */
+ public enum ProviderEnum {
+ M_PESA(String.valueOf("m-pesa")),
+
+ AIRTEL(String.valueOf("airtel")),
+
+ MTN(String.valueOf("mtn")),
+
+ TIGO(String.valueOf("tigo")),
+
+ ORANGE(String.valueOf("orange"));
+
+ private String value;
+
+ ProviderEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ProviderEnum fromValue(String value) {
+ for (ProviderEnum b : ProviderEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_PROVIDER = "provider";
+ @jakarta.annotation.Nonnull private ProviderEnum provider;
+
+ public static final String JSON_PROPERTY_BENEFICIARY_DOCUMENT_ID = "beneficiaryDocumentId";
+ @jakarta.annotation.Nullable private String beneficiaryDocumentId;
+
+ public static final String JSON_PROPERTY_BENEFICIARY_RELATIONSHIP = "beneficiaryRelationship";
+ @jakarta.annotation.Nullable private String beneficiaryRelationship;
+
+ public MobileMoneyAddress() {}
+
+ @JsonCreator
+ public MobileMoneyAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_MOBILE_PHONE_NUMBER, required = true)
+ String mobilePhoneNumber,
+ @JsonProperty(value = JSON_PROPERTY_PROVIDER, required = true) ProviderEnum provider) {
+ this.accountHolder = accountHolder;
+ this.mobilePhoneNumber = mobilePhoneNumber;
+ this.provider = provider;
+ }
+
+ public MobileMoneyAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public MobileMoneyAddress mobilePhoneNumber(
+ @jakarta.annotation.Nonnull String mobilePhoneNumber) {
+ this.mobilePhoneNumber = mobilePhoneNumber;
+ return this;
+ }
+
+ /**
+ * Mobile phone number in E.164 format
+ *
+ * @return mobilePhoneNumber
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_MOBILE_PHONE_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getMobilePhoneNumber() {
+ return mobilePhoneNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MOBILE_PHONE_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMobilePhoneNumber(@jakarta.annotation.Nonnull String mobilePhoneNumber) {
+ this.mobilePhoneNumber = mobilePhoneNumber;
+ }
+
+ public MobileMoneyAddress provider(@jakarta.annotation.Nonnull ProviderEnum provider) {
+ this.provider = provider;
+ return this;
+ }
+
+ /**
+ * Mobile money provider
+ *
+ * @return provider
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public ProviderEnum getProvider() {
+ return provider;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setProvider(@jakarta.annotation.Nonnull ProviderEnum provider) {
+ this.provider = provider;
+ }
+
+ public MobileMoneyAddress beneficiaryDocumentId(
+ @jakarta.annotation.Nullable String beneficiaryDocumentId) {
+ this.beneficiaryDocumentId = beneficiaryDocumentId;
+ return this;
+ }
+
+ /**
+ * Beneficiary document identification (may be required)
+ *
+ * @return beneficiaryDocumentId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BENEFICIARY_DOCUMENT_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBeneficiaryDocumentId() {
+ return beneficiaryDocumentId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BENEFICIARY_DOCUMENT_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBeneficiaryDocumentId(
+ @jakarta.annotation.Nullable String beneficiaryDocumentId) {
+ this.beneficiaryDocumentId = beneficiaryDocumentId;
+ }
+
+ public MobileMoneyAddress beneficiaryRelationship(
+ @jakarta.annotation.Nullable String beneficiaryRelationship) {
+ this.beneficiaryRelationship = beneficiaryRelationship;
+ return this;
+ }
+
+ /**
+ * Relationship to beneficiary for AML purposes
+ *
+ * @return beneficiaryRelationship
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BENEFICIARY_RELATIONSHIP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBeneficiaryRelationship() {
+ return beneficiaryRelationship;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BENEFICIARY_RELATIONSHIP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBeneficiaryRelationship(
+ @jakarta.annotation.Nullable String beneficiaryRelationship) {
+ this.beneficiaryRelationship = beneficiaryRelationship;
+ }
+
+ /** Return true if this MobileMoneyAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MobileMoneyAddress mobileMoneyAddress = (MobileMoneyAddress) o;
+ return Objects.equals(this.accountHolder, mobileMoneyAddress.accountHolder)
+ && Objects.equals(this.mobilePhoneNumber, mobileMoneyAddress.mobilePhoneNumber)
+ && Objects.equals(this.provider, mobileMoneyAddress.provider)
+ && Objects.equals(
+ this.beneficiaryDocumentId, mobileMoneyAddress.beneficiaryDocumentId)
+ && Objects.equals(
+ this.beneficiaryRelationship, mobileMoneyAddress.beneficiaryRelationship);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ accountHolder,
+ mobilePhoneNumber,
+ provider,
+ beneficiaryDocumentId,
+ beneficiaryRelationship);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MobileMoneyAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" mobilePhoneNumber: ")
+ .append(toIndentedString(mobilePhoneNumber))
+ .append("\n");
+ sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
+ sb.append(" beneficiaryDocumentId: ")
+ .append(toIndentedString(beneficiaryDocumentId))
+ .append("\n");
+ sb.append(" beneficiaryRelationship: ")
+ .append(toIndentedString(beneficiaryRelationship))
+ .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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `mobilePhoneNumber` to the URL query string
+ if (getMobilePhoneNumber() != null) {
+ joiner.add(
+ String.format(
+ "%smobilePhoneNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getMobilePhoneNumber()))));
+ }
+
+ // add `provider` to the URL query string
+ if (getProvider() != null) {
+ joiner.add(
+ String.format(
+ "%sprovider%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProvider()))));
+ }
+
+ // add `beneficiaryDocumentId` to the URL query string
+ if (getBeneficiaryDocumentId() != null) {
+ joiner.add(
+ String.format(
+ "%sbeneficiaryDocumentId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getBeneficiaryDocumentId()))));
+ }
+
+ // add `beneficiaryRelationship` to the URL query string
+ if (getBeneficiaryRelationship() != null) {
+ joiner.add(
+ String.format(
+ "%sbeneficiaryRelationship%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getBeneficiaryRelationship()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java b/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java
new file mode 100644
index 00000000..88c2a851
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java
@@ -0,0 +1,217 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** MobileMoneyDestination */
+@JsonPropertyOrder({
+ MobileMoneyDestination.JSON_PROPERTY_TYPE,
+ MobileMoneyDestination.JSON_PROPERTY_ADDRESS
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class MobileMoneyDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ MOBILE_MONEY(String.valueOf("MOBILE_MONEY"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private MobileMoneyAddress address;
+
+ public MobileMoneyDestination() {}
+
+ @JsonCreator
+ public MobileMoneyDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true)
+ MobileMoneyAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public MobileMoneyDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public MobileMoneyDestination address(@jakarta.annotation.Nonnull MobileMoneyAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public MobileMoneyAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull MobileMoneyAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this MobileMoneyDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MobileMoneyDestination mobileMoneyDestination = (MobileMoneyDestination) o;
+ return Objects.equals(this.type, mobileMoneyDestination.type)
+ && Objects.equals(this.address, mobileMoneyDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MobileMoneyDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/OrderSide.java b/src/main/java/com/fireblocks/sdk/model/OrderSide.java
new file mode 100644
index 00000000..7441aa5e
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/OrderSide.java
@@ -0,0 +1,66 @@
+/*
+ * 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.JsonValue;
+
+/** Order side for trading operations */
+public enum OrderSide {
+ BUY("BUY"),
+
+ SELL("SELL"),
+
+ ANY("ANY");
+
+ private String value;
+
+ OrderSide(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static OrderSide fromValue(String value) {
+ for (OrderSide b : OrderSide.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/OrderStatus.java b/src/main/java/com/fireblocks/sdk/model/OrderStatus.java
index 39bb359a..575a98d2 100644
--- a/src/main/java/com/fireblocks/sdk/model/OrderStatus.java
+++ b/src/main/java/com/fireblocks/sdk/model/OrderStatus.java
@@ -20,6 +20,8 @@
public enum OrderStatus {
CREATED("CREATED"),
+ AWAITING_PAYMENT("AWAITING_PAYMENT"),
+
PENDING_USER_ACTION("PENDING_USER_ACTION"),
PROCESSING("PROCESSING"),
diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java b/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java
index bd925050..844c320a 100644
--- a/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java
+++ b/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java
@@ -34,22 +34,6 @@
public class PaymentInstructions {
/** Gets or Sets type */
public enum TypeEnum {
- IBAN(String.valueOf("IBAN")),
-
- SWIFT(String.valueOf("SWIFT")),
-
- ACH(String.valueOf("ACH")),
-
- US_WIRE(String.valueOf("US_WIRE")),
-
- SPEI(String.valueOf("SPEI")),
-
- SEPA(String.valueOf("SEPA")),
-
- PIX(String.valueOf("PIX")),
-
- LOCAL_BANK_TRANSFER_AFRICA(String.valueOf("LOCAL_BANK_TRANSFER_AFRICA")),
-
MOBILE_MONEY(String.valueOf("MOBILE_MONEY"));
private String value;
@@ -83,10 +67,10 @@ public static TypeEnum fromValue(String value) {
@jakarta.annotation.Nonnull private TypeEnum type;
public static final String JSON_PROPERTY_ADDRESS = "address";
- @jakarta.annotation.Nonnull private AccountHolderDetails address;
+ @jakarta.annotation.Nonnull private MobileMoneyAddress address;
public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId";
- @jakarta.annotation.Nonnull private String referenceId;
+ @jakarta.annotation.Nullable private String referenceId;
public PaymentInstructions() {}
@@ -94,11 +78,9 @@ public PaymentInstructions() {}
public PaymentInstructions(
@JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
@JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true)
- AccountHolderDetails address,
- @JsonProperty(value = JSON_PROPERTY_REFERENCE_ID, required = true) String referenceId) {
+ MobileMoneyAddress address) {
this.type = type;
this.address = address;
- this.referenceId = referenceId;
}
public PaymentInstructions type(@jakarta.annotation.Nonnull TypeEnum type) {
@@ -124,7 +106,7 @@ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
}
- public PaymentInstructions address(@jakarta.annotation.Nonnull AccountHolderDetails address) {
+ public PaymentInstructions address(@jakarta.annotation.Nonnull MobileMoneyAddress address) {
this.address = address;
return this;
}
@@ -137,17 +119,17 @@ public PaymentInstructions address(@jakarta.annotation.Nonnull AccountHolderDeta
@jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public AccountHolderDetails getAddress() {
+ public MobileMoneyAddress getAddress() {
return address;
}
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setAddress(@jakarta.annotation.Nonnull AccountHolderDetails address) {
+ public void setAddress(@jakarta.annotation.Nonnull MobileMoneyAddress address) {
this.address = address;
}
- public PaymentInstructions referenceId(@jakarta.annotation.Nonnull String referenceId) {
+ public PaymentInstructions referenceId(@jakarta.annotation.Nullable String referenceId) {
this.referenceId = referenceId;
return this;
}
@@ -157,16 +139,16 @@ public PaymentInstructions referenceId(@jakarta.annotation.Nonnull String refere
*
* @return referenceId
*/
- @jakarta.annotation.Nonnull
+ @jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_REFERENCE_ID)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReferenceId() {
return referenceId;
}
@JsonProperty(JSON_PROPERTY_REFERENCE_ID)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setReferenceId(@jakarta.annotation.Nonnull String referenceId) {
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setReferenceId(@jakarta.annotation.Nullable String referenceId) {
this.referenceId = referenceId;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.java b/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.java
new file mode 100644
index 00000000..be1b12f2
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** PaymentInstructionsDetails */
+@JsonPropertyOrder({PaymentInstructionsDetails.JSON_PROPERTY_REFERENCE_ID})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class PaymentInstructionsDetails {
+ public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId";
+ @jakarta.annotation.Nullable private String referenceId;
+
+ public PaymentInstructionsDetails() {}
+
+ public PaymentInstructionsDetails referenceId(@jakarta.annotation.Nullable String referenceId) {
+ this.referenceId = referenceId;
+ return this;
+ }
+
+ /**
+ * Get referenceId
+ *
+ * @return referenceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_REFERENCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getReferenceId() {
+ return referenceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_REFERENCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setReferenceId(@jakarta.annotation.Nullable String referenceId) {
+ this.referenceId = referenceId;
+ }
+
+ /** Return true if this PaymentInstructionsDetails object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PaymentInstructionsDetails paymentInstructionsDetails = (PaymentInstructionsDetails) o;
+ return Objects.equals(this.referenceId, paymentInstructionsDetails.referenceId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(referenceId);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PaymentInstructionsDetails {\n");
+ sb.append(" referenceId: ").append(toIndentedString(referenceId)).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 `referenceId` to the URL query string
+ if (getReferenceId() != null) {
+ joiner.add(
+ String.format(
+ "%sreferenceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getReferenceId()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PixAddress.java b/src/main/java/com/fireblocks/sdk/model/PixAddress.java
new file mode 100644
index 00000000..54a2c3fe
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PixAddress.java
@@ -0,0 +1,345 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** PixAddress */
+@JsonPropertyOrder({
+ PixAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ PixAddress.JSON_PROPERTY_PIX_KEY,
+ PixAddress.JSON_PROPERTY_KEY_TYPE,
+ PixAddress.JSON_PROPERTY_BANK_NAME,
+ PixAddress.JSON_PROPERTY_BANK_CODE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class PixAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_PIX_KEY = "pixKey";
+ @jakarta.annotation.Nonnull private String pixKey;
+
+ /** Gets or Sets keyType */
+ public enum KeyTypeEnum {
+ CPF(String.valueOf("cpf")),
+
+ CNPJ(String.valueOf("cnpj")),
+
+ EMAIL(String.valueOf("email")),
+
+ PHONE(String.valueOf("phone")),
+
+ RANDOM(String.valueOf("random"));
+
+ private String value;
+
+ KeyTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static KeyTypeEnum fromValue(String value) {
+ for (KeyTypeEnum b : KeyTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_KEY_TYPE = "keyType";
+ @jakarta.annotation.Nonnull private KeyTypeEnum keyType;
+
+ public static final String JSON_PROPERTY_BANK_NAME = "bankName";
+ @jakarta.annotation.Nullable private String bankName;
+
+ public static final String JSON_PROPERTY_BANK_CODE = "bankCode";
+ @jakarta.annotation.Nullable private String bankCode;
+
+ public PixAddress() {}
+
+ @JsonCreator
+ public PixAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_PIX_KEY, required = true) String pixKey,
+ @JsonProperty(value = JSON_PROPERTY_KEY_TYPE, required = true) KeyTypeEnum keyType) {
+ this.accountHolder = accountHolder;
+ this.pixKey = pixKey;
+ this.keyType = keyType;
+ }
+
+ public PixAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public PixAddress pixKey(@jakarta.annotation.Nonnull String pixKey) {
+ this.pixKey = pixKey;
+ return this;
+ }
+
+ /**
+ * Get pixKey
+ *
+ * @return pixKey
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_PIX_KEY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getPixKey() {
+ return pixKey;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PIX_KEY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setPixKey(@jakarta.annotation.Nonnull String pixKey) {
+ this.pixKey = pixKey;
+ }
+
+ public PixAddress keyType(@jakarta.annotation.Nonnull KeyTypeEnum keyType) {
+ this.keyType = keyType;
+ return this;
+ }
+
+ /**
+ * Get keyType
+ *
+ * @return keyType
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_KEY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public KeyTypeEnum getKeyType() {
+ return keyType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_KEY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setKeyType(@jakarta.annotation.Nonnull KeyTypeEnum keyType) {
+ this.keyType = keyType;
+ }
+
+ public PixAddress bankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Get bankName
+ *
+ * @return bankName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankName() {
+ return bankName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ }
+
+ public PixAddress bankCode(@jakarta.annotation.Nullable String bankCode) {
+ this.bankCode = bankCode;
+ return this;
+ }
+
+ /**
+ * Get bankCode
+ *
+ * @return bankCode
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_CODE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankCode() {
+ return bankCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_CODE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankCode(@jakarta.annotation.Nullable String bankCode) {
+ this.bankCode = bankCode;
+ }
+
+ /** Return true if this PixAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PixAddress pixAddress = (PixAddress) o;
+ return Objects.equals(this.accountHolder, pixAddress.accountHolder)
+ && Objects.equals(this.pixKey, pixAddress.pixKey)
+ && Objects.equals(this.keyType, pixAddress.keyType)
+ && Objects.equals(this.bankName, pixAddress.bankName)
+ && Objects.equals(this.bankCode, pixAddress.bankCode);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, pixKey, keyType, bankName, bankCode);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PixAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" pixKey: ").append(toIndentedString(pixKey)).append("\n");
+ sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" bankCode: ").append(toIndentedString(bankCode)).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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `pixKey` to the URL query string
+ if (getPixKey() != null) {
+ joiner.add(
+ String.format(
+ "%spixKey%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getPixKey()))));
+ }
+
+ // add `keyType` to the URL query string
+ if (getKeyType() != null) {
+ joiner.add(
+ String.format(
+ "%skeyType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getKeyType()))));
+ }
+
+ // add `bankName` to the URL query string
+ if (getBankName() != null) {
+ joiner.add(
+ String.format(
+ "%sbankName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankName()))));
+ }
+
+ // add `bankCode` to the URL query string
+ if (getBankCode() != null) {
+ joiner.add(
+ String.format(
+ "%sbankCode%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankCode()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PixDestination.java b/src/main/java/com/fireblocks/sdk/model/PixDestination.java
new file mode 100644
index 00000000..0711f4c6
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PixDestination.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** PixDestination */
+@JsonPropertyOrder({PixDestination.JSON_PROPERTY_TYPE, PixDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class PixDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ PIX(String.valueOf("PIX"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private PixAddress address;
+
+ public PixDestination() {}
+
+ @JsonCreator
+ public PixDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) PixAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public PixDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public PixDestination address(@jakarta.annotation.Nonnull PixAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public PixAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull PixAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this PixDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PixDestination pixDestination = (PixDestination) o;
+ return Objects.equals(this.type, pixDestination.type)
+ && Objects.equals(this.address, pixDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PixDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java b/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java
new file mode 100644
index 00000000..05aadc02
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java
@@ -0,0 +1,66 @@
+/*
+ * 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.JsonValue;
+
+/** Currency for the amount */
+public enum PolicyCurrency {
+ NATIVE("NATIVE"),
+
+ USD("USD"),
+
+ EUR("EUR");
+
+ private String value;
+
+ PolicyCurrency(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static PolicyCurrency fromValue(String value) {
+ for (PolicyCurrency b : PolicyCurrency.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java b/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java
index 82f843b0..4f7dac11 100644
--- a/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java
+++ b/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java
@@ -18,9 +18,7 @@
/** Operator for selection */
public enum PolicyOperator {
- INCLUDES("INCLUDES"),
-
- EXCLUDES("EXCLUDES");
+ INCLUDES("INCLUDES");
private String value;
diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyRule.java b/src/main/java/com/fireblocks/sdk/model/PolicyRule.java
index eec18ee1..f3f7c8de 100644
--- a/src/main/java/com/fireblocks/sdk/model/PolicyRule.java
+++ b/src/main/java/com/fireblocks/sdk/model/PolicyRule.java
@@ -35,6 +35,7 @@
PolicyRule.JSON_PROPERTY_SOURCE,
PolicyRule.JSON_PROPERTY_DESTINATION,
PolicyRule.JSON_PROPERTY_ACCOUNT,
+ PolicyRule.JSON_PROPERTY_SIDE,
PolicyRule.JSON_PROPERTY_VERDICT,
PolicyRule.JSON_PROPERTY_AMOUNT_OVER_TIME,
PolicyRule.JSON_PROPERTY_AMOUNT,
@@ -47,6 +48,7 @@
PolicyRule.JSON_PROPERTY_BASE_ASSET,
PolicyRule.JSON_PROPERTY_QUOTE_AMOUNT,
PolicyRule.JSON_PROPERTY_BASE_AMOUNT,
+ PolicyRule.JSON_PROPERTY_D_APP_ADDRESS,
PolicyRule.JSON_PROPERTY_DERIVATION_PATH,
PolicyRule.JSON_PROPERTY_INDEX
})
@@ -104,10 +106,10 @@ public static PolicyEngineVersionEnum fromValue(String value) {
@jakarta.annotation.Nonnull private InitiatorConfigPattern initiator;
public static final String JSON_PROPERTY_ASSET = "asset";
- @jakarta.annotation.Nonnull private AssetConfig asset;
+ @jakarta.annotation.Nullable private AssetConfig asset;
public static final String JSON_PROPERTY_SOURCE = "source";
- @jakarta.annotation.Nonnull private AccountConfig source;
+ @jakarta.annotation.Nonnull private SourceConfig source;
public static final String JSON_PROPERTY_DESTINATION = "destination";
@jakarta.annotation.Nullable private DestinationConfig destination;
@@ -115,6 +117,9 @@ public static PolicyEngineVersionEnum fromValue(String value) {
public static final String JSON_PROPERTY_ACCOUNT = "account";
@jakarta.annotation.Nullable private AccountConfig account;
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nullable private OrderSide side;
+
public static final String JSON_PROPERTY_VERDICT = "verdict";
@jakarta.annotation.Nonnull private VerdictConfig verdict;
@@ -122,7 +127,7 @@ public static PolicyEngineVersionEnum fromValue(String value) {
@jakarta.annotation.Nullable private AmountOverTimeConfig amountOverTime;
public static final String JSON_PROPERTY_AMOUNT = "amount";
- @jakarta.annotation.Nullable private AmountRange amount;
+ @jakarta.annotation.Nullable private AmountConfig amount;
public static final String JSON_PROPERTY_EXTERNAL_DESCRIPTOR = "externalDescriptor";
@jakarta.annotation.Nullable private String externalDescriptor;
@@ -151,6 +156,9 @@ public static PolicyEngineVersionEnum fromValue(String value) {
public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
@jakarta.annotation.Nullable private AmountRange baseAmount;
+ public static final String JSON_PROPERTY_D_APP_ADDRESS = "dAppAddress";
+ @jakarta.annotation.Nullable private DAppAddressConfig dAppAddress;
+
public static final String JSON_PROPERTY_DERIVATION_PATH = "derivationPath";
@jakarta.annotation.Nullable private DerivationPathConfig derivationPath;
@@ -168,15 +176,13 @@ public PolicyRule(
@JsonProperty(value = JSON_PROPERTY_TYPE, required = true) PolicyType type,
@JsonProperty(value = JSON_PROPERTY_INITIATOR, required = true)
InitiatorConfigPattern initiator,
- @JsonProperty(value = JSON_PROPERTY_ASSET, required = true) AssetConfig asset,
- @JsonProperty(value = JSON_PROPERTY_SOURCE, required = true) AccountConfig source,
+ @JsonProperty(value = JSON_PROPERTY_SOURCE, required = true) SourceConfig source,
@JsonProperty(value = JSON_PROPERTY_VERDICT, required = true) VerdictConfig verdict) {
this.name = name;
this.id = id;
this.policyEngineVersion = policyEngineVersion;
this.type = type;
this.initiator = initiator;
- this.asset = asset;
this.source = source;
this.verdict = verdict;
}
@@ -321,7 +327,7 @@ public void setInitiator(@jakarta.annotation.Nonnull InitiatorConfigPattern init
this.initiator = initiator;
}
- public PolicyRule asset(@jakarta.annotation.Nonnull AssetConfig asset) {
+ public PolicyRule asset(@jakarta.annotation.Nullable AssetConfig asset) {
this.asset = asset;
return this;
}
@@ -331,20 +337,20 @@ public PolicyRule asset(@jakarta.annotation.Nonnull AssetConfig asset) {
*
* @return asset
*/
- @jakarta.annotation.Nonnull
+ @jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ASSET)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AssetConfig getAsset() {
return asset;
}
@JsonProperty(JSON_PROPERTY_ASSET)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setAsset(@jakarta.annotation.Nonnull AssetConfig asset) {
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable AssetConfig asset) {
this.asset = asset;
}
- public PolicyRule source(@jakarta.annotation.Nonnull AccountConfig source) {
+ public PolicyRule source(@jakarta.annotation.Nonnull SourceConfig source) {
this.source = source;
return this;
}
@@ -357,13 +363,13 @@ public PolicyRule source(@jakarta.annotation.Nonnull AccountConfig source) {
@jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SOURCE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public AccountConfig getSource() {
+ public SourceConfig getSource() {
return source;
}
@JsonProperty(JSON_PROPERTY_SOURCE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setSource(@jakarta.annotation.Nonnull AccountConfig source) {
+ public void setSource(@jakarta.annotation.Nonnull SourceConfig source) {
this.source = source;
}
@@ -413,6 +419,29 @@ public void setAccount(@jakarta.annotation.Nullable AccountConfig account) {
this.account = account;
}
+ public PolicyRule side(@jakarta.annotation.Nullable OrderSide side) {
+ this.side = side;
+ return this;
+ }
+
+ /**
+ * Get side
+ *
+ * @return side
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SIDE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public OrderSide getSide() {
+ return side;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SIDE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSide(@jakarta.annotation.Nullable OrderSide side) {
+ this.side = side;
+ }
+
public PolicyRule verdict(@jakarta.annotation.Nonnull VerdictConfig verdict) {
this.verdict = verdict;
return this;
@@ -461,7 +490,7 @@ public void setAmountOverTime(
this.amountOverTime = amountOverTime;
}
- public PolicyRule amount(@jakarta.annotation.Nullable AmountRange amount) {
+ public PolicyRule amount(@jakarta.annotation.Nullable AmountConfig amount) {
this.amount = amount;
return this;
}
@@ -474,13 +503,13 @@ public PolicyRule amount(@jakarta.annotation.Nullable AmountRange amount) {
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AMOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public AmountRange getAmount() {
+ public AmountConfig getAmount() {
return amount;
}
@JsonProperty(JSON_PROPERTY_AMOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setAmount(@jakarta.annotation.Nullable AmountRange amount) {
+ public void setAmount(@jakarta.annotation.Nullable AmountConfig amount) {
this.amount = amount;
}
@@ -693,6 +722,29 @@ public void setBaseAmount(@jakarta.annotation.Nullable AmountRange baseAmount) {
this.baseAmount = baseAmount;
}
+ public PolicyRule dAppAddress(@jakarta.annotation.Nullable DAppAddressConfig dAppAddress) {
+ this.dAppAddress = dAppAddress;
+ return this;
+ }
+
+ /**
+ * Get dAppAddress
+ *
+ * @return dAppAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_D_APP_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public DAppAddressConfig getdAppAddress() {
+ return dAppAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_D_APP_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setdAppAddress(@jakarta.annotation.Nullable DAppAddressConfig dAppAddress) {
+ this.dAppAddress = dAppAddress;
+ }
+
public PolicyRule derivationPath(
@jakarta.annotation.Nullable DerivationPathConfig derivationPath) {
this.derivationPath = derivationPath;
@@ -761,6 +813,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.source, policyRule.source)
&& Objects.equals(this.destination, policyRule.destination)
&& Objects.equals(this.account, policyRule.account)
+ && Objects.equals(this.side, policyRule.side)
&& Objects.equals(this.verdict, policyRule.verdict)
&& Objects.equals(this.amountOverTime, policyRule.amountOverTime)
&& Objects.equals(this.amount, policyRule.amount)
@@ -773,6 +826,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.baseAsset, policyRule.baseAsset)
&& Objects.equals(this.quoteAmount, policyRule.quoteAmount)
&& Objects.equals(this.baseAmount, policyRule.baseAmount)
+ && Objects.equals(this.dAppAddress, policyRule.dAppAddress)
&& Objects.equals(this.derivationPath, policyRule.derivationPath)
&& Objects.equals(this.index, policyRule.index);
}
@@ -790,6 +844,7 @@ public int hashCode() {
source,
destination,
account,
+ side,
verdict,
amountOverTime,
amount,
@@ -802,6 +857,7 @@ public int hashCode() {
baseAsset,
quoteAmount,
baseAmount,
+ dAppAddress,
derivationPath,
index);
}
@@ -822,6 +878,7 @@ public String toString() {
sb.append(" source: ").append(toIndentedString(source)).append("\n");
sb.append(" destination: ").append(toIndentedString(destination)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
+ sb.append(" side: ").append(toIndentedString(side)).append("\n");
sb.append(" verdict: ").append(toIndentedString(verdict)).append("\n");
sb.append(" amountOverTime: ").append(toIndentedString(amountOverTime)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
@@ -838,6 +895,7 @@ public String toString() {
sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
sb.append(" quoteAmount: ").append(toIndentedString(quoteAmount)).append("\n");
sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
+ sb.append(" dAppAddress: ").append(toIndentedString(dAppAddress)).append("\n");
sb.append(" derivationPath: ").append(toIndentedString(derivationPath)).append("\n");
sb.append(" index: ").append(toIndentedString(index)).append("\n");
sb.append("}");
@@ -961,6 +1019,16 @@ public String toUrlQueryString(String prefix) {
joiner.add(getAccount().toUrlQueryString(prefix + "account" + suffix));
}
+ // add `side` to the URL query string
+ if (getSide() != null) {
+ joiner.add(
+ String.format(
+ "%sside%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSide()))));
+ }
+
// add `verdict` to the URL query string
if (getVerdict() != null) {
joiner.add(getVerdict().toUrlQueryString(prefix + "verdict" + suffix));
@@ -1032,6 +1100,11 @@ public String toUrlQueryString(String prefix) {
joiner.add(getBaseAmount().toUrlQueryString(prefix + "baseAmount" + suffix));
}
+ // add `dAppAddress` to the URL query string
+ if (getdAppAddress() != null) {
+ joiner.add(getdAppAddress().toUrlQueryString(prefix + "dAppAddress" + suffix));
+ }
+
// add `derivationPath` to the URL query string
if (getDerivationPath() != null) {
joiner.add(getDerivationPath().toUrlQueryString(prefix + "derivationPath" + suffix));
diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyTag.java b/src/main/java/com/fireblocks/sdk/model/PolicyTag.java
new file mode 100644
index 00000000..780dca54
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PolicyTag.java
@@ -0,0 +1,143 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Policy tag for matching */
+@JsonPropertyOrder({PolicyTag.JSON_PROPERTY_ID})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class PolicyTag {
+ public static final String JSON_PROPERTY_ID = "id";
+ @jakarta.annotation.Nonnull private String id;
+
+ public PolicyTag() {}
+
+ @JsonCreator
+ public PolicyTag(@JsonProperty(value = JSON_PROPERTY_ID, required = true) String id) {
+ this.id = id;
+ }
+
+ public PolicyTag id(@jakarta.annotation.Nonnull String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Tag identifier
+ *
+ * @return id
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getId() {
+ return id;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setId(@jakarta.annotation.Nonnull String id) {
+ this.id = id;
+ }
+
+ /** Return true if this PolicyTag object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PolicyTag policyTag = (PolicyTag) o;
+ return Objects.equals(this.id, policyTag.id);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(id);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PolicyTag {\n");
+ sb.append(" id: ").append(toIndentedString(id)).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 `id` to the URL query string
+ if (getId() != null) {
+ joiner.add(
+ String.format(
+ "%sid%s=%s",
+ prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java
new file mode 100644
index 00000000..5e667690
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java
@@ -0,0 +1,80 @@
+/*
+ * 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.JsonValue;
+
+/** Policy verdict action */
+public enum PolicyVerdictActionEnum {
+ ALLOW("ALLOW"),
+
+ BLOCK("BLOCK"),
+
+ _2_TIER("2-TIER"),
+
+ SCREEN("SCREEN"),
+
+ ACCEPT("ACCEPT"),
+
+ REJECT("REJECT"),
+
+ ALERT("ALERT"),
+
+ WAIT("WAIT"),
+
+ FREEZE("FREEZE"),
+
+ CANCEL("CANCEL");
+
+ private String value;
+
+ PolicyVerdictActionEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static PolicyVerdictActionEnum fromValue(String value) {
+ for (PolicyVerdictActionEnum b : PolicyVerdictActionEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java
new file mode 100644
index 00000000..b48c4057
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java
@@ -0,0 +1,78 @@
+/*
+ * 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.JsonValue;
+
+/** Policy verdict action */
+public enum PolicyVerdictActionEnum2 {
+ ALLOW("ALLOW"),
+
+ BLOCK("BLOCK"),
+
+ SCREEN("SCREEN"),
+
+ ACCEPT("ACCEPT"),
+
+ REJECT("REJECT"),
+
+ ALERT("ALERT"),
+
+ WAIT("WAIT"),
+
+ FREEZE("FREEZE"),
+
+ CANCEL("CANCEL");
+
+ private String value;
+
+ PolicyVerdictActionEnum2(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static PolicyVerdictActionEnum2 fromValue(String value) {
+ for (PolicyVerdictActionEnum2 b : PolicyVerdictActionEnum2.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java
index a6b0fc13..7afbd4a1 100644
--- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java
@@ -24,29 +24,27 @@
/** QuoteExecutionResponseDetails */
@JsonPropertyOrder({
+ QuoteExecutionResponseDetails.JSON_PROPERTY_TYPE,
+ QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ID,
+ QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_AMOUNT,
QuoteExecutionResponseDetails.JSON_PROPERTY_SIDE,
QuoteExecutionResponseDetails.JSON_PROPERTY_BASE_AMOUNT,
QuoteExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_ID,
QuoteExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_RAIL,
QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_ID,
- QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL,
- QuoteExecutionResponseDetails.JSON_PROPERTY_TYPE,
- QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ID,
- QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_AMOUNT
+ QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class QuoteExecutionResponseDetails {
- /** Side of the order */
- public enum SideEnum {
- BUY(String.valueOf("BUY")),
-
- SELL(String.valueOf("SELL"));
+ /** Order type for quote orders */
+ public enum TypeEnum {
+ QUOTE(String.valueOf("QUOTE"));
private String value;
- SideEnum(String value) {
+ TypeEnum(String value) {
this.value = value;
}
@@ -61,8 +59,8 @@ public String toString() {
}
@JsonCreator
- public static SideEnum fromValue(String value) {
- for (SideEnum b : SideEnum.values()) {
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -71,31 +69,24 @@ public static SideEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_SIDE = "side";
- @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
-
- public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
- @jakarta.annotation.Nonnull private String baseAmount;
-
- public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
- @jakarta.annotation.Nonnull private String baseAssetId;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
- public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
- @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+ public static final String JSON_PROPERTY_QUOTE_ID = "quoteId";
+ @jakarta.annotation.Nonnull private String quoteId;
- public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
- @jakarta.annotation.Nonnull private String quoteAssetId;
+ public static final String JSON_PROPERTY_QUOTE_AMOUNT = "quoteAmount";
+ @jakarta.annotation.Nonnull private String quoteAmount;
- public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
- @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
+ /** Side of the order */
+ public enum SideEnum {
+ BUY(String.valueOf("BUY")),
- /** Order type for quote orders */
- public enum TypeEnum {
- QUOTE(String.valueOf("QUOTE"));
+ SELL(String.valueOf("SELL"));
private String value;
- TypeEnum(String value) {
+ SideEnum(String value) {
this.value = value;
}
@@ -110,8 +101,8 @@ public String toString() {
}
@JsonCreator
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
+ public static SideEnum fromValue(String value) {
+ for (SideEnum b : SideEnum.values()) {
if (b.value.equals(value)) {
return b;
}
@@ -120,33 +111,112 @@ public static TypeEnum fromValue(String value) {
}
}
- public static final String JSON_PROPERTY_TYPE = "type";
- @jakarta.annotation.Nonnull private TypeEnum type;
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY;
- public static final String JSON_PROPERTY_QUOTE_ID = "quoteId";
- @jakarta.annotation.Nonnull private String quoteId;
+ public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
+ @jakarta.annotation.Nonnull private String baseAmount;
- public static final String JSON_PROPERTY_QUOTE_AMOUNT = "quoteAmount";
- @jakarta.annotation.Nonnull private String quoteAmount;
+ public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
+ @jakarta.annotation.Nonnull private String baseAssetId;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail";
+ @jakarta.annotation.Nullable private TransferRail baseAssetRail;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
+ @jakarta.annotation.Nonnull private String quoteAssetId;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail";
+ @jakarta.annotation.Nullable private TransferRail quoteAssetRail;
public QuoteExecutionResponseDetails() {}
@JsonCreator
public QuoteExecutionResponseDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId,
+ @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount,
@JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side,
@JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount,
@JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId,
@JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true)
- String quoteAssetId,
- @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
- @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId,
- @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount) {
+ String quoteAssetId) {
+ this.type = type;
+ this.quoteId = quoteId;
+ this.quoteAmount = quoteAmount;
this.side = side;
this.baseAmount = baseAmount;
this.baseAssetId = baseAssetId;
this.quoteAssetId = quoteAssetId;
+ }
+
+ public QuoteExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for quote orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
+ }
+
+ public QuoteExecutionResponseDetails quoteId(@jakarta.annotation.Nonnull String quoteId) {
+ this.quoteId = quoteId;
+ return this;
+ }
+
+ /**
+ * Quote ID for quote orders
+ *
+ * @return quoteId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getQuoteId() {
+ return quoteId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setQuoteId(@jakarta.annotation.Nonnull String quoteId) {
this.quoteId = quoteId;
+ }
+
+ public QuoteExecutionResponseDetails quoteAmount(
+ @jakarta.annotation.Nonnull String quoteAmount) {
+ this.quoteAmount = quoteAmount;
+ return this;
+ }
+
+ /**
+ * Quote amount for quote orders
+ *
+ * @return quoteAmount
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getQuoteAmount() {
+ return quoteAmount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setQuoteAmount(@jakarta.annotation.Nonnull String quoteAmount) {
this.quoteAmount = quoteAmount;
}
@@ -292,76 +362,6 @@ public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAss
this.quoteAssetRail = quoteAssetRail;
}
- public QuoteExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- return this;
- }
-
- /**
- * Order type for quote orders
- *
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public TypeEnum getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
- this.type = type;
- }
-
- public QuoteExecutionResponseDetails quoteId(@jakarta.annotation.Nonnull String quoteId) {
- this.quoteId = quoteId;
- return this;
- }
-
- /**
- * Quote ID for quote orders
- *
- * @return quoteId
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_QUOTE_ID)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getQuoteId() {
- return quoteId;
- }
-
- @JsonProperty(JSON_PROPERTY_QUOTE_ID)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setQuoteId(@jakarta.annotation.Nonnull String quoteId) {
- this.quoteId = quoteId;
- }
-
- public QuoteExecutionResponseDetails quoteAmount(
- @jakarta.annotation.Nonnull String quoteAmount) {
- this.quoteAmount = quoteAmount;
- return this;
- }
-
- /**
- * Quote amount for quote orders
- *
- * @return quoteAmount
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getQuoteAmount() {
- return quoteAmount;
- }
-
- @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setQuoteAmount(@jakarta.annotation.Nonnull String quoteAmount) {
- this.quoteAmount = quoteAmount;
- }
-
/** Return true if this QuoteExecutionResponseDetails object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -373,44 +373,45 @@ public boolean equals(Object o) {
}
QuoteExecutionResponseDetails quoteExecutionResponseDetails =
(QuoteExecutionResponseDetails) o;
- return Objects.equals(this.side, quoteExecutionResponseDetails.side)
+ return Objects.equals(this.type, quoteExecutionResponseDetails.type)
+ && Objects.equals(this.quoteId, quoteExecutionResponseDetails.quoteId)
+ && Objects.equals(this.quoteAmount, quoteExecutionResponseDetails.quoteAmount)
+ && Objects.equals(this.side, quoteExecutionResponseDetails.side)
&& Objects.equals(this.baseAmount, quoteExecutionResponseDetails.baseAmount)
&& Objects.equals(this.baseAssetId, quoteExecutionResponseDetails.baseAssetId)
&& Objects.equals(this.baseAssetRail, quoteExecutionResponseDetails.baseAssetRail)
&& Objects.equals(this.quoteAssetId, quoteExecutionResponseDetails.quoteAssetId)
- && Objects.equals(this.quoteAssetRail, quoteExecutionResponseDetails.quoteAssetRail)
- && Objects.equals(this.type, quoteExecutionResponseDetails.type)
- && Objects.equals(this.quoteId, quoteExecutionResponseDetails.quoteId)
- && Objects.equals(this.quoteAmount, quoteExecutionResponseDetails.quoteAmount);
+ && Objects.equals(
+ this.quoteAssetRail, quoteExecutionResponseDetails.quoteAssetRail);
}
@Override
public int hashCode() {
return Objects.hash(
+ type,
+ quoteId,
+ quoteAmount,
side,
baseAmount,
baseAssetId,
baseAssetRail,
quoteAssetId,
- quoteAssetRail,
- type,
- quoteId,
- quoteAmount);
+ quoteAssetRail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QuoteExecutionResponseDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" quoteId: ").append(toIndentedString(quoteId)).append("\n");
+ sb.append(" quoteAmount: ").append(toIndentedString(quoteAmount)).append("\n");
sb.append(" side: ").append(toIndentedString(side)).append("\n");
sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n");
sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n");
sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n");
sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" quoteId: ").append(toIndentedString(quoteId)).append("\n");
- sb.append(" quoteAmount: ").append(toIndentedString(quoteAmount)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -458,6 +459,36 @@ public String toUrlQueryString(String prefix) {
StringJoiner joiner = new StringJoiner("&");
+ // add `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `quoteId` to the URL query string
+ if (getQuoteId() != null) {
+ joiner.add(
+ String.format(
+ "%squoteId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteId()))));
+ }
+
+ // add `quoteAmount` to the URL query string
+ if (getQuoteAmount() != null) {
+ joiner.add(
+ String.format(
+ "%squoteAmount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteAmount()))));
+ }
+
// add `side` to the URL query string
if (getSide() != null) {
joiner.add(
@@ -518,36 +549,6 @@ public String toUrlQueryString(String prefix) {
ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail()))));
}
- // add `type` to the URL query string
- if (getType() != null) {
- joiner.add(
- String.format(
- "%stype%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getType()))));
- }
-
- // add `quoteId` to the URL query string
- if (getQuoteId() != null) {
- joiner.add(
- String.format(
- "%squoteId%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getQuoteId()))));
- }
-
- // add `quoteAmount` to the URL query string
- if (getQuoteAmount() != null) {
- joiner.add(
- String.format(
- "%squoteAmount%s=%s",
- prefix,
- suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getQuoteAmount()))));
- }
-
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java
new file mode 100644
index 00000000..39271f16
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java
@@ -0,0 +1,262 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** QuoteExecutionTypeDetails */
+@JsonPropertyOrder({
+ QuoteExecutionTypeDetails.JSON_PROPERTY_TYPE,
+ QuoteExecutionTypeDetails.JSON_PROPERTY_QUOTE_ID,
+ QuoteExecutionTypeDetails.JSON_PROPERTY_QUOTE_AMOUNT
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class QuoteExecutionTypeDetails {
+ /** Order type for quote orders */
+ public enum TypeEnum {
+ QUOTE(String.valueOf("QUOTE"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_QUOTE_ID = "quoteId";
+ @jakarta.annotation.Nonnull private String quoteId;
+
+ public static final String JSON_PROPERTY_QUOTE_AMOUNT = "quoteAmount";
+ @jakarta.annotation.Nonnull private String quoteAmount;
+
+ public QuoteExecutionTypeDetails() {}
+
+ @JsonCreator
+ public QuoteExecutionTypeDetails(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId,
+ @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount) {
+ this.type = type;
+ this.quoteId = quoteId;
+ this.quoteAmount = quoteAmount;
+ }
+
+ public QuoteExecutionTypeDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Order type for quote orders
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public QuoteExecutionTypeDetails quoteId(@jakarta.annotation.Nonnull String quoteId) {
+ this.quoteId = quoteId;
+ return this;
+ }
+
+ /**
+ * Quote ID for quote orders
+ *
+ * @return quoteId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getQuoteId() {
+ return quoteId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setQuoteId(@jakarta.annotation.Nonnull String quoteId) {
+ this.quoteId = quoteId;
+ }
+
+ public QuoteExecutionTypeDetails quoteAmount(@jakarta.annotation.Nonnull String quoteAmount) {
+ this.quoteAmount = quoteAmount;
+ return this;
+ }
+
+ /**
+ * Quote amount for quote orders
+ *
+ * @return quoteAmount
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getQuoteAmount() {
+ return quoteAmount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setQuoteAmount(@jakarta.annotation.Nonnull String quoteAmount) {
+ this.quoteAmount = quoteAmount;
+ }
+
+ /** Return true if this QuoteExecutionTypeDetails object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ QuoteExecutionTypeDetails quoteExecutionTypeDetails = (QuoteExecutionTypeDetails) o;
+ return Objects.equals(this.type, quoteExecutionTypeDetails.type)
+ && Objects.equals(this.quoteId, quoteExecutionTypeDetails.quoteId)
+ && Objects.equals(this.quoteAmount, quoteExecutionTypeDetails.quoteAmount);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, quoteId, quoteAmount);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class QuoteExecutionTypeDetails {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" quoteId: ").append(toIndentedString(quoteId)).append("\n");
+ sb.append(" quoteAmount: ").append(toIndentedString(quoteAmount)).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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `quoteId` to the URL query string
+ if (getQuoteId() != null) {
+ joiner.add(
+ String.format(
+ "%squoteId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteId()))));
+ }
+
+ // add `quoteAmount` to the URL query string
+ if (getQuoteAmount() != null) {
+ joiner.add(
+ String.format(
+ "%squoteAmount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteAmount()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java
index 17377f6e..b20761b0 100644
--- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java
@@ -70,9 +70,7 @@ public static TypeEnum fromValue(String value) {
@jakarta.annotation.Nonnull private String quoteId;
public static final String JSON_PROPERTY_RE_QUOTE = "reQuote";
-
- @jakarta.annotation.Nullable
- private QuoteExecutionWithRequoteRequestDetailsAllOfReQuote reQuote;
+ @jakarta.annotation.Nullable private ReQuoteDetailsReQuote reQuote;
public QuoteExecutionWithRequoteRequestDetails() {}
@@ -132,8 +130,7 @@ public void setQuoteId(@jakarta.annotation.Nonnull String quoteId) {
}
public QuoteExecutionWithRequoteRequestDetails reQuote(
- @jakarta.annotation.Nullable
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote reQuote) {
+ @jakarta.annotation.Nullable ReQuoteDetailsReQuote reQuote) {
this.reQuote = reQuote;
return this;
}
@@ -146,15 +143,13 @@ public QuoteExecutionWithRequoteRequestDetails reQuote(
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RE_QUOTE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote getReQuote() {
+ public ReQuoteDetailsReQuote getReQuote() {
return reQuote;
}
@JsonProperty(JSON_PROPERTY_RE_QUOTE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setReQuote(
- @jakarta.annotation.Nullable
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote reQuote) {
+ public void setReQuote(@jakarta.annotation.Nullable ReQuoteDetailsReQuote reQuote) {
this.reQuote = reQuote;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java
index b2482751..ee6e08f6 100644
--- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java
@@ -131,9 +131,7 @@ public static SideEnum fromValue(String value) {
@jakarta.annotation.Nullable private TransferRail quoteAssetRail;
public static final String JSON_PROPERTY_RE_QUOTE = "reQuote";
-
- @jakarta.annotation.Nullable
- private QuoteExecutionWithRequoteResponseDetailsAllOfReQuote reQuote;
+ @jakarta.annotation.Nullable private ReQuoteDetailsReQuote reQuote;
public QuoteExecutionWithRequoteResponseDetails() {}
@@ -373,8 +371,7 @@ public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAss
}
public QuoteExecutionWithRequoteResponseDetails reQuote(
- @jakarta.annotation.Nullable
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote reQuote) {
+ @jakarta.annotation.Nullable ReQuoteDetailsReQuote reQuote) {
this.reQuote = reQuote;
return this;
}
@@ -387,15 +384,13 @@ public QuoteExecutionWithRequoteResponseDetails reQuote(
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RE_QUOTE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuote getReQuote() {
+ public ReQuoteDetailsReQuote getReQuote() {
return reQuote;
}
@JsonProperty(JSON_PROPERTY_RE_QUOTE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setReQuote(
- @jakarta.annotation.Nullable
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote reQuote) {
+ public void setReQuote(@jakarta.annotation.Nullable ReQuoteDetailsReQuote reQuote) {
this.reQuote = reQuote;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.java
deleted file mode 100644
index 6119aa6e..00000000
--- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*
- * Fireblocks API
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * The version of the OpenAPI document: 1.6.2
- * Contact: support@fireblocks.com
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-package com.fireblocks.sdk.model;
-
-
-import com.fasterxml.jackson.core.JsonGenerator;
-import com.fasterxml.jackson.core.JsonParser;
-import com.fasterxml.jackson.core.JsonProcessingException;
-import com.fasterxml.jackson.core.JsonToken;
-import com.fasterxml.jackson.databind.DeserializationContext;
-import com.fasterxml.jackson.databind.JsonMappingException;
-import com.fasterxml.jackson.databind.JsonNode;
-import com.fasterxml.jackson.databind.MapperFeature;
-import com.fasterxml.jackson.databind.SerializerProvider;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import com.fasterxml.jackson.databind.annotation.JsonSerialize;
-import com.fasterxml.jackson.databind.deser.std.StdDeserializer;
-import com.fasterxml.jackson.databind.ser.std.StdSerializer;
-import com.fireblocks.sdk.JSON;
-import java.io.IOException;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.StringJoiner;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-@jakarta.annotation.Generated(
- value = "org.openapitools.codegen.languages.JavaClientCodegen",
- comments = "Generator version: 7.14.0")
-@JsonDeserialize(
- using =
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote
- .QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteDeserializer.class)
-@JsonSerialize(
- using =
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote
- .QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteSerializer.class)
-public class QuoteExecutionWithRequoteResponseDetailsAllOfReQuote extends AbstractOpenApiSchema {
- private static final Logger log =
- Logger.getLogger(QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.class.getName());
-
- public static class QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteSerializer
- extends StdSerializer {
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteSerializer(
- Class t) {
- super(t);
- }
-
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteSerializer() {
- this(null);
- }
-
- @Override
- public void serialize(
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote value,
- JsonGenerator jgen,
- SerializerProvider provider)
- throws IOException, JsonProcessingException {
- jgen.writeObject(value.getActualInstance());
- }
- }
-
- public static class QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteDeserializer
- extends StdDeserializer {
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteDeserializer() {
- this(QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.class);
- }
-
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteDeserializer(Class> vc) {
- super(vc);
- }
-
- @Override
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuote deserialize(
- JsonParser jp, DeserializationContext ctxt)
- throws IOException, JsonProcessingException {
- JsonNode tree = jp.readValueAsTree();
- Object deserialized = null;
- boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS);
- int match = 0;
- JsonToken token = tree.traverse(jp.getCodec()).nextToken();
- // deserialize MarketRequoteRequestDetails
- try {
- boolean attemptParsing = true;
- // ensure that we respect type coercion as set on the client ObjectMapper
- if (MarketRequoteRequestDetails.class.equals(Integer.class)
- || MarketRequoteRequestDetails.class.equals(Long.class)
- || MarketRequoteRequestDetails.class.equals(Float.class)
- || MarketRequoteRequestDetails.class.equals(Double.class)
- || MarketRequoteRequestDetails.class.equals(Boolean.class)
- || MarketRequoteRequestDetails.class.equals(String.class)) {
- attemptParsing = typeCoercion;
- if (!attemptParsing) {
- attemptParsing |=
- ((MarketRequoteRequestDetails.class.equals(Integer.class)
- || MarketRequoteRequestDetails.class.equals(
- Long.class))
- && token == JsonToken.VALUE_NUMBER_INT);
- attemptParsing |=
- ((MarketRequoteRequestDetails.class.equals(Float.class)
- || MarketRequoteRequestDetails.class.equals(
- Double.class))
- && token == JsonToken.VALUE_NUMBER_FLOAT);
- attemptParsing |=
- (MarketRequoteRequestDetails.class.equals(Boolean.class)
- && (token == JsonToken.VALUE_FALSE
- || token == JsonToken.VALUE_TRUE));
- attemptParsing |=
- (MarketRequoteRequestDetails.class.equals(String.class)
- && token == JsonToken.VALUE_STRING);
- }
- }
- if (attemptParsing) {
- deserialized =
- tree.traverse(jp.getCodec())
- .readValueAs(MarketRequoteRequestDetails.class);
- // TODO: there is no validation against JSON schema constraints
- // (min, max, enum, pattern...), this does not perform a strict JSON
- // validation, which means the 'match' count may be higher than it should be.
- match++;
- log.log(Level.FINER, "Input data matches schema 'MarketRequoteRequestDetails'");
- }
- } catch (Exception e) {
- // deserialization failed, continue
- log.log(
- Level.FINER,
- "Input data does not match schema 'MarketRequoteRequestDetails'",
- e);
- }
-
- // deserialize RetryRequoteRequestDetails
- try {
- boolean attemptParsing = true;
- // ensure that we respect type coercion as set on the client ObjectMapper
- if (RetryRequoteRequestDetails.class.equals(Integer.class)
- || RetryRequoteRequestDetails.class.equals(Long.class)
- || RetryRequoteRequestDetails.class.equals(Float.class)
- || RetryRequoteRequestDetails.class.equals(Double.class)
- || RetryRequoteRequestDetails.class.equals(Boolean.class)
- || RetryRequoteRequestDetails.class.equals(String.class)) {
- attemptParsing = typeCoercion;
- if (!attemptParsing) {
- attemptParsing |=
- ((RetryRequoteRequestDetails.class.equals(Integer.class)
- || RetryRequoteRequestDetails.class.equals(
- Long.class))
- && token == JsonToken.VALUE_NUMBER_INT);
- attemptParsing |=
- ((RetryRequoteRequestDetails.class.equals(Float.class)
- || RetryRequoteRequestDetails.class.equals(
- Double.class))
- && token == JsonToken.VALUE_NUMBER_FLOAT);
- attemptParsing |=
- (RetryRequoteRequestDetails.class.equals(Boolean.class)
- && (token == JsonToken.VALUE_FALSE
- || token == JsonToken.VALUE_TRUE));
- attemptParsing |=
- (RetryRequoteRequestDetails.class.equals(String.class)
- && token == JsonToken.VALUE_STRING);
- }
- }
- if (attemptParsing) {
- deserialized =
- tree.traverse(jp.getCodec())
- .readValueAs(RetryRequoteRequestDetails.class);
- // TODO: there is no validation against JSON schema constraints
- // (min, max, enum, pattern...), this does not perform a strict JSON
- // validation, which means the 'match' count may be higher than it should be.
- match++;
- log.log(Level.FINER, "Input data matches schema 'RetryRequoteRequestDetails'");
- }
- } catch (Exception e) {
- // deserialization failed, continue
- log.log(
- Level.FINER,
- "Input data does not match schema 'RetryRequoteRequestDetails'",
- e);
- }
-
- if (match == 1) {
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote ret =
- new QuoteExecutionWithRequoteResponseDetailsAllOfReQuote();
- ret.setActualInstance(deserialized);
- return ret;
- }
- throw new IOException(
- String.format(
- "Failed deserialization for"
- + " QuoteExecutionWithRequoteResponseDetailsAllOfReQuote: %d"
- + " classes match result, expected 1",
- match));
- }
-
- /** Handle deserialization of the 'null' value. */
- @Override
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuote getNullValue(
- DeserializationContext ctxt) throws JsonMappingException {
- throw new JsonMappingException(
- ctxt.getParser(),
- "QuoteExecutionWithRequoteResponseDetailsAllOfReQuote cannot be null");
- }
- }
-
- // store a list of schema names defined in oneOf
- public static final Map> schemas = new HashMap<>();
-
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuote() {
- super("oneOf", Boolean.FALSE);
- }
-
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuote(MarketRequoteRequestDetails o) {
- super("oneOf", Boolean.FALSE);
- setActualInstance(o);
- }
-
- public QuoteExecutionWithRequoteResponseDetailsAllOfReQuote(RetryRequoteRequestDetails o) {
- super("oneOf", Boolean.FALSE);
- setActualInstance(o);
- }
-
- static {
- schemas.put("MarketRequoteRequestDetails", MarketRequoteRequestDetails.class);
- schemas.put("RetryRequoteRequestDetails", RetryRequoteRequestDetails.class);
- JSON.registerDescendants(
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.class,
- Collections.unmodifiableMap(schemas));
- // Initialize and register the discriminator mappings.
- Map> mappings = new HashMap>();
- mappings.put("MARKET", MarketRequoteRequestDetails.class);
- mappings.put("RETRY", RetryRequoteRequestDetails.class);
- mappings.put("MarketRequoteRequestDetails", MarketRequoteRequestDetails.class);
- mappings.put("RetryRequoteRequestDetails", RetryRequoteRequestDetails.class);
- mappings.put(
- "QuoteExecutionWithRequoteResponseDetails_allOf_reQuote",
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.class);
- JSON.registerDiscriminator(
- QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.class, "type", mappings);
- }
-
- @Override
- public Map> getSchemas() {
- return QuoteExecutionWithRequoteResponseDetailsAllOfReQuote.schemas;
- }
-
- /**
- * Set the instance that matches the oneOf child schema, check the instance parameter is valid
- * against the oneOf child schemas: MarketRequoteRequestDetails, RetryRequoteRequestDetails
- *
- * 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(
- MarketRequoteRequestDetails.class, instance, new HashSet>())) {
- super.setActualInstance(instance);
- return;
- }
-
- if (JSON.isInstanceOf(
- RetryRequoteRequestDetails.class, instance, new HashSet>())) {
- super.setActualInstance(instance);
- return;
- }
-
- throw new RuntimeException(
- "Invalid instance type. Must be MarketRequoteRequestDetails,"
- + " RetryRequoteRequestDetails");
- }
-
- /**
- * Get the actual instance, which can be the following: MarketRequoteRequestDetails,
- * RetryRequoteRequestDetails
- *
- * @return The actual instance (MarketRequoteRequestDetails, RetryRequoteRequestDetails)
- */
- @Override
- public Object getActualInstance() {
- return super.getActualInstance();
- }
-
- /**
- * Get the actual instance of `MarketRequoteRequestDetails`. If the actual instance is not
- * `MarketRequoteRequestDetails`, the ClassCastException will be thrown.
- *
- * @return The actual instance of `MarketRequoteRequestDetails`
- * @throws ClassCastException if the instance is not `MarketRequoteRequestDetails`
- */
- public MarketRequoteRequestDetails getMarketRequoteRequestDetails() throws ClassCastException {
- return (MarketRequoteRequestDetails) super.getActualInstance();
- }
-
- /**
- * Get the actual instance of `RetryRequoteRequestDetails`. If the actual instance is not
- * `RetryRequoteRequestDetails`, the ClassCastException will be thrown.
- *
- * @return The actual instance of `RetryRequoteRequestDetails`
- * @throws ClassCastException if the instance is not `RetryRequoteRequestDetails`
- */
- public RetryRequoteRequestDetails getRetryRequoteRequestDetails() throws ClassCastException {
- return (RetryRequoteRequestDetails) 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 MarketRequoteRequestDetails) {
- if (getActualInstance() != null) {
- joiner.add(
- ((MarketRequoteRequestDetails) getActualInstance())
- .toUrlQueryString(prefix + "one_of_0" + suffix));
- }
- return joiner.toString();
- }
- if (getActualInstance() instanceof RetryRequoteRequestDetails) {
- if (getActualInstance() != null) {
- joiner.add(
- ((RetryRequoteRequestDetails) getActualInstance())
- .toUrlQueryString(prefix + "one_of_1" + suffix));
- }
- return joiner.toString();
- }
- return null;
- }
-}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java b/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java
new file mode 100644
index 00000000..299e309c
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java
@@ -0,0 +1,712 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** QuotePropertiesDetails */
+@JsonPropertyOrder({
+ QuotePropertiesDetails.JSON_PROPERTY_VIA,
+ QuotePropertiesDetails.JSON_PROPERTY_ID,
+ QuotePropertiesDetails.JSON_PROPERTY_TYPE,
+ QuotePropertiesDetails.JSON_PROPERTY_QUOTE_ASSET_ID,
+ QuotePropertiesDetails.JSON_PROPERTY_BASE_ASSET_ID,
+ QuotePropertiesDetails.JSON_PROPERTY_BASE_AMOUNT,
+ QuotePropertiesDetails.JSON_PROPERTY_QUOTE_AMOUNT,
+ QuotePropertiesDetails.JSON_PROPERTY_PRICE_IMPACT,
+ QuotePropertiesDetails.JSON_PROPERTY_QUOTE_MIN_AMOUNT,
+ QuotePropertiesDetails.JSON_PROPERTY_EXECUTION_STEPS,
+ QuotePropertiesDetails.JSON_PROPERTY_GENERAL_FEES,
+ QuotePropertiesDetails.JSON_PROPERTY_SIDE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class QuotePropertiesDetails {
+ public static final String JSON_PROPERTY_VIA = "via";
+ @jakarta.annotation.Nonnull private AccessType via;
+
+ public static final String JSON_PROPERTY_ID = "id";
+ @jakarta.annotation.Nonnull private String id;
+
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ COMMITTED(String.valueOf("COMMITTED")),
+
+ INDICATIVE(String.valueOf("INDICATIVE"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId";
+ @jakarta.annotation.Nonnull private String quoteAssetId;
+
+ public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId";
+ @jakarta.annotation.Nonnull private String baseAssetId;
+
+ public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount";
+ @jakarta.annotation.Nonnull private String baseAmount;
+
+ public static final String JSON_PROPERTY_QUOTE_AMOUNT = "quoteAmount";
+ @jakarta.annotation.Nonnull private String quoteAmount;
+
+ public static final String JSON_PROPERTY_PRICE_IMPACT = "priceImpact";
+ @jakarta.annotation.Nullable private BigDecimal priceImpact;
+
+ public static final String JSON_PROPERTY_QUOTE_MIN_AMOUNT = "quoteMinAmount";
+ @jakarta.annotation.Nullable private String quoteMinAmount;
+
+ public static final String JSON_PROPERTY_EXECUTION_STEPS = "executionSteps";
+ @jakarta.annotation.Nullable private List executionSteps;
+
+ public static final String JSON_PROPERTY_GENERAL_FEES = "generalFees";
+ @jakarta.annotation.Nullable private List generalFees;
+
+ /** Side of the order */
+ public enum SideEnum {
+ BUY(String.valueOf("BUY")),
+
+ SELL(String.valueOf("SELL"));
+
+ private String value;
+
+ SideEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static SideEnum fromValue(String value) {
+ for (SideEnum b : SideEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_SIDE = "side";
+ @jakarta.annotation.Nonnull private SideEnum side;
+
+ public QuotePropertiesDetails() {}
+
+ @JsonCreator
+ public QuotePropertiesDetails(
+ @JsonProperty(value = JSON_PROPERTY_VIA, required = true) AccessType via,
+ @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id,
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true)
+ String quoteAssetId,
+ @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId,
+ @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount,
+ @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount,
+ @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side) {
+ this.via = via;
+ this.id = id;
+ this.type = type;
+ this.quoteAssetId = quoteAssetId;
+ this.baseAssetId = baseAssetId;
+ this.baseAmount = baseAmount;
+ this.quoteAmount = quoteAmount;
+ this.side = side;
+ }
+
+ public QuotePropertiesDetails via(@jakarta.annotation.Nonnull AccessType via) {
+ this.via = via;
+ return this;
+ }
+
+ /**
+ * Get via
+ *
+ * @return via
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_VIA)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccessType getVia() {
+ return via;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VIA)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setVia(@jakarta.annotation.Nonnull AccessType via) {
+ this.via = via;
+ }
+
+ public QuotePropertiesDetails id(@jakarta.annotation.Nonnull String id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Get id
+ *
+ * @return id
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getId() {
+ return id;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setId(@jakarta.annotation.Nonnull String id) {
+ this.id = id;
+ }
+
+ public QuotePropertiesDetails type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public QuotePropertiesDetails quoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) {
+ this.quoteAssetId = quoteAssetId;
+ return this;
+ }
+
+ /**
+ * Get quoteAssetId
+ *
+ * @return quoteAssetId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getQuoteAssetId() {
+ return quoteAssetId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setQuoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) {
+ this.quoteAssetId = quoteAssetId;
+ }
+
+ public QuotePropertiesDetails baseAssetId(@jakarta.annotation.Nonnull String baseAssetId) {
+ this.baseAssetId = baseAssetId;
+ return this;
+ }
+
+ /**
+ * Get baseAssetId
+ *
+ * @return baseAssetId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getBaseAssetId() {
+ return baseAssetId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) {
+ this.baseAssetId = baseAssetId;
+ }
+
+ public QuotePropertiesDetails baseAmount(@jakarta.annotation.Nonnull String baseAmount) {
+ this.baseAmount = baseAmount;
+ return this;
+ }
+
+ /**
+ * Get baseAmount
+ *
+ * @return baseAmount
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_BASE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getBaseAmount() {
+ return baseAmount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBaseAmount(@jakarta.annotation.Nonnull String baseAmount) {
+ this.baseAmount = baseAmount;
+ }
+
+ public QuotePropertiesDetails quoteAmount(@jakarta.annotation.Nonnull String quoteAmount) {
+ this.quoteAmount = quoteAmount;
+ return this;
+ }
+
+ /**
+ * Get quoteAmount
+ *
+ * @return quoteAmount
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getQuoteAmount() {
+ return quoteAmount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setQuoteAmount(@jakarta.annotation.Nonnull String quoteAmount) {
+ this.quoteAmount = quoteAmount;
+ }
+
+ public QuotePropertiesDetails priceImpact(@jakarta.annotation.Nullable BigDecimal priceImpact) {
+ this.priceImpact = priceImpact;
+ return this;
+ }
+
+ /**
+ * Get priceImpact
+ *
+ * @return priceImpact
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PRICE_IMPACT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getPriceImpact() {
+ return priceImpact;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PRICE_IMPACT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setPriceImpact(@jakarta.annotation.Nullable BigDecimal priceImpact) {
+ this.priceImpact = priceImpact;
+ }
+
+ public QuotePropertiesDetails quoteMinAmount(
+ @jakarta.annotation.Nullable String quoteMinAmount) {
+ this.quoteMinAmount = quoteMinAmount;
+ return this;
+ }
+
+ /**
+ * Get quoteMinAmount
+ *
+ * @return quoteMinAmount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_QUOTE_MIN_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getQuoteMinAmount() {
+ return quoteMinAmount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_QUOTE_MIN_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setQuoteMinAmount(@jakarta.annotation.Nullable String quoteMinAmount) {
+ this.quoteMinAmount = quoteMinAmount;
+ }
+
+ public QuotePropertiesDetails executionSteps(
+ @jakarta.annotation.Nullable List executionSteps) {
+ this.executionSteps = executionSteps;
+ return this;
+ }
+
+ public QuotePropertiesDetails addExecutionStepsItem(ExecutionStepDetails executionStepsItem) {
+ if (this.executionSteps == null) {
+ this.executionSteps = new ArrayList<>();
+ }
+ this.executionSteps.add(executionStepsItem);
+ return this;
+ }
+
+ /**
+ * Get executionSteps
+ *
+ * @return executionSteps
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getExecutionSteps() {
+ return executionSteps;
+ }
+
+ @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setExecutionSteps(
+ @jakarta.annotation.Nullable List executionSteps) {
+ this.executionSteps = executionSteps;
+ }
+
+ public QuotePropertiesDetails generalFees(@jakarta.annotation.Nullable List generalFees) {
+ this.generalFees = generalFees;
+ return this;
+ }
+
+ public QuotePropertiesDetails addGeneralFeesItem(Fee generalFeesItem) {
+ if (this.generalFees == null) {
+ this.generalFees = new ArrayList<>();
+ }
+ this.generalFees.add(generalFeesItem);
+ return this;
+ }
+
+ /**
+ * Get generalFees
+ *
+ * @return generalFees
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GENERAL_FEES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getGeneralFees() {
+ return generalFees;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GENERAL_FEES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGeneralFees(@jakarta.annotation.Nullable List generalFees) {
+ this.generalFees = generalFees;
+ }
+
+ public QuotePropertiesDetails side(@jakarta.annotation.Nonnull SideEnum side) {
+ this.side = side;
+ return this;
+ }
+
+ /**
+ * Side of the order
+ *
+ * @return side
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SIDE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public SideEnum getSide() {
+ return side;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SIDE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setSide(@jakarta.annotation.Nonnull SideEnum side) {
+ this.side = side;
+ }
+
+ /** Return true if this QuotePropertiesDetails object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ QuotePropertiesDetails quotePropertiesDetails = (QuotePropertiesDetails) o;
+ return Objects.equals(this.via, quotePropertiesDetails.via)
+ && Objects.equals(this.id, quotePropertiesDetails.id)
+ && Objects.equals(this.type, quotePropertiesDetails.type)
+ && Objects.equals(this.quoteAssetId, quotePropertiesDetails.quoteAssetId)
+ && Objects.equals(this.baseAssetId, quotePropertiesDetails.baseAssetId)
+ && Objects.equals(this.baseAmount, quotePropertiesDetails.baseAmount)
+ && Objects.equals(this.quoteAmount, quotePropertiesDetails.quoteAmount)
+ && Objects.equals(this.priceImpact, quotePropertiesDetails.priceImpact)
+ && Objects.equals(this.quoteMinAmount, quotePropertiesDetails.quoteMinAmount)
+ && Objects.equals(this.executionSteps, quotePropertiesDetails.executionSteps)
+ && Objects.equals(this.generalFees, quotePropertiesDetails.generalFees)
+ && Objects.equals(this.side, quotePropertiesDetails.side);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ via,
+ id,
+ type,
+ quoteAssetId,
+ baseAssetId,
+ baseAmount,
+ quoteAmount,
+ priceImpact,
+ quoteMinAmount,
+ executionSteps,
+ generalFees,
+ side);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class QuotePropertiesDetails {\n");
+ sb.append(" via: ").append(toIndentedString(via)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n");
+ sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n");
+ sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n");
+ sb.append(" quoteAmount: ").append(toIndentedString(quoteAmount)).append("\n");
+ sb.append(" priceImpact: ").append(toIndentedString(priceImpact)).append("\n");
+ sb.append(" quoteMinAmount: ").append(toIndentedString(quoteMinAmount)).append("\n");
+ sb.append(" executionSteps: ").append(toIndentedString(executionSteps)).append("\n");
+ sb.append(" generalFees: ").append(toIndentedString(generalFees)).append("\n");
+ sb.append(" side: ").append(toIndentedString(side)).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 `via` to the URL query string
+ if (getVia() != null) {
+ joiner.add(getVia().toUrlQueryString(prefix + "via" + suffix));
+ }
+
+ // add `id` to the URL query string
+ if (getId() != null) {
+ joiner.add(
+ String.format(
+ "%sid%s=%s",
+ prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId()))));
+ }
+
+ // add `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `quoteAssetId` to the URL query string
+ if (getQuoteAssetId() != null) {
+ joiner.add(
+ String.format(
+ "%squoteAssetId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetId()))));
+ }
+
+ // add `baseAssetId` to the URL query string
+ if (getBaseAssetId() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAssetId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId()))));
+ }
+
+ // add `baseAmount` to the URL query string
+ if (getBaseAmount() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAmount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAmount()))));
+ }
+
+ // add `quoteAmount` to the URL query string
+ if (getQuoteAmount() != null) {
+ joiner.add(
+ String.format(
+ "%squoteAmount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteAmount()))));
+ }
+
+ // add `priceImpact` to the URL query string
+ if (getPriceImpact() != null) {
+ joiner.add(
+ String.format(
+ "%spriceImpact%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getPriceImpact()))));
+ }
+
+ // add `quoteMinAmount` to the URL query string
+ if (getQuoteMinAmount() != null) {
+ joiner.add(
+ String.format(
+ "%squoteMinAmount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getQuoteMinAmount()))));
+ }
+
+ // add `executionSteps` to the URL query string
+ if (getExecutionSteps() != null) {
+ for (int i = 0; i < getExecutionSteps().size(); i++) {
+ if (getExecutionSteps().get(i) != null) {
+ joiner.add(
+ getExecutionSteps()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%sexecutionSteps%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `generalFees` to the URL query string
+ if (getGeneralFees() != null) {
+ for (int i = 0; i < getGeneralFees().size(); i++) {
+ if (getGeneralFees().get(i) != null) {
+ joiner.add(
+ getGeneralFees()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%sgeneralFees%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `side` to the URL query string
+ if (getSide() != null) {
+ joiner.add(
+ String.format(
+ "%sside%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSide()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java
new file mode 100644
index 00000000..8e206205
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java
@@ -0,0 +1,133 @@
+/*
+ * 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.util.Objects;
+import java.util.StringJoiner;
+
+/** ReQuoteDetails */
+@JsonPropertyOrder({ReQuoteDetails.JSON_PROPERTY_RE_QUOTE})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ReQuoteDetails {
+ public static final String JSON_PROPERTY_RE_QUOTE = "reQuote";
+ @jakarta.annotation.Nullable private ReQuoteDetailsReQuote reQuote;
+
+ public ReQuoteDetails() {}
+
+ public ReQuoteDetails reQuote(@jakarta.annotation.Nullable ReQuoteDetailsReQuote reQuote) {
+ this.reQuote = reQuote;
+ return this;
+ }
+
+ /**
+ * Get reQuote
+ *
+ * @return reQuote
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RE_QUOTE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ReQuoteDetailsReQuote getReQuote() {
+ return reQuote;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RE_QUOTE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setReQuote(@jakarta.annotation.Nullable ReQuoteDetailsReQuote reQuote) {
+ this.reQuote = reQuote;
+ }
+
+ /** Return true if this ReQuoteDetails object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ReQuoteDetails reQuoteDetails = (ReQuoteDetails) o;
+ return Objects.equals(this.reQuote, reQuoteDetails.reQuote);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(reQuote);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ReQuoteDetails {\n");
+ sb.append(" reQuote: ").append(toIndentedString(reQuote)).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 `reQuote` to the URL query string
+ if (getReQuote() != null) {
+ joiner.add(getReQuote().toUrlQueryString(prefix + "reQuote" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.java b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java
similarity index 80%
rename from src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.java
rename to src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java
index b1ad2bdb..26c6c281 100644
--- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.java
+++ b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java
@@ -39,52 +39,41 @@
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
-@JsonDeserialize(
- using =
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote
- .QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteDeserializer.class)
-@JsonSerialize(
- using =
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote
- .QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteSerializer.class)
-public class QuoteExecutionWithRequoteRequestDetailsAllOfReQuote extends AbstractOpenApiSchema {
- private static final Logger log =
- Logger.getLogger(QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.class.getName());
+@JsonDeserialize(using = ReQuoteDetailsReQuote.ReQuoteDetailsReQuoteDeserializer.class)
+@JsonSerialize(using = ReQuoteDetailsReQuote.ReQuoteDetailsReQuoteSerializer.class)
+public class ReQuoteDetailsReQuote extends AbstractOpenApiSchema {
+ private static final Logger log = Logger.getLogger(ReQuoteDetailsReQuote.class.getName());
- public static class QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteSerializer
- extends StdSerializer {
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteSerializer(
- Class t) {
+ public static class ReQuoteDetailsReQuoteSerializer
+ extends StdSerializer {
+ public ReQuoteDetailsReQuoteSerializer(Class t) {
super(t);
}
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteSerializer() {
+ public ReQuoteDetailsReQuoteSerializer() {
this(null);
}
@Override
public void serialize(
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote value,
- JsonGenerator jgen,
- SerializerProvider provider)
+ ReQuoteDetailsReQuote value, JsonGenerator jgen, SerializerProvider provider)
throws IOException, JsonProcessingException {
jgen.writeObject(value.getActualInstance());
}
}
- public static class QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteDeserializer
- extends StdDeserializer {
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteDeserializer() {
- this(QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.class);
+ public static class ReQuoteDetailsReQuoteDeserializer
+ extends StdDeserializer {
+ public ReQuoteDetailsReQuoteDeserializer() {
+ this(ReQuoteDetailsReQuote.class);
}
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteDeserializer(Class> vc) {
+ public ReQuoteDetailsReQuoteDeserializer(Class> vc) {
super(vc);
}
@Override
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote deserialize(
- JsonParser jp, DeserializationContext ctxt)
+ public ReQuoteDetailsReQuote deserialize(JsonParser jp, DeserializationContext ctxt)
throws IOException, JsonProcessingException {
JsonNode tree = jp.readValueAsTree();
Object deserialized = null;
@@ -190,42 +179,39 @@ public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote deserialize(
}
if (match == 1) {
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote ret =
- new QuoteExecutionWithRequoteRequestDetailsAllOfReQuote();
+ ReQuoteDetailsReQuote ret = new ReQuoteDetailsReQuote();
ret.setActualInstance(deserialized);
return ret;
}
throw new IOException(
String.format(
- "Failed deserialization for"
- + " QuoteExecutionWithRequoteRequestDetailsAllOfReQuote: %d classes"
- + " match result, expected 1",
+ "Failed deserialization for ReQuoteDetailsReQuote: %d classes match"
+ + " result, expected 1",
match));
}
/** Handle deserialization of the 'null' value. */
@Override
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote getNullValue(
- DeserializationContext ctxt) throws JsonMappingException {
+ public ReQuoteDetailsReQuote getNullValue(DeserializationContext ctxt)
+ throws JsonMappingException {
throw new JsonMappingException(
- ctxt.getParser(),
- "QuoteExecutionWithRequoteRequestDetailsAllOfReQuote cannot be null");
+ ctxt.getParser(), "ReQuoteDetailsReQuote cannot be null");
}
}
// store a list of schema names defined in oneOf
public static final Map> schemas = new HashMap<>();
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote() {
+ public ReQuoteDetailsReQuote() {
super("oneOf", Boolean.FALSE);
}
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote(MarketRequoteRequestDetails o) {
+ public ReQuoteDetailsReQuote(MarketRequoteRequestDetails o) {
super("oneOf", Boolean.FALSE);
setActualInstance(o);
}
- public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote(RetryRequoteRequestDetails o) {
+ public ReQuoteDetailsReQuote(RetryRequoteRequestDetails o) {
super("oneOf", Boolean.FALSE);
setActualInstance(o);
}
@@ -233,25 +219,20 @@ public QuoteExecutionWithRequoteRequestDetailsAllOfReQuote(RetryRequoteRequestDe
static {
schemas.put("MarketRequoteRequestDetails", MarketRequoteRequestDetails.class);
schemas.put("RetryRequoteRequestDetails", RetryRequoteRequestDetails.class);
- JSON.registerDescendants(
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.class,
- Collections.unmodifiableMap(schemas));
+ JSON.registerDescendants(ReQuoteDetailsReQuote.class, Collections.unmodifiableMap(schemas));
// Initialize and register the discriminator mappings.
Map> mappings = new HashMap>();
mappings.put("MARKET", MarketRequoteRequestDetails.class);
mappings.put("RETRY", RetryRequoteRequestDetails.class);
mappings.put("MarketRequoteRequestDetails", MarketRequoteRequestDetails.class);
mappings.put("RetryRequoteRequestDetails", RetryRequoteRequestDetails.class);
- mappings.put(
- "QuoteExecutionWithRequoteRequestDetails_allOf_reQuote",
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.class);
- JSON.registerDiscriminator(
- QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.class, "type", mappings);
+ mappings.put("ReQuoteDetails_reQuote", ReQuoteDetailsReQuote.class);
+ JSON.registerDiscriminator(ReQuoteDetailsReQuote.class, "type", mappings);
}
@Override
public Map> getSchemas() {
- return QuoteExecutionWithRequoteRequestDetailsAllOfReQuote.schemas;
+ return ReQuoteDetailsReQuote.schemas;
}
/**
diff --git a/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java b/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java
index eec1a670..dc2f52cf 100644
--- a/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java
+++ b/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java
@@ -81,7 +81,7 @@ public RegisterNewAssetRequest address(@jakarta.annotation.Nonnull String addres
/**
* Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address -
* Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address -
- * Solana: token's mint account address
+ * Solana: token's mint account address - Sui: token's type
*
* @return address
*/
diff --git a/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java
index 4aa87b35..1676a804 100644
--- a/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java
+++ b/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java
@@ -74,7 +74,7 @@ public static TypeEnum fromValue(String value) {
@jakarta.annotation.Nonnull private BigDecimal count;
public static final String JSON_PROPERTY_SLIPPAGE_BPS = "slippageBps";
- @jakarta.annotation.Nullable private BigDecimal slippageBps = new BigDecimal("1");
+ @jakarta.annotation.Nullable private BigDecimal slippageBps;
public RetryRequoteRequestDetails() {}
diff --git a/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java b/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java
new file mode 100644
index 00000000..df6bb37b
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java
@@ -0,0 +1,421 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** SEPAAddress */
+@JsonPropertyOrder({
+ SEPAAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ SEPAAddress.JSON_PROPERTY_IBAN,
+ SEPAAddress.JSON_PROPERTY_BIC,
+ SEPAAddress.JSON_PROPERTY_BANK_NAME,
+ SEPAAddress.JSON_PROPERTY_BANK_BRANCH,
+ SEPAAddress.JSON_PROPERTY_BANK_ADDRESS,
+ SEPAAddress.JSON_PROPERTY_PURPOSE_CODE,
+ SEPAAddress.JSON_PROPERTY_TAX_ID
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SEPAAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_IBAN = "iban";
+ @jakarta.annotation.Nonnull private String iban;
+
+ public static final String JSON_PROPERTY_BIC = "bic";
+ @jakarta.annotation.Nullable private String bic;
+
+ public static final String JSON_PROPERTY_BANK_NAME = "bankName";
+ @jakarta.annotation.Nullable private String bankName;
+
+ public static final String JSON_PROPERTY_BANK_BRANCH = "bankBranch";
+ @jakarta.annotation.Nullable private String bankBranch;
+
+ public static final String JSON_PROPERTY_BANK_ADDRESS = "bankAddress";
+ @jakarta.annotation.Nullable private String bankAddress;
+
+ public static final String JSON_PROPERTY_PURPOSE_CODE = "purposeCode";
+ @jakarta.annotation.Nullable private String purposeCode;
+
+ public static final String JSON_PROPERTY_TAX_ID = "taxId";
+ @jakarta.annotation.Nullable private String taxId;
+
+ public SEPAAddress() {}
+
+ @JsonCreator
+ public SEPAAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_IBAN, required = true) String iban) {
+ this.accountHolder = accountHolder;
+ this.iban = iban;
+ }
+
+ public SEPAAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public SEPAAddress iban(@jakarta.annotation.Nonnull String iban) {
+ this.iban = iban;
+ return this;
+ }
+
+ /**
+ * Get iban
+ *
+ * @return iban
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IBAN)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getIban() {
+ return iban;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IBAN)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setIban(@jakarta.annotation.Nonnull String iban) {
+ this.iban = iban;
+ }
+
+ public SEPAAddress bic(@jakarta.annotation.Nullable String bic) {
+ this.bic = bic;
+ return this;
+ }
+
+ /**
+ * Bank Identifier Code (SWIFT/BIC)
+ *
+ * @return bic
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BIC)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBic() {
+ return bic;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BIC)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBic(@jakarta.annotation.Nullable String bic) {
+ this.bic = bic;
+ }
+
+ public SEPAAddress bankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Get bankName
+ *
+ * @return bankName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankName() {
+ return bankName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ }
+
+ public SEPAAddress bankBranch(@jakarta.annotation.Nullable String bankBranch) {
+ this.bankBranch = bankBranch;
+ return this;
+ }
+
+ /**
+ * Get bankBranch
+ *
+ * @return bankBranch
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_BRANCH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankBranch() {
+ return bankBranch;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_BRANCH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankBranch(@jakarta.annotation.Nullable String bankBranch) {
+ this.bankBranch = bankBranch;
+ }
+
+ public SEPAAddress bankAddress(@jakarta.annotation.Nullable String bankAddress) {
+ this.bankAddress = bankAddress;
+ return this;
+ }
+
+ /**
+ * Get bankAddress
+ *
+ * @return bankAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankAddress() {
+ return bankAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankAddress(@jakarta.annotation.Nullable String bankAddress) {
+ this.bankAddress = bankAddress;
+ }
+
+ public SEPAAddress purposeCode(@jakarta.annotation.Nullable String purposeCode) {
+ this.purposeCode = purposeCode;
+ return this;
+ }
+
+ /**
+ * ISO purpose code for the transfer
+ *
+ * @return purposeCode
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PURPOSE_CODE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getPurposeCode() {
+ return purposeCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PURPOSE_CODE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setPurposeCode(@jakarta.annotation.Nullable String purposeCode) {
+ this.purposeCode = purposeCode;
+ }
+
+ public SEPAAddress taxId(@jakarta.annotation.Nullable String taxId) {
+ this.taxId = taxId;
+ return this;
+ }
+
+ /**
+ * Beneficiary tax identification number
+ *
+ * @return taxId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TAX_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getTaxId() {
+ return taxId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAX_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTaxId(@jakarta.annotation.Nullable String taxId) {
+ this.taxId = taxId;
+ }
+
+ /** Return true if this SEPAAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SEPAAddress sePAAddress = (SEPAAddress) o;
+ return Objects.equals(this.accountHolder, sePAAddress.accountHolder)
+ && Objects.equals(this.iban, sePAAddress.iban)
+ && Objects.equals(this.bic, sePAAddress.bic)
+ && Objects.equals(this.bankName, sePAAddress.bankName)
+ && Objects.equals(this.bankBranch, sePAAddress.bankBranch)
+ && Objects.equals(this.bankAddress, sePAAddress.bankAddress)
+ && Objects.equals(this.purposeCode, sePAAddress.purposeCode)
+ && Objects.equals(this.taxId, sePAAddress.taxId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ accountHolder, iban, bic, bankName, bankBranch, bankAddress, purposeCode, taxId);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SEPAAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
+ sb.append(" bic: ").append(toIndentedString(bic)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" bankBranch: ").append(toIndentedString(bankBranch)).append("\n");
+ sb.append(" bankAddress: ").append(toIndentedString(bankAddress)).append("\n");
+ sb.append(" purposeCode: ").append(toIndentedString(purposeCode)).append("\n");
+ sb.append(" taxId: ").append(toIndentedString(taxId)).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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `iban` to the URL query string
+ if (getIban() != null) {
+ joiner.add(
+ String.format(
+ "%siban%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIban()))));
+ }
+
+ // add `bic` to the URL query string
+ if (getBic() != null) {
+ joiner.add(
+ String.format(
+ "%sbic%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBic()))));
+ }
+
+ // add `bankName` to the URL query string
+ if (getBankName() != null) {
+ joiner.add(
+ String.format(
+ "%sbankName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankName()))));
+ }
+
+ // add `bankBranch` to the URL query string
+ if (getBankBranch() != null) {
+ joiner.add(
+ String.format(
+ "%sbankBranch%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankBranch()))));
+ }
+
+ // add `bankAddress` to the URL query string
+ if (getBankAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sbankAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankAddress()))));
+ }
+
+ // add `purposeCode` to the URL query string
+ if (getPurposeCode() != null) {
+ joiner.add(
+ String.format(
+ "%spurposeCode%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getPurposeCode()))));
+ }
+
+ // add `taxId` to the URL query string
+ if (getTaxId() != null) {
+ joiner.add(
+ String.format(
+ "%staxId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTaxId()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SEPADestination.java b/src/main/java/com/fireblocks/sdk/model/SEPADestination.java
new file mode 100644
index 00000000..0d2aa3bc
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SEPADestination.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** SEPADestination */
+@JsonPropertyOrder({SEPADestination.JSON_PROPERTY_TYPE, SEPADestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SEPADestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ SEPA(String.valueOf("SEPA"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private SEPAAddress address;
+
+ public SEPADestination() {}
+
+ @JsonCreator
+ public SEPADestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) SEPAAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public SEPADestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public SEPADestination address(@jakarta.annotation.Nonnull SEPAAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public SEPAAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull SEPAAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this SEPADestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SEPADestination sePADestination = (SEPADestination) o;
+ return Objects.equals(this.type, sePADestination.type)
+ && Objects.equals(this.address, sePADestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SEPADestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java
new file mode 100644
index 00000000..9ad4ac85
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/** Alert exposure type */
+public enum ScreeningAlertExposureTypeEnum {
+ DIRECT("DIRECT"),
+
+ INDIRECT("INDIRECT");
+
+ private String value;
+
+ ScreeningAlertExposureTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ScreeningAlertExposureTypeEnum fromValue(String value) {
+ for (ScreeningAlertExposureTypeEnum b : ScreeningAlertExposureTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java
new file mode 100644
index 00000000..4d9e5a9f
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java
@@ -0,0 +1,481 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** AML alert information */
+@JsonPropertyOrder({
+ ScreeningAmlAlert.JSON_PROPERTY_ALERT_LEVEL,
+ ScreeningAmlAlert.JSON_PROPERTY_ALERT_NAME,
+ ScreeningAmlAlert.JSON_PROPERTY_CATEGORY,
+ ScreeningAmlAlert.JSON_PROPERTY_SERVICE,
+ ScreeningAmlAlert.JSON_PROPERTY_EXTERNAL_ID,
+ ScreeningAmlAlert.JSON_PROPERTY_ALERT_AMOUNT,
+ ScreeningAmlAlert.JSON_PROPERTY_EXPOSURE_TYPE,
+ ScreeningAmlAlert.JSON_PROPERTY_POLICY_ACTION,
+ ScreeningAmlAlert.JSON_PROPERTY_CATEGORY_ID
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningAmlAlert {
+ public static final String JSON_PROPERTY_ALERT_LEVEL = "alertLevel";
+ @jakarta.annotation.Nonnull private AlertLevelEnum alertLevel;
+
+ public static final String JSON_PROPERTY_ALERT_NAME = "alertName";
+ @jakarta.annotation.Nullable private String alertName;
+
+ public static final String JSON_PROPERTY_CATEGORY = "category";
+ @jakarta.annotation.Nullable private String category;
+
+ public static final String JSON_PROPERTY_SERVICE = "service";
+ @jakarta.annotation.Nullable private String service;
+
+ public static final String JSON_PROPERTY_EXTERNAL_ID = "externalId";
+ @jakarta.annotation.Nonnull private String externalId;
+
+ public static final String JSON_PROPERTY_ALERT_AMOUNT = "alertAmount";
+ @jakarta.annotation.Nonnull private BigDecimal alertAmount;
+
+ public static final String JSON_PROPERTY_EXPOSURE_TYPE = "exposureType";
+ @jakarta.annotation.Nonnull private ScreeningAlertExposureTypeEnum exposureType;
+
+ public static final String JSON_PROPERTY_POLICY_ACTION = "policyAction";
+ @jakarta.annotation.Nullable private String policyAction;
+
+ public static final String JSON_PROPERTY_CATEGORY_ID = "categoryId";
+ @jakarta.annotation.Nullable private BigDecimal categoryId;
+
+ public ScreeningAmlAlert() {}
+
+ @JsonCreator
+ public ScreeningAmlAlert(
+ @JsonProperty(value = JSON_PROPERTY_ALERT_LEVEL, required = true)
+ AlertLevelEnum alertLevel,
+ @JsonProperty(value = JSON_PROPERTY_EXTERNAL_ID, required = true) String externalId,
+ @JsonProperty(value = JSON_PROPERTY_ALERT_AMOUNT, required = true)
+ BigDecimal alertAmount,
+ @JsonProperty(value = JSON_PROPERTY_EXPOSURE_TYPE, required = true)
+ ScreeningAlertExposureTypeEnum exposureType) {
+ this.alertLevel = alertLevel;
+ this.externalId = externalId;
+ this.alertAmount = alertAmount;
+ this.exposureType = exposureType;
+ }
+
+ public ScreeningAmlAlert alertLevel(@jakarta.annotation.Nonnull AlertLevelEnum alertLevel) {
+ this.alertLevel = alertLevel;
+ return this;
+ }
+
+ /**
+ * Get alertLevel
+ *
+ * @return alertLevel
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ALERT_LEVEL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AlertLevelEnum getAlertLevel() {
+ return alertLevel;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ALERT_LEVEL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAlertLevel(@jakarta.annotation.Nonnull AlertLevelEnum alertLevel) {
+ this.alertLevel = alertLevel;
+ }
+
+ public ScreeningAmlAlert alertName(@jakarta.annotation.Nullable String alertName) {
+ this.alertName = alertName;
+ return this;
+ }
+
+ /**
+ * Name or type of the alert
+ *
+ * @return alertName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ALERT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAlertName() {
+ return alertName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ALERT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAlertName(@jakarta.annotation.Nullable String alertName) {
+ this.alertName = alertName;
+ }
+
+ public ScreeningAmlAlert category(@jakarta.annotation.Nullable String category) {
+ this.category = category;
+ return this;
+ }
+
+ /**
+ * Alert category
+ *
+ * @return category
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CATEGORY)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCategory() {
+ return category;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CATEGORY)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCategory(@jakarta.annotation.Nullable String category) {
+ this.category = category;
+ }
+
+ public ScreeningAmlAlert service(@jakarta.annotation.Nullable String service) {
+ this.service = service;
+ return this;
+ }
+
+ /**
+ * Service that generated the alert
+ *
+ * @return service
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SERVICE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getService() {
+ return service;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SERVICE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setService(@jakarta.annotation.Nullable String service) {
+ this.service = service;
+ }
+
+ public ScreeningAmlAlert externalId(@jakarta.annotation.Nonnull String externalId) {
+ this.externalId = externalId;
+ return this;
+ }
+
+ /**
+ * External identifier for the alert
+ *
+ * @return externalId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_EXTERNAL_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getExternalId() {
+ return externalId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_EXTERNAL_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setExternalId(@jakarta.annotation.Nonnull String externalId) {
+ this.externalId = externalId;
+ }
+
+ public ScreeningAmlAlert alertAmount(@jakarta.annotation.Nonnull BigDecimal alertAmount) {
+ this.alertAmount = alertAmount;
+ return this;
+ }
+
+ /**
+ * Amount associated with the alert
+ *
+ * @return alertAmount
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ALERT_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getAlertAmount() {
+ return alertAmount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ALERT_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAlertAmount(@jakarta.annotation.Nonnull BigDecimal alertAmount) {
+ this.alertAmount = alertAmount;
+ }
+
+ public ScreeningAmlAlert exposureType(
+ @jakarta.annotation.Nonnull ScreeningAlertExposureTypeEnum exposureType) {
+ this.exposureType = exposureType;
+ return this;
+ }
+
+ /**
+ * Get exposureType
+ *
+ * @return exposureType
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_EXPOSURE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public ScreeningAlertExposureTypeEnum getExposureType() {
+ return exposureType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_EXPOSURE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setExposureType(
+ @jakarta.annotation.Nonnull ScreeningAlertExposureTypeEnum exposureType) {
+ this.exposureType = exposureType;
+ }
+
+ public ScreeningAmlAlert policyAction(@jakarta.annotation.Nullable String policyAction) {
+ this.policyAction = policyAction;
+ return this;
+ }
+
+ /**
+ * Recommended action based on policy
+ *
+ * @return policyAction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_POLICY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getPolicyAction() {
+ return policyAction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_POLICY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setPolicyAction(@jakarta.annotation.Nullable String policyAction) {
+ this.policyAction = policyAction;
+ }
+
+ public ScreeningAmlAlert categoryId(@jakarta.annotation.Nullable BigDecimal categoryId) {
+ this.categoryId = categoryId;
+ return this;
+ }
+
+ /**
+ * Category identifier
+ *
+ * @return categoryId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CATEGORY_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getCategoryId() {
+ return categoryId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CATEGORY_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCategoryId(@jakarta.annotation.Nullable BigDecimal categoryId) {
+ this.categoryId = categoryId;
+ }
+
+ /** Return true if this ScreeningAmlAlert object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningAmlAlert screeningAmlAlert = (ScreeningAmlAlert) o;
+ return Objects.equals(this.alertLevel, screeningAmlAlert.alertLevel)
+ && Objects.equals(this.alertName, screeningAmlAlert.alertName)
+ && Objects.equals(this.category, screeningAmlAlert.category)
+ && Objects.equals(this.service, screeningAmlAlert.service)
+ && Objects.equals(this.externalId, screeningAmlAlert.externalId)
+ && Objects.equals(this.alertAmount, screeningAmlAlert.alertAmount)
+ && Objects.equals(this.exposureType, screeningAmlAlert.exposureType)
+ && Objects.equals(this.policyAction, screeningAmlAlert.policyAction)
+ && Objects.equals(this.categoryId, screeningAmlAlert.categoryId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ alertLevel,
+ alertName,
+ category,
+ service,
+ externalId,
+ alertAmount,
+ exposureType,
+ policyAction,
+ categoryId);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningAmlAlert {\n");
+ sb.append(" alertLevel: ").append(toIndentedString(alertLevel)).append("\n");
+ sb.append(" alertName: ").append(toIndentedString(alertName)).append("\n");
+ sb.append(" category: ").append(toIndentedString(category)).append("\n");
+ sb.append(" service: ").append(toIndentedString(service)).append("\n");
+ sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n");
+ sb.append(" alertAmount: ").append(toIndentedString(alertAmount)).append("\n");
+ sb.append(" exposureType: ").append(toIndentedString(exposureType)).append("\n");
+ sb.append(" policyAction: ").append(toIndentedString(policyAction)).append("\n");
+ sb.append(" categoryId: ").append(toIndentedString(categoryId)).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 `alertLevel` to the URL query string
+ if (getAlertLevel() != null) {
+ joiner.add(
+ String.format(
+ "%salertLevel%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAlertLevel()))));
+ }
+
+ // add `alertName` to the URL query string
+ if (getAlertName() != null) {
+ joiner.add(
+ String.format(
+ "%salertName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAlertName()))));
+ }
+
+ // add `category` to the URL query string
+ if (getCategory() != null) {
+ joiner.add(
+ String.format(
+ "%scategory%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCategory()))));
+ }
+
+ // add `service` to the URL query string
+ if (getService() != null) {
+ joiner.add(
+ String.format(
+ "%sservice%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getService()))));
+ }
+
+ // add `externalId` to the URL query string
+ if (getExternalId() != null) {
+ joiner.add(
+ String.format(
+ "%sexternalId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getExternalId()))));
+ }
+
+ // add `alertAmount` to the URL query string
+ if (getAlertAmount() != null) {
+ joiner.add(
+ String.format(
+ "%salertAmount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAlertAmount()))));
+ }
+
+ // add `exposureType` to the URL query string
+ if (getExposureType() != null) {
+ joiner.add(
+ String.format(
+ "%sexposureType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getExposureType()))));
+ }
+
+ // add `policyAction` to the URL query string
+ if (getPolicyAction() != null) {
+ joiner.add(
+ String.format(
+ "%spolicyAction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getPolicyAction()))));
+ }
+
+ // add `categoryId` to the URL query string
+ if (getCategoryId() != null) {
+ joiner.add(
+ String.format(
+ "%scategoryId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCategoryId()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java
new file mode 100644
index 00000000..7ccdc188
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java
@@ -0,0 +1,220 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** AML matched rule information */
+@JsonPropertyOrder({
+ ScreeningAmlMatchedRule.JSON_PROPERTY_RULE_ID,
+ ScreeningAmlMatchedRule.JSON_PROPERTY_RULE_NAME,
+ ScreeningAmlMatchedRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningAmlMatchedRule {
+ public static final String JSON_PROPERTY_RULE_ID = "ruleId";
+ @jakarta.annotation.Nullable private String ruleId;
+
+ public static final String JSON_PROPERTY_RULE_NAME = "ruleName";
+ @jakarta.annotation.Nullable private String ruleName;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private PolicyVerdictActionEnum2 action;
+
+ public ScreeningAmlMatchedRule() {}
+
+ public ScreeningAmlMatchedRule ruleId(@jakarta.annotation.Nullable String ruleId) {
+ this.ruleId = ruleId;
+ return this;
+ }
+
+ /**
+ * Identifier of the matched rule
+ *
+ * @return ruleId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RULE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getRuleId() {
+ return ruleId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RULE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRuleId(@jakarta.annotation.Nullable String ruleId) {
+ this.ruleId = ruleId;
+ }
+
+ public ScreeningAmlMatchedRule ruleName(@jakarta.annotation.Nullable String ruleName) {
+ this.ruleName = ruleName;
+ return this;
+ }
+
+ /**
+ * Name of the matched rule
+ *
+ * @return ruleName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RULE_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getRuleName() {
+ return ruleName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RULE_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRuleName(@jakarta.annotation.Nullable String ruleName) {
+ this.ruleName = ruleName;
+ }
+
+ public ScreeningAmlMatchedRule action(
+ @jakarta.annotation.Nullable PolicyVerdictActionEnum2 action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public PolicyVerdictActionEnum2 getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable PolicyVerdictActionEnum2 action) {
+ this.action = action;
+ }
+
+ /** Return true if this ScreeningAmlMatchedRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningAmlMatchedRule screeningAmlMatchedRule = (ScreeningAmlMatchedRule) o;
+ return Objects.equals(this.ruleId, screeningAmlMatchedRule.ruleId)
+ && Objects.equals(this.ruleName, screeningAmlMatchedRule.ruleName)
+ && Objects.equals(this.action, screeningAmlMatchedRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(ruleId, ruleName, action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningAmlMatchedRule {\n");
+ sb.append(" ruleId: ").append(toIndentedString(ruleId)).append("\n");
+ sb.append(" ruleName: ").append(toIndentedString(ruleName)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `ruleId` to the URL query string
+ if (getRuleId() != null) {
+ joiner.add(
+ String.format(
+ "%sruleId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getRuleId()))));
+ }
+
+ // add `ruleName` to the URL query string
+ if (getRuleName() != null) {
+ joiner.add(
+ String.format(
+ "%sruleName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getRuleName()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java
new file mode 100644
index 00000000..cb29b2d8
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java
@@ -0,0 +1,302 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * Detailed AML screening result information. Contains alerts, risk scores, and other AML-specific
+ * data from provider-specific responses.
+ */
+@JsonPropertyOrder({
+ ScreeningAmlResult.JSON_PROPERTY_ALERTS,
+ ScreeningAmlResult.JSON_PROPERTY_PROVIDER_RESPONSE,
+ ScreeningAmlResult.JSON_PROPERTY_MATCHED_RULE,
+ ScreeningAmlResult.JSON_PROPERTY_MATCHED_ALERT
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningAmlResult {
+ public static final String JSON_PROPERTY_ALERTS = "alerts";
+ @jakarta.annotation.Nullable private List alerts;
+
+ public static final String JSON_PROPERTY_PROVIDER_RESPONSE = "providerResponse";
+ @jakarta.annotation.Nullable private Map providerResponse;
+
+ public static final String JSON_PROPERTY_MATCHED_RULE = "matchedRule";
+ @jakarta.annotation.Nullable private ScreeningAmlMatchedRule matchedRule;
+
+ public static final String JSON_PROPERTY_MATCHED_ALERT = "matchedAlert";
+ @jakarta.annotation.Nullable private ScreeningAmlAlert matchedAlert;
+
+ public ScreeningAmlResult() {}
+
+ public ScreeningAmlResult alerts(@jakarta.annotation.Nullable List alerts) {
+ this.alerts = alerts;
+ return this;
+ }
+
+ public ScreeningAmlResult addAlertsItem(ScreeningAmlAlert alertsItem) {
+ if (this.alerts == null) {
+ this.alerts = new ArrayList<>();
+ }
+ this.alerts.add(alertsItem);
+ return this;
+ }
+
+ /**
+ * List of AML alerts triggered during screening
+ *
+ * @return alerts
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ALERTS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getAlerts() {
+ return alerts;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ALERTS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAlerts(@jakarta.annotation.Nullable List alerts) {
+ this.alerts = alerts;
+ }
+
+ public ScreeningAmlResult providerResponse(
+ @jakarta.annotation.Nullable Map providerResponse) {
+ this.providerResponse = providerResponse;
+ return this;
+ }
+
+ public ScreeningAmlResult putProviderResponseItem(String key, Object providerResponseItem) {
+ if (this.providerResponse == null) {
+ this.providerResponse = new HashMap<>();
+ }
+ this.providerResponse.put(key, providerResponseItem);
+ return this;
+ }
+
+ /**
+ * Complete response from the AML provider. This is a dynamic object that varies significantly
+ * between different AML providers (Chainalysis, Elliptic, etc.). Each provider has their own
+ * proprietary response format and schema. Examples of provider-specific structures: -
+ * Chainalysis: Contains cluster info, risk scores, sanctions data - Elliptic: Includes risk
+ * assessment, entity types, compliance flags The structure is provider-dependent and cannot be
+ * standardized as each vendor implements their own proprietary data models and response
+ * formats.
+ *
+ * @return providerResponse
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public Map getProviderResponse() {
+ return providerResponse;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderResponse(
+ @jakarta.annotation.Nullable Map providerResponse) {
+ this.providerResponse = providerResponse;
+ }
+
+ public ScreeningAmlResult matchedRule(
+ @jakarta.annotation.Nullable ScreeningAmlMatchedRule matchedRule) {
+ this.matchedRule = matchedRule;
+ return this;
+ }
+
+ /**
+ * Get matchedRule
+ *
+ * @return matchedRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningAmlMatchedRule getMatchedRule() {
+ return matchedRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedRule(@jakarta.annotation.Nullable ScreeningAmlMatchedRule matchedRule) {
+ this.matchedRule = matchedRule;
+ }
+
+ public ScreeningAmlResult matchedAlert(
+ @jakarta.annotation.Nullable ScreeningAmlAlert matchedAlert) {
+ this.matchedAlert = matchedAlert;
+ return this;
+ }
+
+ /**
+ * Get matchedAlert
+ *
+ * @return matchedAlert
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_ALERT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningAmlAlert getMatchedAlert() {
+ return matchedAlert;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_ALERT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedAlert(@jakarta.annotation.Nullable ScreeningAmlAlert matchedAlert) {
+ this.matchedAlert = matchedAlert;
+ }
+
+ /** Return true if this ScreeningAmlResult object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningAmlResult screeningAmlResult = (ScreeningAmlResult) o;
+ return Objects.equals(this.alerts, screeningAmlResult.alerts)
+ && Objects.equals(this.providerResponse, screeningAmlResult.providerResponse)
+ && Objects.equals(this.matchedRule, screeningAmlResult.matchedRule)
+ && Objects.equals(this.matchedAlert, screeningAmlResult.matchedAlert);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(alerts, providerResponse, matchedRule, matchedAlert);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningAmlResult {\n");
+ sb.append(" alerts: ").append(toIndentedString(alerts)).append("\n");
+ sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n");
+ sb.append(" matchedRule: ").append(toIndentedString(matchedRule)).append("\n");
+ sb.append(" matchedAlert: ").append(toIndentedString(matchedAlert)).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 `alerts` to the URL query string
+ if (getAlerts() != null) {
+ for (int i = 0; i < getAlerts().size(); i++) {
+ if (getAlerts().get(i) != null) {
+ joiner.add(
+ getAlerts()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%salerts%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `providerResponse` to the URL query string
+ if (getProviderResponse() != null) {
+ for (String _key : getProviderResponse().keySet()) {
+ joiner.add(
+ String.format(
+ "%sproviderResponse%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, _key, containerSuffix),
+ getProviderResponse().get(_key),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getProviderResponse().get(_key)))));
+ }
+ }
+
+ // add `matchedRule` to the URL query string
+ if (getMatchedRule() != null) {
+ joiner.add(getMatchedRule().toUrlQueryString(prefix + "matchedRule" + suffix));
+ }
+
+ // add `matchedAlert` to the URL query string
+ if (getMatchedAlert() != null) {
+ joiner.add(getMatchedAlert().toUrlQueryString(prefix + "matchedAlert" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java b/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java
index 717381c1..6fe77829 100644
--- a/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java
@@ -78,7 +78,7 @@ public static DirectionEnum fromValue(String value) {
}
public static final String JSON_PROPERTY_DIRECTION = "direction";
- @jakarta.annotation.Nonnull private DirectionEnum direction;
+ @jakarta.annotation.Nullable private DirectionEnum direction;
/** Screening provider */
public enum ProviderEnum {
@@ -266,14 +266,7 @@ public static StatusEnum fromValue(String value) {
public ScreeningMetadataConfig() {}
- @JsonCreator
- public ScreeningMetadataConfig(
- @JsonProperty(value = JSON_PROPERTY_DIRECTION, required = true)
- DirectionEnum direction) {
- this.direction = direction;
- }
-
- public ScreeningMetadataConfig direction(@jakarta.annotation.Nonnull DirectionEnum direction) {
+ public ScreeningMetadataConfig direction(@jakarta.annotation.Nullable DirectionEnum direction) {
this.direction = direction;
return this;
}
@@ -283,16 +276,16 @@ public ScreeningMetadataConfig direction(@jakarta.annotation.Nonnull DirectionEn
*
* @return direction
*/
- @jakarta.annotation.Nonnull
+ @jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DIRECTION)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public DirectionEnum getDirection() {
return direction;
}
@JsonProperty(JSON_PROPERTY_DIRECTION)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setDirection(@jakarta.annotation.Nonnull DirectionEnum direction) {
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable DirectionEnum direction) {
this.direction = direction;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java b/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java
new file mode 100644
index 00000000..93ad0fe4
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java
@@ -0,0 +1,72 @@
+/*
+ * 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.JsonValue;
+
+/** Risk level assessment for screening results. Possible values vary by provider and context. */
+public enum ScreeningRiskLevelEnum {
+ VERY_HIGH("VERY_HIGH"),
+
+ SEVERE("SEVERE"),
+
+ HIGH("HIGH"),
+
+ MEDIUM("MEDIUM"),
+
+ LOW("LOW"),
+
+ UNKNOWN("UNKNOWN");
+
+ private String value;
+
+ ScreeningRiskLevelEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ScreeningRiskLevelEnum fromValue(String value) {
+ for (ScreeningRiskLevelEnum b : ScreeningRiskLevelEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java
new file mode 100644
index 00000000..ad5612bf
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * TRLink amount definition with range and currency, compatible with TAP format from Policy Engine
+ * V2
+ */
+@JsonPropertyOrder({
+ ScreeningTRLinkAmount.JSON_PROPERTY_RANGE,
+ ScreeningTRLinkAmount.JSON_PROPERTY_CURRENCY
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTRLinkAmount {
+ public static final String JSON_PROPERTY_RANGE = "range";
+ @jakarta.annotation.Nullable private AmountRangeMinMax range;
+
+ /** Currency type */
+ public enum CurrencyEnum {
+ USD(String.valueOf("USD")),
+
+ NATIVE(String.valueOf("NATIVE"));
+
+ private String value;
+
+ CurrencyEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static CurrencyEnum fromValue(String value) {
+ for (CurrencyEnum b : CurrencyEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_CURRENCY = "currency";
+ @jakarta.annotation.Nullable private CurrencyEnum currency;
+
+ public ScreeningTRLinkAmount() {}
+
+ public ScreeningTRLinkAmount range(@jakarta.annotation.Nullable AmountRangeMinMax range) {
+ this.range = range;
+ return this;
+ }
+
+ /**
+ * Get range
+ *
+ * @return range
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RANGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public AmountRangeMinMax getRange() {
+ return range;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RANGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRange(@jakarta.annotation.Nullable AmountRangeMinMax range) {
+ this.range = range;
+ }
+
+ public ScreeningTRLinkAmount currency(@jakarta.annotation.Nullable CurrencyEnum currency) {
+ this.currency = currency;
+ return this;
+ }
+
+ /**
+ * Currency type
+ *
+ * @return currency
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CURRENCY)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public CurrencyEnum getCurrency() {
+ return currency;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CURRENCY)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCurrency(@jakarta.annotation.Nullable CurrencyEnum currency) {
+ this.currency = currency;
+ }
+
+ /** Return true if this ScreeningTRLinkAmount object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTRLinkAmount screeningTRLinkAmount = (ScreeningTRLinkAmount) o;
+ return Objects.equals(this.range, screeningTRLinkAmount.range)
+ && Objects.equals(this.currency, screeningTRLinkAmount.currency);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(range, currency);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTRLinkAmount {\n");
+ sb.append(" range: ").append(toIndentedString(range)).append("\n");
+ sb.append(" currency: ").append(toIndentedString(currency)).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 `range` to the URL query string
+ if (getRange() != null) {
+ joiner.add(getRange().toUrlQueryString(prefix + "range" + suffix));
+ }
+
+ // add `currency` to the URL query string
+ if (getCurrency() != null) {
+ joiner.add(
+ String.format(
+ "%scurrency%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCurrency()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java
new file mode 100644
index 00000000..c34c458d
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java
@@ -0,0 +1,1053 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Interface for reporting missing TRM screening decisions in ITRLinkResult */
+@JsonPropertyOrder({
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_CUSTOMER_ID,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_DIRECTION,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_TYPE,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_ADDRESS,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_DEST_TYPE,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_DEST_SUB_TYPE,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_DEST_ADDRESS,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_ID,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_DEST_ID,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_ASSET,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_BASE_ASSET,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_AMOUNT,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_NETWORK_PROTOCOL,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_OPERATION,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_DESCRIPTION,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_IS_DEFAULT,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_VALID_BEFORE,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_VALID_AFTER,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_ACTION,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_TIMESTAMP,
+ ScreeningTRLinkMissingTrmDecision.JSON_PROPERTY_REASON
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTRLinkMissingTrmDecision {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private ScreeningTRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore";
+ @jakarta.annotation.Nullable private BigDecimal validBefore;
+
+ public static final String JSON_PROPERTY_VALID_AFTER = "validAfter";
+ @jakarta.annotation.Nullable private BigDecimal validAfter;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkMissingTrmActionEnum action;
+
+ public static final String JSON_PROPERTY_SOURCE = "source";
+ @jakarta.annotation.Nonnull private String source;
+
+ public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
+ @jakarta.annotation.Nullable private OffsetDateTime timestamp;
+
+ public static final String JSON_PROPERTY_REASON = "reason";
+ @jakarta.annotation.Nullable private String reason;
+
+ public ScreeningTRLinkMissingTrmDecision() {}
+
+ @JsonCreator
+ public ScreeningTRLinkMissingTrmDecision(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TRLinkMissingTrmActionEnum action,
+ @JsonProperty(value = JSON_PROPERTY_SOURCE, required = true) String source) {
+ this.action = action;
+ this.source = source;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision customerId(
+ @jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision destAddress(
+ @jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision sourceId(
+ @jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision baseAsset(
+ @jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision amount(
+ @jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision description(
+ @jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision isDefault(
+ @jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision validBefore(
+ @jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule expires
+ *
+ * @return validBefore
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidBefore() {
+ return validBefore;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision validAfter(
+ @jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule becomes valid
+ *
+ * @return validAfter
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidAfter() {
+ return validAfter;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision action(
+ @jakarta.annotation.Nonnull TRLinkMissingTrmActionEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkMissingTrmActionEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkMissingTrmActionEnum action) {
+ this.action = action;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision source(@jakarta.annotation.Nonnull String source) {
+ this.source = source;
+ return this;
+ }
+
+ /**
+ * TRLink missing TRM source
+ *
+ * @return source
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SOURCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getSource() {
+ return source;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setSource(@jakarta.annotation.Nonnull String source) {
+ this.source = source;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision timestamp(
+ @jakarta.annotation.Nullable OffsetDateTime timestamp) {
+ this.timestamp = timestamp;
+ return this;
+ }
+
+ /**
+ * Timestamp of the decision
+ *
+ * @return timestamp
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public OffsetDateTime getTimestamp() {
+ return timestamp;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTimestamp(@jakarta.annotation.Nullable OffsetDateTime timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public ScreeningTRLinkMissingTrmDecision reason(@jakarta.annotation.Nullable String reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Reason for the decision
+ *
+ * @return reason
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setReason(@jakarta.annotation.Nullable String reason) {
+ this.reason = reason;
+ }
+
+ /** Return true if this ScreeningTRLinkMissingTrmDecision object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTRLinkMissingTrmDecision screeningTRLinkMissingTrmDecision =
+ (ScreeningTRLinkMissingTrmDecision) o;
+ return Objects.equals(this.customerId, screeningTRLinkMissingTrmDecision.customerId)
+ && Objects.equals(this.direction, screeningTRLinkMissingTrmDecision.direction)
+ && Objects.equals(this.sourceType, screeningTRLinkMissingTrmDecision.sourceType)
+ && Objects.equals(
+ this.sourceSubType, screeningTRLinkMissingTrmDecision.sourceSubType)
+ && Objects.equals(
+ this.sourceAddress, screeningTRLinkMissingTrmDecision.sourceAddress)
+ && Objects.equals(this.destType, screeningTRLinkMissingTrmDecision.destType)
+ && Objects.equals(this.destSubType, screeningTRLinkMissingTrmDecision.destSubType)
+ && Objects.equals(this.destAddress, screeningTRLinkMissingTrmDecision.destAddress)
+ && Objects.equals(this.sourceId, screeningTRLinkMissingTrmDecision.sourceId)
+ && Objects.equals(this.destId, screeningTRLinkMissingTrmDecision.destId)
+ && Objects.equals(this.asset, screeningTRLinkMissingTrmDecision.asset)
+ && Objects.equals(this.baseAsset, screeningTRLinkMissingTrmDecision.baseAsset)
+ && Objects.equals(this.amount, screeningTRLinkMissingTrmDecision.amount)
+ && Objects.equals(
+ this.networkProtocol, screeningTRLinkMissingTrmDecision.networkProtocol)
+ && Objects.equals(this.operation, screeningTRLinkMissingTrmDecision.operation)
+ && Objects.equals(this.description, screeningTRLinkMissingTrmDecision.description)
+ && Objects.equals(this.isDefault, screeningTRLinkMissingTrmDecision.isDefault)
+ && Objects.equals(this.validBefore, screeningTRLinkMissingTrmDecision.validBefore)
+ && Objects.equals(this.validAfter, screeningTRLinkMissingTrmDecision.validAfter)
+ && Objects.equals(this.action, screeningTRLinkMissingTrmDecision.action)
+ && Objects.equals(this.source, screeningTRLinkMissingTrmDecision.source)
+ && Objects.equals(this.timestamp, screeningTRLinkMissingTrmDecision.timestamp)
+ && Objects.equals(this.reason, screeningTRLinkMissingTrmDecision.reason);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ validBefore,
+ validAfter,
+ action,
+ source,
+ timestamp,
+ reason);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTRLinkMissingTrmDecision {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n");
+ sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).append("\n");
+ sb.append(" source: ").append(toIndentedString(source)).append("\n");
+ sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
+ sb.append(" reason: ").append(toIndentedString(reason)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `validBefore` to the URL query string
+ if (getValidBefore() != null) {
+ joiner.add(
+ String.format(
+ "%svalidBefore%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidBefore()))));
+ }
+
+ // add `validAfter` to the URL query string
+ if (getValidAfter() != null) {
+ joiner.add(
+ String.format(
+ "%svalidAfter%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidAfter()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ // add `source` to the URL query string
+ if (getSource() != null) {
+ joiner.add(
+ String.format(
+ "%ssource%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSource()))));
+ }
+
+ // add `timestamp` to the URL query string
+ if (getTimestamp() != null) {
+ joiner.add(
+ String.format(
+ "%stimestamp%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimestamp()))));
+ }
+
+ // add `reason` to the URL query string
+ if (getReason() != null) {
+ joiner.add(
+ String.format(
+ "%sreason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getReason()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java
new file mode 100644
index 00000000..d723cc46
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java
@@ -0,0 +1,924 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink missing TRM rule definition */
+@JsonPropertyOrder({
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_CUSTOMER_ID,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_DIRECTION,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_TYPE,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_ADDRESS,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_DEST_TYPE,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_DEST_ADDRESS,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_ID,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_DEST_ID,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_ASSET,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_BASE_ASSET,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_AMOUNT,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_OPERATION,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_DESCRIPTION,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_IS_DEFAULT,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_VALID_BEFORE,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_VALID_AFTER,
+ ScreeningTRLinkMissingTrmRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTRLinkMissingTrmRule {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private ScreeningTRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore";
+ @jakarta.annotation.Nullable private BigDecimal validBefore;
+
+ public static final String JSON_PROPERTY_VALID_AFTER = "validAfter";
+ @jakarta.annotation.Nullable private BigDecimal validAfter;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkMissingTrmActionEnum action;
+
+ public ScreeningTRLinkMissingTrmRule() {}
+
+ @JsonCreator
+ public ScreeningTRLinkMissingTrmRule(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TRLinkMissingTrmActionEnum action) {
+ this.action = action;
+ }
+
+ public ScreeningTRLinkMissingTrmRule customerId(
+ @jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public ScreeningTRLinkMissingTrmRule direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTRLinkMissingTrmRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public ScreeningTRLinkMissingTrmRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public ScreeningTRLinkMissingTrmRule sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public ScreeningTRLinkMissingTrmRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public ScreeningTRLinkMissingTrmRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public ScreeningTRLinkMissingTrmRule destAddress(
+ @jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public ScreeningTRLinkMissingTrmRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public ScreeningTRLinkMissingTrmRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public ScreeningTRLinkMissingTrmRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTRLinkMissingTrmRule baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public ScreeningTRLinkMissingTrmRule amount(
+ @jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTRLinkMissingTrmRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public ScreeningTRLinkMissingTrmRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public ScreeningTRLinkMissingTrmRule description(
+ @jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public ScreeningTRLinkMissingTrmRule isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public ScreeningTRLinkMissingTrmRule validBefore(
+ @jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule expires
+ *
+ * @return validBefore
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidBefore() {
+ return validBefore;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ }
+
+ public ScreeningTRLinkMissingTrmRule validAfter(
+ @jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule becomes valid
+ *
+ * @return validAfter
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidAfter() {
+ return validAfter;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ }
+
+ public ScreeningTRLinkMissingTrmRule action(
+ @jakarta.annotation.Nonnull TRLinkMissingTrmActionEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkMissingTrmActionEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkMissingTrmActionEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this ScreeningTRLinkMissingTrmRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTRLinkMissingTrmRule screeningTRLinkMissingTrmRule =
+ (ScreeningTRLinkMissingTrmRule) o;
+ return Objects.equals(this.customerId, screeningTRLinkMissingTrmRule.customerId)
+ && Objects.equals(this.direction, screeningTRLinkMissingTrmRule.direction)
+ && Objects.equals(this.sourceType, screeningTRLinkMissingTrmRule.sourceType)
+ && Objects.equals(this.sourceSubType, screeningTRLinkMissingTrmRule.sourceSubType)
+ && Objects.equals(this.sourceAddress, screeningTRLinkMissingTrmRule.sourceAddress)
+ && Objects.equals(this.destType, screeningTRLinkMissingTrmRule.destType)
+ && Objects.equals(this.destSubType, screeningTRLinkMissingTrmRule.destSubType)
+ && Objects.equals(this.destAddress, screeningTRLinkMissingTrmRule.destAddress)
+ && Objects.equals(this.sourceId, screeningTRLinkMissingTrmRule.sourceId)
+ && Objects.equals(this.destId, screeningTRLinkMissingTrmRule.destId)
+ && Objects.equals(this.asset, screeningTRLinkMissingTrmRule.asset)
+ && Objects.equals(this.baseAsset, screeningTRLinkMissingTrmRule.baseAsset)
+ && Objects.equals(this.amount, screeningTRLinkMissingTrmRule.amount)
+ && Objects.equals(
+ this.networkProtocol, screeningTRLinkMissingTrmRule.networkProtocol)
+ && Objects.equals(this.operation, screeningTRLinkMissingTrmRule.operation)
+ && Objects.equals(this.description, screeningTRLinkMissingTrmRule.description)
+ && Objects.equals(this.isDefault, screeningTRLinkMissingTrmRule.isDefault)
+ && Objects.equals(this.validBefore, screeningTRLinkMissingTrmRule.validBefore)
+ && Objects.equals(this.validAfter, screeningTRLinkMissingTrmRule.validAfter)
+ && Objects.equals(this.action, screeningTRLinkMissingTrmRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ validBefore,
+ validAfter,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTRLinkMissingTrmRule {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n");
+ sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `validBefore` to the URL query string
+ if (getValidBefore() != null) {
+ joiner.add(
+ String.format(
+ "%svalidBefore%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidBefore()))));
+ }
+
+ // add `validAfter` to the URL query string
+ if (getValidAfter() != null) {
+ joiner.add(
+ String.format(
+ "%svalidAfter%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidAfter()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java
new file mode 100644
index 00000000..9e0d6aeb
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java
@@ -0,0 +1,1010 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink post-screening rule definition */
+@JsonPropertyOrder({
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_CUSTOMER_ID,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_DIRECTION,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_TYPE,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_ADDRESS,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_DEST_TYPE,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_DEST_ADDRESS,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_ID,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_DEST_ID,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_ASSET,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_BASE_ASSET,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_AMOUNT,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_OPERATION,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_DESCRIPTION,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_IS_DEFAULT,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_PROVIDER_IDENT,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_TRM_STATUS,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_VALID_BEFORE,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_VALID_AFTER,
+ ScreeningTRLinkPostScreeningRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTRLinkPostScreeningRule {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private ScreeningTRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_PROVIDER_IDENT = "providerIdent";
+ @jakarta.annotation.Nullable private String providerIdent;
+
+ public static final String JSON_PROPERTY_TRM_STATUS = "trmStatus";
+ @jakarta.annotation.Nullable private TRLinkTrmScreeningStatusEnum trmStatus;
+
+ public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore";
+ @jakarta.annotation.Nullable private BigDecimal validBefore;
+
+ public static final String JSON_PROPERTY_VALID_AFTER = "validAfter";
+ @jakarta.annotation.Nullable private BigDecimal validAfter;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkVerdictEnum action;
+
+ public ScreeningTRLinkPostScreeningRule() {}
+
+ @JsonCreator
+ public ScreeningTRLinkPostScreeningRule(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true) TRLinkVerdictEnum action) {
+ this.action = action;
+ }
+
+ public ScreeningTRLinkPostScreeningRule customerId(
+ @jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public ScreeningTRLinkPostScreeningRule direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTRLinkPostScreeningRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public ScreeningTRLinkPostScreeningRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public ScreeningTRLinkPostScreeningRule sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public ScreeningTRLinkPostScreeningRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public ScreeningTRLinkPostScreeningRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public ScreeningTRLinkPostScreeningRule destAddress(
+ @jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public ScreeningTRLinkPostScreeningRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public ScreeningTRLinkPostScreeningRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public ScreeningTRLinkPostScreeningRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTRLinkPostScreeningRule baseAsset(
+ @jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public ScreeningTRLinkPostScreeningRule amount(
+ @jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTRLinkPostScreeningRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public ScreeningTRLinkPostScreeningRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public ScreeningTRLinkPostScreeningRule description(
+ @jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public ScreeningTRLinkPostScreeningRule isDefault(
+ @jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public ScreeningTRLinkPostScreeningRule providerIdent(
+ @jakarta.annotation.Nullable String providerIdent) {
+ this.providerIdent = providerIdent;
+ return this;
+ }
+
+ /**
+ * Provider identifier
+ *
+ * @return providerIdent
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_IDENT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getProviderIdent() {
+ return providerIdent;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_IDENT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderIdent(@jakarta.annotation.Nullable String providerIdent) {
+ this.providerIdent = providerIdent;
+ }
+
+ public ScreeningTRLinkPostScreeningRule trmStatus(
+ @jakarta.annotation.Nullable TRLinkTrmScreeningStatusEnum trmStatus) {
+ this.trmStatus = trmStatus;
+ return this;
+ }
+
+ /**
+ * Get trmStatus
+ *
+ * @return trmStatus
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRM_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkTrmScreeningStatusEnum getTrmStatus() {
+ return trmStatus;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRM_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTrmStatus(@jakarta.annotation.Nullable TRLinkTrmScreeningStatusEnum trmStatus) {
+ this.trmStatus = trmStatus;
+ }
+
+ public ScreeningTRLinkPostScreeningRule validBefore(
+ @jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule expires
+ *
+ * @return validBefore
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidBefore() {
+ return validBefore;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ }
+
+ public ScreeningTRLinkPostScreeningRule validAfter(
+ @jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule becomes valid
+ *
+ * @return validAfter
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidAfter() {
+ return validAfter;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ }
+
+ public ScreeningTRLinkPostScreeningRule action(
+ @jakarta.annotation.Nonnull TRLinkVerdictEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkVerdictEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkVerdictEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this ScreeningTRLinkPostScreeningRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTRLinkPostScreeningRule screeningTRLinkPostScreeningRule =
+ (ScreeningTRLinkPostScreeningRule) o;
+ return Objects.equals(this.customerId, screeningTRLinkPostScreeningRule.customerId)
+ && Objects.equals(this.direction, screeningTRLinkPostScreeningRule.direction)
+ && Objects.equals(this.sourceType, screeningTRLinkPostScreeningRule.sourceType)
+ && Objects.equals(
+ this.sourceSubType, screeningTRLinkPostScreeningRule.sourceSubType)
+ && Objects.equals(
+ this.sourceAddress, screeningTRLinkPostScreeningRule.sourceAddress)
+ && Objects.equals(this.destType, screeningTRLinkPostScreeningRule.destType)
+ && Objects.equals(this.destSubType, screeningTRLinkPostScreeningRule.destSubType)
+ && Objects.equals(this.destAddress, screeningTRLinkPostScreeningRule.destAddress)
+ && Objects.equals(this.sourceId, screeningTRLinkPostScreeningRule.sourceId)
+ && Objects.equals(this.destId, screeningTRLinkPostScreeningRule.destId)
+ && Objects.equals(this.asset, screeningTRLinkPostScreeningRule.asset)
+ && Objects.equals(this.baseAsset, screeningTRLinkPostScreeningRule.baseAsset)
+ && Objects.equals(this.amount, screeningTRLinkPostScreeningRule.amount)
+ && Objects.equals(
+ this.networkProtocol, screeningTRLinkPostScreeningRule.networkProtocol)
+ && Objects.equals(this.operation, screeningTRLinkPostScreeningRule.operation)
+ && Objects.equals(this.description, screeningTRLinkPostScreeningRule.description)
+ && Objects.equals(this.isDefault, screeningTRLinkPostScreeningRule.isDefault)
+ && Objects.equals(
+ this.providerIdent, screeningTRLinkPostScreeningRule.providerIdent)
+ && Objects.equals(this.trmStatus, screeningTRLinkPostScreeningRule.trmStatus)
+ && Objects.equals(this.validBefore, screeningTRLinkPostScreeningRule.validBefore)
+ && Objects.equals(this.validAfter, screeningTRLinkPostScreeningRule.validAfter)
+ && Objects.equals(this.action, screeningTRLinkPostScreeningRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ providerIdent,
+ trmStatus,
+ validBefore,
+ validAfter,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTRLinkPostScreeningRule {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" providerIdent: ").append(toIndentedString(providerIdent)).append("\n");
+ sb.append(" trmStatus: ").append(toIndentedString(trmStatus)).append("\n");
+ sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n");
+ sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `providerIdent` to the URL query string
+ if (getProviderIdent() != null) {
+ joiner.add(
+ String.format(
+ "%sproviderIdent%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProviderIdent()))));
+ }
+
+ // add `trmStatus` to the URL query string
+ if (getTrmStatus() != null) {
+ joiner.add(
+ String.format(
+ "%strmStatus%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTrmStatus()))));
+ }
+
+ // add `validBefore` to the URL query string
+ if (getValidBefore() != null) {
+ joiner.add(
+ String.format(
+ "%svalidBefore%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidBefore()))));
+ }
+
+ // add `validAfter` to the URL query string
+ if (getValidAfter() != null) {
+ joiner.add(
+ String.format(
+ "%svalidAfter%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidAfter()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java
new file mode 100644
index 00000000..8db0eabb
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java
@@ -0,0 +1,843 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink pre-screening rule definition */
+@JsonPropertyOrder({
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_CUSTOMER_ID,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_DIRECTION,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_SOURCE_TYPE,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_SOURCE_ADDRESS,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_DEST_TYPE,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_DEST_ADDRESS,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_SOURCE_ID,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_DEST_ID,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_ASSET,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_BASE_ASSET,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_AMOUNT,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_OPERATION,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_DESCRIPTION,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_IS_DEFAULT,
+ ScreeningTRLinkPrescreeningRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTRLinkPrescreeningRule {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private ScreeningTRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkPreScreeningActionEnum action;
+
+ public ScreeningTRLinkPrescreeningRule() {}
+
+ @JsonCreator
+ public ScreeningTRLinkPrescreeningRule(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TRLinkPreScreeningActionEnum action) {
+ this.action = action;
+ }
+
+ public ScreeningTRLinkPrescreeningRule customerId(
+ @jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public ScreeningTRLinkPrescreeningRule direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTRLinkPrescreeningRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public ScreeningTRLinkPrescreeningRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public ScreeningTRLinkPrescreeningRule sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public ScreeningTRLinkPrescreeningRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public ScreeningTRLinkPrescreeningRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public ScreeningTRLinkPrescreeningRule destAddress(
+ @jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public ScreeningTRLinkPrescreeningRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public ScreeningTRLinkPrescreeningRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public ScreeningTRLinkPrescreeningRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTRLinkPrescreeningRule baseAsset(
+ @jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public ScreeningTRLinkPrescreeningRule amount(
+ @jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTRLinkPrescreeningRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public ScreeningTRLinkPrescreeningRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public ScreeningTRLinkPrescreeningRule description(
+ @jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public ScreeningTRLinkPrescreeningRule isDefault(
+ @jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public ScreeningTRLinkPrescreeningRule action(
+ @jakarta.annotation.Nonnull TRLinkPreScreeningActionEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkPreScreeningActionEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkPreScreeningActionEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this ScreeningTRLinkPrescreeningRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTRLinkPrescreeningRule screeningTRLinkPrescreeningRule =
+ (ScreeningTRLinkPrescreeningRule) o;
+ return Objects.equals(this.customerId, screeningTRLinkPrescreeningRule.customerId)
+ && Objects.equals(this.direction, screeningTRLinkPrescreeningRule.direction)
+ && Objects.equals(this.sourceType, screeningTRLinkPrescreeningRule.sourceType)
+ && Objects.equals(this.sourceSubType, screeningTRLinkPrescreeningRule.sourceSubType)
+ && Objects.equals(this.sourceAddress, screeningTRLinkPrescreeningRule.sourceAddress)
+ && Objects.equals(this.destType, screeningTRLinkPrescreeningRule.destType)
+ && Objects.equals(this.destSubType, screeningTRLinkPrescreeningRule.destSubType)
+ && Objects.equals(this.destAddress, screeningTRLinkPrescreeningRule.destAddress)
+ && Objects.equals(this.sourceId, screeningTRLinkPrescreeningRule.sourceId)
+ && Objects.equals(this.destId, screeningTRLinkPrescreeningRule.destId)
+ && Objects.equals(this.asset, screeningTRLinkPrescreeningRule.asset)
+ && Objects.equals(this.baseAsset, screeningTRLinkPrescreeningRule.baseAsset)
+ && Objects.equals(this.amount, screeningTRLinkPrescreeningRule.amount)
+ && Objects.equals(
+ this.networkProtocol, screeningTRLinkPrescreeningRule.networkProtocol)
+ && Objects.equals(this.operation, screeningTRLinkPrescreeningRule.operation)
+ && Objects.equals(this.description, screeningTRLinkPrescreeningRule.description)
+ && Objects.equals(this.isDefault, screeningTRLinkPrescreeningRule.isDefault)
+ && Objects.equals(this.action, screeningTRLinkPrescreeningRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTRLinkPrescreeningRule {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java
new file mode 100644
index 00000000..c5d99808
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java
@@ -0,0 +1,787 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Base interface for TRLink policy rules */
+@JsonPropertyOrder({
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_CUSTOMER_ID,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_DIRECTION,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_SOURCE_TYPE,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_SOURCE_ADDRESS,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_DEST_TYPE,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_DEST_SUB_TYPE,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_DEST_ADDRESS,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_SOURCE_ID,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_DEST_ID,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_ASSET,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_BASE_ASSET,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_AMOUNT,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_NETWORK_PROTOCOL,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_OPERATION,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_DESCRIPTION,
+ ScreeningTRLinkRuleBase.JSON_PROPERTY_IS_DEFAULT
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTRLinkRuleBase {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private ScreeningTRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public ScreeningTRLinkRuleBase() {}
+
+ public ScreeningTRLinkRuleBase customerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public ScreeningTRLinkRuleBase direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTRLinkRuleBase sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public ScreeningTRLinkRuleBase sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public ScreeningTRLinkRuleBase sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public ScreeningTRLinkRuleBase destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public ScreeningTRLinkRuleBase destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public ScreeningTRLinkRuleBase destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public ScreeningTRLinkRuleBase sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public ScreeningTRLinkRuleBase destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public ScreeningTRLinkRuleBase asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTRLinkRuleBase baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public ScreeningTRLinkRuleBase amount(
+ @jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable ScreeningTRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTRLinkRuleBase networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public ScreeningTRLinkRuleBase operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public ScreeningTRLinkRuleBase description(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public ScreeningTRLinkRuleBase isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ /** Return true if this ScreeningTRLinkRuleBase object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTRLinkRuleBase screeningTRLinkRuleBase = (ScreeningTRLinkRuleBase) o;
+ return Objects.equals(this.customerId, screeningTRLinkRuleBase.customerId)
+ && Objects.equals(this.direction, screeningTRLinkRuleBase.direction)
+ && Objects.equals(this.sourceType, screeningTRLinkRuleBase.sourceType)
+ && Objects.equals(this.sourceSubType, screeningTRLinkRuleBase.sourceSubType)
+ && Objects.equals(this.sourceAddress, screeningTRLinkRuleBase.sourceAddress)
+ && Objects.equals(this.destType, screeningTRLinkRuleBase.destType)
+ && Objects.equals(this.destSubType, screeningTRLinkRuleBase.destSubType)
+ && Objects.equals(this.destAddress, screeningTRLinkRuleBase.destAddress)
+ && Objects.equals(this.sourceId, screeningTRLinkRuleBase.sourceId)
+ && Objects.equals(this.destId, screeningTRLinkRuleBase.destId)
+ && Objects.equals(this.asset, screeningTRLinkRuleBase.asset)
+ && Objects.equals(this.baseAsset, screeningTRLinkRuleBase.baseAsset)
+ && Objects.equals(this.amount, screeningTRLinkRuleBase.amount)
+ && Objects.equals(this.networkProtocol, screeningTRLinkRuleBase.networkProtocol)
+ && Objects.equals(this.operation, screeningTRLinkRuleBase.operation)
+ && Objects.equals(this.description, screeningTRLinkRuleBase.description)
+ && Objects.equals(this.isDefault, screeningTRLinkRuleBase.isDefault);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTRLinkRuleBase {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java
new file mode 100644
index 00000000..48bc8dfa
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java
@@ -0,0 +1,342 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** The travel rule configuration that was matched */
+@JsonPropertyOrder({
+ ScreeningTravelRuleMatchedRule.JSON_PROPERTY_DIRECTION,
+ ScreeningTravelRuleMatchedRule.JSON_PROPERTY_STATUS,
+ ScreeningTravelRuleMatchedRule.JSON_PROPERTY_AMOUNT_U_S_D,
+ ScreeningTravelRuleMatchedRule.JSON_PROPERTY_AMOUNT,
+ ScreeningTravelRuleMatchedRule.JSON_PROPERTY_ASSET,
+ ScreeningTravelRuleMatchedRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTravelRuleMatchedRule {
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_STATUS = "status";
+ @jakarta.annotation.Nullable private TravelRuleStatusEnum status;
+
+ public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD";
+ @jakarta.annotation.Nullable private BigDecimal amountUSD;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private BigDecimal amount;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private TravelRuleVerdictEnum action;
+
+ public ScreeningTravelRuleMatchedRule() {}
+
+ public ScreeningTravelRuleMatchedRule direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTravelRuleMatchedRule status(
+ @jakarta.annotation.Nullable TravelRuleStatusEnum status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleStatusEnum getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setStatus(@jakarta.annotation.Nullable TravelRuleStatusEnum status) {
+ this.status = status;
+ }
+
+ public ScreeningTravelRuleMatchedRule amountUSD(
+ @jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ return this;
+ }
+
+ /**
+ * Amount in USD
+ *
+ * @return amountUSD
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmountUSD() {
+ return amountUSD;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmountUSD(@jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ }
+
+ public ScreeningTravelRuleMatchedRule amount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Amount in base currency
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTravelRuleMatchedRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset identifier
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTravelRuleMatchedRule action(
+ @jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleVerdictEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this ScreeningTravelRuleMatchedRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTravelRuleMatchedRule screeningTravelRuleMatchedRule =
+ (ScreeningTravelRuleMatchedRule) o;
+ return Objects.equals(this.direction, screeningTravelRuleMatchedRule.direction)
+ && Objects.equals(this.status, screeningTravelRuleMatchedRule.status)
+ && Objects.equals(this.amountUSD, screeningTravelRuleMatchedRule.amountUSD)
+ && Objects.equals(this.amount, screeningTravelRuleMatchedRule.amount)
+ && Objects.equals(this.asset, screeningTravelRuleMatchedRule.asset)
+ && Objects.equals(this.action, screeningTravelRuleMatchedRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(direction, status, amountUSD, amount, asset, action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTravelRuleMatchedRule {\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `status` to the URL query string
+ if (getStatus() != null) {
+ joiner.add(
+ String.format(
+ "%sstatus%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getStatus()))));
+ }
+
+ // add `amountUSD` to the URL query string
+ if (getAmountUSD() != null) {
+ joiner.add(
+ String.format(
+ "%samountUSD%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(
+ String.format(
+ "%samount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmount()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java
new file mode 100644
index 00000000..083d9b0c
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java
@@ -0,0 +1,813 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * Matched prescreening rule details. Prescreening rules are evaluated before the main screening to
+ * determine if screening is necessary or should be bypassed.
+ */
+@JsonPropertyOrder({
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_BYPASS_REASON,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_SOURCE_TYPE,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_DEST_TYPE,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_TRANSFER_PEER_TYPE,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_DEST_ADDRESS,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_SOURCE_ID,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_DEST_ID,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_ASSET,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_BASE_ASSET,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_AMOUNT,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_AMOUNT_U_S_D,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_OPERATION,
+ ScreeningTravelRulePrescreeningRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTravelRulePrescreeningRule {
+ public static final String JSON_PROPERTY_BYPASS_REASON = "bypassReason";
+ @jakarta.annotation.Nullable private String bypassReason;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_TRANSFER_PEER_TYPE = "transferPeerType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum transferPeerType;
+
+ public static final String JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE = "transferPeerSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum transferPeerSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private BigDecimal amount;
+
+ public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD";
+ @jakarta.annotation.Nullable private BigDecimal amountUSD;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private TravelRuleActionEnum action;
+
+ public ScreeningTravelRulePrescreeningRule() {}
+
+ public ScreeningTravelRulePrescreeningRule bypassReason(
+ @jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ return this;
+ }
+
+ /**
+ * Reason for bypass if prescreening rule triggered a bypass
+ *
+ * @return bypassReason
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBypassReason() {
+ return bypassReason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBypassReason(@jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ }
+
+ public ScreeningTravelRulePrescreeningRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public ScreeningTravelRulePrescreeningRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public ScreeningTravelRulePrescreeningRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public ScreeningTravelRulePrescreeningRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public ScreeningTravelRulePrescreeningRule transferPeerType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum transferPeerType) {
+ this.transferPeerType = transferPeerType;
+ return this;
+ }
+
+ /**
+ * Get transferPeerType
+ *
+ * @return transferPeerType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getTransferPeerType() {
+ return transferPeerType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTransferPeerType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum transferPeerType) {
+ this.transferPeerType = transferPeerType;
+ }
+
+ public ScreeningTravelRulePrescreeningRule transferPeerSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum transferPeerSubType) {
+ this.transferPeerSubType = transferPeerSubType;
+ return this;
+ }
+
+ /**
+ * Get transferPeerSubType
+ *
+ * @return transferPeerSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getTransferPeerSubType() {
+ return transferPeerSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTransferPeerSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum transferPeerSubType) {
+ this.transferPeerSubType = transferPeerSubType;
+ }
+
+ public ScreeningTravelRulePrescreeningRule destAddress(
+ @jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public ScreeningTravelRulePrescreeningRule sourceId(
+ @jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public ScreeningTravelRulePrescreeningRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public ScreeningTravelRulePrescreeningRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset identifier
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public ScreeningTravelRulePrescreeningRule baseAsset(
+ @jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public ScreeningTravelRulePrescreeningRule amount(
+ @jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ }
+
+ public ScreeningTravelRulePrescreeningRule amountUSD(
+ @jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ return this;
+ }
+
+ /**
+ * Amount in USD
+ *
+ * @return amountUSD
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmountUSD() {
+ return amountUSD;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmountUSD(@jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ }
+
+ public ScreeningTravelRulePrescreeningRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public ScreeningTravelRulePrescreeningRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public ScreeningTravelRulePrescreeningRule action(
+ @jakarta.annotation.Nullable TravelRuleActionEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleActionEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable TravelRuleActionEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this ScreeningTravelRulePrescreeningRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTravelRulePrescreeningRule screeningTravelRulePrescreeningRule =
+ (ScreeningTravelRulePrescreeningRule) o;
+ return Objects.equals(this.bypassReason, screeningTravelRulePrescreeningRule.bypassReason)
+ && Objects.equals(this.sourceType, screeningTravelRulePrescreeningRule.sourceType)
+ && Objects.equals(
+ this.sourceSubType, screeningTravelRulePrescreeningRule.sourceSubType)
+ && Objects.equals(this.destType, screeningTravelRulePrescreeningRule.destType)
+ && Objects.equals(this.destSubType, screeningTravelRulePrescreeningRule.destSubType)
+ && Objects.equals(
+ this.transferPeerType, screeningTravelRulePrescreeningRule.transferPeerType)
+ && Objects.equals(
+ this.transferPeerSubType,
+ screeningTravelRulePrescreeningRule.transferPeerSubType)
+ && Objects.equals(this.destAddress, screeningTravelRulePrescreeningRule.destAddress)
+ && Objects.equals(this.sourceId, screeningTravelRulePrescreeningRule.sourceId)
+ && Objects.equals(this.destId, screeningTravelRulePrescreeningRule.destId)
+ && Objects.equals(this.asset, screeningTravelRulePrescreeningRule.asset)
+ && Objects.equals(this.baseAsset, screeningTravelRulePrescreeningRule.baseAsset)
+ && Objects.equals(this.amount, screeningTravelRulePrescreeningRule.amount)
+ && Objects.equals(this.amountUSD, screeningTravelRulePrescreeningRule.amountUSD)
+ && Objects.equals(
+ this.networkProtocol, screeningTravelRulePrescreeningRule.networkProtocol)
+ && Objects.equals(this.operation, screeningTravelRulePrescreeningRule.operation)
+ && Objects.equals(this.action, screeningTravelRulePrescreeningRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ bypassReason,
+ sourceType,
+ sourceSubType,
+ destType,
+ destSubType,
+ transferPeerType,
+ transferPeerSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ amountUSD,
+ networkProtocol,
+ operation,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTravelRulePrescreeningRule {\n");
+ sb.append(" bypassReason: ").append(toIndentedString(bypassReason)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" transferPeerType: ").append(toIndentedString(transferPeerType)).append("\n");
+ sb.append(" transferPeerSubType: ")
+ .append(toIndentedString(transferPeerSubType))
+ .append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `bypassReason` to the URL query string
+ if (getBypassReason() != null) {
+ joiner.add(
+ String.format(
+ "%sbypassReason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBypassReason()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `transferPeerType` to the URL query string
+ if (getTransferPeerType() != null) {
+ joiner.add(
+ String.format(
+ "%stransferPeerType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTransferPeerType()))));
+ }
+
+ // add `transferPeerSubType` to the URL query string
+ if (getTransferPeerSubType() != null) {
+ joiner.add(
+ String.format(
+ "%stransferPeerSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTransferPeerSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(
+ String.format(
+ "%samount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmount()))));
+ }
+
+ // add `amountUSD` to the URL query string
+ if (getAmountUSD() != null) {
+ joiner.add(
+ String.format(
+ "%samountUSD%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD()))));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java
new file mode 100644
index 00000000..9062e135
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java
@@ -0,0 +1,325 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * Detailed Travel Rule screening result containing provider-specific data. Contains Travel Rule
+ * specific information like verified status, rule type, and actions.
+ */
+@JsonPropertyOrder({
+ ScreeningTravelRuleResult.JSON_PROPERTY_DIRECTION,
+ ScreeningTravelRuleResult.JSON_PROPERTY_IS_VERIFIED,
+ ScreeningTravelRuleResult.JSON_PROPERTY_ACTION,
+ ScreeningTravelRuleResult.JSON_PROPERTY_PROVIDER_RESPONSE,
+ ScreeningTravelRuleResult.JSON_PROPERTY_MATCHED_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class ScreeningTravelRuleResult {
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_IS_VERIFIED = "isVerified";
+ @jakarta.annotation.Nullable private Boolean isVerified;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private TravelRuleVerdictEnum action;
+
+ public static final String JSON_PROPERTY_PROVIDER_RESPONSE = "providerResponse";
+ @jakarta.annotation.Nullable private Map providerResponse;
+
+ public static final String JSON_PROPERTY_MATCHED_RULE = "matchedRule";
+ @jakarta.annotation.Nullable private ScreeningTravelRuleMatchedRule matchedRule;
+
+ public ScreeningTravelRuleResult() {}
+
+ public ScreeningTravelRuleResult direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public ScreeningTravelRuleResult isVerified(@jakarta.annotation.Nullable Boolean isVerified) {
+ this.isVerified = isVerified;
+ return this;
+ }
+
+ /**
+ * Whether the travel rule information was verified
+ *
+ * @return isVerified
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_VERIFIED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsVerified() {
+ return isVerified;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_VERIFIED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsVerified(@jakarta.annotation.Nullable Boolean isVerified) {
+ this.isVerified = isVerified;
+ }
+
+ public ScreeningTravelRuleResult action(
+ @jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleVerdictEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ }
+
+ public ScreeningTravelRuleResult providerResponse(
+ @jakarta.annotation.Nullable Map providerResponse) {
+ this.providerResponse = providerResponse;
+ return this;
+ }
+
+ public ScreeningTravelRuleResult putProviderResponseItem(
+ String key, Object providerResponseItem) {
+ if (this.providerResponse == null) {
+ this.providerResponse = new HashMap<>();
+ }
+ this.providerResponse.put(key, providerResponseItem);
+ return this;
+ }
+
+ /**
+ * Complete response from the travel rule provider. This is a dynamic object that varies
+ * significantly between different travel rule providers (NOTABENE etc.). Each provider has
+ * their own proprietary response format and schema. Examples of provider-specific structures: -
+ * NOTABENE: Contains VASP information, PII data, protocol-specific fields The structure is
+ * provider-dependent and cannot be standardized as each vendor implements their own proprietary
+ * data models and response formats.
+ *
+ * @return providerResponse
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public Map getProviderResponse() {
+ return providerResponse;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderResponse(
+ @jakarta.annotation.Nullable Map providerResponse) {
+ this.providerResponse = providerResponse;
+ }
+
+ public ScreeningTravelRuleResult matchedRule(
+ @jakarta.annotation.Nullable ScreeningTravelRuleMatchedRule matchedRule) {
+ this.matchedRule = matchedRule;
+ return this;
+ }
+
+ /**
+ * Get matchedRule
+ *
+ * @return matchedRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTravelRuleMatchedRule getMatchedRule() {
+ return matchedRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedRule(
+ @jakarta.annotation.Nullable ScreeningTravelRuleMatchedRule matchedRule) {
+ this.matchedRule = matchedRule;
+ }
+
+ /** Return true if this ScreeningTravelRuleResult object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ ScreeningTravelRuleResult screeningTravelRuleResult = (ScreeningTravelRuleResult) o;
+ return Objects.equals(this.direction, screeningTravelRuleResult.direction)
+ && Objects.equals(this.isVerified, screeningTravelRuleResult.isVerified)
+ && Objects.equals(this.action, screeningTravelRuleResult.action)
+ && Objects.equals(this.providerResponse, screeningTravelRuleResult.providerResponse)
+ && Objects.equals(this.matchedRule, screeningTravelRuleResult.matchedRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(direction, isVerified, action, providerResponse, matchedRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class ScreeningTravelRuleResult {\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" isVerified: ").append(toIndentedString(isVerified)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).append("\n");
+ sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n");
+ sb.append(" matchedRule: ").append(toIndentedString(matchedRule)).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 `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `isVerified` to the URL query string
+ if (getIsVerified() != null) {
+ joiner.add(
+ String.format(
+ "%sisVerified%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsVerified()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ // add `providerResponse` to the URL query string
+ if (getProviderResponse() != null) {
+ for (String _key : getProviderResponse().keySet()) {
+ joiner.add(
+ String.format(
+ "%sproviderResponse%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, _key, containerSuffix),
+ getProviderResponse().get(_key),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getProviderResponse().get(_key)))));
+ }
+ }
+
+ // add `matchedRule` to the URL query string
+ if (getMatchedRule() != null) {
+ joiner.add(getMatchedRule().toUrlQueryString(prefix + "matchedRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java
new file mode 100644
index 00000000..6631dc7a
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java
@@ -0,0 +1,80 @@
+/*
+ * 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.JsonValue;
+
+/**
+ * The final verdict of the screening (unified for AML, Travel Rule, and TRLink). Different
+ * providers may return different verdict values: - AML: PASS, FAIL, ALERT - Travel Rule: PASS,
+ * FAIL, TRAVEL_RULE_REQUIRED - TRLink: PASS, REJECT, WARN
+ */
+public enum ScreeningVerdictEnum {
+ PASS("PASS"),
+
+ FAIL("FAIL"),
+
+ ALERT("ALERT"),
+
+ REJECT("REJECT"),
+
+ WARN("WARN"),
+
+ TRAVEL_RULE_REQUIRED("TRAVEL_RULE_REQUIRED"),
+
+ ACCEPT("ACCEPT"),
+
+ REVIEW("REVIEW");
+
+ private String value;
+
+ ScreeningVerdictEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ScreeningVerdictEnum fromValue(String value) {
+ for (ScreeningVerdictEnum b : ScreeningVerdictEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SourceConfig.java b/src/main/java/com/fireblocks/sdk/model/SourceConfig.java
new file mode 100644
index 00000000..1966b7ff
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SourceConfig.java
@@ -0,0 +1,457 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Source account configuration for policy rules */
+@JsonPropertyOrder({
+ SourceConfig.JSON_PROPERTY_TYPE,
+ SourceConfig.JSON_PROPERTY_SUB_TYPE,
+ SourceConfig.JSON_PROPERTY_IDS,
+ SourceConfig.JSON_PROPERTY_TAGS,
+ SourceConfig.JSON_PROPERTY_OPERATOR,
+ SourceConfig.JSON_PROPERTY_MATCH_FROM
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SourceConfig {
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nullable private List type;
+
+ public static final String JSON_PROPERTY_SUB_TYPE = "subType";
+ @jakarta.annotation.Nullable private List subType;
+
+ public static final String JSON_PROPERTY_IDS = "ids";
+ @jakarta.annotation.Nullable private List ids;
+
+ public static final String JSON_PROPERTY_TAGS = "tags";
+ @jakarta.annotation.Nullable private List tags;
+
+ public static final String JSON_PROPERTY_OPERATOR = "operator";
+ @jakarta.annotation.Nonnull private PolicyOperator operator;
+
+ /** Whether to match from account (relevant only for ORDER policy type) */
+ public enum MatchFromEnum {
+ ACCOUNT(String.valueOf("ACCOUNT"));
+
+ private String value;
+
+ MatchFromEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static MatchFromEnum fromValue(String value) {
+ for (MatchFromEnum b : MatchFromEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_MATCH_FROM = "matchFrom";
+ @jakarta.annotation.Nullable private MatchFromEnum matchFrom;
+
+ public SourceConfig() {}
+
+ @JsonCreator
+ public SourceConfig(
+ @JsonProperty(value = JSON_PROPERTY_OPERATOR, required = true)
+ PolicyOperator operator) {
+ this.operator = operator;
+ }
+
+ public SourceConfig type(@jakarta.annotation.Nullable List type) {
+ this.type = type;
+ return this;
+ }
+
+ public SourceConfig addTypeItem(AccountType2 typeItem) {
+ if (this.type == null) {
+ this.type = new ArrayList<>();
+ }
+ this.type.add(typeItem);
+ return this;
+ }
+
+ /**
+ * Source account types
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setType(@jakarta.annotation.Nullable List type) {
+ this.type = type;
+ }
+
+ public SourceConfig subType(@jakarta.annotation.Nullable List subType) {
+ this.subType = subType;
+ return this;
+ }
+
+ public SourceConfig addSubTypeItem(AccountIdentifier subTypeItem) {
+ if (this.subType == null) {
+ this.subType = new ArrayList<>();
+ }
+ this.subType.add(subTypeItem);
+ return this;
+ }
+
+ /**
+ * Source account subtypes
+ *
+ * @return subType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getSubType() {
+ return subType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSubType(@jakarta.annotation.Nullable List subType) {
+ this.subType = subType;
+ }
+
+ public SourceConfig ids(@jakarta.annotation.Nullable List ids) {
+ this.ids = ids;
+ return this;
+ }
+
+ public SourceConfig addIdsItem(AccountIdentifier idsItem) {
+ if (this.ids == null) {
+ this.ids = new ArrayList<>();
+ }
+ this.ids.add(idsItem);
+ return this;
+ }
+
+ /**
+ * Source account identifiers
+ *
+ * @return ids
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IDS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getIds() {
+ return ids;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IDS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIds(@jakarta.annotation.Nullable List ids) {
+ this.ids = ids;
+ }
+
+ public SourceConfig tags(@jakarta.annotation.Nullable List tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ public SourceConfig addTagsItem(PolicyTag tagsItem) {
+ if (this.tags == null) {
+ this.tags = new ArrayList<>();
+ }
+ this.tags.add(tagsItem);
+ return this;
+ }
+
+ /**
+ * Tags for source matching
+ *
+ * @return tags
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TAGS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getTags() {
+ return tags;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAGS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTags(@jakarta.annotation.Nullable List tags) {
+ this.tags = tags;
+ }
+
+ public SourceConfig operator(@jakarta.annotation.Nonnull PolicyOperator operator) {
+ this.operator = operator;
+ return this;
+ }
+
+ /**
+ * Get operator
+ *
+ * @return operator
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_OPERATOR)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public PolicyOperator getOperator() {
+ return operator;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATOR)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOperator(@jakarta.annotation.Nonnull PolicyOperator operator) {
+ this.operator = operator;
+ }
+
+ public SourceConfig matchFrom(@jakarta.annotation.Nullable MatchFromEnum matchFrom) {
+ this.matchFrom = matchFrom;
+ return this;
+ }
+
+ /**
+ * Whether to match from account (relevant only for ORDER policy type)
+ *
+ * @return matchFrom
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCH_FROM)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public MatchFromEnum getMatchFrom() {
+ return matchFrom;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCH_FROM)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchFrom(@jakarta.annotation.Nullable MatchFromEnum matchFrom) {
+ this.matchFrom = matchFrom;
+ }
+
+ /** Return true if this SourceConfig object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SourceConfig sourceConfig = (SourceConfig) o;
+ return Objects.equals(this.type, sourceConfig.type)
+ && Objects.equals(this.subType, sourceConfig.subType)
+ && Objects.equals(this.ids, sourceConfig.ids)
+ && Objects.equals(this.tags, sourceConfig.tags)
+ && Objects.equals(this.operator, sourceConfig.operator)
+ && Objects.equals(this.matchFrom, sourceConfig.matchFrom);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, subType, ids, tags, operator, matchFrom);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SourceConfig {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" subType: ").append(toIndentedString(subType)).append("\n");
+ sb.append(" ids: ").append(toIndentedString(ids)).append("\n");
+ sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
+ sb.append(" operator: ").append(toIndentedString(operator)).append("\n");
+ sb.append(" matchFrom: ").append(toIndentedString(matchFrom)).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 `type` to the URL query string
+ if (getType() != null) {
+ for (int i = 0; i < getType().size(); i++) {
+ if (getType().get(i) != null) {
+ joiner.add(
+ String.format(
+ "%stype%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getType().get(i)))));
+ }
+ }
+ }
+
+ // add `subType` to the URL query string
+ if (getSubType() != null) {
+ for (int i = 0; i < getSubType().size(); i++) {
+ if (getSubType().get(i) != null) {
+ joiner.add(
+ getSubType()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%ssubType%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `ids` to the URL query string
+ if (getIds() != null) {
+ for (int i = 0; i < getIds().size(); i++) {
+ if (getIds().get(i) != null) {
+ joiner.add(
+ getIds().get(i)
+ .toUrlQueryString(
+ String.format(
+ "%sids%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `tags` to the URL query string
+ if (getTags() != null) {
+ for (int i = 0; i < getTags().size(); i++) {
+ if (getTags().get(i) != null) {
+ joiner.add(
+ getTags()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%stags%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `operator` to the URL query string
+ if (getOperator() != null) {
+ joiner.add(
+ String.format(
+ "%soperator%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperator()))));
+ }
+
+ // add `matchFrom` to the URL query string
+ if (getMatchFrom() != null) {
+ joiner.add(
+ String.format(
+ "%smatchFrom%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getMatchFrom()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java b/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java
new file mode 100644
index 00000000..6187a85a
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java
@@ -0,0 +1,228 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** SpeiAddress */
+@JsonPropertyOrder({
+ SpeiAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ SpeiAddress.JSON_PROPERTY_BANK_NAME,
+ SpeiAddress.JSON_PROPERTY_BANK_ACCOUNT_NUMBER
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SpeiAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_BANK_NAME = "bankName";
+ @jakarta.annotation.Nullable private String bankName;
+
+ public static final String JSON_PROPERTY_BANK_ACCOUNT_NUMBER = "bankAccountNumber";
+ @jakarta.annotation.Nonnull private String bankAccountNumber;
+
+ public SpeiAddress() {}
+
+ @JsonCreator
+ public SpeiAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_BANK_ACCOUNT_NUMBER, required = true)
+ String bankAccountNumber) {
+ this.accountHolder = accountHolder;
+ this.bankAccountNumber = bankAccountNumber;
+ }
+
+ public SpeiAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public SpeiAddress bankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Name of the bank.
+ *
+ * @return bankName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankName() {
+ return bankName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ }
+
+ public SpeiAddress bankAccountNumber(@jakarta.annotation.Nonnull String bankAccountNumber) {
+ this.bankAccountNumber = bankAccountNumber;
+ return this;
+ }
+
+ /**
+ * The bank account number for the SPEI transfer.
+ *
+ * @return bankAccountNumber
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getBankAccountNumber() {
+ return bankAccountNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBankAccountNumber(@jakarta.annotation.Nonnull String bankAccountNumber) {
+ this.bankAccountNumber = bankAccountNumber;
+ }
+
+ /** Return true if this SpeiAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SpeiAddress speiAddress = (SpeiAddress) o;
+ return Objects.equals(this.accountHolder, speiAddress.accountHolder)
+ && Objects.equals(this.bankName, speiAddress.bankName)
+ && Objects.equals(this.bankAccountNumber, speiAddress.bankAccountNumber);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, bankName, bankAccountNumber);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SpeiAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" bankAccountNumber: ")
+ .append(toIndentedString(bankAccountNumber))
+ .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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `bankName` to the URL query string
+ if (getBankName() != null) {
+ joiner.add(
+ String.format(
+ "%sbankName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankName()))));
+ }
+
+ // add `bankAccountNumber` to the URL query string
+ if (getBankAccountNumber() != null) {
+ joiner.add(
+ String.format(
+ "%sbankAccountNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankAccountNumber()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java b/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java
new file mode 100644
index 00000000..d147c2e2
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** SpeiDestination */
+@JsonPropertyOrder({SpeiDestination.JSON_PROPERTY_TYPE, SpeiDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SpeiDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ SPEI(String.valueOf("SPEI"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private SpeiAddress address;
+
+ public SpeiDestination() {}
+
+ @JsonCreator
+ public SpeiDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) SpeiAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public SpeiDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public SpeiDestination address(@jakarta.annotation.Nonnull SpeiAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public SpeiAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull SpeiAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this SpeiDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SpeiDestination speiDestination = (SpeiDestination) o;
+ return Objects.equals(this.type, speiDestination.type)
+ && Objects.equals(this.address, speiDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SpeiDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java b/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java
new file mode 100644
index 00000000..df9fe851
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java
@@ -0,0 +1,228 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** SwiftAddress */
+@JsonPropertyOrder({
+ SwiftAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ SwiftAddress.JSON_PROPERTY_SWIFT_CODE,
+ SwiftAddress.JSON_PROPERTY_ROUTING_NUMBER
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SwiftAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_SWIFT_CODE = "swiftCode";
+ @jakarta.annotation.Nonnull private String swiftCode;
+
+ public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber";
+ @jakarta.annotation.Nonnull private String routingNumber;
+
+ public SwiftAddress() {}
+
+ @JsonCreator
+ public SwiftAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_SWIFT_CODE, required = true) String swiftCode,
+ @JsonProperty(value = JSON_PROPERTY_ROUTING_NUMBER, required = true)
+ String routingNumber) {
+ this.accountHolder = accountHolder;
+ this.swiftCode = swiftCode;
+ this.routingNumber = routingNumber;
+ }
+
+ public SwiftAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public SwiftAddress swiftCode(@jakarta.annotation.Nonnull String swiftCode) {
+ this.swiftCode = swiftCode;
+ return this;
+ }
+
+ /**
+ * Get swiftCode
+ *
+ * @return swiftCode
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SWIFT_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getSwiftCode() {
+ return swiftCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SWIFT_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setSwiftCode(@jakarta.annotation.Nonnull String swiftCode) {
+ this.swiftCode = swiftCode;
+ }
+
+ public SwiftAddress routingNumber(@jakarta.annotation.Nonnull String routingNumber) {
+ this.routingNumber = routingNumber;
+ return this;
+ }
+
+ /**
+ * Routing number identifying the bank account.
+ *
+ * @return routingNumber
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getRoutingNumber() {
+ return routingNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setRoutingNumber(@jakarta.annotation.Nonnull String routingNumber) {
+ this.routingNumber = routingNumber;
+ }
+
+ /** Return true if this SwiftAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SwiftAddress swiftAddress = (SwiftAddress) o;
+ return Objects.equals(this.accountHolder, swiftAddress.accountHolder)
+ && Objects.equals(this.swiftCode, swiftAddress.swiftCode)
+ && Objects.equals(this.routingNumber, swiftAddress.routingNumber);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, swiftCode, routingNumber);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SwiftAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" swiftCode: ").append(toIndentedString(swiftCode)).append("\n");
+ sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `swiftCode` to the URL query string
+ if (getSwiftCode() != null) {
+ joiner.add(
+ String.format(
+ "%sswiftCode%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSwiftCode()))));
+ }
+
+ // add `routingNumber` to the URL query string
+ if (getRoutingNumber() != null) {
+ joiner.add(
+ String.format(
+ "%sroutingNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getRoutingNumber()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java b/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java
new file mode 100644
index 00000000..f443c059
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** SwiftDestination */
+@JsonPropertyOrder({SwiftDestination.JSON_PROPERTY_TYPE, SwiftDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class SwiftDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ SWIFT(String.valueOf("SWIFT"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private SwiftAddress address;
+
+ public SwiftDestination() {}
+
+ @JsonCreator
+ public SwiftDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) SwiftAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public SwiftDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public SwiftDestination address(@jakarta.annotation.Nonnull SwiftAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public SwiftAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull SwiftAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this SwiftDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SwiftDestination swiftDestination = (SwiftDestination) o;
+ return Objects.equals(this.type, swiftDestination.type)
+ && Objects.equals(this.address, swiftDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SwiftDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java
new file mode 100644
index 00000000..eda32c53
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java
@@ -0,0 +1,210 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * TRLink amount definition with range and currency, compatible with TAP format from Policy Engine
+ * V2
+ */
+@JsonPropertyOrder({TRLinkAmount.JSON_PROPERTY_RANGE, TRLinkAmount.JSON_PROPERTY_CURRENCY})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkAmount {
+ public static final String JSON_PROPERTY_RANGE = "range";
+ @jakarta.annotation.Nullable private AmountRangeMinMax range;
+
+ /** Currency type */
+ public enum CurrencyEnum {
+ USD(String.valueOf("USD")),
+
+ NATIVE(String.valueOf("NATIVE"));
+
+ private String value;
+
+ CurrencyEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static CurrencyEnum fromValue(String value) {
+ for (CurrencyEnum b : CurrencyEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_CURRENCY = "currency";
+ @jakarta.annotation.Nullable private CurrencyEnum currency;
+
+ public TRLinkAmount() {}
+
+ public TRLinkAmount range(@jakarta.annotation.Nullable AmountRangeMinMax range) {
+ this.range = range;
+ return this;
+ }
+
+ /**
+ * Get range
+ *
+ * @return range
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RANGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public AmountRangeMinMax getRange() {
+ return range;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RANGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRange(@jakarta.annotation.Nullable AmountRangeMinMax range) {
+ this.range = range;
+ }
+
+ public TRLinkAmount currency(@jakarta.annotation.Nullable CurrencyEnum currency) {
+ this.currency = currency;
+ return this;
+ }
+
+ /**
+ * Currency type
+ *
+ * @return currency
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CURRENCY)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public CurrencyEnum getCurrency() {
+ return currency;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CURRENCY)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCurrency(@jakarta.annotation.Nullable CurrencyEnum currency) {
+ this.currency = currency;
+ }
+
+ /** Return true if this TRLinkAmount object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkAmount trLinkAmount = (TRLinkAmount) o;
+ return Objects.equals(this.range, trLinkAmount.range)
+ && Objects.equals(this.currency, trLinkAmount.currency);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(range, currency);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkAmount {\n");
+ sb.append(" range: ").append(toIndentedString(range)).append("\n");
+ sb.append(" currency: ").append(toIndentedString(currency)).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 `range` to the URL query string
+ if (getRange() != null) {
+ joiner.add(getRange().toUrlQueryString(prefix + "range" + suffix));
+ }
+
+ // add `currency` to the URL query string
+ if (getCurrency() != null) {
+ joiner.add(
+ String.format(
+ "%scurrency%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCurrency()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java
new file mode 100644
index 00000000..1dd9ec76
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink missing TRM action */
+public enum TRLinkMissingTrmAction {
+ WAIT("WAIT"),
+
+ REJECT("REJECT"),
+
+ ACCEPT("ACCEPT"),
+
+ INITIATE_TRM("INITIATE_TRM");
+
+ private String value;
+
+ TRLinkMissingTrmAction(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkMissingTrmAction fromValue(String value) {
+ for (TRLinkMissingTrmAction b : TRLinkMissingTrmAction.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java
new file mode 100644
index 00000000..aab486c9
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink missing TRM action */
+public enum TRLinkMissingTrmActionEnum {
+ WAIT("WAIT"),
+
+ REJECT("REJECT"),
+
+ ACCEPT("ACCEPT"),
+
+ INITIATE_TRM("INITIATE_TRM");
+
+ private String value;
+
+ TRLinkMissingTrmActionEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkMissingTrmActionEnum fromValue(String value) {
+ for (TRLinkMissingTrmActionEnum b : TRLinkMissingTrmActionEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java
new file mode 100644
index 00000000..02545cf4
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java
@@ -0,0 +1,1041 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.time.OffsetDateTime;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Interface for reporting missing TRM screening decisions in ITRLinkResult */
+@JsonPropertyOrder({
+ TRLinkMissingTrmDecision.JSON_PROPERTY_CUSTOMER_ID,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_DIRECTION,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_TYPE,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_ADDRESS,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_DEST_TYPE,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_DEST_SUB_TYPE,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE_ID,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_DEST_ID,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_ASSET,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_BASE_ASSET,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_AMOUNT,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_NETWORK_PROTOCOL,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_OPERATION,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_DESCRIPTION,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_IS_DEFAULT,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_VALID_BEFORE,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_VALID_AFTER,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_ACTION,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_SOURCE,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_TIMESTAMP,
+ TRLinkMissingTrmDecision.JSON_PROPERTY_REASON
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkMissingTrmDecision {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TransactionDirection direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private TRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore";
+ @jakarta.annotation.Nullable private BigDecimal validBefore;
+
+ public static final String JSON_PROPERTY_VALID_AFTER = "validAfter";
+ @jakarta.annotation.Nullable private BigDecimal validAfter;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkMissingTrmAction action;
+
+ public static final String JSON_PROPERTY_SOURCE = "source";
+ @jakarta.annotation.Nonnull private String source;
+
+ public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
+ @jakarta.annotation.Nullable private OffsetDateTime timestamp;
+
+ public static final String JSON_PROPERTY_REASON = "reason";
+ @jakarta.annotation.Nullable private String reason;
+
+ public TRLinkMissingTrmDecision() {}
+
+ @JsonCreator
+ public TRLinkMissingTrmDecision(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TRLinkMissingTrmAction action,
+ @JsonProperty(value = JSON_PROPERTY_SOURCE, required = true) String source) {
+ this.action = action;
+ this.source = source;
+ }
+
+ public TRLinkMissingTrmDecision customerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public TRLinkMissingTrmDecision direction(
+ @jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionDirection getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ }
+
+ public TRLinkMissingTrmDecision sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public TRLinkMissingTrmDecision sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public TRLinkMissingTrmDecision sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public TRLinkMissingTrmDecision destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public TRLinkMissingTrmDecision destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public TRLinkMissingTrmDecision destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkMissingTrmDecision sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public TRLinkMissingTrmDecision destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public TRLinkMissingTrmDecision asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TRLinkMissingTrmDecision baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public TRLinkMissingTrmDecision amount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public TRLinkMissingTrmDecision networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public TRLinkMissingTrmDecision operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public TRLinkMissingTrmDecision description(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public TRLinkMissingTrmDecision isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public TRLinkMissingTrmDecision validBefore(
+ @jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule expires
+ *
+ * @return validBefore
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidBefore() {
+ return validBefore;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ }
+
+ public TRLinkMissingTrmDecision validAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule becomes valid
+ *
+ * @return validAfter
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidAfter() {
+ return validAfter;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ }
+
+ public TRLinkMissingTrmDecision action(
+ @jakarta.annotation.Nonnull TRLinkMissingTrmAction action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkMissingTrmAction getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkMissingTrmAction action) {
+ this.action = action;
+ }
+
+ public TRLinkMissingTrmDecision source(@jakarta.annotation.Nonnull String source) {
+ this.source = source;
+ return this;
+ }
+
+ /**
+ * TRLink missing TRM source
+ *
+ * @return source
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SOURCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getSource() {
+ return source;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setSource(@jakarta.annotation.Nonnull String source) {
+ this.source = source;
+ }
+
+ public TRLinkMissingTrmDecision timestamp(
+ @jakarta.annotation.Nullable OffsetDateTime timestamp) {
+ this.timestamp = timestamp;
+ return this;
+ }
+
+ /**
+ * Timestamp of the decision
+ *
+ * @return timestamp
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public OffsetDateTime getTimestamp() {
+ return timestamp;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTimestamp(@jakarta.annotation.Nullable OffsetDateTime timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkMissingTrmDecision reason(@jakarta.annotation.Nullable String reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Reason for the decision
+ *
+ * @return reason
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setReason(@jakarta.annotation.Nullable String reason) {
+ this.reason = reason;
+ }
+
+ /** Return true if this TRLinkMissingTrmDecision object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkMissingTrmDecision trLinkMissingTrmDecision = (TRLinkMissingTrmDecision) o;
+ return Objects.equals(this.customerId, trLinkMissingTrmDecision.customerId)
+ && Objects.equals(this.direction, trLinkMissingTrmDecision.direction)
+ && Objects.equals(this.sourceType, trLinkMissingTrmDecision.sourceType)
+ && Objects.equals(this.sourceSubType, trLinkMissingTrmDecision.sourceSubType)
+ && Objects.equals(this.sourceAddress, trLinkMissingTrmDecision.sourceAddress)
+ && Objects.equals(this.destType, trLinkMissingTrmDecision.destType)
+ && Objects.equals(this.destSubType, trLinkMissingTrmDecision.destSubType)
+ && Objects.equals(this.destAddress, trLinkMissingTrmDecision.destAddress)
+ && Objects.equals(this.sourceId, trLinkMissingTrmDecision.sourceId)
+ && Objects.equals(this.destId, trLinkMissingTrmDecision.destId)
+ && Objects.equals(this.asset, trLinkMissingTrmDecision.asset)
+ && Objects.equals(this.baseAsset, trLinkMissingTrmDecision.baseAsset)
+ && Objects.equals(this.amount, trLinkMissingTrmDecision.amount)
+ && Objects.equals(this.networkProtocol, trLinkMissingTrmDecision.networkProtocol)
+ && Objects.equals(this.operation, trLinkMissingTrmDecision.operation)
+ && Objects.equals(this.description, trLinkMissingTrmDecision.description)
+ && Objects.equals(this.isDefault, trLinkMissingTrmDecision.isDefault)
+ && Objects.equals(this.validBefore, trLinkMissingTrmDecision.validBefore)
+ && Objects.equals(this.validAfter, trLinkMissingTrmDecision.validAfter)
+ && Objects.equals(this.action, trLinkMissingTrmDecision.action)
+ && Objects.equals(this.source, trLinkMissingTrmDecision.source)
+ && Objects.equals(this.timestamp, trLinkMissingTrmDecision.timestamp)
+ && Objects.equals(this.reason, trLinkMissingTrmDecision.reason);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ validBefore,
+ validAfter,
+ action,
+ source,
+ timestamp,
+ reason);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkMissingTrmDecision {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n");
+ sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).append("\n");
+ sb.append(" source: ").append(toIndentedString(source)).append("\n");
+ sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
+ sb.append(" reason: ").append(toIndentedString(reason)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `validBefore` to the URL query string
+ if (getValidBefore() != null) {
+ joiner.add(
+ String.format(
+ "%svalidBefore%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidBefore()))));
+ }
+
+ // add `validAfter` to the URL query string
+ if (getValidAfter() != null) {
+ joiner.add(
+ String.format(
+ "%svalidAfter%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidAfter()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ // add `source` to the URL query string
+ if (getSource() != null) {
+ joiner.add(
+ String.format(
+ "%ssource%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSource()))));
+ }
+
+ // add `timestamp` to the URL query string
+ if (getTimestamp() != null) {
+ joiner.add(
+ String.format(
+ "%stimestamp%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimestamp()))));
+ }
+
+ // add `reason` to the URL query string
+ if (getReason() != null) {
+ joiner.add(
+ String.format(
+ "%sreason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getReason()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java
new file mode 100644
index 00000000..a4a4fa67
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java
@@ -0,0 +1,914 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink missing TRM rule definition */
+@JsonPropertyOrder({
+ TRLinkMissingTrmRule.JSON_PROPERTY_CUSTOMER_ID,
+ TRLinkMissingTrmRule.JSON_PROPERTY_DIRECTION,
+ TRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_TYPE,
+ TRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ TRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_ADDRESS,
+ TRLinkMissingTrmRule.JSON_PROPERTY_DEST_TYPE,
+ TRLinkMissingTrmRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ TRLinkMissingTrmRule.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkMissingTrmRule.JSON_PROPERTY_SOURCE_ID,
+ TRLinkMissingTrmRule.JSON_PROPERTY_DEST_ID,
+ TRLinkMissingTrmRule.JSON_PROPERTY_ASSET,
+ TRLinkMissingTrmRule.JSON_PROPERTY_BASE_ASSET,
+ TRLinkMissingTrmRule.JSON_PROPERTY_AMOUNT,
+ TRLinkMissingTrmRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ TRLinkMissingTrmRule.JSON_PROPERTY_OPERATION,
+ TRLinkMissingTrmRule.JSON_PROPERTY_DESCRIPTION,
+ TRLinkMissingTrmRule.JSON_PROPERTY_IS_DEFAULT,
+ TRLinkMissingTrmRule.JSON_PROPERTY_VALID_BEFORE,
+ TRLinkMissingTrmRule.JSON_PROPERTY_VALID_AFTER,
+ TRLinkMissingTrmRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkMissingTrmRule {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TransactionDirection direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private TRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore";
+ @jakarta.annotation.Nullable private BigDecimal validBefore;
+
+ public static final String JSON_PROPERTY_VALID_AFTER = "validAfter";
+ @jakarta.annotation.Nullable private BigDecimal validAfter;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkMissingTrmAction action;
+
+ public TRLinkMissingTrmRule() {}
+
+ @JsonCreator
+ public TRLinkMissingTrmRule(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TRLinkMissingTrmAction action) {
+ this.action = action;
+ }
+
+ public TRLinkMissingTrmRule customerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public TRLinkMissingTrmRule direction(
+ @jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionDirection getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ }
+
+ public TRLinkMissingTrmRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public TRLinkMissingTrmRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public TRLinkMissingTrmRule sourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public TRLinkMissingTrmRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public TRLinkMissingTrmRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public TRLinkMissingTrmRule destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkMissingTrmRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public TRLinkMissingTrmRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public TRLinkMissingTrmRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TRLinkMissingTrmRule baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public TRLinkMissingTrmRule amount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public TRLinkMissingTrmRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public TRLinkMissingTrmRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public TRLinkMissingTrmRule description(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public TRLinkMissingTrmRule isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public TRLinkMissingTrmRule validBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule expires
+ *
+ * @return validBefore
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidBefore() {
+ return validBefore;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ }
+
+ public TRLinkMissingTrmRule validAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule becomes valid
+ *
+ * @return validAfter
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidAfter() {
+ return validAfter;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ }
+
+ public TRLinkMissingTrmRule action(@jakarta.annotation.Nonnull TRLinkMissingTrmAction action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkMissingTrmAction getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkMissingTrmAction action) {
+ this.action = action;
+ }
+
+ /** Return true if this TRLinkMissingTrmRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkMissingTrmRule trLinkMissingTrmRule = (TRLinkMissingTrmRule) o;
+ return Objects.equals(this.customerId, trLinkMissingTrmRule.customerId)
+ && Objects.equals(this.direction, trLinkMissingTrmRule.direction)
+ && Objects.equals(this.sourceType, trLinkMissingTrmRule.sourceType)
+ && Objects.equals(this.sourceSubType, trLinkMissingTrmRule.sourceSubType)
+ && Objects.equals(this.sourceAddress, trLinkMissingTrmRule.sourceAddress)
+ && Objects.equals(this.destType, trLinkMissingTrmRule.destType)
+ && Objects.equals(this.destSubType, trLinkMissingTrmRule.destSubType)
+ && Objects.equals(this.destAddress, trLinkMissingTrmRule.destAddress)
+ && Objects.equals(this.sourceId, trLinkMissingTrmRule.sourceId)
+ && Objects.equals(this.destId, trLinkMissingTrmRule.destId)
+ && Objects.equals(this.asset, trLinkMissingTrmRule.asset)
+ && Objects.equals(this.baseAsset, trLinkMissingTrmRule.baseAsset)
+ && Objects.equals(this.amount, trLinkMissingTrmRule.amount)
+ && Objects.equals(this.networkProtocol, trLinkMissingTrmRule.networkProtocol)
+ && Objects.equals(this.operation, trLinkMissingTrmRule.operation)
+ && Objects.equals(this.description, trLinkMissingTrmRule.description)
+ && Objects.equals(this.isDefault, trLinkMissingTrmRule.isDefault)
+ && Objects.equals(this.validBefore, trLinkMissingTrmRule.validBefore)
+ && Objects.equals(this.validAfter, trLinkMissingTrmRule.validAfter)
+ && Objects.equals(this.action, trLinkMissingTrmRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ validBefore,
+ validAfter,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkMissingTrmRule {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n");
+ sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `validBefore` to the URL query string
+ if (getValidBefore() != null) {
+ joiner.add(
+ String.format(
+ "%svalidBefore%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidBefore()))));
+ }
+
+ // add `validAfter` to the URL query string
+ if (getValidAfter() != null) {
+ joiner.add(
+ String.format(
+ "%svalidAfter%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidAfter()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java
new file mode 100644
index 00000000..2c28e4a0
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java
@@ -0,0 +1,997 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink post-screening rule definition */
+@JsonPropertyOrder({
+ TRLinkPostScreeningRule.JSON_PROPERTY_CUSTOMER_ID,
+ TRLinkPostScreeningRule.JSON_PROPERTY_DIRECTION,
+ TRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_TYPE,
+ TRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ TRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_ADDRESS,
+ TRLinkPostScreeningRule.JSON_PROPERTY_DEST_TYPE,
+ TRLinkPostScreeningRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ TRLinkPostScreeningRule.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkPostScreeningRule.JSON_PROPERTY_SOURCE_ID,
+ TRLinkPostScreeningRule.JSON_PROPERTY_DEST_ID,
+ TRLinkPostScreeningRule.JSON_PROPERTY_ASSET,
+ TRLinkPostScreeningRule.JSON_PROPERTY_BASE_ASSET,
+ TRLinkPostScreeningRule.JSON_PROPERTY_AMOUNT,
+ TRLinkPostScreeningRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ TRLinkPostScreeningRule.JSON_PROPERTY_OPERATION,
+ TRLinkPostScreeningRule.JSON_PROPERTY_DESCRIPTION,
+ TRLinkPostScreeningRule.JSON_PROPERTY_IS_DEFAULT,
+ TRLinkPostScreeningRule.JSON_PROPERTY_PROVIDER_IDENT,
+ TRLinkPostScreeningRule.JSON_PROPERTY_TRM_STATUS,
+ TRLinkPostScreeningRule.JSON_PROPERTY_VALID_BEFORE,
+ TRLinkPostScreeningRule.JSON_PROPERTY_VALID_AFTER,
+ TRLinkPostScreeningRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkPostScreeningRule {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TransactionDirection direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private TRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_PROVIDER_IDENT = "providerIdent";
+ @jakarta.annotation.Nullable private String providerIdent;
+
+ public static final String JSON_PROPERTY_TRM_STATUS = "trmStatus";
+ @jakarta.annotation.Nullable private TRLinkTrmScreeningStatus trmStatus;
+
+ public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore";
+ @jakarta.annotation.Nullable private BigDecimal validBefore;
+
+ public static final String JSON_PROPERTY_VALID_AFTER = "validAfter";
+ @jakarta.annotation.Nullable private BigDecimal validAfter;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkVerdict action;
+
+ public TRLinkPostScreeningRule() {}
+
+ @JsonCreator
+ public TRLinkPostScreeningRule(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true) TRLinkVerdict action) {
+ this.action = action;
+ }
+
+ public TRLinkPostScreeningRule customerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public TRLinkPostScreeningRule direction(
+ @jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionDirection getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ }
+
+ public TRLinkPostScreeningRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public TRLinkPostScreeningRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public TRLinkPostScreeningRule sourceAddress(
+ @jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public TRLinkPostScreeningRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public TRLinkPostScreeningRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public TRLinkPostScreeningRule destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkPostScreeningRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public TRLinkPostScreeningRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public TRLinkPostScreeningRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TRLinkPostScreeningRule baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public TRLinkPostScreeningRule amount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public TRLinkPostScreeningRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public TRLinkPostScreeningRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public TRLinkPostScreeningRule description(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public TRLinkPostScreeningRule isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public TRLinkPostScreeningRule providerIdent(
+ @jakarta.annotation.Nullable String providerIdent) {
+ this.providerIdent = providerIdent;
+ return this;
+ }
+
+ /**
+ * Provider identifier
+ *
+ * @return providerIdent
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_IDENT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getProviderIdent() {
+ return providerIdent;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_IDENT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderIdent(@jakarta.annotation.Nullable String providerIdent) {
+ this.providerIdent = providerIdent;
+ }
+
+ public TRLinkPostScreeningRule trmStatus(
+ @jakarta.annotation.Nullable TRLinkTrmScreeningStatus trmStatus) {
+ this.trmStatus = trmStatus;
+ return this;
+ }
+
+ /**
+ * Get trmStatus
+ *
+ * @return trmStatus
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRM_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkTrmScreeningStatus getTrmStatus() {
+ return trmStatus;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRM_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTrmStatus(@jakarta.annotation.Nullable TRLinkTrmScreeningStatus trmStatus) {
+ this.trmStatus = trmStatus;
+ }
+
+ public TRLinkPostScreeningRule validBefore(
+ @jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule expires
+ *
+ * @return validBefore
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidBefore() {
+ return validBefore;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_BEFORE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidBefore(@jakarta.annotation.Nullable BigDecimal validBefore) {
+ this.validBefore = validBefore;
+ }
+
+ public TRLinkPostScreeningRule validAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ return this;
+ }
+
+ /**
+ * Unix timestamp when rule becomes valid
+ *
+ * @return validAfter
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getValidAfter() {
+ return validAfter;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALID_AFTER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setValidAfter(@jakarta.annotation.Nullable BigDecimal validAfter) {
+ this.validAfter = validAfter;
+ }
+
+ public TRLinkPostScreeningRule action(@jakarta.annotation.Nonnull TRLinkVerdict action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkVerdict getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkVerdict action) {
+ this.action = action;
+ }
+
+ /** Return true if this TRLinkPostScreeningRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkPostScreeningRule trLinkPostScreeningRule = (TRLinkPostScreeningRule) o;
+ return Objects.equals(this.customerId, trLinkPostScreeningRule.customerId)
+ && Objects.equals(this.direction, trLinkPostScreeningRule.direction)
+ && Objects.equals(this.sourceType, trLinkPostScreeningRule.sourceType)
+ && Objects.equals(this.sourceSubType, trLinkPostScreeningRule.sourceSubType)
+ && Objects.equals(this.sourceAddress, trLinkPostScreeningRule.sourceAddress)
+ && Objects.equals(this.destType, trLinkPostScreeningRule.destType)
+ && Objects.equals(this.destSubType, trLinkPostScreeningRule.destSubType)
+ && Objects.equals(this.destAddress, trLinkPostScreeningRule.destAddress)
+ && Objects.equals(this.sourceId, trLinkPostScreeningRule.sourceId)
+ && Objects.equals(this.destId, trLinkPostScreeningRule.destId)
+ && Objects.equals(this.asset, trLinkPostScreeningRule.asset)
+ && Objects.equals(this.baseAsset, trLinkPostScreeningRule.baseAsset)
+ && Objects.equals(this.amount, trLinkPostScreeningRule.amount)
+ && Objects.equals(this.networkProtocol, trLinkPostScreeningRule.networkProtocol)
+ && Objects.equals(this.operation, trLinkPostScreeningRule.operation)
+ && Objects.equals(this.description, trLinkPostScreeningRule.description)
+ && Objects.equals(this.isDefault, trLinkPostScreeningRule.isDefault)
+ && Objects.equals(this.providerIdent, trLinkPostScreeningRule.providerIdent)
+ && Objects.equals(this.trmStatus, trLinkPostScreeningRule.trmStatus)
+ && Objects.equals(this.validBefore, trLinkPostScreeningRule.validBefore)
+ && Objects.equals(this.validAfter, trLinkPostScreeningRule.validAfter)
+ && Objects.equals(this.action, trLinkPostScreeningRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ providerIdent,
+ trmStatus,
+ validBefore,
+ validAfter,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkPostScreeningRule {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" providerIdent: ").append(toIndentedString(providerIdent)).append("\n");
+ sb.append(" trmStatus: ").append(toIndentedString(trmStatus)).append("\n");
+ sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n");
+ sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `providerIdent` to the URL query string
+ if (getProviderIdent() != null) {
+ joiner.add(
+ String.format(
+ "%sproviderIdent%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProviderIdent()))));
+ }
+
+ // add `trmStatus` to the URL query string
+ if (getTrmStatus() != null) {
+ joiner.add(
+ String.format(
+ "%strmStatus%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTrmStatus()))));
+ }
+
+ // add `validBefore` to the URL query string
+ if (getValidBefore() != null) {
+ joiner.add(
+ String.format(
+ "%svalidBefore%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidBefore()))));
+ }
+
+ // add `validAfter` to the URL query string
+ if (getValidAfter() != null) {
+ joiner.add(
+ String.format(
+ "%svalidAfter%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValidAfter()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java
new file mode 100644
index 00000000..74c49fe0
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/** TRLink pre-screening action */
+public enum TRLinkPreScreeningAction {
+ SCREEN("SCREEN"),
+
+ PASS("PASS");
+
+ private String value;
+
+ TRLinkPreScreeningAction(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkPreScreeningAction fromValue(String value) {
+ for (TRLinkPreScreeningAction b : TRLinkPreScreeningAction.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java
new file mode 100644
index 00000000..463da88c
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/** TRLink pre-screening action */
+public enum TRLinkPreScreeningActionEnum {
+ SCREEN("SCREEN"),
+
+ PASS("PASS");
+
+ private String value;
+
+ TRLinkPreScreeningActionEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkPreScreeningActionEnum fromValue(String value) {
+ for (TRLinkPreScreeningActionEnum b : TRLinkPreScreeningActionEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java
new file mode 100644
index 00000000..2e455341
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java
@@ -0,0 +1,834 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink pre-screening rule definition */
+@JsonPropertyOrder({
+ TRLinkPreScreeningRule.JSON_PROPERTY_CUSTOMER_ID,
+ TRLinkPreScreeningRule.JSON_PROPERTY_DIRECTION,
+ TRLinkPreScreeningRule.JSON_PROPERTY_SOURCE_TYPE,
+ TRLinkPreScreeningRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ TRLinkPreScreeningRule.JSON_PROPERTY_SOURCE_ADDRESS,
+ TRLinkPreScreeningRule.JSON_PROPERTY_DEST_TYPE,
+ TRLinkPreScreeningRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ TRLinkPreScreeningRule.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkPreScreeningRule.JSON_PROPERTY_SOURCE_ID,
+ TRLinkPreScreeningRule.JSON_PROPERTY_DEST_ID,
+ TRLinkPreScreeningRule.JSON_PROPERTY_ASSET,
+ TRLinkPreScreeningRule.JSON_PROPERTY_BASE_ASSET,
+ TRLinkPreScreeningRule.JSON_PROPERTY_AMOUNT,
+ TRLinkPreScreeningRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ TRLinkPreScreeningRule.JSON_PROPERTY_OPERATION,
+ TRLinkPreScreeningRule.JSON_PROPERTY_DESCRIPTION,
+ TRLinkPreScreeningRule.JSON_PROPERTY_IS_DEFAULT,
+ TRLinkPreScreeningRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkPreScreeningRule {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TransactionDirection direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private TRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TRLinkPreScreeningAction action;
+
+ public TRLinkPreScreeningRule() {}
+
+ @JsonCreator
+ public TRLinkPreScreeningRule(
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TRLinkPreScreeningAction action) {
+ this.action = action;
+ }
+
+ public TRLinkPreScreeningRule customerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public TRLinkPreScreeningRule direction(
+ @jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionDirection getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ }
+
+ public TRLinkPreScreeningRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public TRLinkPreScreeningRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public TRLinkPreScreeningRule sourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public TRLinkPreScreeningRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public TRLinkPreScreeningRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public TRLinkPreScreeningRule destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkPreScreeningRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public TRLinkPreScreeningRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public TRLinkPreScreeningRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TRLinkPreScreeningRule baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public TRLinkPreScreeningRule amount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public TRLinkPreScreeningRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public TRLinkPreScreeningRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public TRLinkPreScreeningRule description(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public TRLinkPreScreeningRule isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ public TRLinkPreScreeningRule action(
+ @jakarta.annotation.Nonnull TRLinkPreScreeningAction action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkPreScreeningAction getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TRLinkPreScreeningAction action) {
+ this.action = action;
+ }
+
+ /** Return true if this TRLinkPreScreeningRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkPreScreeningRule trLinkPreScreeningRule = (TRLinkPreScreeningRule) o;
+ return Objects.equals(this.customerId, trLinkPreScreeningRule.customerId)
+ && Objects.equals(this.direction, trLinkPreScreeningRule.direction)
+ && Objects.equals(this.sourceType, trLinkPreScreeningRule.sourceType)
+ && Objects.equals(this.sourceSubType, trLinkPreScreeningRule.sourceSubType)
+ && Objects.equals(this.sourceAddress, trLinkPreScreeningRule.sourceAddress)
+ && Objects.equals(this.destType, trLinkPreScreeningRule.destType)
+ && Objects.equals(this.destSubType, trLinkPreScreeningRule.destSubType)
+ && Objects.equals(this.destAddress, trLinkPreScreeningRule.destAddress)
+ && Objects.equals(this.sourceId, trLinkPreScreeningRule.sourceId)
+ && Objects.equals(this.destId, trLinkPreScreeningRule.destId)
+ && Objects.equals(this.asset, trLinkPreScreeningRule.asset)
+ && Objects.equals(this.baseAsset, trLinkPreScreeningRule.baseAsset)
+ && Objects.equals(this.amount, trLinkPreScreeningRule.amount)
+ && Objects.equals(this.networkProtocol, trLinkPreScreeningRule.networkProtocol)
+ && Objects.equals(this.operation, trLinkPreScreeningRule.operation)
+ && Objects.equals(this.description, trLinkPreScreeningRule.description)
+ && Objects.equals(this.isDefault, trLinkPreScreeningRule.isDefault)
+ && Objects.equals(this.action, trLinkPreScreeningRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkPreScreeningRule {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java
new file mode 100644
index 00000000..56f2fad4
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java
@@ -0,0 +1,140 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Provider-specific response data wrapper */
+@JsonPropertyOrder({TRLinkProviderResult.JSON_PROPERTY_PROVIDER_RESPONSE})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkProviderResult {
+ public static final String JSON_PROPERTY_PROVIDER_RESPONSE = "providerResponse";
+ @jakarta.annotation.Nullable private Object providerResponse;
+
+ public TRLinkProviderResult() {}
+
+ public TRLinkProviderResult providerResponse(
+ @jakarta.annotation.Nullable Object providerResponse) {
+ this.providerResponse = providerResponse;
+ return this;
+ }
+
+ /**
+ * Raw provider response
+ *
+ * @return providerResponse
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Object getProviderResponse() {
+ return providerResponse;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderResponse(@jakarta.annotation.Nullable Object providerResponse) {
+ this.providerResponse = providerResponse;
+ }
+
+ /** Return true if this TRLinkProviderResult object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkProviderResult trLinkProviderResult = (TRLinkProviderResult) o;
+ return Objects.equals(this.providerResponse, trLinkProviderResult.providerResponse);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(providerResponse);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkProviderResult {\n");
+ sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).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 `providerResponse` to the URL query string
+ if (getProviderResponse() != null) {
+ joiner.add(
+ String.format(
+ "%sproviderResponse%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProviderResponse()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java
new file mode 100644
index 00000000..18d26af0
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java
@@ -0,0 +1,178 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Provider response and matched rule wrapper for TRLink screening results */
+@JsonPropertyOrder({
+ TRLinkProviderResultWithRule.JSON_PROPERTY_PROVIDER_RESPONSE,
+ TRLinkProviderResultWithRule.JSON_PROPERTY_MATCHED_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkProviderResultWithRule {
+ public static final String JSON_PROPERTY_PROVIDER_RESPONSE = "providerResponse";
+ @jakarta.annotation.Nullable private Object providerResponse;
+
+ public static final String JSON_PROPERTY_MATCHED_RULE = "matchedRule";
+ @jakarta.annotation.Nullable private TRLinkPostScreeningRule matchedRule;
+
+ public TRLinkProviderResultWithRule() {}
+
+ public TRLinkProviderResultWithRule providerResponse(
+ @jakarta.annotation.Nullable Object providerResponse) {
+ this.providerResponse = providerResponse;
+ return this;
+ }
+
+ /**
+ * Raw provider response
+ *
+ * @return providerResponse
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Object getProviderResponse() {
+ return providerResponse;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderResponse(@jakarta.annotation.Nullable Object providerResponse) {
+ this.providerResponse = providerResponse;
+ }
+
+ public TRLinkProviderResultWithRule matchedRule(
+ @jakarta.annotation.Nullable TRLinkPostScreeningRule matchedRule) {
+ this.matchedRule = matchedRule;
+ return this;
+ }
+
+ /**
+ * Get matchedRule
+ *
+ * @return matchedRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkPostScreeningRule getMatchedRule() {
+ return matchedRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedRule(@jakarta.annotation.Nullable TRLinkPostScreeningRule matchedRule) {
+ this.matchedRule = matchedRule;
+ }
+
+ /** Return true if this TRLinkProviderResultWithRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkProviderResultWithRule trLinkProviderResultWithRule =
+ (TRLinkProviderResultWithRule) o;
+ return Objects.equals(this.providerResponse, trLinkProviderResultWithRule.providerResponse)
+ && Objects.equals(this.matchedRule, trLinkProviderResultWithRule.matchedRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(providerResponse, matchedRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkProviderResultWithRule {\n");
+ sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n");
+ sb.append(" matchedRule: ").append(toIndentedString(matchedRule)).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 `providerResponse` to the URL query string
+ if (getProviderResponse() != null) {
+ joiner.add(
+ String.format(
+ "%sproviderResponse%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProviderResponse()))));
+ }
+
+ // add `matchedRule` to the URL query string
+ if (getMatchedRule() != null) {
+ joiner.add(getMatchedRule().toUrlQueryString(prefix + "matchedRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java
new file mode 100644
index 00000000..b2479df6
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java
@@ -0,0 +1,179 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Provider response and matched rule wrapper for TRLink screening results */
+@JsonPropertyOrder({
+ TRLinkProviderResultWithRule2.JSON_PROPERTY_PROVIDER_RESPONSE,
+ TRLinkProviderResultWithRule2.JSON_PROPERTY_MATCHED_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkProviderResultWithRule2 {
+ public static final String JSON_PROPERTY_PROVIDER_RESPONSE = "providerResponse";
+ @jakarta.annotation.Nullable private Object providerResponse;
+
+ public static final String JSON_PROPERTY_MATCHED_RULE = "matchedRule";
+ @jakarta.annotation.Nullable private ScreeningTRLinkPostScreeningRule matchedRule;
+
+ public TRLinkProviderResultWithRule2() {}
+
+ public TRLinkProviderResultWithRule2 providerResponse(
+ @jakarta.annotation.Nullable Object providerResponse) {
+ this.providerResponse = providerResponse;
+ return this;
+ }
+
+ /**
+ * Raw provider response
+ *
+ * @return providerResponse
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Object getProviderResponse() {
+ return providerResponse;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderResponse(@jakarta.annotation.Nullable Object providerResponse) {
+ this.providerResponse = providerResponse;
+ }
+
+ public TRLinkProviderResultWithRule2 matchedRule(
+ @jakarta.annotation.Nullable ScreeningTRLinkPostScreeningRule matchedRule) {
+ this.matchedRule = matchedRule;
+ return this;
+ }
+
+ /**
+ * Get matchedRule
+ *
+ * @return matchedRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkPostScreeningRule getMatchedRule() {
+ return matchedRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedRule(
+ @jakarta.annotation.Nullable ScreeningTRLinkPostScreeningRule matchedRule) {
+ this.matchedRule = matchedRule;
+ }
+
+ /** Return true if this TRLinkProviderResultWithRule-2 object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkProviderResultWithRule2 trLinkProviderResultWithRule2 =
+ (TRLinkProviderResultWithRule2) o;
+ return Objects.equals(this.providerResponse, trLinkProviderResultWithRule2.providerResponse)
+ && Objects.equals(this.matchedRule, trLinkProviderResultWithRule2.matchedRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(providerResponse, matchedRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkProviderResultWithRule2 {\n");
+ sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n");
+ sb.append(" matchedRule: ").append(toIndentedString(matchedRule)).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 `providerResponse` to the URL query string
+ if (getProviderResponse() != null) {
+ joiner.add(
+ String.format(
+ "%sproviderResponse%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProviderResponse()))));
+ }
+
+ // add `matchedRule` to the URL query string
+ if (getMatchedRule() != null) {
+ joiner.add(getMatchedRule().toUrlQueryString(prefix + "matchedRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java
new file mode 100644
index 00000000..852c6d9e
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java
@@ -0,0 +1,528 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink registration result containing status and metadata */
+@JsonPropertyOrder({
+ TRLinkRegistrationResult.JSON_PROPERTY_STATUS,
+ TRLinkRegistrationResult.JSON_PROPERTY_PROVIDER,
+ TRLinkRegistrationResult.JSON_PROPERTY_SUCCESS,
+ TRLinkRegistrationResult.JSON_PROPERTY_TIMESTAMP,
+ TRLinkRegistrationResult.JSON_PROPERTY_DEST_RECORD_ID,
+ TRLinkRegistrationResult.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID,
+ TRLinkRegistrationResult.JSON_PROPERTY_CUSTOMER_INTEGRATION_ID,
+ TRLinkRegistrationResult.JSON_PROPERTY_CUSTOMER_SHORT_NAME,
+ TRLinkRegistrationResult.JSON_PROPERTY_RESULT,
+ TRLinkRegistrationResult.JSON_PROPERTY_MATCHED_PRESCREENING_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkRegistrationResult {
+ public static final String JSON_PROPERTY_STATUS = "status";
+ @jakarta.annotation.Nonnull private TRLinkRegistrationStatus status;
+
+ public static final String JSON_PROPERTY_PROVIDER = "provider";
+ @jakarta.annotation.Nullable private String provider;
+
+ public static final String JSON_PROPERTY_SUCCESS = "success";
+ @jakarta.annotation.Nullable private Boolean success;
+
+ public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
+ @jakarta.annotation.Nonnull private BigDecimal timestamp;
+
+ public static final String JSON_PROPERTY_DEST_RECORD_ID = "destRecordId";
+ @jakarta.annotation.Nullable private String destRecordId;
+
+ public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId";
+ @jakarta.annotation.Nullable private String travelRuleMessageId;
+
+ public static final String JSON_PROPERTY_CUSTOMER_INTEGRATION_ID = "customerIntegrationId";
+ @jakarta.annotation.Nullable private String customerIntegrationId;
+
+ public static final String JSON_PROPERTY_CUSTOMER_SHORT_NAME = "customerShortName";
+ @jakarta.annotation.Nullable private String customerShortName;
+
+ public static final String JSON_PROPERTY_RESULT = "result";
+ @jakarta.annotation.Nullable private TRLinkProviderResult result;
+
+ public static final String JSON_PROPERTY_MATCHED_PRESCREENING_RULE = "matchedPrescreeningRule";
+ @jakarta.annotation.Nullable private TRLinkPreScreeningRule matchedPrescreeningRule;
+
+ public TRLinkRegistrationResult() {}
+
+ @JsonCreator
+ public TRLinkRegistrationResult(
+ @JsonProperty(value = JSON_PROPERTY_STATUS, required = true)
+ TRLinkRegistrationStatus status,
+ @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) BigDecimal timestamp) {
+ this.status = status;
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkRegistrationResult status(
+ @jakarta.annotation.Nonnull TRLinkRegistrationStatus status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkRegistrationStatus getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setStatus(@jakarta.annotation.Nonnull TRLinkRegistrationStatus status) {
+ this.status = status;
+ }
+
+ public TRLinkRegistrationResult provider(@jakarta.annotation.Nullable String provider) {
+ this.provider = provider;
+ return this;
+ }
+
+ /**
+ * The TRLink provider name
+ *
+ * @return provider
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getProvider() {
+ return provider;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProvider(@jakarta.annotation.Nullable String provider) {
+ this.provider = provider;
+ }
+
+ public TRLinkRegistrationResult success(@jakarta.annotation.Nullable Boolean success) {
+ this.success = success;
+ return this;
+ }
+
+ /**
+ * Whether the registration was successful
+ *
+ * @return success
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SUCCESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getSuccess() {
+ return success;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SUCCESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSuccess(@jakarta.annotation.Nullable Boolean success) {
+ this.success = success;
+ }
+
+ public TRLinkRegistrationResult timestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ return this;
+ }
+
+ /**
+ * Unix timestamp of the registration
+ *
+ * @return timestamp
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getTimestamp() {
+ return timestamp;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkRegistrationResult destRecordId(@jakarta.annotation.Nullable String destRecordId) {
+ this.destRecordId = destRecordId;
+ return this;
+ }
+
+ /**
+ * Destination record identifier
+ *
+ * @return destRecordId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_RECORD_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestRecordId() {
+ return destRecordId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_RECORD_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestRecordId(@jakarta.annotation.Nullable String destRecordId) {
+ this.destRecordId = destRecordId;
+ }
+
+ public TRLinkRegistrationResult travelRuleMessageId(
+ @jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ return this;
+ }
+
+ /**
+ * Travel rule message identifier for linking
+ *
+ * @return travelRuleMessageId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getTravelRuleMessageId() {
+ return travelRuleMessageId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ }
+
+ public TRLinkRegistrationResult customerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ return this;
+ }
+
+ /**
+ * Customer integration identifier
+ *
+ * @return customerIntegrationId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerIntegrationId() {
+ return customerIntegrationId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ }
+
+ public TRLinkRegistrationResult customerShortName(
+ @jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ return this;
+ }
+
+ /**
+ * Customer short name
+ *
+ * @return customerShortName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerShortName() {
+ return customerShortName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerShortName(@jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ }
+
+ public TRLinkRegistrationResult result(
+ @jakarta.annotation.Nullable TRLinkProviderResult result) {
+ this.result = result;
+ return this;
+ }
+
+ /**
+ * Get result
+ *
+ * @return result
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkProviderResult getResult() {
+ return result;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setResult(@jakarta.annotation.Nullable TRLinkProviderResult result) {
+ this.result = result;
+ }
+
+ public TRLinkRegistrationResult matchedPrescreeningRule(
+ @jakarta.annotation.Nullable TRLinkPreScreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ return this;
+ }
+
+ /**
+ * Get matchedPrescreeningRule
+ *
+ * @return matchedPrescreeningRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkPreScreeningRule getMatchedPrescreeningRule() {
+ return matchedPrescreeningRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedPrescreeningRule(
+ @jakarta.annotation.Nullable TRLinkPreScreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ }
+
+ /** Return true if this TRLinkRegistrationResult object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkRegistrationResult trLinkRegistrationResult = (TRLinkRegistrationResult) o;
+ return Objects.equals(this.status, trLinkRegistrationResult.status)
+ && Objects.equals(this.provider, trLinkRegistrationResult.provider)
+ && Objects.equals(this.success, trLinkRegistrationResult.success)
+ && Objects.equals(this.timestamp, trLinkRegistrationResult.timestamp)
+ && Objects.equals(this.destRecordId, trLinkRegistrationResult.destRecordId)
+ && Objects.equals(
+ this.travelRuleMessageId, trLinkRegistrationResult.travelRuleMessageId)
+ && Objects.equals(
+ this.customerIntegrationId, trLinkRegistrationResult.customerIntegrationId)
+ && Objects.equals(
+ this.customerShortName, trLinkRegistrationResult.customerShortName)
+ && Objects.equals(this.result, trLinkRegistrationResult.result)
+ && Objects.equals(
+ this.matchedPrescreeningRule,
+ trLinkRegistrationResult.matchedPrescreeningRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ status,
+ provider,
+ success,
+ timestamp,
+ destRecordId,
+ travelRuleMessageId,
+ customerIntegrationId,
+ customerShortName,
+ result,
+ matchedPrescreeningRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkRegistrationResult {\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
+ sb.append(" success: ").append(toIndentedString(success)).append("\n");
+ sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
+ sb.append(" destRecordId: ").append(toIndentedString(destRecordId)).append("\n");
+ sb.append(" travelRuleMessageId: ")
+ .append(toIndentedString(travelRuleMessageId))
+ .append("\n");
+ sb.append(" customerIntegrationId: ")
+ .append(toIndentedString(customerIntegrationId))
+ .append("\n");
+ sb.append(" customerShortName: ")
+ .append(toIndentedString(customerShortName))
+ .append("\n");
+ sb.append(" result: ").append(toIndentedString(result)).append("\n");
+ sb.append(" matchedPrescreeningRule: ")
+ .append(toIndentedString(matchedPrescreeningRule))
+ .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,
+ ApiClient.urlEncode(ApiClient.valueToString(getStatus()))));
+ }
+
+ // add `provider` to the URL query string
+ if (getProvider() != null) {
+ joiner.add(
+ String.format(
+ "%sprovider%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProvider()))));
+ }
+
+ // add `success` to the URL query string
+ if (getSuccess() != null) {
+ joiner.add(
+ String.format(
+ "%ssuccess%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSuccess()))));
+ }
+
+ // add `timestamp` to the URL query string
+ if (getTimestamp() != null) {
+ joiner.add(
+ String.format(
+ "%stimestamp%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimestamp()))));
+ }
+
+ // add `destRecordId` to the URL query string
+ if (getDestRecordId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestRecordId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestRecordId()))));
+ }
+
+ // add `travelRuleMessageId` to the URL query string
+ if (getTravelRuleMessageId() != null) {
+ joiner.add(
+ String.format(
+ "%stravelRuleMessageId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTravelRuleMessageId()))));
+ }
+
+ // add `customerIntegrationId` to the URL query string
+ if (getCustomerIntegrationId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerIntegrationId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getCustomerIntegrationId()))));
+ }
+
+ // add `customerShortName` to the URL query string
+ if (getCustomerShortName() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerShortName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerShortName()))));
+ }
+
+ // add `result` to the URL query string
+ if (getResult() != null) {
+ joiner.add(getResult().toUrlQueryString(prefix + "result" + suffix));
+ }
+
+ // add `matchedPrescreeningRule` to the URL query string
+ if (getMatchedPrescreeningRule() != null) {
+ joiner.add(
+ getMatchedPrescreeningRule()
+ .toUrlQueryString(prefix + "matchedPrescreeningRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java
new file mode 100644
index 00000000..4afb5e38
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java
@@ -0,0 +1,537 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink registration result containing status and metadata */
+@JsonPropertyOrder({
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_STATUS,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_PROVIDER,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_SUCCESS,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_TIMESTAMP,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_DEST_RECORD_ID,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_CUSTOMER_INTEGRATION_ID,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_CUSTOMER_SHORT_NAME,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_RESULT,
+ TRLinkRegistrationResultFullPayload.JSON_PROPERTY_MATCHED_PRESCREENING_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkRegistrationResultFullPayload {
+ public static final String JSON_PROPERTY_STATUS = "status";
+ @jakarta.annotation.Nonnull private TRLinkRegistrationStatusEnum status;
+
+ public static final String JSON_PROPERTY_PROVIDER = "provider";
+ @jakarta.annotation.Nullable private String provider;
+
+ public static final String JSON_PROPERTY_SUCCESS = "success";
+ @jakarta.annotation.Nullable private Boolean success;
+
+ public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
+ @jakarta.annotation.Nonnull private BigDecimal timestamp;
+
+ public static final String JSON_PROPERTY_DEST_RECORD_ID = "destRecordId";
+ @jakarta.annotation.Nullable private String destRecordId;
+
+ public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId";
+ @jakarta.annotation.Nullable private String travelRuleMessageId;
+
+ public static final String JSON_PROPERTY_CUSTOMER_INTEGRATION_ID = "customerIntegrationId";
+ @jakarta.annotation.Nullable private String customerIntegrationId;
+
+ public static final String JSON_PROPERTY_CUSTOMER_SHORT_NAME = "customerShortName";
+ @jakarta.annotation.Nullable private String customerShortName;
+
+ public static final String JSON_PROPERTY_RESULT = "result";
+ @jakarta.annotation.Nullable private TRLinkProviderResult result;
+
+ public static final String JSON_PROPERTY_MATCHED_PRESCREENING_RULE = "matchedPrescreeningRule";
+ @jakarta.annotation.Nullable private ScreeningTRLinkPrescreeningRule matchedPrescreeningRule;
+
+ public TRLinkRegistrationResultFullPayload() {}
+
+ @JsonCreator
+ public TRLinkRegistrationResultFullPayload(
+ @JsonProperty(value = JSON_PROPERTY_STATUS, required = true)
+ TRLinkRegistrationStatusEnum status,
+ @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) BigDecimal timestamp) {
+ this.status = status;
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkRegistrationResultFullPayload status(
+ @jakarta.annotation.Nonnull TRLinkRegistrationStatusEnum status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TRLinkRegistrationStatusEnum getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setStatus(@jakarta.annotation.Nonnull TRLinkRegistrationStatusEnum status) {
+ this.status = status;
+ }
+
+ public TRLinkRegistrationResultFullPayload provider(
+ @jakarta.annotation.Nullable String provider) {
+ this.provider = provider;
+ return this;
+ }
+
+ /**
+ * The TRLink provider name
+ *
+ * @return provider
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getProvider() {
+ return provider;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProvider(@jakarta.annotation.Nullable String provider) {
+ this.provider = provider;
+ }
+
+ public TRLinkRegistrationResultFullPayload success(
+ @jakarta.annotation.Nullable Boolean success) {
+ this.success = success;
+ return this;
+ }
+
+ /**
+ * Whether the registration was successful
+ *
+ * @return success
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SUCCESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getSuccess() {
+ return success;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SUCCESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSuccess(@jakarta.annotation.Nullable Boolean success) {
+ this.success = success;
+ }
+
+ public TRLinkRegistrationResultFullPayload timestamp(
+ @jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ return this;
+ }
+
+ /**
+ * Unix timestamp of the registration
+ *
+ * @return timestamp
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getTimestamp() {
+ return timestamp;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkRegistrationResultFullPayload destRecordId(
+ @jakarta.annotation.Nullable String destRecordId) {
+ this.destRecordId = destRecordId;
+ return this;
+ }
+
+ /**
+ * Destination record identifier
+ *
+ * @return destRecordId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_RECORD_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestRecordId() {
+ return destRecordId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_RECORD_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestRecordId(@jakarta.annotation.Nullable String destRecordId) {
+ this.destRecordId = destRecordId;
+ }
+
+ public TRLinkRegistrationResultFullPayload travelRuleMessageId(
+ @jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ return this;
+ }
+
+ /**
+ * Travel rule message identifier for linking
+ *
+ * @return travelRuleMessageId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getTravelRuleMessageId() {
+ return travelRuleMessageId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ }
+
+ public TRLinkRegistrationResultFullPayload customerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ return this;
+ }
+
+ /**
+ * Customer integration identifier
+ *
+ * @return customerIntegrationId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerIntegrationId() {
+ return customerIntegrationId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ }
+
+ public TRLinkRegistrationResultFullPayload customerShortName(
+ @jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ return this;
+ }
+
+ /**
+ * Customer short name
+ *
+ * @return customerShortName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerShortName() {
+ return customerShortName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerShortName(@jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ }
+
+ public TRLinkRegistrationResultFullPayload result(
+ @jakarta.annotation.Nullable TRLinkProviderResult result) {
+ this.result = result;
+ return this;
+ }
+
+ /**
+ * Get result
+ *
+ * @return result
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkProviderResult getResult() {
+ return result;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setResult(@jakarta.annotation.Nullable TRLinkProviderResult result) {
+ this.result = result;
+ }
+
+ public TRLinkRegistrationResultFullPayload matchedPrescreeningRule(
+ @jakarta.annotation.Nullable ScreeningTRLinkPrescreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ return this;
+ }
+
+ /**
+ * Get matchedPrescreeningRule
+ *
+ * @return matchedPrescreeningRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkPrescreeningRule getMatchedPrescreeningRule() {
+ return matchedPrescreeningRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedPrescreeningRule(
+ @jakarta.annotation.Nullable ScreeningTRLinkPrescreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ }
+
+ /** Return true if this TRLinkRegistrationResultFullPayload object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkRegistrationResultFullPayload trLinkRegistrationResultFullPayload =
+ (TRLinkRegistrationResultFullPayload) o;
+ return Objects.equals(this.status, trLinkRegistrationResultFullPayload.status)
+ && Objects.equals(this.provider, trLinkRegistrationResultFullPayload.provider)
+ && Objects.equals(this.success, trLinkRegistrationResultFullPayload.success)
+ && Objects.equals(this.timestamp, trLinkRegistrationResultFullPayload.timestamp)
+ && Objects.equals(
+ this.destRecordId, trLinkRegistrationResultFullPayload.destRecordId)
+ && Objects.equals(
+ this.travelRuleMessageId,
+ trLinkRegistrationResultFullPayload.travelRuleMessageId)
+ && Objects.equals(
+ this.customerIntegrationId,
+ trLinkRegistrationResultFullPayload.customerIntegrationId)
+ && Objects.equals(
+ this.customerShortName,
+ trLinkRegistrationResultFullPayload.customerShortName)
+ && Objects.equals(this.result, trLinkRegistrationResultFullPayload.result)
+ && Objects.equals(
+ this.matchedPrescreeningRule,
+ trLinkRegistrationResultFullPayload.matchedPrescreeningRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ status,
+ provider,
+ success,
+ timestamp,
+ destRecordId,
+ travelRuleMessageId,
+ customerIntegrationId,
+ customerShortName,
+ result,
+ matchedPrescreeningRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkRegistrationResultFullPayload {\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
+ sb.append(" success: ").append(toIndentedString(success)).append("\n");
+ sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
+ sb.append(" destRecordId: ").append(toIndentedString(destRecordId)).append("\n");
+ sb.append(" travelRuleMessageId: ")
+ .append(toIndentedString(travelRuleMessageId))
+ .append("\n");
+ sb.append(" customerIntegrationId: ")
+ .append(toIndentedString(customerIntegrationId))
+ .append("\n");
+ sb.append(" customerShortName: ")
+ .append(toIndentedString(customerShortName))
+ .append("\n");
+ sb.append(" result: ").append(toIndentedString(result)).append("\n");
+ sb.append(" matchedPrescreeningRule: ")
+ .append(toIndentedString(matchedPrescreeningRule))
+ .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,
+ ApiClient.urlEncode(ApiClient.valueToString(getStatus()))));
+ }
+
+ // add `provider` to the URL query string
+ if (getProvider() != null) {
+ joiner.add(
+ String.format(
+ "%sprovider%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProvider()))));
+ }
+
+ // add `success` to the URL query string
+ if (getSuccess() != null) {
+ joiner.add(
+ String.format(
+ "%ssuccess%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSuccess()))));
+ }
+
+ // add `timestamp` to the URL query string
+ if (getTimestamp() != null) {
+ joiner.add(
+ String.format(
+ "%stimestamp%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimestamp()))));
+ }
+
+ // add `destRecordId` to the URL query string
+ if (getDestRecordId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestRecordId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestRecordId()))));
+ }
+
+ // add `travelRuleMessageId` to the URL query string
+ if (getTravelRuleMessageId() != null) {
+ joiner.add(
+ String.format(
+ "%stravelRuleMessageId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTravelRuleMessageId()))));
+ }
+
+ // add `customerIntegrationId` to the URL query string
+ if (getCustomerIntegrationId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerIntegrationId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getCustomerIntegrationId()))));
+ }
+
+ // add `customerShortName` to the URL query string
+ if (getCustomerShortName() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerShortName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerShortName()))));
+ }
+
+ // add `result` to the URL query string
+ if (getResult() != null) {
+ joiner.add(getResult().toUrlQueryString(prefix + "result" + suffix));
+ }
+
+ // add `matchedPrescreeningRule` to the URL query string
+ if (getMatchedPrescreeningRule() != null) {
+ joiner.add(
+ getMatchedPrescreeningRule()
+ .toUrlQueryString(prefix + "matchedPrescreeningRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java
new file mode 100644
index 00000000..057acdb5
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java
@@ -0,0 +1,70 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink registration status */
+public enum TRLinkRegistrationStatus {
+ STARTING("STARTING"),
+
+ PRESCREENED("PRESCREENED"),
+
+ COMPLETED("COMPLETED"),
+
+ FAILED("FAILED"),
+
+ VOID("VOID");
+
+ private String value;
+
+ TRLinkRegistrationStatus(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkRegistrationStatus fromValue(String value) {
+ for (TRLinkRegistrationStatus b : TRLinkRegistrationStatus.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java
new file mode 100644
index 00000000..26640406
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java
@@ -0,0 +1,70 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink registration status */
+public enum TRLinkRegistrationStatusEnum {
+ STARTING("STARTING"),
+
+ PRESCREENED("PRESCREENED"),
+
+ COMPLETED("COMPLETED"),
+
+ FAILED("FAILED"),
+
+ VOID("VOID");
+
+ private String value;
+
+ TRLinkRegistrationStatusEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkRegistrationStatusEnum fromValue(String value) {
+ for (TRLinkRegistrationStatusEnum b : TRLinkRegistrationStatusEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java b/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java
new file mode 100644
index 00000000..f39fec1d
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java
@@ -0,0 +1,725 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink screening result */
+@JsonPropertyOrder({
+ TRLinkResult.JSON_PROPERTY_PROVIDER,
+ TRLinkResult.JSON_PROPERTY_TIMESTAMP,
+ TRLinkResult.JSON_PROPERTY_STATUS,
+ TRLinkResult.JSON_PROPERTY_VERDICT,
+ TRLinkResult.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkResult.JSON_PROPERTY_DEST_TAG,
+ TRLinkResult.JSON_PROPERTY_BYPASS_REASON,
+ TRLinkResult.JSON_PROPERTY_DETAILS_MESSAGE,
+ TRLinkResult.JSON_PROPERTY_CUSTOMER_INTEGRATION_ID,
+ TRLinkResult.JSON_PROPERTY_CUSTOMER_SHORT_NAME,
+ TRLinkResult.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID,
+ TRLinkResult.JSON_PROPERTY_RESULT,
+ TRLinkResult.JSON_PROPERTY_MATCHED_PRESCREENING_RULE,
+ TRLinkResult.JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkResult {
+ public static final String JSON_PROPERTY_PROVIDER = "provider";
+ @jakarta.annotation.Nonnull private String provider;
+
+ public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
+ @jakarta.annotation.Nonnull private BigDecimal timestamp;
+
+ /** Status of the TRLink screening */
+ public enum StatusEnum {
+ COMPLETED(String.valueOf("COMPLETED")),
+
+ PENDING(String.valueOf("PENDING")),
+
+ BYPASSED(String.valueOf("BYPASSED")),
+
+ FAILED(String.valueOf("FAILED")),
+
+ FROZEN(String.valueOf("FROZEN"));
+
+ private String value;
+
+ StatusEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static StatusEnum fromValue(String value) {
+ for (StatusEnum b : StatusEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_STATUS = "status";
+ @jakarta.annotation.Nonnull private StatusEnum status;
+
+ public static final String JSON_PROPERTY_VERDICT = "verdict";
+ @jakarta.annotation.Nullable private TRLinkVerdict verdict;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_DEST_TAG = "destTag";
+ @jakarta.annotation.Nullable private String destTag;
+
+ public static final String JSON_PROPERTY_BYPASS_REASON = "bypassReason";
+ @jakarta.annotation.Nullable private String bypassReason;
+
+ public static final String JSON_PROPERTY_DETAILS_MESSAGE = "detailsMessage";
+ @jakarta.annotation.Nullable private String detailsMessage;
+
+ public static final String JSON_PROPERTY_CUSTOMER_INTEGRATION_ID = "customerIntegrationId";
+ @jakarta.annotation.Nullable private String customerIntegrationId;
+
+ public static final String JSON_PROPERTY_CUSTOMER_SHORT_NAME = "customerShortName";
+ @jakarta.annotation.Nullable private String customerShortName;
+
+ public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId";
+ @jakarta.annotation.Nullable private String travelRuleMessageId;
+
+ public static final String JSON_PROPERTY_RESULT = "result";
+ @jakarta.annotation.Nullable private TRLinkProviderResultWithRule result;
+
+ public static final String JSON_PROPERTY_MATCHED_PRESCREENING_RULE = "matchedPrescreeningRule";
+ @jakarta.annotation.Nullable private TRLinkPreScreeningRule matchedPrescreeningRule;
+
+ public static final String JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE =
+ "matchedNoTrmScreeningRule";
+ @jakarta.annotation.Nullable private TRLinkMissingTrmDecision matchedNoTrmScreeningRule;
+
+ public TRLinkResult() {}
+
+ @JsonCreator
+ public TRLinkResult(
+ @JsonProperty(value = JSON_PROPERTY_PROVIDER, required = true) String provider,
+ @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) BigDecimal timestamp,
+ @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) StatusEnum status) {
+ this.provider = provider;
+ this.timestamp = timestamp;
+ this.status = status;
+ }
+
+ public TRLinkResult provider(@jakarta.annotation.Nonnull String provider) {
+ this.provider = provider;
+ return this;
+ }
+
+ /**
+ * The TRLink provider name
+ *
+ * @return provider
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getProvider() {
+ return provider;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setProvider(@jakarta.annotation.Nonnull String provider) {
+ this.provider = provider;
+ }
+
+ public TRLinkResult timestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ return this;
+ }
+
+ /**
+ * Unix timestamp of the screening result
+ *
+ * @return timestamp
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getTimestamp() {
+ return timestamp;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkResult status(@jakarta.annotation.Nonnull StatusEnum status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Status of the TRLink screening
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public StatusEnum getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setStatus(@jakarta.annotation.Nonnull StatusEnum status) {
+ this.status = status;
+ }
+
+ public TRLinkResult verdict(@jakarta.annotation.Nullable TRLinkVerdict verdict) {
+ this.verdict = verdict;
+ return this;
+ }
+
+ /**
+ * Get verdict
+ *
+ * @return verdict
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VERDICT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkVerdict getVerdict() {
+ return verdict;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VERDICT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setVerdict(@jakarta.annotation.Nullable TRLinkVerdict verdict) {
+ this.verdict = verdict;
+ }
+
+ public TRLinkResult destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * The destination address associated with the TRLink screening
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkResult destTag(@jakarta.annotation.Nullable String destTag) {
+ this.destTag = destTag;
+ return this;
+ }
+
+ /**
+ * Destination tag for the screening
+ *
+ * @return destTag
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TAG)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestTag() {
+ return destTag;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TAG)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestTag(@jakarta.annotation.Nullable String destTag) {
+ this.destTag = destTag;
+ }
+
+ public TRLinkResult bypassReason(@jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ return this;
+ }
+
+ /**
+ * Reason for bypassing the TRLink screening
+ *
+ * @return bypassReason
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBypassReason() {
+ return bypassReason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBypassReason(@jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ }
+
+ public TRLinkResult detailsMessage(@jakarta.annotation.Nullable String detailsMessage) {
+ this.detailsMessage = detailsMessage;
+ return this;
+ }
+
+ /**
+ * Additional details message about the screening result
+ *
+ * @return detailsMessage
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DETAILS_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDetailsMessage() {
+ return detailsMessage;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DETAILS_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDetailsMessage(@jakarta.annotation.Nullable String detailsMessage) {
+ this.detailsMessage = detailsMessage;
+ }
+
+ public TRLinkResult customerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ return this;
+ }
+
+ /**
+ * Customer integration identifier
+ *
+ * @return customerIntegrationId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerIntegrationId() {
+ return customerIntegrationId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ }
+
+ public TRLinkResult customerShortName(@jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ return this;
+ }
+
+ /**
+ * Customer short name
+ *
+ * @return customerShortName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerShortName() {
+ return customerShortName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerShortName(@jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ }
+
+ public TRLinkResult travelRuleMessageId(
+ @jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ return this;
+ }
+
+ /**
+ * Travel rule message identifier for linking
+ *
+ * @return travelRuleMessageId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getTravelRuleMessageId() {
+ return travelRuleMessageId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ }
+
+ public TRLinkResult result(@jakarta.annotation.Nullable TRLinkProviderResultWithRule result) {
+ this.result = result;
+ return this;
+ }
+
+ /**
+ * Get result
+ *
+ * @return result
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkProviderResultWithRule getResult() {
+ return result;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setResult(@jakarta.annotation.Nullable TRLinkProviderResultWithRule result) {
+ this.result = result;
+ }
+
+ public TRLinkResult matchedPrescreeningRule(
+ @jakarta.annotation.Nullable TRLinkPreScreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ return this;
+ }
+
+ /**
+ * Get matchedPrescreeningRule
+ *
+ * @return matchedPrescreeningRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkPreScreeningRule getMatchedPrescreeningRule() {
+ return matchedPrescreeningRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedPrescreeningRule(
+ @jakarta.annotation.Nullable TRLinkPreScreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ }
+
+ public TRLinkResult matchedNoTrmScreeningRule(
+ @jakarta.annotation.Nullable TRLinkMissingTrmDecision matchedNoTrmScreeningRule) {
+ this.matchedNoTrmScreeningRule = matchedNoTrmScreeningRule;
+ return this;
+ }
+
+ /**
+ * Get matchedNoTrmScreeningRule
+ *
+ * @return matchedNoTrmScreeningRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkMissingTrmDecision getMatchedNoTrmScreeningRule() {
+ return matchedNoTrmScreeningRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedNoTrmScreeningRule(
+ @jakarta.annotation.Nullable TRLinkMissingTrmDecision matchedNoTrmScreeningRule) {
+ this.matchedNoTrmScreeningRule = matchedNoTrmScreeningRule;
+ }
+
+ /** Return true if this TRLinkResult object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkResult trLinkResult = (TRLinkResult) o;
+ return Objects.equals(this.provider, trLinkResult.provider)
+ && Objects.equals(this.timestamp, trLinkResult.timestamp)
+ && Objects.equals(this.status, trLinkResult.status)
+ && Objects.equals(this.verdict, trLinkResult.verdict)
+ && Objects.equals(this.destAddress, trLinkResult.destAddress)
+ && Objects.equals(this.destTag, trLinkResult.destTag)
+ && Objects.equals(this.bypassReason, trLinkResult.bypassReason)
+ && Objects.equals(this.detailsMessage, trLinkResult.detailsMessage)
+ && Objects.equals(this.customerIntegrationId, trLinkResult.customerIntegrationId)
+ && Objects.equals(this.customerShortName, trLinkResult.customerShortName)
+ && Objects.equals(this.travelRuleMessageId, trLinkResult.travelRuleMessageId)
+ && Objects.equals(this.result, trLinkResult.result)
+ && Objects.equals(
+ this.matchedPrescreeningRule, trLinkResult.matchedPrescreeningRule)
+ && Objects.equals(
+ this.matchedNoTrmScreeningRule, trLinkResult.matchedNoTrmScreeningRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ provider,
+ timestamp,
+ status,
+ verdict,
+ destAddress,
+ destTag,
+ bypassReason,
+ detailsMessage,
+ customerIntegrationId,
+ customerShortName,
+ travelRuleMessageId,
+ result,
+ matchedPrescreeningRule,
+ matchedNoTrmScreeningRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkResult {\n");
+ sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
+ sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" verdict: ").append(toIndentedString(verdict)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" destTag: ").append(toIndentedString(destTag)).append("\n");
+ sb.append(" bypassReason: ").append(toIndentedString(bypassReason)).append("\n");
+ sb.append(" detailsMessage: ").append(toIndentedString(detailsMessage)).append("\n");
+ sb.append(" customerIntegrationId: ")
+ .append(toIndentedString(customerIntegrationId))
+ .append("\n");
+ sb.append(" customerShortName: ")
+ .append(toIndentedString(customerShortName))
+ .append("\n");
+ sb.append(" travelRuleMessageId: ")
+ .append(toIndentedString(travelRuleMessageId))
+ .append("\n");
+ sb.append(" result: ").append(toIndentedString(result)).append("\n");
+ sb.append(" matchedPrescreeningRule: ")
+ .append(toIndentedString(matchedPrescreeningRule))
+ .append("\n");
+ sb.append(" matchedNoTrmScreeningRule: ")
+ .append(toIndentedString(matchedNoTrmScreeningRule))
+ .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 `provider` to the URL query string
+ if (getProvider() != null) {
+ joiner.add(
+ String.format(
+ "%sprovider%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProvider()))));
+ }
+
+ // add `timestamp` to the URL query string
+ if (getTimestamp() != null) {
+ joiner.add(
+ String.format(
+ "%stimestamp%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimestamp()))));
+ }
+
+ // add `status` to the URL query string
+ if (getStatus() != null) {
+ joiner.add(
+ String.format(
+ "%sstatus%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getStatus()))));
+ }
+
+ // add `verdict` to the URL query string
+ if (getVerdict() != null) {
+ joiner.add(
+ String.format(
+ "%sverdict%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getVerdict()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `destTag` to the URL query string
+ if (getDestTag() != null) {
+ joiner.add(
+ String.format(
+ "%sdestTag%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestTag()))));
+ }
+
+ // add `bypassReason` to the URL query string
+ if (getBypassReason() != null) {
+ joiner.add(
+ String.format(
+ "%sbypassReason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBypassReason()))));
+ }
+
+ // add `detailsMessage` to the URL query string
+ if (getDetailsMessage() != null) {
+ joiner.add(
+ String.format(
+ "%sdetailsMessage%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDetailsMessage()))));
+ }
+
+ // add `customerIntegrationId` to the URL query string
+ if (getCustomerIntegrationId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerIntegrationId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getCustomerIntegrationId()))));
+ }
+
+ // add `customerShortName` to the URL query string
+ if (getCustomerShortName() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerShortName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerShortName()))));
+ }
+
+ // add `travelRuleMessageId` to the URL query string
+ if (getTravelRuleMessageId() != null) {
+ joiner.add(
+ String.format(
+ "%stravelRuleMessageId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTravelRuleMessageId()))));
+ }
+
+ // add `result` to the URL query string
+ if (getResult() != null) {
+ joiner.add(getResult().toUrlQueryString(prefix + "result" + suffix));
+ }
+
+ // add `matchedPrescreeningRule` to the URL query string
+ if (getMatchedPrescreeningRule() != null) {
+ joiner.add(
+ getMatchedPrescreeningRule()
+ .toUrlQueryString(prefix + "matchedPrescreeningRule" + suffix));
+ }
+
+ // add `matchedNoTrmScreeningRule` to the URL query string
+ if (getMatchedNoTrmScreeningRule() != null) {
+ joiner.add(
+ getMatchedNoTrmScreeningRule()
+ .toUrlQueryString(prefix + "matchedNoTrmScreeningRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java
new file mode 100644
index 00000000..2a8449d9
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java
@@ -0,0 +1,736 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** TRLink screening result */
+@JsonPropertyOrder({
+ TRLinkResultFullPayload.JSON_PROPERTY_PROVIDER,
+ TRLinkResultFullPayload.JSON_PROPERTY_TIMESTAMP,
+ TRLinkResultFullPayload.JSON_PROPERTY_STATUS,
+ TRLinkResultFullPayload.JSON_PROPERTY_VERDICT,
+ TRLinkResultFullPayload.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkResultFullPayload.JSON_PROPERTY_DEST_TAG,
+ TRLinkResultFullPayload.JSON_PROPERTY_BYPASS_REASON,
+ TRLinkResultFullPayload.JSON_PROPERTY_DETAILS_MESSAGE,
+ TRLinkResultFullPayload.JSON_PROPERTY_CUSTOMER_INTEGRATION_ID,
+ TRLinkResultFullPayload.JSON_PROPERTY_CUSTOMER_SHORT_NAME,
+ TRLinkResultFullPayload.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID,
+ TRLinkResultFullPayload.JSON_PROPERTY_RESULT,
+ TRLinkResultFullPayload.JSON_PROPERTY_MATCHED_PRESCREENING_RULE,
+ TRLinkResultFullPayload.JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkResultFullPayload {
+ public static final String JSON_PROPERTY_PROVIDER = "provider";
+ @jakarta.annotation.Nonnull private String provider;
+
+ public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
+ @jakarta.annotation.Nonnull private BigDecimal timestamp;
+
+ /** Status of the TRLink screening */
+ public enum StatusEnum {
+ COMPLETED(String.valueOf("COMPLETED")),
+
+ PENDING(String.valueOf("PENDING")),
+
+ BYPASSED(String.valueOf("BYPASSED")),
+
+ FAILED(String.valueOf("FAILED")),
+
+ FROZEN(String.valueOf("FROZEN"));
+
+ private String value;
+
+ StatusEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static StatusEnum fromValue(String value) {
+ for (StatusEnum b : StatusEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_STATUS = "status";
+ @jakarta.annotation.Nonnull private StatusEnum status;
+
+ public static final String JSON_PROPERTY_VERDICT = "verdict";
+ @jakarta.annotation.Nullable private TRLinkVerdictEnum verdict;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_DEST_TAG = "destTag";
+ @jakarta.annotation.Nullable private String destTag;
+
+ public static final String JSON_PROPERTY_BYPASS_REASON = "bypassReason";
+ @jakarta.annotation.Nullable private String bypassReason;
+
+ public static final String JSON_PROPERTY_DETAILS_MESSAGE = "detailsMessage";
+ @jakarta.annotation.Nullable private String detailsMessage;
+
+ public static final String JSON_PROPERTY_CUSTOMER_INTEGRATION_ID = "customerIntegrationId";
+ @jakarta.annotation.Nullable private String customerIntegrationId;
+
+ public static final String JSON_PROPERTY_CUSTOMER_SHORT_NAME = "customerShortName";
+ @jakarta.annotation.Nullable private String customerShortName;
+
+ public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId";
+ @jakarta.annotation.Nullable private String travelRuleMessageId;
+
+ public static final String JSON_PROPERTY_RESULT = "result";
+ @jakarta.annotation.Nullable private TRLinkProviderResultWithRule2 result;
+
+ public static final String JSON_PROPERTY_MATCHED_PRESCREENING_RULE = "matchedPrescreeningRule";
+ @jakarta.annotation.Nullable private ScreeningTRLinkPrescreeningRule matchedPrescreeningRule;
+
+ public static final String JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE =
+ "matchedNoTrmScreeningRule";
+
+ @jakarta.annotation.Nullable
+ private ScreeningTRLinkMissingTrmDecision matchedNoTrmScreeningRule;
+
+ public TRLinkResultFullPayload() {}
+
+ @JsonCreator
+ public TRLinkResultFullPayload(
+ @JsonProperty(value = JSON_PROPERTY_PROVIDER, required = true) String provider,
+ @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) BigDecimal timestamp,
+ @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) StatusEnum status) {
+ this.provider = provider;
+ this.timestamp = timestamp;
+ this.status = status;
+ }
+
+ public TRLinkResultFullPayload provider(@jakarta.annotation.Nonnull String provider) {
+ this.provider = provider;
+ return this;
+ }
+
+ /**
+ * The TRLink provider name
+ *
+ * @return provider
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getProvider() {
+ return provider;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setProvider(@jakarta.annotation.Nonnull String provider) {
+ this.provider = provider;
+ }
+
+ public TRLinkResultFullPayload timestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ return this;
+ }
+
+ /**
+ * Unix timestamp of the screening result
+ *
+ * @return timestamp
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public BigDecimal getTimestamp() {
+ return timestamp;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TIMESTAMP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTimestamp(@jakarta.annotation.Nonnull BigDecimal timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public TRLinkResultFullPayload status(@jakarta.annotation.Nonnull StatusEnum status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Status of the TRLink screening
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public StatusEnum getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setStatus(@jakarta.annotation.Nonnull StatusEnum status) {
+ this.status = status;
+ }
+
+ public TRLinkResultFullPayload verdict(@jakarta.annotation.Nullable TRLinkVerdictEnum verdict) {
+ this.verdict = verdict;
+ return this;
+ }
+
+ /**
+ * Get verdict
+ *
+ * @return verdict
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_VERDICT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkVerdictEnum getVerdict() {
+ return verdict;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VERDICT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setVerdict(@jakarta.annotation.Nullable TRLinkVerdictEnum verdict) {
+ this.verdict = verdict;
+ }
+
+ public TRLinkResultFullPayload destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * The destination address associated with the TRLink screening
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkResultFullPayload destTag(@jakarta.annotation.Nullable String destTag) {
+ this.destTag = destTag;
+ return this;
+ }
+
+ /**
+ * Destination tag for the screening
+ *
+ * @return destTag
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TAG)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestTag() {
+ return destTag;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TAG)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestTag(@jakarta.annotation.Nullable String destTag) {
+ this.destTag = destTag;
+ }
+
+ public TRLinkResultFullPayload bypassReason(@jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ return this;
+ }
+
+ /**
+ * Reason for bypassing the TRLink screening
+ *
+ * @return bypassReason
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBypassReason() {
+ return bypassReason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBypassReason(@jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ }
+
+ public TRLinkResultFullPayload detailsMessage(
+ @jakarta.annotation.Nullable String detailsMessage) {
+ this.detailsMessage = detailsMessage;
+ return this;
+ }
+
+ /**
+ * Additional details message about the screening result
+ *
+ * @return detailsMessage
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DETAILS_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDetailsMessage() {
+ return detailsMessage;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DETAILS_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDetailsMessage(@jakarta.annotation.Nullable String detailsMessage) {
+ this.detailsMessage = detailsMessage;
+ }
+
+ public TRLinkResultFullPayload customerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ return this;
+ }
+
+ /**
+ * Customer integration identifier
+ *
+ * @return customerIntegrationId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerIntegrationId() {
+ return customerIntegrationId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerIntegrationId(
+ @jakarta.annotation.Nullable String customerIntegrationId) {
+ this.customerIntegrationId = customerIntegrationId;
+ }
+
+ public TRLinkResultFullPayload customerShortName(
+ @jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ return this;
+ }
+
+ /**
+ * Customer short name
+ *
+ * @return customerShortName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerShortName() {
+ return customerShortName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_SHORT_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerShortName(@jakarta.annotation.Nullable String customerShortName) {
+ this.customerShortName = customerShortName;
+ }
+
+ public TRLinkResultFullPayload travelRuleMessageId(
+ @jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ return this;
+ }
+
+ /**
+ * Travel rule message identifier for linking
+ *
+ * @return travelRuleMessageId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getTravelRuleMessageId() {
+ return travelRuleMessageId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) {
+ this.travelRuleMessageId = travelRuleMessageId;
+ }
+
+ public TRLinkResultFullPayload result(
+ @jakarta.annotation.Nullable TRLinkProviderResultWithRule2 result) {
+ this.result = result;
+ return this;
+ }
+
+ /**
+ * Get result
+ *
+ * @return result
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkProviderResultWithRule2 getResult() {
+ return result;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RESULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setResult(@jakarta.annotation.Nullable TRLinkProviderResultWithRule2 result) {
+ this.result = result;
+ }
+
+ public TRLinkResultFullPayload matchedPrescreeningRule(
+ @jakarta.annotation.Nullable ScreeningTRLinkPrescreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ return this;
+ }
+
+ /**
+ * Get matchedPrescreeningRule
+ *
+ * @return matchedPrescreeningRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkPrescreeningRule getMatchedPrescreeningRule() {
+ return matchedPrescreeningRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_PRESCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedPrescreeningRule(
+ @jakarta.annotation.Nullable ScreeningTRLinkPrescreeningRule matchedPrescreeningRule) {
+ this.matchedPrescreeningRule = matchedPrescreeningRule;
+ }
+
+ public TRLinkResultFullPayload matchedNoTrmScreeningRule(
+ @jakarta.annotation.Nullable
+ ScreeningTRLinkMissingTrmDecision matchedNoTrmScreeningRule) {
+ this.matchedNoTrmScreeningRule = matchedNoTrmScreeningRule;
+ return this;
+ }
+
+ /**
+ * Get matchedNoTrmScreeningRule
+ *
+ * @return matchedNoTrmScreeningRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public ScreeningTRLinkMissingTrmDecision getMatchedNoTrmScreeningRule() {
+ return matchedNoTrmScreeningRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_NO_TRM_SCREENING_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedNoTrmScreeningRule(
+ @jakarta.annotation.Nullable
+ ScreeningTRLinkMissingTrmDecision matchedNoTrmScreeningRule) {
+ this.matchedNoTrmScreeningRule = matchedNoTrmScreeningRule;
+ }
+
+ /** Return true if this TRLinkResultFullPayload object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkResultFullPayload trLinkResultFullPayload = (TRLinkResultFullPayload) o;
+ return Objects.equals(this.provider, trLinkResultFullPayload.provider)
+ && Objects.equals(this.timestamp, trLinkResultFullPayload.timestamp)
+ && Objects.equals(this.status, trLinkResultFullPayload.status)
+ && Objects.equals(this.verdict, trLinkResultFullPayload.verdict)
+ && Objects.equals(this.destAddress, trLinkResultFullPayload.destAddress)
+ && Objects.equals(this.destTag, trLinkResultFullPayload.destTag)
+ && Objects.equals(this.bypassReason, trLinkResultFullPayload.bypassReason)
+ && Objects.equals(this.detailsMessage, trLinkResultFullPayload.detailsMessage)
+ && Objects.equals(
+ this.customerIntegrationId, trLinkResultFullPayload.customerIntegrationId)
+ && Objects.equals(this.customerShortName, trLinkResultFullPayload.customerShortName)
+ && Objects.equals(
+ this.travelRuleMessageId, trLinkResultFullPayload.travelRuleMessageId)
+ && Objects.equals(this.result, trLinkResultFullPayload.result)
+ && Objects.equals(
+ this.matchedPrescreeningRule,
+ trLinkResultFullPayload.matchedPrescreeningRule)
+ && Objects.equals(
+ this.matchedNoTrmScreeningRule,
+ trLinkResultFullPayload.matchedNoTrmScreeningRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ provider,
+ timestamp,
+ status,
+ verdict,
+ destAddress,
+ destTag,
+ bypassReason,
+ detailsMessage,
+ customerIntegrationId,
+ customerShortName,
+ travelRuleMessageId,
+ result,
+ matchedPrescreeningRule,
+ matchedNoTrmScreeningRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkResultFullPayload {\n");
+ sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
+ sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" verdict: ").append(toIndentedString(verdict)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" destTag: ").append(toIndentedString(destTag)).append("\n");
+ sb.append(" bypassReason: ").append(toIndentedString(bypassReason)).append("\n");
+ sb.append(" detailsMessage: ").append(toIndentedString(detailsMessage)).append("\n");
+ sb.append(" customerIntegrationId: ")
+ .append(toIndentedString(customerIntegrationId))
+ .append("\n");
+ sb.append(" customerShortName: ")
+ .append(toIndentedString(customerShortName))
+ .append("\n");
+ sb.append(" travelRuleMessageId: ")
+ .append(toIndentedString(travelRuleMessageId))
+ .append("\n");
+ sb.append(" result: ").append(toIndentedString(result)).append("\n");
+ sb.append(" matchedPrescreeningRule: ")
+ .append(toIndentedString(matchedPrescreeningRule))
+ .append("\n");
+ sb.append(" matchedNoTrmScreeningRule: ")
+ .append(toIndentedString(matchedNoTrmScreeningRule))
+ .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 `provider` to the URL query string
+ if (getProvider() != null) {
+ joiner.add(
+ String.format(
+ "%sprovider%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getProvider()))));
+ }
+
+ // add `timestamp` to the URL query string
+ if (getTimestamp() != null) {
+ joiner.add(
+ String.format(
+ "%stimestamp%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTimestamp()))));
+ }
+
+ // add `status` to the URL query string
+ if (getStatus() != null) {
+ joiner.add(
+ String.format(
+ "%sstatus%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getStatus()))));
+ }
+
+ // add `verdict` to the URL query string
+ if (getVerdict() != null) {
+ joiner.add(
+ String.format(
+ "%sverdict%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getVerdict()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `destTag` to the URL query string
+ if (getDestTag() != null) {
+ joiner.add(
+ String.format(
+ "%sdestTag%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestTag()))));
+ }
+
+ // add `bypassReason` to the URL query string
+ if (getBypassReason() != null) {
+ joiner.add(
+ String.format(
+ "%sbypassReason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBypassReason()))));
+ }
+
+ // add `detailsMessage` to the URL query string
+ if (getDetailsMessage() != null) {
+ joiner.add(
+ String.format(
+ "%sdetailsMessage%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDetailsMessage()))));
+ }
+
+ // add `customerIntegrationId` to the URL query string
+ if (getCustomerIntegrationId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerIntegrationId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getCustomerIntegrationId()))));
+ }
+
+ // add `customerShortName` to the URL query string
+ if (getCustomerShortName() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerShortName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerShortName()))));
+ }
+
+ // add `travelRuleMessageId` to the URL query string
+ if (getTravelRuleMessageId() != null) {
+ joiner.add(
+ String.format(
+ "%stravelRuleMessageId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTravelRuleMessageId()))));
+ }
+
+ // add `result` to the URL query string
+ if (getResult() != null) {
+ joiner.add(getResult().toUrlQueryString(prefix + "result" + suffix));
+ }
+
+ // add `matchedPrescreeningRule` to the URL query string
+ if (getMatchedPrescreeningRule() != null) {
+ joiner.add(
+ getMatchedPrescreeningRule()
+ .toUrlQueryString(prefix + "matchedPrescreeningRule" + suffix));
+ }
+
+ // add `matchedNoTrmScreeningRule` to the URL query string
+ if (getMatchedNoTrmScreeningRule() != null) {
+ joiner.add(
+ getMatchedNoTrmScreeningRule()
+ .toUrlQueryString(prefix + "matchedNoTrmScreeningRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java
new file mode 100644
index 00000000..62142f45
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java
@@ -0,0 +1,781 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** Base interface for TRLink policy rules */
+@JsonPropertyOrder({
+ TRLinkRuleBase.JSON_PROPERTY_CUSTOMER_ID,
+ TRLinkRuleBase.JSON_PROPERTY_DIRECTION,
+ TRLinkRuleBase.JSON_PROPERTY_SOURCE_TYPE,
+ TRLinkRuleBase.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ TRLinkRuleBase.JSON_PROPERTY_SOURCE_ADDRESS,
+ TRLinkRuleBase.JSON_PROPERTY_DEST_TYPE,
+ TRLinkRuleBase.JSON_PROPERTY_DEST_SUB_TYPE,
+ TRLinkRuleBase.JSON_PROPERTY_DEST_ADDRESS,
+ TRLinkRuleBase.JSON_PROPERTY_SOURCE_ID,
+ TRLinkRuleBase.JSON_PROPERTY_DEST_ID,
+ TRLinkRuleBase.JSON_PROPERTY_ASSET,
+ TRLinkRuleBase.JSON_PROPERTY_BASE_ASSET,
+ TRLinkRuleBase.JSON_PROPERTY_AMOUNT,
+ TRLinkRuleBase.JSON_PROPERTY_NETWORK_PROTOCOL,
+ TRLinkRuleBase.JSON_PROPERTY_OPERATION,
+ TRLinkRuleBase.JSON_PROPERTY_DESCRIPTION,
+ TRLinkRuleBase.JSON_PROPERTY_IS_DEFAULT
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TRLinkRuleBase {
+ public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
+ @jakarta.annotation.Nullable private String customerId;
+
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TransactionDirection direction;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress";
+ @jakarta.annotation.Nullable private String sourceAddress;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private TRLinkAmount amount;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_DESCRIPTION = "description";
+ @jakarta.annotation.Nullable private String description;
+
+ public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault";
+ @jakarta.annotation.Nullable private Boolean isDefault = false;
+
+ public TRLinkRuleBase() {}
+
+ public TRLinkRuleBase customerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ return this;
+ }
+
+ /**
+ * Reference to TrlinkCustomer.id
+ *
+ * @return customerId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomerId(@jakarta.annotation.Nullable String customerId) {
+ this.customerId = customerId;
+ }
+
+ public TRLinkRuleBase direction(@jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionDirection getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TransactionDirection direction) {
+ this.direction = direction;
+ }
+
+ public TRLinkRuleBase sourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public TRLinkRuleBase sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public TRLinkRuleBase sourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ return this;
+ }
+
+ /**
+ * Source address
+ *
+ * @return sourceAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceAddress() {
+ return sourceAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) {
+ this.sourceAddress = sourceAddress;
+ }
+
+ public TRLinkRuleBase destType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public TRLinkRuleBase destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public TRLinkRuleBase destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TRLinkRuleBase sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public TRLinkRuleBase destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public TRLinkRuleBase asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset symbol
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TRLinkRuleBase baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset symbol
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public TRLinkRuleBase amount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Get amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TRLinkAmount getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable TRLinkAmount amount) {
+ this.amount = amount;
+ }
+
+ public TRLinkRuleBase networkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public TRLinkRuleBase operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public TRLinkRuleBase description(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Rule description
+ *
+ * @return description
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDescription() {
+ return description;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DESCRIPTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDescription(@jakarta.annotation.Nullable String description) {
+ this.description = description;
+ }
+
+ public TRLinkRuleBase isDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ return this;
+ }
+
+ /**
+ * Whether this is a default rule
+ *
+ * @return isDefault
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsDefault() {
+ return isDefault;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_DEFAULT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) {
+ this.isDefault = isDefault;
+ }
+
+ /** Return true if this TRLinkRuleBase object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TRLinkRuleBase trLinkRuleBase = (TRLinkRuleBase) o;
+ return Objects.equals(this.customerId, trLinkRuleBase.customerId)
+ && Objects.equals(this.direction, trLinkRuleBase.direction)
+ && Objects.equals(this.sourceType, trLinkRuleBase.sourceType)
+ && Objects.equals(this.sourceSubType, trLinkRuleBase.sourceSubType)
+ && Objects.equals(this.sourceAddress, trLinkRuleBase.sourceAddress)
+ && Objects.equals(this.destType, trLinkRuleBase.destType)
+ && Objects.equals(this.destSubType, trLinkRuleBase.destSubType)
+ && Objects.equals(this.destAddress, trLinkRuleBase.destAddress)
+ && Objects.equals(this.sourceId, trLinkRuleBase.sourceId)
+ && Objects.equals(this.destId, trLinkRuleBase.destId)
+ && Objects.equals(this.asset, trLinkRuleBase.asset)
+ && Objects.equals(this.baseAsset, trLinkRuleBase.baseAsset)
+ && Objects.equals(this.amount, trLinkRuleBase.amount)
+ && Objects.equals(this.networkProtocol, trLinkRuleBase.networkProtocol)
+ && Objects.equals(this.operation, trLinkRuleBase.operation)
+ && Objects.equals(this.description, trLinkRuleBase.description)
+ && Objects.equals(this.isDefault, trLinkRuleBase.isDefault);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ customerId,
+ direction,
+ sourceType,
+ sourceSubType,
+ sourceAddress,
+ destType,
+ destSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ networkProtocol,
+ operation,
+ description,
+ isDefault);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TRLinkRuleBase {\n");
+ sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isDefault: ").append(toIndentedString(isDefault)).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 `customerId` to the URL query string
+ if (getCustomerId() != null) {
+ joiner.add(
+ String.format(
+ "%scustomerId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getCustomerId()))));
+ }
+
+ // add `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `sourceAddress` to the URL query string
+ if (getSourceAddress() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `description` to the URL query string
+ if (getDescription() != null) {
+ joiner.add(
+ String.format(
+ "%sdescription%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
+ }
+
+ // add `isDefault` to the URL query string
+ if (getIsDefault() != null) {
+ joiner.add(
+ String.format(
+ "%sisDefault%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsDefault()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java
new file mode 100644
index 00000000..e054ca0b
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink TRM screening status */
+public enum TRLinkTrmScreeningStatus {
+ PENDING("PENDING"),
+
+ ACCEPTED("ACCEPTED"),
+
+ REJECTED("REJECTED"),
+
+ FAILED("FAILED");
+
+ private String value;
+
+ TRLinkTrmScreeningStatus(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkTrmScreeningStatus fromValue(String value) {
+ for (TRLinkTrmScreeningStatus b : TRLinkTrmScreeningStatus.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java
new file mode 100644
index 00000000..aefd41fd
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink TRM screening status */
+public enum TRLinkTrmScreeningStatusEnum {
+ PENDING("PENDING"),
+
+ ACCEPTED("ACCEPTED"),
+
+ REJECTED("REJECTED"),
+
+ FAILED("FAILED");
+
+ private String value;
+
+ TRLinkTrmScreeningStatusEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkTrmScreeningStatusEnum fromValue(String value) {
+ for (TRLinkTrmScreeningStatusEnum b : TRLinkTrmScreeningStatusEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java
new file mode 100644
index 00000000..8dd364d3
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink verdict after screening */
+public enum TRLinkVerdict {
+ ACCEPT("ACCEPT"),
+
+ ALERT("ALERT"),
+
+ REJECT("REJECT"),
+
+ WAIT("WAIT");
+
+ private String value;
+
+ TRLinkVerdict(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkVerdict fromValue(String value) {
+ for (TRLinkVerdict b : TRLinkVerdict.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java
new file mode 100644
index 00000000..f0483ff7
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** TRLink verdict after screening */
+public enum TRLinkVerdictEnum {
+ ACCEPT("ACCEPT"),
+
+ ALERT("ALERT"),
+
+ REJECT("REJECT"),
+
+ WAIT("WAIT");
+
+ private String value;
+
+ TRLinkVerdictEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TRLinkVerdictEnum fromValue(String value) {
+ for (TRLinkVerdictEnum b : TRLinkVerdictEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/Tag.java b/src/main/java/com/fireblocks/sdk/model/Tag.java
index d1e04470..ab184058 100644
--- a/src/main/java/com/fireblocks/sdk/model/Tag.java
+++ b/src/main/java/com/fireblocks/sdk/model/Tag.java
@@ -23,7 +23,14 @@
import java.util.UUID;
/** Tag */
-@JsonPropertyOrder({Tag.JSON_PROPERTY_ID, Tag.JSON_PROPERTY_LABEL, Tag.JSON_PROPERTY_DESCRIPTION})
+@JsonPropertyOrder({
+ Tag.JSON_PROPERTY_ID,
+ Tag.JSON_PROPERTY_LABEL,
+ Tag.JSON_PROPERTY_DESCRIPTION,
+ Tag.JSON_PROPERTY_IS_PROTECTED,
+ Tag.JSON_PROPERTY_COLOR,
+ Tag.JSON_PROPERTY_UPDATED_AT
+})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
@@ -37,6 +44,15 @@ public class Tag {
public static final String JSON_PROPERTY_DESCRIPTION = "description";
@jakarta.annotation.Nullable private String description;
+ public static final String JSON_PROPERTY_IS_PROTECTED = "isProtected";
+ @jakarta.annotation.Nullable private Boolean isProtected;
+
+ public static final String JSON_PROPERTY_COLOR = "color";
+ @jakarta.annotation.Nullable private String color;
+
+ public static final String JSON_PROPERTY_UPDATED_AT = "updatedAt";
+ @jakarta.annotation.Nullable private String updatedAt;
+
public Tag() {}
@JsonCreator
@@ -116,6 +132,75 @@ public void setDescription(@jakarta.annotation.Nullable String description) {
this.description = description;
}
+ public Tag isProtected(@jakarta.annotation.Nullable Boolean isProtected) {
+ this.isProtected = isProtected;
+ return this;
+ }
+
+ /**
+ * Whether the tag is protected
+ *
+ * @return isProtected
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_PROTECTED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsProtected() {
+ return isProtected;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_PROTECTED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsProtected(@jakarta.annotation.Nullable Boolean isProtected) {
+ this.isProtected = isProtected;
+ }
+
+ public Tag color(@jakarta.annotation.Nullable String color) {
+ this.color = color;
+ return this;
+ }
+
+ /**
+ * The color of the tag in hex format
+ *
+ * @return color
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_COLOR)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getColor() {
+ return color;
+ }
+
+ @JsonProperty(JSON_PROPERTY_COLOR)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setColor(@jakarta.annotation.Nullable String color) {
+ this.color = color;
+ }
+
+ public Tag updatedAt(@jakarta.annotation.Nullable String updatedAt) {
+ this.updatedAt = updatedAt;
+ return this;
+ }
+
+ /**
+ * The date and time the tag was last updated
+ *
+ * @return updatedAt
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_UPDATED_AT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getUpdatedAt() {
+ return updatedAt;
+ }
+
+ @JsonProperty(JSON_PROPERTY_UPDATED_AT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setUpdatedAt(@jakarta.annotation.Nullable String updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
/** Return true if this Tag object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -128,12 +213,15 @@ public boolean equals(Object o) {
Tag tag = (Tag) o;
return Objects.equals(this.id, tag.id)
&& Objects.equals(this.label, tag.label)
- && Objects.equals(this.description, tag.description);
+ && Objects.equals(this.description, tag.description)
+ && Objects.equals(this.isProtected, tag.isProtected)
+ && Objects.equals(this.color, tag.color)
+ && Objects.equals(this.updatedAt, tag.updatedAt);
}
@Override
public int hashCode() {
- return Objects.hash(id, label, description);
+ return Objects.hash(id, label, description, isProtected, color, updatedAt);
}
@Override
@@ -143,6 +231,9 @@ public String toString() {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n");
+ sb.append(" color: ").append(toIndentedString(color)).append("\n");
+ sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -218,6 +309,36 @@ public String toUrlQueryString(String prefix) {
ApiClient.urlEncode(ApiClient.valueToString(getDescription()))));
}
+ // add `isProtected` to the URL query string
+ if (getIsProtected() != null) {
+ joiner.add(
+ String.format(
+ "%sisProtected%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsProtected()))));
+ }
+
+ // add `color` to the URL query string
+ if (getColor() != null) {
+ joiner.add(
+ String.format(
+ "%scolor%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getColor()))));
+ }
+
+ // add `updatedAt` to the URL query string
+ if (getUpdatedAt() != null) {
+ joiner.add(
+ String.format(
+ "%supdatedAt%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getUpdatedAt()))));
+ }
+
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java b/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java
new file mode 100644
index 00000000..29569af7
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/** Gets or Sets TagAttachmentOperationAction */
+public enum TagAttachmentOperationAction {
+ ATTACH("ATTACH"),
+
+ DETACH("DETACH");
+
+ private String value;
+
+ TagAttachmentOperationAction(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TagAttachmentOperationAction fromValue(String value) {
+ for (TagAttachmentOperationAction b : TagAttachmentOperationAction.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionDirection.java b/src/main/java/com/fireblocks/sdk/model/TransactionDirection.java
new file mode 100644
index 00000000..061e5a5e
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TransactionDirection.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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/** Transaction direction */
+public enum TransactionDirection {
+ INBOUND("INBOUND"),
+
+ OUTBOUND("OUTBOUND");
+
+ private String value;
+
+ TransactionDirection(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TransactionDirection fromValue(String value) {
+ for (TransactionDirection b : TransactionDirection.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java b/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java
new file mode 100644
index 00000000..98fb5bc2
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java
@@ -0,0 +1,88 @@
+/*
+ * 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.JsonValue;
+
+/** Transaction operation type */
+public enum TransactionOperationEnum {
+ TRANSFER("TRANSFER"),
+
+ BURN("BURN"),
+
+ CONTRACT_CALL("CONTRACT_CALL"),
+
+ MINT("MINT"),
+
+ RAW("RAW"),
+
+ TYPED_MESSAGE("TYPED_MESSAGE"),
+
+ ENABLE_ASSET("ENABLE_ASSET"),
+
+ STAKE("STAKE"),
+
+ UNSTAKE("UNSTAKE"),
+
+ WITHDRAW("WITHDRAW"),
+
+ REDEEM_FROM_COMPOUND("REDEEM_FROM_COMPOUND"),
+
+ SUPPLY_TO_COMPOUND("SUPPLY_TO_COMPOUND"),
+
+ PROGRAM_CALL("PROGRAM_CALL"),
+
+ APPROVE("APPROVE");
+
+ private String value;
+
+ TransactionOperationEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TransactionOperationEnum fromValue(String value) {
+ for (TransactionOperationEnum b : TransactionOperationEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java
new file mode 100644
index 00000000..77a194fb
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** Transfer peer sub-type for prescreening rules */
+public enum TransferPeerSubTypeEnum {
+ EXTERNAL("EXTERNAL"),
+
+ INTERNAL("INTERNAL"),
+
+ CONTRACT("CONTRACT"),
+
+ EXCHANGETEST("EXCHANGETEST");
+
+ private String value;
+
+ TransferPeerSubTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TransferPeerSubTypeEnum fromValue(String value) {
+ for (TransferPeerSubTypeEnum b : TransferPeerSubTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java
new file mode 100644
index 00000000..c0314aac
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java
@@ -0,0 +1,88 @@
+/*
+ * 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.JsonValue;
+
+/** Transfer peer type (source or destination) */
+public enum TransferPeerTypeEnum {
+ VAULT_ACCOUNT("VAULT_ACCOUNT"),
+
+ EXCHANGE_ACCOUNT("EXCHANGE_ACCOUNT"),
+
+ INTERNAL_WALLET("INTERNAL_WALLET"),
+
+ EXTERNAL_WALLET("EXTERNAL_WALLET"),
+
+ CONTRACT("CONTRACT"),
+
+ NETWORK_CONNECTION("NETWORK_CONNECTION"),
+
+ FIAT_ACCOUNT("FIAT_ACCOUNT"),
+
+ COMPOUND("COMPOUND"),
+
+ GAS_STATION("GAS_STATION"),
+
+ ONE_TIME_ADDRESS("ONE_TIME_ADDRESS"),
+
+ UNKNOWN("UNKNOWN"),
+
+ END_USER_WALLET("END_USER_WALLET"),
+
+ PROGRAM_CALL("PROGRAM_CALL"),
+
+ MULTI_DESTINATION("MULTI_DESTINATION");
+
+ private String value;
+
+ TransferPeerTypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TransferPeerTypeEnum fromValue(String value) {
+ for (TransferPeerTypeEnum b : TransferPeerTypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java
new file mode 100644
index 00000000..0577c432
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java
@@ -0,0 +1,66 @@
+/*
+ * 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.JsonValue;
+
+/** Travel rule action */
+public enum TravelRuleActionEnum {
+ SCREEN("SCREEN"),
+
+ BYPASS("BYPASS"),
+
+ BLOCK("BLOCK");
+
+ private String value;
+
+ TravelRuleActionEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TravelRuleActionEnum fromValue(String value) {
+ for (TravelRuleActionEnum b : TravelRuleActionEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.java
new file mode 100644
index 00000000..621dffcf
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.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 com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/** Travel rule direction */
+public enum TravelRuleDirectionEnum {
+ INBOUND("INBOUND"),
+
+ OUTBOUND("OUTBOUND");
+
+ private String value;
+
+ TravelRuleDirectionEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TravelRuleDirectionEnum fromValue(String value) {
+ for (TravelRuleDirectionEnum b : TravelRuleDirectionEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java
new file mode 100644
index 00000000..f994b266
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java
@@ -0,0 +1,338 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** The travel rule configuration that was matched */
+@JsonPropertyOrder({
+ TravelRuleMatchedRule.JSON_PROPERTY_DIRECTION,
+ TravelRuleMatchedRule.JSON_PROPERTY_STATUS,
+ TravelRuleMatchedRule.JSON_PROPERTY_AMOUNT_U_S_D,
+ TravelRuleMatchedRule.JSON_PROPERTY_AMOUNT,
+ TravelRuleMatchedRule.JSON_PROPERTY_ASSET,
+ TravelRuleMatchedRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TravelRuleMatchedRule {
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_STATUS = "status";
+ @jakarta.annotation.Nullable private TravelRuleStatusEnum status;
+
+ public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD";
+ @jakarta.annotation.Nullable private BigDecimal amountUSD;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private BigDecimal amount;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private TravelRuleVerdictEnum action;
+
+ public TravelRuleMatchedRule() {}
+
+ public TravelRuleMatchedRule direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public TravelRuleMatchedRule status(@jakarta.annotation.Nullable TravelRuleStatusEnum status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status
+ *
+ * @return status
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleStatusEnum getStatus() {
+ return status;
+ }
+
+ @JsonProperty(JSON_PROPERTY_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setStatus(@jakarta.annotation.Nullable TravelRuleStatusEnum status) {
+ this.status = status;
+ }
+
+ public TravelRuleMatchedRule amountUSD(@jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ return this;
+ }
+
+ /**
+ * Amount in USD
+ *
+ * @return amountUSD
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmountUSD() {
+ return amountUSD;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmountUSD(@jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ }
+
+ public TravelRuleMatchedRule amount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Amount in base currency
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ }
+
+ public TravelRuleMatchedRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset identifier
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TravelRuleMatchedRule action(@jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleVerdictEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this TravelRuleMatchedRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TravelRuleMatchedRule travelRuleMatchedRule = (TravelRuleMatchedRule) o;
+ return Objects.equals(this.direction, travelRuleMatchedRule.direction)
+ && Objects.equals(this.status, travelRuleMatchedRule.status)
+ && Objects.equals(this.amountUSD, travelRuleMatchedRule.amountUSD)
+ && Objects.equals(this.amount, travelRuleMatchedRule.amount)
+ && Objects.equals(this.asset, travelRuleMatchedRule.asset)
+ && Objects.equals(this.action, travelRuleMatchedRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(direction, status, amountUSD, amount, asset, action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TravelRuleMatchedRule {\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" status: ").append(toIndentedString(status)).append("\n");
+ sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `status` to the URL query string
+ if (getStatus() != null) {
+ joiner.add(
+ String.format(
+ "%sstatus%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getStatus()))));
+ }
+
+ // add `amountUSD` to the URL query string
+ if (getAmountUSD() != null) {
+ joiner.add(
+ String.format(
+ "%samountUSD%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(
+ String.format(
+ "%samount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmount()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java b/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java
new file mode 100644
index 00000000..d34bc3cf
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java
@@ -0,0 +1,804 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.math.BigDecimal;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * Matched prescreening rule details. Prescreening rules are evaluated before the main screening to
+ * determine if screening is necessary or should be bypassed.
+ */
+@JsonPropertyOrder({
+ TravelRulePrescreeningRule.JSON_PROPERTY_BYPASS_REASON,
+ TravelRulePrescreeningRule.JSON_PROPERTY_SOURCE_TYPE,
+ TravelRulePrescreeningRule.JSON_PROPERTY_SOURCE_SUB_TYPE,
+ TravelRulePrescreeningRule.JSON_PROPERTY_DEST_TYPE,
+ TravelRulePrescreeningRule.JSON_PROPERTY_DEST_SUB_TYPE,
+ TravelRulePrescreeningRule.JSON_PROPERTY_TRANSFER_PEER_TYPE,
+ TravelRulePrescreeningRule.JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE,
+ TravelRulePrescreeningRule.JSON_PROPERTY_DEST_ADDRESS,
+ TravelRulePrescreeningRule.JSON_PROPERTY_SOURCE_ID,
+ TravelRulePrescreeningRule.JSON_PROPERTY_DEST_ID,
+ TravelRulePrescreeningRule.JSON_PROPERTY_ASSET,
+ TravelRulePrescreeningRule.JSON_PROPERTY_BASE_ASSET,
+ TravelRulePrescreeningRule.JSON_PROPERTY_AMOUNT,
+ TravelRulePrescreeningRule.JSON_PROPERTY_AMOUNT_U_S_D,
+ TravelRulePrescreeningRule.JSON_PROPERTY_NETWORK_PROTOCOL,
+ TravelRulePrescreeningRule.JSON_PROPERTY_OPERATION,
+ TravelRulePrescreeningRule.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TravelRulePrescreeningRule {
+ public static final String JSON_PROPERTY_BYPASS_REASON = "bypassReason";
+ @jakarta.annotation.Nullable private String bypassReason;
+
+ public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum sourceType;
+
+ public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum sourceSubType;
+
+ public static final String JSON_PROPERTY_DEST_TYPE = "destType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum destType;
+
+ public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum destSubType;
+
+ public static final String JSON_PROPERTY_TRANSFER_PEER_TYPE = "transferPeerType";
+ @jakarta.annotation.Nullable private TransferPeerTypeEnum transferPeerType;
+
+ public static final String JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE = "transferPeerSubType";
+ @jakarta.annotation.Nullable private TransferPeerSubTypeEnum transferPeerSubType;
+
+ public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress";
+ @jakarta.annotation.Nullable private String destAddress;
+
+ public static final String JSON_PROPERTY_SOURCE_ID = "sourceId";
+ @jakarta.annotation.Nullable private String sourceId;
+
+ public static final String JSON_PROPERTY_DEST_ID = "destId";
+ @jakarta.annotation.Nullable private String destId;
+
+ public static final String JSON_PROPERTY_ASSET = "asset";
+ @jakarta.annotation.Nullable private String asset;
+
+ public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset";
+ @jakarta.annotation.Nullable private String baseAsset;
+
+ public static final String JSON_PROPERTY_AMOUNT = "amount";
+ @jakarta.annotation.Nullable private BigDecimal amount;
+
+ public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD";
+ @jakarta.annotation.Nullable private BigDecimal amountUSD;
+
+ public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol";
+ @jakarta.annotation.Nullable private String networkProtocol;
+
+ public static final String JSON_PROPERTY_OPERATION = "operation";
+ @jakarta.annotation.Nullable private TransactionOperationEnum operation;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private TravelRuleActionEnum action;
+
+ public TravelRulePrescreeningRule() {}
+
+ public TravelRulePrescreeningRule bypassReason(
+ @jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ return this;
+ }
+
+ /**
+ * Reason for bypass if prescreening rule triggered a bypass
+ *
+ * @return bypassReason
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBypassReason() {
+ return bypassReason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BYPASS_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBypassReason(@jakarta.annotation.Nullable String bypassReason) {
+ this.bypassReason = bypassReason;
+ }
+
+ public TravelRulePrescreeningRule sourceType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ return this;
+ }
+
+ /**
+ * Get sourceType
+ *
+ * @return sourceType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getSourceType() {
+ return sourceType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceType(@jakarta.annotation.Nullable TransferPeerTypeEnum sourceType) {
+ this.sourceType = sourceType;
+ }
+
+ public TravelRulePrescreeningRule sourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ return this;
+ }
+
+ /**
+ * Get sourceSubType
+ *
+ * @return sourceSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getSourceSubType() {
+ return sourceSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum sourceSubType) {
+ this.sourceSubType = sourceSubType;
+ }
+
+ public TravelRulePrescreeningRule destType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ return this;
+ }
+
+ /**
+ * Get destType
+ *
+ * @return destType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getDestType() {
+ return destType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestType(@jakarta.annotation.Nullable TransferPeerTypeEnum destType) {
+ this.destType = destType;
+ }
+
+ public TravelRulePrescreeningRule destSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ return this;
+ }
+
+ /**
+ * Get destSubType
+ *
+ * @return destSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getDestSubType() {
+ return destSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestSubType(@jakarta.annotation.Nullable TransferPeerSubTypeEnum destSubType) {
+ this.destSubType = destSubType;
+ }
+
+ public TravelRulePrescreeningRule transferPeerType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum transferPeerType) {
+ this.transferPeerType = transferPeerType;
+ return this;
+ }
+
+ /**
+ * Get transferPeerType
+ *
+ * @return transferPeerType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerTypeEnum getTransferPeerType() {
+ return transferPeerType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTransferPeerType(
+ @jakarta.annotation.Nullable TransferPeerTypeEnum transferPeerType) {
+ this.transferPeerType = transferPeerType;
+ }
+
+ public TravelRulePrescreeningRule transferPeerSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum transferPeerSubType) {
+ this.transferPeerSubType = transferPeerSubType;
+ return this;
+ }
+
+ /**
+ * Get transferPeerSubType
+ *
+ * @return transferPeerSubType
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransferPeerSubTypeEnum getTransferPeerSubType() {
+ return transferPeerSubType;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TRANSFER_PEER_SUB_TYPE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTransferPeerSubType(
+ @jakarta.annotation.Nullable TransferPeerSubTypeEnum transferPeerSubType) {
+ this.transferPeerSubType = transferPeerSubType;
+ }
+
+ public TravelRulePrescreeningRule destAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ return this;
+ }
+
+ /**
+ * Destination address
+ *
+ * @return destAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestAddress() {
+ return destAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestAddress(@jakarta.annotation.Nullable String destAddress) {
+ this.destAddress = destAddress;
+ }
+
+ public TravelRulePrescreeningRule sourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ return this;
+ }
+
+ /**
+ * Source ID
+ *
+ * @return sourceId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSourceId() {
+ return sourceId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SOURCE_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSourceId(@jakarta.annotation.Nullable String sourceId) {
+ this.sourceId = sourceId;
+ }
+
+ public TravelRulePrescreeningRule destId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ return this;
+ }
+
+ /**
+ * Destination ID
+ *
+ * @return destId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getDestId() {
+ return destId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DEST_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDestId(@jakarta.annotation.Nullable String destId) {
+ this.destId = destId;
+ }
+
+ public TravelRulePrescreeningRule asset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ return this;
+ }
+
+ /**
+ * Asset identifier
+ *
+ * @return asset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAsset() {
+ return asset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAsset(@jakarta.annotation.Nullable String asset) {
+ this.asset = asset;
+ }
+
+ public TravelRulePrescreeningRule baseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ return this;
+ }
+
+ /**
+ * Base asset
+ *
+ * @return baseAsset
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBaseAsset() {
+ return baseAsset;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BASE_ASSET)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) {
+ this.baseAsset = baseAsset;
+ }
+
+ public TravelRulePrescreeningRule amount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ return this;
+ }
+
+ /**
+ * Amount
+ *
+ * @return amount
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmount() {
+ return amount;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmount(@jakarta.annotation.Nullable BigDecimal amount) {
+ this.amount = amount;
+ }
+
+ public TravelRulePrescreeningRule amountUSD(@jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ return this;
+ }
+
+ /**
+ * Amount in USD
+ *
+ * @return amountUSD
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public BigDecimal getAmountUSD() {
+ return amountUSD;
+ }
+
+ @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAmountUSD(@jakarta.annotation.Nullable BigDecimal amountUSD) {
+ this.amountUSD = amountUSD;
+ }
+
+ public TravelRulePrescreeningRule networkProtocol(
+ @jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ return this;
+ }
+
+ /**
+ * Network protocol
+ *
+ * @return networkProtocol
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getNetworkProtocol() {
+ return networkProtocol;
+ }
+
+ @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) {
+ this.networkProtocol = networkProtocol;
+ }
+
+ public TravelRulePrescreeningRule operation(
+ @jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get operation
+ *
+ * @return operation
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TransactionOperationEnum getOperation() {
+ return operation;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OPERATION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOperation(@jakarta.annotation.Nullable TransactionOperationEnum operation) {
+ this.operation = operation;
+ }
+
+ public TravelRulePrescreeningRule action(
+ @jakarta.annotation.Nullable TravelRuleActionEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleActionEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable TravelRuleActionEnum action) {
+ this.action = action;
+ }
+
+ /** Return true if this TravelRulePrescreeningRule object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TravelRulePrescreeningRule travelRulePrescreeningRule = (TravelRulePrescreeningRule) o;
+ return Objects.equals(this.bypassReason, travelRulePrescreeningRule.bypassReason)
+ && Objects.equals(this.sourceType, travelRulePrescreeningRule.sourceType)
+ && Objects.equals(this.sourceSubType, travelRulePrescreeningRule.sourceSubType)
+ && Objects.equals(this.destType, travelRulePrescreeningRule.destType)
+ && Objects.equals(this.destSubType, travelRulePrescreeningRule.destSubType)
+ && Objects.equals(
+ this.transferPeerType, travelRulePrescreeningRule.transferPeerType)
+ && Objects.equals(
+ this.transferPeerSubType, travelRulePrescreeningRule.transferPeerSubType)
+ && Objects.equals(this.destAddress, travelRulePrescreeningRule.destAddress)
+ && Objects.equals(this.sourceId, travelRulePrescreeningRule.sourceId)
+ && Objects.equals(this.destId, travelRulePrescreeningRule.destId)
+ && Objects.equals(this.asset, travelRulePrescreeningRule.asset)
+ && Objects.equals(this.baseAsset, travelRulePrescreeningRule.baseAsset)
+ && Objects.equals(this.amount, travelRulePrescreeningRule.amount)
+ && Objects.equals(this.amountUSD, travelRulePrescreeningRule.amountUSD)
+ && Objects.equals(this.networkProtocol, travelRulePrescreeningRule.networkProtocol)
+ && Objects.equals(this.operation, travelRulePrescreeningRule.operation)
+ && Objects.equals(this.action, travelRulePrescreeningRule.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(
+ bypassReason,
+ sourceType,
+ sourceSubType,
+ destType,
+ destSubType,
+ transferPeerType,
+ transferPeerSubType,
+ destAddress,
+ sourceId,
+ destId,
+ asset,
+ baseAsset,
+ amount,
+ amountUSD,
+ networkProtocol,
+ operation,
+ action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TravelRulePrescreeningRule {\n");
+ sb.append(" bypassReason: ").append(toIndentedString(bypassReason)).append("\n");
+ sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n");
+ sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n");
+ sb.append(" destType: ").append(toIndentedString(destType)).append("\n");
+ sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n");
+ sb.append(" transferPeerType: ").append(toIndentedString(transferPeerType)).append("\n");
+ sb.append(" transferPeerSubType: ")
+ .append(toIndentedString(transferPeerSubType))
+ .append("\n");
+ sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n");
+ sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n");
+ sb.append(" destId: ").append(toIndentedString(destId)).append("\n");
+ sb.append(" asset: ").append(toIndentedString(asset)).append("\n");
+ sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n");
+ sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
+ sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n");
+ sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n");
+ sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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 `bypassReason` to the URL query string
+ if (getBypassReason() != null) {
+ joiner.add(
+ String.format(
+ "%sbypassReason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBypassReason()))));
+ }
+
+ // add `sourceType` to the URL query string
+ if (getSourceType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceType()))));
+ }
+
+ // add `sourceSubType` to the URL query string
+ if (getSourceSubType() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType()))));
+ }
+
+ // add `destType` to the URL query string
+ if (getDestType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestType()))));
+ }
+
+ // add `destSubType` to the URL query string
+ if (getDestSubType() != null) {
+ joiner.add(
+ String.format(
+ "%sdestSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestSubType()))));
+ }
+
+ // add `transferPeerType` to the URL query string
+ if (getTransferPeerType() != null) {
+ joiner.add(
+ String.format(
+ "%stransferPeerType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTransferPeerType()))));
+ }
+
+ // add `transferPeerSubType` to the URL query string
+ if (getTransferPeerSubType() != null) {
+ joiner.add(
+ String.format(
+ "%stransferPeerSubType%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTransferPeerSubType()))));
+ }
+
+ // add `destAddress` to the URL query string
+ if (getDestAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sdestAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestAddress()))));
+ }
+
+ // add `sourceId` to the URL query string
+ if (getSourceId() != null) {
+ joiner.add(
+ String.format(
+ "%ssourceId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSourceId()))));
+ }
+
+ // add `destId` to the URL query string
+ if (getDestId() != null) {
+ joiner.add(
+ String.format(
+ "%sdestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDestId()))));
+ }
+
+ // add `asset` to the URL query string
+ if (getAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sasset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAsset()))));
+ }
+
+ // add `baseAsset` to the URL query string
+ if (getBaseAsset() != null) {
+ joiner.add(
+ String.format(
+ "%sbaseAsset%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset()))));
+ }
+
+ // add `amount` to the URL query string
+ if (getAmount() != null) {
+ joiner.add(
+ String.format(
+ "%samount%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmount()))));
+ }
+
+ // add `amountUSD` to the URL query string
+ if (getAmountUSD() != null) {
+ joiner.add(
+ String.format(
+ "%samountUSD%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD()))));
+ }
+
+ // add `networkProtocol` to the URL query string
+ if (getNetworkProtocol() != null) {
+ joiner.add(
+ String.format(
+ "%snetworkProtocol%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol()))));
+ }
+
+ // add `operation` to the URL query string
+ if (getOperation() != null) {
+ joiner.add(
+ String.format(
+ "%soperation%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getOperation()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java
new file mode 100644
index 00000000..22653a61
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java
@@ -0,0 +1,322 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/**
+ * Detailed Travel Rule screening result containing provider-specific data. Contains Travel Rule
+ * specific information like verified status, rule type, and actions.
+ */
+@JsonPropertyOrder({
+ TravelRuleResult.JSON_PROPERTY_DIRECTION,
+ TravelRuleResult.JSON_PROPERTY_IS_VERIFIED,
+ TravelRuleResult.JSON_PROPERTY_ACTION,
+ TravelRuleResult.JSON_PROPERTY_PROVIDER_RESPONSE,
+ TravelRuleResult.JSON_PROPERTY_MATCHED_RULE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class TravelRuleResult {
+ public static final String JSON_PROPERTY_DIRECTION = "direction";
+ @jakarta.annotation.Nullable private TravelRuleDirectionEnum direction;
+
+ public static final String JSON_PROPERTY_IS_VERIFIED = "isVerified";
+ @jakarta.annotation.Nullable private Boolean isVerified;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nullable private TravelRuleVerdictEnum action;
+
+ public static final String JSON_PROPERTY_PROVIDER_RESPONSE = "providerResponse";
+ @jakarta.annotation.Nullable private Map providerResponse;
+
+ public static final String JSON_PROPERTY_MATCHED_RULE = "matchedRule";
+ @jakarta.annotation.Nullable private TravelRuleMatchedRule matchedRule;
+
+ public TravelRuleResult() {}
+
+ public TravelRuleResult direction(
+ @jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ return this;
+ }
+
+ /**
+ * Get direction
+ *
+ * @return direction
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleDirectionEnum getDirection() {
+ return direction;
+ }
+
+ @JsonProperty(JSON_PROPERTY_DIRECTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setDirection(@jakarta.annotation.Nullable TravelRuleDirectionEnum direction) {
+ this.direction = direction;
+ }
+
+ public TravelRuleResult isVerified(@jakarta.annotation.Nullable Boolean isVerified) {
+ this.isVerified = isVerified;
+ return this;
+ }
+
+ /**
+ * Whether the travel rule information was verified
+ *
+ * @return isVerified
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_VERIFIED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsVerified() {
+ return isVerified;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_VERIFIED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsVerified(@jakarta.annotation.Nullable Boolean isVerified) {
+ this.isVerified = isVerified;
+ }
+
+ public TravelRuleResult action(@jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleVerdictEnum getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAction(@jakarta.annotation.Nullable TravelRuleVerdictEnum action) {
+ this.action = action;
+ }
+
+ public TravelRuleResult providerResponse(
+ @jakarta.annotation.Nullable Map providerResponse) {
+ this.providerResponse = providerResponse;
+ return this;
+ }
+
+ public TravelRuleResult putProviderResponseItem(String key, Object providerResponseItem) {
+ if (this.providerResponse == null) {
+ this.providerResponse = new HashMap<>();
+ }
+ this.providerResponse.put(key, providerResponseItem);
+ return this;
+ }
+
+ /**
+ * Complete response from the travel rule provider. This is a dynamic object that varies
+ * significantly between different travel rule providers (NOTABENE etc.). Each provider has
+ * their own proprietary response format and schema. Examples of provider-specific structures: -
+ * NOTABENE: Contains VASP information, PII data, protocol-specific fields The structure is
+ * provider-dependent and cannot be standardized as each vendor implements their own proprietary
+ * data models and response formats.
+ *
+ * @return providerResponse
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public Map getProviderResponse() {
+ return providerResponse;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PROVIDER_RESPONSE)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public void setProviderResponse(
+ @jakarta.annotation.Nullable Map providerResponse) {
+ this.providerResponse = providerResponse;
+ }
+
+ public TravelRuleResult matchedRule(
+ @jakarta.annotation.Nullable TravelRuleMatchedRule matchedRule) {
+ this.matchedRule = matchedRule;
+ return this;
+ }
+
+ /**
+ * Get matchedRule
+ *
+ * @return matchedRule
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public TravelRuleMatchedRule getMatchedRule() {
+ return matchedRule;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MATCHED_RULE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMatchedRule(@jakarta.annotation.Nullable TravelRuleMatchedRule matchedRule) {
+ this.matchedRule = matchedRule;
+ }
+
+ /** Return true if this TravelRuleResult object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TravelRuleResult travelRuleResult = (TravelRuleResult) o;
+ return Objects.equals(this.direction, travelRuleResult.direction)
+ && Objects.equals(this.isVerified, travelRuleResult.isVerified)
+ && Objects.equals(this.action, travelRuleResult.action)
+ && Objects.equals(this.providerResponse, travelRuleResult.providerResponse)
+ && Objects.equals(this.matchedRule, travelRuleResult.matchedRule);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(direction, isVerified, action, providerResponse, matchedRule);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TravelRuleResult {\n");
+ sb.append(" direction: ").append(toIndentedString(direction)).append("\n");
+ sb.append(" isVerified: ").append(toIndentedString(isVerified)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).append("\n");
+ sb.append(" providerResponse: ").append(toIndentedString(providerResponse)).append("\n");
+ sb.append(" matchedRule: ").append(toIndentedString(matchedRule)).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 `direction` to the URL query string
+ if (getDirection() != null) {
+ joiner.add(
+ String.format(
+ "%sdirection%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getDirection()))));
+ }
+
+ // add `isVerified` to the URL query string
+ if (getIsVerified() != null) {
+ joiner.add(
+ String.format(
+ "%sisVerified%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getIsVerified()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ // add `providerResponse` to the URL query string
+ if (getProviderResponse() != null) {
+ for (String _key : getProviderResponse().keySet()) {
+ joiner.add(
+ String.format(
+ "%sproviderResponse%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, _key, containerSuffix),
+ getProviderResponse().get(_key),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getProviderResponse().get(_key)))));
+ }
+ }
+
+ // add `matchedRule` to the URL query string
+ if (getMatchedRule() != null) {
+ joiner.add(getMatchedRule().toUrlQueryString(prefix + "matchedRule" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java
new file mode 100644
index 00000000..e33929a2
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java
@@ -0,0 +1,70 @@
+/*
+ * 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.JsonValue;
+
+/** Travel rule status */
+public enum TravelRuleStatusEnum {
+ COMPLETED("COMPLETED"),
+
+ PENDING("PENDING"),
+
+ BYPASSED("BYPASSED"),
+
+ FAILED("FAILED"),
+
+ FROZEN("FROZEN");
+
+ private String value;
+
+ TravelRuleStatusEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TravelRuleStatusEnum fromValue(String value) {
+ for (TravelRuleStatusEnum b : TravelRuleStatusEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java
new file mode 100644
index 00000000..a3bfaa13
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java
@@ -0,0 +1,68 @@
+/*
+ * 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.JsonValue;
+
+/** The final verdict of the travel rule screening */
+public enum TravelRuleVerdictEnum {
+ ACCEPT("ACCEPT"),
+
+ REJECT("REJECT"),
+
+ ALERT("ALERT"),
+
+ REVIEW("REVIEW");
+
+ private String value;
+
+ TravelRuleVerdictEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TravelRuleVerdictEnum fromValue(String value) {
+ for (TravelRuleVerdictEnum b : TravelRuleVerdictEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+
+ /**
+ * Convert the instance into URL query string.
+ *
+ * @param prefix prefix of the query string
+ * @return URL query string
+ */
+ public String toUrlQueryString(String prefix) {
+ if (prefix == null) {
+ prefix = "";
+ }
+
+ return String.format("%s=%s", prefix, this.toString());
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/USWireAddress.java b/src/main/java/com/fireblocks/sdk/model/USWireAddress.java
new file mode 100644
index 00000000..f2324782
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/USWireAddress.java
@@ -0,0 +1,309 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** USWireAddress */
+@JsonPropertyOrder({
+ USWireAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ USWireAddress.JSON_PROPERTY_BANK_NAME,
+ USWireAddress.JSON_PROPERTY_BANK_ACCOUNT_NUMBER,
+ USWireAddress.JSON_PROPERTY_ROUTING_NUMBER,
+ USWireAddress.JSON_PROPERTY_BANK_ADDRESS
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class USWireAddress {
+ public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
+ @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder;
+
+ public static final String JSON_PROPERTY_BANK_NAME = "bankName";
+ @jakarta.annotation.Nullable private String bankName;
+
+ public static final String JSON_PROPERTY_BANK_ACCOUNT_NUMBER = "bankAccountNumber";
+ @jakarta.annotation.Nonnull private String bankAccountNumber;
+
+ public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber";
+ @jakarta.annotation.Nonnull private String routingNumber;
+
+ public static final String JSON_PROPERTY_BANK_ADDRESS = "bankAddress";
+ @jakarta.annotation.Nullable private String bankAddress;
+
+ public USWireAddress() {}
+
+ @JsonCreator
+ public USWireAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_BANK_ACCOUNT_NUMBER, required = true)
+ String bankAccountNumber,
+ @JsonProperty(value = JSON_PROPERTY_ROUTING_NUMBER, required = true)
+ String routingNumber) {
+ this.accountHolder = accountHolder;
+ this.bankAccountNumber = bankAccountNumber;
+ this.routingNumber = routingNumber;
+ }
+
+ public USWireAddress accountHolder(
+ @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ return this;
+ }
+
+ /**
+ * Get accountHolder
+ *
+ * @return accountHolder
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public AccountHolderDetails getAccountHolder() {
+ return accountHolder;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) {
+ this.accountHolder = accountHolder;
+ }
+
+ public USWireAddress bankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Name of the bank.
+ *
+ * @return bankName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankName() {
+ return bankName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankName(@jakarta.annotation.Nullable String bankName) {
+ this.bankName = bankName;
+ }
+
+ public USWireAddress bankAccountNumber(@jakarta.annotation.Nonnull String bankAccountNumber) {
+ this.bankAccountNumber = bankAccountNumber;
+ return this;
+ }
+
+ /**
+ * The bank account number for the wire transfer.
+ *
+ * @return bankAccountNumber
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getBankAccountNumber() {
+ return bankAccountNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBankAccountNumber(@jakarta.annotation.Nonnull String bankAccountNumber) {
+ this.bankAccountNumber = bankAccountNumber;
+ }
+
+ public USWireAddress routingNumber(@jakarta.annotation.Nonnull String routingNumber) {
+ this.routingNumber = routingNumber;
+ return this;
+ }
+
+ /**
+ * Routing number identifying the bank account.
+ *
+ * @return routingNumber
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getRoutingNumber() {
+ return routingNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setRoutingNumber(@jakarta.annotation.Nonnull String routingNumber) {
+ this.routingNumber = routingNumber;
+ }
+
+ public USWireAddress bankAddress(@jakarta.annotation.Nullable String bankAddress) {
+ this.bankAddress = bankAddress;
+ return this;
+ }
+
+ /**
+ * Address of the bank.
+ *
+ * @return bankAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_BANK_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getBankAddress() {
+ return bankAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BANK_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBankAddress(@jakarta.annotation.Nullable String bankAddress) {
+ this.bankAddress = bankAddress;
+ }
+
+ /** Return true if this USWireAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ USWireAddress usWireAddress = (USWireAddress) o;
+ return Objects.equals(this.accountHolder, usWireAddress.accountHolder)
+ && Objects.equals(this.bankName, usWireAddress.bankName)
+ && Objects.equals(this.bankAccountNumber, usWireAddress.bankAccountNumber)
+ && Objects.equals(this.routingNumber, usWireAddress.routingNumber)
+ && Objects.equals(this.bankAddress, usWireAddress.bankAddress);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, bankName, bankAccountNumber, routingNumber, bankAddress);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class USWireAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" bankAccountNumber: ")
+ .append(toIndentedString(bankAccountNumber))
+ .append("\n");
+ sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
+ sb.append(" bankAddress: ").append(toIndentedString(bankAddress)).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 `accountHolder` to the URL query string
+ if (getAccountHolder() != null) {
+ joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix));
+ }
+
+ // add `bankName` to the URL query string
+ if (getBankName() != null) {
+ joiner.add(
+ String.format(
+ "%sbankName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankName()))));
+ }
+
+ // add `bankAccountNumber` to the URL query string
+ if (getBankAccountNumber() != null) {
+ joiner.add(
+ String.format(
+ "%sbankAccountNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankAccountNumber()))));
+ }
+
+ // add `routingNumber` to the URL query string
+ if (getRoutingNumber() != null) {
+ joiner.add(
+ String.format(
+ "%sroutingNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getRoutingNumber()))));
+ }
+
+ // add `bankAddress` to the URL query string
+ if (getBankAddress() != null) {
+ joiner.add(
+ String.format(
+ "%sbankAddress%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankAddress()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/USWireDestination.java b/src/main/java/com/fireblocks/sdk/model/USWireDestination.java
new file mode 100644
index 00000000..56576a4e
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/USWireDestination.java
@@ -0,0 +1,213 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** USWireDestination */
+@JsonPropertyOrder({USWireDestination.JSON_PROPERTY_TYPE, USWireDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class USWireDestination {
+ /** Gets or Sets type */
+ public enum TypeEnum {
+ US_WIRE(String.valueOf("US_WIRE"));
+
+ private String value;
+
+ TypeEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TypeEnum fromValue(String value) {
+ for (TypeEnum b : TypeEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_TYPE = "type";
+ @jakarta.annotation.Nonnull private TypeEnum type;
+
+ public static final String JSON_PROPERTY_ADDRESS = "address";
+ @jakarta.annotation.Nonnull private USWireAddress address;
+
+ public USWireDestination() {}
+
+ @JsonCreator
+ public USWireDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) USWireAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public USWireDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TypeEnum getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ }
+
+ public USWireDestination address(@jakarta.annotation.Nonnull USWireAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public USWireAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull USWireAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this USWireDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ USWireDestination usWireDestination = (USWireDestination) o;
+ return Objects.equals(this.type, usWireDestination.type)
+ && Objects.equals(this.address, usWireDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class USWireDestination {\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\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 `type` to the URL query string
+ if (getType() != null) {
+ joiner.add(
+ String.format(
+ "%stype%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getType()))));
+ }
+
+ // add `address` to the URL query string
+ if (getAddress() != null) {
+ joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java
new file mode 100644
index 00000000..6e324755
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java
@@ -0,0 +1,237 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+import java.util.UUID;
+
+/** VaultAccountTagAttachmentOperation */
+@JsonPropertyOrder({
+ VaultAccountTagAttachmentOperation.JSON_PROPERTY_VAULT_ACCOUNT_ID,
+ VaultAccountTagAttachmentOperation.JSON_PROPERTY_TAG_ID,
+ VaultAccountTagAttachmentOperation.JSON_PROPERTY_ACTION
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class VaultAccountTagAttachmentOperation {
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID = "vaultAccountId";
+ @jakarta.annotation.Nonnull private String vaultAccountId;
+
+ public static final String JSON_PROPERTY_TAG_ID = "tagId";
+ @jakarta.annotation.Nonnull private UUID tagId;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TagAttachmentOperationAction action;
+
+ public VaultAccountTagAttachmentOperation() {}
+
+ @JsonCreator
+ public VaultAccountTagAttachmentOperation(
+ @JsonProperty(value = JSON_PROPERTY_VAULT_ACCOUNT_ID, required = true)
+ String vaultAccountId,
+ @JsonProperty(value = JSON_PROPERTY_TAG_ID, required = true) UUID tagId,
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TagAttachmentOperationAction action) {
+ this.vaultAccountId = vaultAccountId;
+ this.tagId = tagId;
+ this.action = action;
+ }
+
+ public VaultAccountTagAttachmentOperation vaultAccountId(
+ @jakarta.annotation.Nonnull String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ return this;
+ }
+
+ /**
+ * The ID of the vault account
+ *
+ * @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(@jakarta.annotation.Nonnull String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ }
+
+ public VaultAccountTagAttachmentOperation tagId(@jakarta.annotation.Nonnull UUID tagId) {
+ this.tagId = tagId;
+ return this;
+ }
+
+ /**
+ * Tag ID
+ *
+ * @return tagId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TAG_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public UUID getTagId() {
+ return tagId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAG_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTagId(@jakarta.annotation.Nonnull UUID tagId) {
+ this.tagId = tagId;
+ }
+
+ public VaultAccountTagAttachmentOperation action(
+ @jakarta.annotation.Nonnull TagAttachmentOperationAction action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TagAttachmentOperationAction getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TagAttachmentOperationAction action) {
+ this.action = action;
+ }
+
+ /** Return true if this VaultAccountTagAttachmentOperation object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VaultAccountTagAttachmentOperation vaultAccountTagAttachmentOperation =
+ (VaultAccountTagAttachmentOperation) o;
+ return Objects.equals(
+ this.vaultAccountId, vaultAccountTagAttachmentOperation.vaultAccountId)
+ && Objects.equals(this.tagId, vaultAccountTagAttachmentOperation.tagId)
+ && Objects.equals(this.action, vaultAccountTagAttachmentOperation.action);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(vaultAccountId, tagId, action);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VaultAccountTagAttachmentOperation {\n");
+ sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n");
+ sb.append(" tagId: ").append(toIndentedString(tagId)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).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,
+ ApiClient.urlEncode(ApiClient.valueToString(getVaultAccountId()))));
+ }
+
+ // add `tagId` to the URL query string
+ if (getTagId() != null) {
+ joiner.add(
+ String.format(
+ "%stagId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTagId()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java
new file mode 100644
index 00000000..4298b161
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java
@@ -0,0 +1,285 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+import java.util.UUID;
+
+/** VaultAccountTagAttachmentPendingOperation */
+@JsonPropertyOrder({
+ VaultAccountTagAttachmentPendingOperation.JSON_PROPERTY_VAULT_ACCOUNT_ID,
+ VaultAccountTagAttachmentPendingOperation.JSON_PROPERTY_TAG_ID,
+ VaultAccountTagAttachmentPendingOperation.JSON_PROPERTY_ACTION,
+ VaultAccountTagAttachmentPendingOperation.JSON_PROPERTY_APPROVAL_REQUEST_ID
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class VaultAccountTagAttachmentPendingOperation {
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID = "vaultAccountId";
+ @jakarta.annotation.Nonnull private String vaultAccountId;
+
+ public static final String JSON_PROPERTY_TAG_ID = "tagId";
+ @jakarta.annotation.Nonnull private UUID tagId;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TagAttachmentOperationAction action;
+
+ public static final String JSON_PROPERTY_APPROVAL_REQUEST_ID = "approvalRequestId";
+ @jakarta.annotation.Nonnull private String approvalRequestId;
+
+ public VaultAccountTagAttachmentPendingOperation() {}
+
+ @JsonCreator
+ public VaultAccountTagAttachmentPendingOperation(
+ @JsonProperty(value = JSON_PROPERTY_VAULT_ACCOUNT_ID, required = true)
+ String vaultAccountId,
+ @JsonProperty(value = JSON_PROPERTY_TAG_ID, required = true) UUID tagId,
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TagAttachmentOperationAction action,
+ @JsonProperty(value = JSON_PROPERTY_APPROVAL_REQUEST_ID, required = true)
+ String approvalRequestId) {
+ this.vaultAccountId = vaultAccountId;
+ this.tagId = tagId;
+ this.action = action;
+ this.approvalRequestId = approvalRequestId;
+ }
+
+ public VaultAccountTagAttachmentPendingOperation vaultAccountId(
+ @jakarta.annotation.Nonnull String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ return this;
+ }
+
+ /**
+ * The ID of the vault account
+ *
+ * @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(@jakarta.annotation.Nonnull String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ }
+
+ public VaultAccountTagAttachmentPendingOperation tagId(@jakarta.annotation.Nonnull UUID tagId) {
+ this.tagId = tagId;
+ return this;
+ }
+
+ /**
+ * Tag ID
+ *
+ * @return tagId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TAG_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public UUID getTagId() {
+ return tagId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAG_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTagId(@jakarta.annotation.Nonnull UUID tagId) {
+ this.tagId = tagId;
+ }
+
+ public VaultAccountTagAttachmentPendingOperation action(
+ @jakarta.annotation.Nonnull TagAttachmentOperationAction action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TagAttachmentOperationAction getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TagAttachmentOperationAction action) {
+ this.action = action;
+ }
+
+ public VaultAccountTagAttachmentPendingOperation approvalRequestId(
+ @jakarta.annotation.Nonnull String approvalRequestId) {
+ this.approvalRequestId = approvalRequestId;
+ return this;
+ }
+
+ /**
+ * Pending approval request ID
+ *
+ * @return approvalRequestId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_APPROVAL_REQUEST_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getApprovalRequestId() {
+ return approvalRequestId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_APPROVAL_REQUEST_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setApprovalRequestId(@jakarta.annotation.Nonnull String approvalRequestId) {
+ this.approvalRequestId = approvalRequestId;
+ }
+
+ /** Return true if this VaultAccountTagAttachmentPendingOperation object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VaultAccountTagAttachmentPendingOperation vaultAccountTagAttachmentPendingOperation =
+ (VaultAccountTagAttachmentPendingOperation) o;
+ return Objects.equals(
+ this.vaultAccountId,
+ vaultAccountTagAttachmentPendingOperation.vaultAccountId)
+ && Objects.equals(this.tagId, vaultAccountTagAttachmentPendingOperation.tagId)
+ && Objects.equals(this.action, vaultAccountTagAttachmentPendingOperation.action)
+ && Objects.equals(
+ this.approvalRequestId,
+ vaultAccountTagAttachmentPendingOperation.approvalRequestId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(vaultAccountId, tagId, action, approvalRequestId);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VaultAccountTagAttachmentPendingOperation {\n");
+ sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n");
+ sb.append(" tagId: ").append(toIndentedString(tagId)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).append("\n");
+ sb.append(" approvalRequestId: ")
+ .append(toIndentedString(approvalRequestId))
+ .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,
+ ApiClient.urlEncode(ApiClient.valueToString(getVaultAccountId()))));
+ }
+
+ // add `tagId` to the URL query string
+ if (getTagId() != null) {
+ joiner.add(
+ String.format(
+ "%stagId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTagId()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ // add `approvalRequestId` to the URL query string
+ if (getApprovalRequestId() != null) {
+ joiner.add(
+ String.format(
+ "%sapprovalRequestId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getApprovalRequestId()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java
new file mode 100644
index 00000000..0600752c
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java
@@ -0,0 +1,319 @@
+/*
+ * 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 com.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+import java.util.UUID;
+
+/** VaultAccountTagAttachmentRejectedOperation */
+@JsonPropertyOrder({
+ VaultAccountTagAttachmentRejectedOperation.JSON_PROPERTY_VAULT_ACCOUNT_ID,
+ VaultAccountTagAttachmentRejectedOperation.JSON_PROPERTY_TAG_ID,
+ VaultAccountTagAttachmentRejectedOperation.JSON_PROPERTY_ACTION,
+ VaultAccountTagAttachmentRejectedOperation.JSON_PROPERTY_REASON
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class VaultAccountTagAttachmentRejectedOperation {
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID = "vaultAccountId";
+ @jakarta.annotation.Nonnull private String vaultAccountId;
+
+ public static final String JSON_PROPERTY_TAG_ID = "tagId";
+ @jakarta.annotation.Nonnull private UUID tagId;
+
+ public static final String JSON_PROPERTY_ACTION = "action";
+ @jakarta.annotation.Nonnull private TagAttachmentOperationAction action;
+
+ /** Reason for rejection */
+ public enum ReasonEnum {
+ CAPACITY_EXCEEDED(String.valueOf("CAPACITY_EXCEEDED")),
+
+ ATTACHMENT_ALREADY_EXISTS(String.valueOf("ATTACHMENT_ALREADY_EXISTS")),
+
+ ATTACHMENT_DOES_NOT_EXIST(String.valueOf("ATTACHMENT_DOES_NOT_EXIST")),
+
+ PENDING_REQUEST_EXISTS(String.valueOf("PENDING_REQUEST_EXISTS"));
+
+ private String value;
+
+ ReasonEnum(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ReasonEnum fromValue(String value) {
+ for (ReasonEnum b : ReasonEnum.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+ }
+
+ public static final String JSON_PROPERTY_REASON = "reason";
+ @jakarta.annotation.Nonnull private ReasonEnum reason;
+
+ public VaultAccountTagAttachmentRejectedOperation() {}
+
+ @JsonCreator
+ public VaultAccountTagAttachmentRejectedOperation(
+ @JsonProperty(value = JSON_PROPERTY_VAULT_ACCOUNT_ID, required = true)
+ String vaultAccountId,
+ @JsonProperty(value = JSON_PROPERTY_TAG_ID, required = true) UUID tagId,
+ @JsonProperty(value = JSON_PROPERTY_ACTION, required = true)
+ TagAttachmentOperationAction action,
+ @JsonProperty(value = JSON_PROPERTY_REASON, required = true) ReasonEnum reason) {
+ this.vaultAccountId = vaultAccountId;
+ this.tagId = tagId;
+ this.action = action;
+ this.reason = reason;
+ }
+
+ public VaultAccountTagAttachmentRejectedOperation vaultAccountId(
+ @jakarta.annotation.Nonnull String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ return this;
+ }
+
+ /**
+ * The ID of the vault account
+ *
+ * @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(@jakarta.annotation.Nonnull String vaultAccountId) {
+ this.vaultAccountId = vaultAccountId;
+ }
+
+ public VaultAccountTagAttachmentRejectedOperation tagId(
+ @jakarta.annotation.Nonnull UUID tagId) {
+ this.tagId = tagId;
+ return this;
+ }
+
+ /**
+ * Tag ID
+ *
+ * @return tagId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TAG_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public UUID getTagId() {
+ return tagId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAG_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setTagId(@jakarta.annotation.Nonnull UUID tagId) {
+ this.tagId = tagId;
+ }
+
+ public VaultAccountTagAttachmentRejectedOperation action(
+ @jakarta.annotation.Nonnull TagAttachmentOperationAction action) {
+ this.action = action;
+ return this;
+ }
+
+ /**
+ * Get action
+ *
+ * @return action
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public TagAttachmentOperationAction getAction() {
+ return action;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACTION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAction(@jakarta.annotation.Nonnull TagAttachmentOperationAction action) {
+ this.action = action;
+ }
+
+ public VaultAccountTagAttachmentRejectedOperation reason(
+ @jakarta.annotation.Nonnull ReasonEnum reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Reason for rejection
+ *
+ * @return reason
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public ReasonEnum getReason() {
+ return reason;
+ }
+
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setReason(@jakarta.annotation.Nonnull ReasonEnum reason) {
+ this.reason = reason;
+ }
+
+ /** Return true if this VaultAccountTagAttachmentRejectedOperation object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VaultAccountTagAttachmentRejectedOperation vaultAccountTagAttachmentRejectedOperation =
+ (VaultAccountTagAttachmentRejectedOperation) o;
+ return Objects.equals(
+ this.vaultAccountId,
+ vaultAccountTagAttachmentRejectedOperation.vaultAccountId)
+ && Objects.equals(this.tagId, vaultAccountTagAttachmentRejectedOperation.tagId)
+ && Objects.equals(this.action, vaultAccountTagAttachmentRejectedOperation.action)
+ && Objects.equals(this.reason, vaultAccountTagAttachmentRejectedOperation.reason);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(vaultAccountId, tagId, action, reason);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VaultAccountTagAttachmentRejectedOperation {\n");
+ sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n");
+ sb.append(" tagId: ").append(toIndentedString(tagId)).append("\n");
+ sb.append(" action: ").append(toIndentedString(action)).append("\n");
+ sb.append(" reason: ").append(toIndentedString(reason)).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,
+ ApiClient.urlEncode(ApiClient.valueToString(getVaultAccountId()))));
+ }
+
+ // add `tagId` to the URL query string
+ if (getTagId() != null) {
+ joiner.add(
+ String.format(
+ "%stagId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getTagId()))));
+ }
+
+ // add `action` to the URL query string
+ if (getAction() != null) {
+ joiner.add(
+ String.format(
+ "%saction%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAction()))));
+ }
+
+ // add `reason` to the URL query string
+ if (getReason() != null) {
+ joiner.add(
+ String.format(
+ "%sreason%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getReason()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java
new file mode 100644
index 00000000..4830688a
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java
@@ -0,0 +1,292 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+import java.util.UUID;
+
+/** VaultAccountsTagAttachmentOperationsRequest */
+@JsonPropertyOrder({
+ VaultAccountsTagAttachmentOperationsRequest.JSON_PROPERTY_VAULT_ACCOUNT_IDS,
+ VaultAccountsTagAttachmentOperationsRequest.JSON_PROPERTY_TAG_IDS_TO_ATTACH,
+ VaultAccountsTagAttachmentOperationsRequest.JSON_PROPERTY_TAG_IDS_TO_DETACH
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class VaultAccountsTagAttachmentOperationsRequest {
+ public static final String JSON_PROPERTY_VAULT_ACCOUNT_IDS = "vaultAccountIds";
+ @jakarta.annotation.Nonnull private List vaultAccountIds;
+
+ public static final String JSON_PROPERTY_TAG_IDS_TO_ATTACH = "tagIdsToAttach";
+ @jakarta.annotation.Nullable private List tagIdsToAttach;
+
+ public static final String JSON_PROPERTY_TAG_IDS_TO_DETACH = "tagIdsToDetach";
+ @jakarta.annotation.Nullable private List tagIdsToDetach;
+
+ public VaultAccountsTagAttachmentOperationsRequest() {}
+
+ @JsonCreator
+ public VaultAccountsTagAttachmentOperationsRequest(
+ @JsonProperty(value = JSON_PROPERTY_VAULT_ACCOUNT_IDS, required = true)
+ List vaultAccountIds) {
+ this.vaultAccountIds = vaultAccountIds;
+ }
+
+ public VaultAccountsTagAttachmentOperationsRequest vaultAccountIds(
+ @jakarta.annotation.Nonnull List vaultAccountIds) {
+ this.vaultAccountIds = vaultAccountIds;
+ return this;
+ }
+
+ public VaultAccountsTagAttachmentOperationsRequest addVaultAccountIdsItem(
+ String vaultAccountIdsItem) {
+ if (this.vaultAccountIds == null) {
+ this.vaultAccountIds = new ArrayList<>();
+ }
+ this.vaultAccountIds.add(vaultAccountIdsItem);
+ return this;
+ }
+
+ /**
+ * The IDs of the vault accounts to attach tags to
+ *
+ * @return vaultAccountIds
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_IDS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public List getVaultAccountIds() {
+ return vaultAccountIds;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_IDS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setVaultAccountIds(@jakarta.annotation.Nonnull List vaultAccountIds) {
+ this.vaultAccountIds = vaultAccountIds;
+ }
+
+ public VaultAccountsTagAttachmentOperationsRequest tagIdsToAttach(
+ @jakarta.annotation.Nullable List tagIdsToAttach) {
+ this.tagIdsToAttach = tagIdsToAttach;
+ return this;
+ }
+
+ public VaultAccountsTagAttachmentOperationsRequest addTagIdsToAttachItem(
+ UUID tagIdsToAttachItem) {
+ if (this.tagIdsToAttach == null) {
+ this.tagIdsToAttach = new ArrayList<>();
+ }
+ this.tagIdsToAttach.add(tagIdsToAttachItem);
+ return this;
+ }
+
+ /**
+ * The IDs of the tags to attach
+ *
+ * @return tagIdsToAttach
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TAG_IDS_TO_ATTACH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getTagIdsToAttach() {
+ return tagIdsToAttach;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAG_IDS_TO_ATTACH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTagIdsToAttach(@jakarta.annotation.Nullable List tagIdsToAttach) {
+ this.tagIdsToAttach = tagIdsToAttach;
+ }
+
+ public VaultAccountsTagAttachmentOperationsRequest tagIdsToDetach(
+ @jakarta.annotation.Nullable List tagIdsToDetach) {
+ this.tagIdsToDetach = tagIdsToDetach;
+ return this;
+ }
+
+ public VaultAccountsTagAttachmentOperationsRequest addTagIdsToDetachItem(
+ UUID tagIdsToDetachItem) {
+ if (this.tagIdsToDetach == null) {
+ this.tagIdsToDetach = new ArrayList<>();
+ }
+ this.tagIdsToDetach.add(tagIdsToDetachItem);
+ return this;
+ }
+
+ /**
+ * The IDs of the tags to detach
+ *
+ * @return tagIdsToDetach
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TAG_IDS_TO_DETACH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getTagIdsToDetach() {
+ return tagIdsToDetach;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TAG_IDS_TO_DETACH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTagIdsToDetach(@jakarta.annotation.Nullable List tagIdsToDetach) {
+ this.tagIdsToDetach = tagIdsToDetach;
+ }
+
+ /** Return true if this VaultAccountsTagAttachmentOperationsRequest object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VaultAccountsTagAttachmentOperationsRequest vaultAccountsTagAttachmentOperationsRequest =
+ (VaultAccountsTagAttachmentOperationsRequest) o;
+ return Objects.equals(
+ this.vaultAccountIds,
+ vaultAccountsTagAttachmentOperationsRequest.vaultAccountIds)
+ && Objects.equals(
+ this.tagIdsToAttach,
+ vaultAccountsTagAttachmentOperationsRequest.tagIdsToAttach)
+ && Objects.equals(
+ this.tagIdsToDetach,
+ vaultAccountsTagAttachmentOperationsRequest.tagIdsToDetach);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(vaultAccountIds, tagIdsToAttach, tagIdsToDetach);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VaultAccountsTagAttachmentOperationsRequest {\n");
+ sb.append(" vaultAccountIds: ").append(toIndentedString(vaultAccountIds)).append("\n");
+ sb.append(" tagIdsToAttach: ").append(toIndentedString(tagIdsToAttach)).append("\n");
+ sb.append(" tagIdsToDetach: ").append(toIndentedString(tagIdsToDetach)).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 `vaultAccountIds` to the URL query string
+ if (getVaultAccountIds() != null) {
+ for (int i = 0; i < getVaultAccountIds().size(); i++) {
+ joiner.add(
+ String.format(
+ "%svaultAccountIds%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getVaultAccountIds().get(i)))));
+ }
+ }
+
+ // add `tagIdsToAttach` to the URL query string
+ if (getTagIdsToAttach() != null) {
+ for (int i = 0; i < getTagIdsToAttach().size(); i++) {
+ if (getTagIdsToAttach().get(i) != null) {
+ joiner.add(
+ String.format(
+ "%stagIdsToAttach%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTagIdsToAttach().get(i)))));
+ }
+ }
+ }
+
+ // add `tagIdsToDetach` to the URL query string
+ if (getTagIdsToDetach() != null) {
+ for (int i = 0; i < getTagIdsToDetach().size(); i++) {
+ if (getTagIdsToDetach().get(i) != null) {
+ joiner.add(
+ String.format(
+ "%stagIdsToDetach%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getTagIdsToDetach().get(i)))));
+ }
+ }
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java
new file mode 100644
index 00000000..d4594f42
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java
@@ -0,0 +1,315 @@
+/*
+ * 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.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** VaultAccountsTagAttachmentOperationsResponse */
+@JsonPropertyOrder({
+ VaultAccountsTagAttachmentOperationsResponse.JSON_PROPERTY_APPLIED_OPERATIONS,
+ VaultAccountsTagAttachmentOperationsResponse.JSON_PROPERTY_PENDING_OPERATIONS,
+ VaultAccountsTagAttachmentOperationsResponse.JSON_PROPERTY_REJECTED_OPERATIONS
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class VaultAccountsTagAttachmentOperationsResponse {
+ public static final String JSON_PROPERTY_APPLIED_OPERATIONS = "appliedOperations";
+ @jakarta.annotation.Nullable private List appliedOperations;
+
+ public static final String JSON_PROPERTY_PENDING_OPERATIONS = "pendingOperations";
+
+ @jakarta.annotation.Nullable
+ private List pendingOperations;
+
+ public static final String JSON_PROPERTY_REJECTED_OPERATIONS = "rejectedOperations";
+
+ @jakarta.annotation.Nullable
+ private List rejectedOperations;
+
+ public VaultAccountsTagAttachmentOperationsResponse() {}
+
+ public VaultAccountsTagAttachmentOperationsResponse appliedOperations(
+ @jakarta.annotation.Nullable
+ List appliedOperations) {
+ this.appliedOperations = appliedOperations;
+ return this;
+ }
+
+ public VaultAccountsTagAttachmentOperationsResponse addAppliedOperationsItem(
+ VaultAccountTagAttachmentOperation appliedOperationsItem) {
+ if (this.appliedOperations == null) {
+ this.appliedOperations = new ArrayList<>();
+ }
+ this.appliedOperations.add(appliedOperationsItem);
+ return this;
+ }
+
+ /**
+ * The operations that were applied
+ *
+ * @return appliedOperations
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_APPLIED_OPERATIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getAppliedOperations() {
+ return appliedOperations;
+ }
+
+ @JsonProperty(JSON_PROPERTY_APPLIED_OPERATIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAppliedOperations(
+ @jakarta.annotation.Nullable
+ List appliedOperations) {
+ this.appliedOperations = appliedOperations;
+ }
+
+ public VaultAccountsTagAttachmentOperationsResponse pendingOperations(
+ @jakarta.annotation.Nullable
+ List pendingOperations) {
+ this.pendingOperations = pendingOperations;
+ return this;
+ }
+
+ public VaultAccountsTagAttachmentOperationsResponse addPendingOperationsItem(
+ VaultAccountTagAttachmentPendingOperation pendingOperationsItem) {
+ if (this.pendingOperations == null) {
+ this.pendingOperations = new ArrayList<>();
+ }
+ this.pendingOperations.add(pendingOperationsItem);
+ return this;
+ }
+
+ /**
+ * The operations that are pending
+ *
+ * @return pendingOperations
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PENDING_OPERATIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getPendingOperations() {
+ return pendingOperations;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PENDING_OPERATIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setPendingOperations(
+ @jakarta.annotation.Nullable
+ List pendingOperations) {
+ this.pendingOperations = pendingOperations;
+ }
+
+ public VaultAccountsTagAttachmentOperationsResponse rejectedOperations(
+ @jakarta.annotation.Nullable
+ List rejectedOperations) {
+ this.rejectedOperations = rejectedOperations;
+ return this;
+ }
+
+ public VaultAccountsTagAttachmentOperationsResponse addRejectedOperationsItem(
+ VaultAccountTagAttachmentRejectedOperation rejectedOperationsItem) {
+ if (this.rejectedOperations == null) {
+ this.rejectedOperations = new ArrayList<>();
+ }
+ this.rejectedOperations.add(rejectedOperationsItem);
+ return this;
+ }
+
+ /**
+ * The operations that were rejected
+ *
+ * @return rejectedOperations
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_REJECTED_OPERATIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getRejectedOperations() {
+ return rejectedOperations;
+ }
+
+ @JsonProperty(JSON_PROPERTY_REJECTED_OPERATIONS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRejectedOperations(
+ @jakarta.annotation.Nullable
+ List rejectedOperations) {
+ this.rejectedOperations = rejectedOperations;
+ }
+
+ /** Return true if this VaultAccountsTagAttachmentOperationsResponse object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VaultAccountsTagAttachmentOperationsResponse vaultAccountsTagAttachmentOperationsResponse =
+ (VaultAccountsTagAttachmentOperationsResponse) o;
+ return Objects.equals(
+ this.appliedOperations,
+ vaultAccountsTagAttachmentOperationsResponse.appliedOperations)
+ && Objects.equals(
+ this.pendingOperations,
+ vaultAccountsTagAttachmentOperationsResponse.pendingOperations)
+ && Objects.equals(
+ this.rejectedOperations,
+ vaultAccountsTagAttachmentOperationsResponse.rejectedOperations);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(appliedOperations, pendingOperations, rejectedOperations);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VaultAccountsTagAttachmentOperationsResponse {\n");
+ sb.append(" appliedOperations: ")
+ .append(toIndentedString(appliedOperations))
+ .append("\n");
+ sb.append(" pendingOperations: ")
+ .append(toIndentedString(pendingOperations))
+ .append("\n");
+ sb.append(" rejectedOperations: ")
+ .append(toIndentedString(rejectedOperations))
+ .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 `appliedOperations` to the URL query string
+ if (getAppliedOperations() != null) {
+ for (int i = 0; i < getAppliedOperations().size(); i++) {
+ if (getAppliedOperations().get(i) != null) {
+ joiner.add(
+ getAppliedOperations()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%sappliedOperations%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `pendingOperations` to the URL query string
+ if (getPendingOperations() != null) {
+ for (int i = 0; i < getPendingOperations().size(); i++) {
+ if (getPendingOperations().get(i) != null) {
+ joiner.add(
+ getPendingOperations()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%spendingOperations%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ // add `rejectedOperations` to the URL query string
+ if (getRejectedOperations() != null) {
+ for (int i = 0; i < getRejectedOperations().size(); i++) {
+ if (getRejectedOperations().get(i) != null) {
+ joiner.add(
+ getRejectedOperations()
+ .get(i)
+ .toUrlQueryString(
+ String.format(
+ "%srejectedOperations%s%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s",
+ containerPrefix,
+ i,
+ containerSuffix))));
+ }
+ }
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java b/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java
new file mode 100644
index 00000000..f99dfe8b
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java
@@ -0,0 +1,145 @@
+/*
+ * 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.fireblocks.sdk.ApiClient;
+import java.util.Objects;
+import java.util.StringJoiner;
+
+/** WebhookMetric */
+@JsonPropertyOrder({WebhookMetric.JSON_PROPERTY_VALUE})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class WebhookMetric {
+ public static final String JSON_PROPERTY_VALUE = "value";
+ @jakarta.annotation.Nonnull private String value;
+
+ public WebhookMetric() {}
+
+ @JsonCreator
+ public WebhookMetric(@JsonProperty(value = JSON_PROPERTY_VALUE, required = true) String value) {
+ this.value = value;
+ }
+
+ public WebhookMetric value(@jakarta.annotation.Nonnull String value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * The value of the metric
+ *
+ * @return value
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_VALUE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getValue() {
+ return value;
+ }
+
+ @JsonProperty(JSON_PROPERTY_VALUE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setValue(@jakarta.annotation.Nonnull String value) {
+ this.value = value;
+ }
+
+ /** Return true if this WebhookMetric object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ WebhookMetric webhookMetric = (WebhookMetric) o;
+ return Objects.equals(this.value, webhookMetric.value);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(value);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class WebhookMetric {\n");
+ sb.append(" value: ").append(toIndentedString(value)).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 `value` to the URL query string
+ if (getValue() != null) {
+ joiner.add(
+ String.format(
+ "%svalue%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getValue()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
index 479cbd0f..1bff02b2 100644
--- a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java
@@ -143,7 +143,7 @@ public void listBlockchainsTest() throws ApiException {
*
* Register a new asset to a workspace and return the newly created asset's details.
* Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR -
- * Solana
+ * Solana - Sui
*
* @throws ApiException if the Api call fails
*/
diff --git a/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java b/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java
index 894b3fad..11afb09a 100644
--- a/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java
@@ -175,6 +175,8 @@ public void getTransactionByExternalIdTest() throws ApiException {
*/
@Test
public void getTransactionsTest() throws ApiException {
+ String next = null;
+ String prev = null;
String before = null;
String after = null;
String status = null;
@@ -191,6 +193,8 @@ public void getTransactionsTest() throws ApiException {
String destWalletId = null;
CompletableFuture>> response =
api.getTransactions(
+ next,
+ prev,
before,
after,
status,
diff --git a/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java b/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java
index de69cbc9..cacd06e9 100644
--- a/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java
@@ -38,6 +38,8 @@
import com.fireblocks.sdk.model.UpdateVaultAccountRequest;
import com.fireblocks.sdk.model.VaultAccount;
import com.fireblocks.sdk.model.VaultAccountsPagedResponse;
+import com.fireblocks.sdk.model.VaultAccountsTagAttachmentOperationsRequest;
+import com.fireblocks.sdk.model.VaultAccountsTagAttachmentOperationsResponse;
import com.fireblocks.sdk.model.VaultAccountsTagAttachmentsRequest;
import com.fireblocks.sdk.model.VaultActionStatus;
import com.fireblocks.sdk.model.VaultAsset;
@@ -71,9 +73,27 @@ public void activateAssetForVaultAccountTest() throws ApiException {
}
/**
- * Attach tags to a vault accounts
+ * Attach or detach tags from a vault accounts
*
- * Attach one or more tags to the requested vault accounts.
+ *
Attach or detach one or more tags from the requested vault accounts.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void attachOrDetachTagsFromVaultAccountsTest() throws ApiException {
+ VaultAccountsTagAttachmentOperationsRequest vaultAccountsTagAttachmentOperationsRequest =
+ null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.attachOrDetachTagsFromVaultAccounts(
+ vaultAccountsTagAttachmentOperationsRequest, idempotencyKey);
+ }
+
+ /**
+ * Attach tags to a vault accounts (deprecated)
+ *
+ * Attach one or more tags to the requested vault accounts. This endpoint is deprecated.
+ * Please use /vault/accounts/attached_tags instead.
*
* @throws ApiException if the Api call fails
*/
@@ -190,9 +210,10 @@ public void createVaultAccountAssetAddressTest() throws ApiException {
}
/**
- * Detach tags from a vault accounts
+ * Detach tags from a vault accounts (deprecated)
*
- *
Detach one or more tags from the requested vault account.
+ *
Detach one or more tags from the requested vault account. This endpoint is deprecated.
+ * Please use /vault/accounts/attached_tags instead.
*
* @throws ApiException if the Api call fails
*/
diff --git a/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java b/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java
index 79dc4b89..5db4b4c0 100644
--- a/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java
@@ -27,6 +27,7 @@
import com.fireblocks.sdk.model.UpdateWebhookRequest;
import com.fireblocks.sdk.model.Webhook;
import com.fireblocks.sdk.model.WebhookEvent;
+import com.fireblocks.sdk.model.WebhookMetric;
import com.fireblocks.sdk.model.WebhookPaginatedResponse;
import java.math.BigDecimal;
import java.util.List;
@@ -70,6 +71,21 @@ public void deleteWebhookTest() throws ApiException {
CompletableFuture> response = api.deleteWebhook(webhookId);
}
+ /**
+ * Get webhook metrics
+ *
+ * Get webhook metrics by webhook id and metric name
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getMetricsTest() throws ApiException {
+ UUID webhookId = null;
+ String metricName = null;
+ CompletableFuture> response =
+ api.getMetrics(webhookId, metricName);
+ }
+
/**
* Get notification by id
*
diff --git a/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.java
new file mode 100644
index 00000000..64de2d89
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for AccountBasedAccessProviderDetails */
+class AccountBasedAccessProviderDetailsTest {
+ private final AccountBasedAccessProviderDetails model = new AccountBasedAccessProviderDetails();
+
+ /** Model tests for AccountBasedAccessProviderDetails */
+ @Test
+ void testAccountBasedAccessProviderDetails() {
+ // TODO: test AccountBasedAccessProviderDetails
+ }
+
+ /** Test the property 'manifest' */
+ @Test
+ void manifestTest() {
+ // TODO: test manifest
+ }
+
+ /** Test the property 'connected' */
+ @Test
+ void connectedTest() {
+ // TODO: test connected
+ }
+
+ /** Test the property 'accounts' */
+ @Test
+ void accountsTest() {
+ // TODO: test accounts
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java b/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java
index 2af87278..a6a61379 100644
--- a/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java
@@ -43,6 +43,12 @@ void idsTest() {
// TODO: test ids
}
+ /** Test the property 'tags' */
+ @Test
+ void tagsTest() {
+ // TODO: test tags
+ }
+
/** Test the property 'operator' */
@Test
void operatorTest() {
diff --git a/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java
new file mode 100644
index 00000000..70ee12d1
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for AchAccountType */
+class AchAccountTypeTest {
+ /** Model tests for AchAccountType */
+ @Test
+ void testAchAccountType() {
+ // TODO: test AchAccountType
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AchAddressTest.java b/src/test/java/com/fireblocks/sdk/model/AchAddressTest.java
new file mode 100644
index 00000000..16d335b0
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AchAddressTest.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.jupiter.api.Test;
+
+/** Model tests for AchAddress */
+class AchAddressTest {
+ private final AchAddress model = new AchAddress();
+
+ /** Model tests for AchAddress */
+ @Test
+ void testAchAddress() {
+ // TODO: test AchAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankAccountNumber' */
+ @Test
+ void bankAccountNumberTest() {
+ // TODO: test bankAccountNumber
+ }
+
+ /** Test the property 'routingNumber' */
+ @Test
+ void routingNumberTest() {
+ // TODO: test routingNumber
+ }
+
+ /** Test the property 'accountType' */
+ @Test
+ void accountTypeTest() {
+ // TODO: test accountType
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.java
new file mode 100644
index 00000000..7e2d8b87
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for AchDestination */
+class AchDestinationTest {
+ private final AchDestination model = new AchDestination();
+
+ /** Model tests for AchDestination */
+ @Test
+ void testAchDestination() {
+ // TODO: test AchDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java
new file mode 100644
index 00000000..99b3acb8
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for AlertExposureTypeEnum */
+class AlertExposureTypeEnumTest {
+ /** Model tests for AlertExposureTypeEnum */
+ @Test
+ void testAlertExposureTypeEnum() {
+ // TODO: test AlertExposureTypeEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java
new file mode 100644
index 00000000..4be19ff5
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for AlertLevelEnum */
+class AlertLevelEnumTest {
+ /** Model tests for AlertLevelEnum */
+ @Test
+ void testAlertLevelEnum() {
+ // TODO: test AlertLevelEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java b/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java
new file mode 100644
index 00000000..ef21e754
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java
@@ -0,0 +1,81 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for AmlAlert */
+class AmlAlertTest {
+ private final AmlAlert model = new AmlAlert();
+
+ /** Model tests for AmlAlert */
+ @Test
+ void testAmlAlert() {
+ // TODO: test AmlAlert
+ }
+
+ /** Test the property 'alertLevel' */
+ @Test
+ void alertLevelTest() {
+ // TODO: test alertLevel
+ }
+
+ /** Test the property 'alertName' */
+ @Test
+ void alertNameTest() {
+ // TODO: test alertName
+ }
+
+ /** Test the property 'category' */
+ @Test
+ void categoryTest() {
+ // TODO: test category
+ }
+
+ /** Test the property 'service' */
+ @Test
+ void serviceTest() {
+ // TODO: test service
+ }
+
+ /** Test the property 'externalId' */
+ @Test
+ void externalIdTest() {
+ // TODO: test externalId
+ }
+
+ /** Test the property 'alertAmount' */
+ @Test
+ void alertAmountTest() {
+ // TODO: test alertAmount
+ }
+
+ /** Test the property 'exposureType' */
+ @Test
+ void exposureTypeTest() {
+ // TODO: test exposureType
+ }
+
+ /** Test the property 'policyAction' */
+ @Test
+ void policyActionTest() {
+ // TODO: test policyAction
+ }
+
+ /** Test the property 'categoryId' */
+ @Test
+ void categoryIdTest() {
+ // TODO: test categoryId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.java
new file mode 100644
index 00000000..7887ac4c
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.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.jupiter.api.Test;
+
+/** Model tests for AmlMatchedRule */
+class AmlMatchedRuleTest {
+ private final AmlMatchedRule model = new AmlMatchedRule();
+
+ /** Model tests for AmlMatchedRule */
+ @Test
+ void testAmlMatchedRule() {
+ // TODO: test AmlMatchedRule
+ }
+
+ /** Test the property 'ruleId' */
+ @Test
+ void ruleIdTest() {
+ // TODO: test ruleId
+ }
+
+ /** Test the property 'ruleName' */
+ @Test
+ void ruleNameTest() {
+ // TODO: test ruleName
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmlResultTest.java b/src/test/java/com/fireblocks/sdk/model/AmlResultTest.java
new file mode 100644
index 00000000..75614f7e
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmlResultTest.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.jupiter.api.Test;
+
+/** Model tests for AmlResult */
+class AmlResultTest {
+ private final AmlResult model = new AmlResult();
+
+ /** Model tests for AmlResult */
+ @Test
+ void testAmlResult() {
+ // TODO: test AmlResult
+ }
+
+ /** Test the property 'alerts' */
+ @Test
+ void alertsTest() {
+ // TODO: test alerts
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+
+ /** Test the property 'matchedAlert' */
+ @Test
+ void matchedAlertTest() {
+ // TODO: test matchedAlert
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java
new file mode 100644
index 00000000..ae36dc12
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for AmlStatusEnum */
+class AmlStatusEnumTest {
+ /** Model tests for AmlStatusEnum */
+ @Test
+ void testAmlStatusEnum() {
+ // TODO: test AmlStatusEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.java b/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.java
new file mode 100644
index 00000000..7065b047
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.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.jupiter.api.Test;
+
+/** Model tests for AmountConfigCurrency */
+class AmountConfigCurrencyTest {
+ private final AmountConfigCurrency model = new AmountConfigCurrency();
+
+ /** Model tests for AmountConfigCurrency */
+ @Test
+ void testAmountConfigCurrency() {
+ // TODO: test AmountConfigCurrency
+ }
+
+ /** Test the property 'currency' */
+ @Test
+ void currencyTest() {
+ // TODO: test currency
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.java b/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.java
new file mode 100644
index 00000000..1e1a1d15
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.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.jupiter.api.Test;
+
+/** Model tests for AmountConfig */
+class AmountConfigTest {
+ private final AmountConfig model = new AmountConfig();
+
+ /** Model tests for AmountConfig */
+ @Test
+ void testAmountConfig() {
+ // TODO: test AmountConfig
+ }
+
+ /** Test the property 'range' */
+ @Test
+ void rangeTest() {
+ // TODO: test range
+ }
+
+ /** Test the property 'currency' */
+ @Test
+ void currencyTest() {
+ // TODO: test currency
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigRangeTest.java b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java
similarity index 68%
rename from src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigRangeTest.java
rename to src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java
index 4a8f2fc8..e96448ee 100644
--- a/src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigRangeTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java
@@ -15,14 +15,14 @@
import org.junit.jupiter.api.Test;
-/** Model tests for AmountOverTimeConfigRange */
-class AmountOverTimeConfigRangeTest {
- private final AmountOverTimeConfigRange model = new AmountOverTimeConfigRange();
+/** Model tests for AmountRangeMinMax2 */
+class AmountRangeMinMax2Test {
+ private final AmountRangeMinMax2 model = new AmountRangeMinMax2();
- /** Model tests for AmountOverTimeConfigRange */
+ /** Model tests for AmountRangeMinMax2 */
@Test
- void testAmountOverTimeConfigRange() {
- // TODO: test AmountOverTimeConfigRange
+ void testAmountRangeMinMax2() {
+ // TODO: test AmountRangeMinMax2
}
/** Test the property 'min' */
diff --git a/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java
new file mode 100644
index 00000000..fbc20200
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.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.jupiter.api.Test;
+
+/** Model tests for AmountRangeMinMax */
+class AmountRangeMinMaxTest {
+ private final AmountRangeMinMax model = new AmountRangeMinMax();
+
+ /** Model tests for AmountRangeMinMax */
+ @Test
+ void testAmountRangeMinMax() {
+ // TODO: test AmountRangeMinMax
+ }
+
+ /** Test the property 'min' */
+ @Test
+ void minTest() {
+ // TODO: test min
+ }
+
+ /** Test the property 'max' */
+ @Test
+ void maxTest() {
+ // TODO: test max
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java b/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java
index 6dbda3e3..52d89cde 100644
--- a/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java
@@ -25,21 +25,9 @@ void testAmountRange() {
// TODO: test AmountRange
}
- /** Test the property 'min' */
+ /** Test the property 'range' */
@Test
- void minTest() {
- // TODO: test min
- }
-
- /** Test the property 'max' */
- @Test
- void maxTest() {
- // TODO: test max
- }
-
- /** Test the property 'currency' */
- @Test
- void currencyTest() {
- // TODO: test currency
+ void rangeTest() {
+ // TODO: test range
}
}
diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java
index a01e2599..76858c0e 100644
--- a/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java
@@ -54,4 +54,16 @@ void statusTest() {
void amlRegistrationTest() {
// TODO: test amlRegistration
}
+
+ /** Test the property 'trlinkRegistration' */
+ @Test
+ void trlinkRegistrationTest() {
+ // TODO: test trlinkRegistration
+ }
+
+ /** Test the property 'trlinkDestinations' */
+ @Test
+ void trlinkDestinationsTest() {
+ // TODO: test trlinkDestinations
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java
index a1ab2c96..5816a295 100644
--- a/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java
@@ -54,4 +54,16 @@ void statusTest() {
void amlRegistrationTest() {
// TODO: test amlRegistration
}
+
+ /** Test the property 'trlinkRegistration' */
+ @Test
+ void trlinkRegistrationTest() {
+ // TODO: test trlinkRegistration
+ }
+
+ /** Test the property 'trlinkDestinations' */
+ @Test
+ void trlinkDestinationsTest() {
+ // TODO: test trlinkDestinations
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java
index 9ae35904..861c3ad9 100644
--- a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java
@@ -38,10 +38,10 @@ void payloadTest() {
// TODO: test payload
}
- /** Test the property 'bypassReason' */
+ /** Test the property 'timestamp' */
@Test
- void bypassReasonTest() {
- // TODO: test bypassReason
+ void timestampTest() {
+ // TODO: test timestamp
}
/** Test the property 'screeningStatus' */
@@ -50,9 +50,159 @@ void screeningStatusTest() {
// TODO: test screeningStatus
}
- /** Test the property 'timestamp' */
+ /** Test the property 'bypassReason' */
@Test
- void timestampTest() {
- // TODO: test timestamp
+ void bypassReasonTest() {
+ // TODO: test bypassReason
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'prevStatus' */
+ @Test
+ void prevStatusTest() {
+ // TODO: test prevStatus
+ }
+
+ /** Test the property 'prevBypassReason' */
+ @Test
+ void prevBypassReasonTest() {
+ // TODO: test prevBypassReason
+ }
+
+ /** Test the property 'verdict' */
+ @Test
+ void verdictTest() {
+ // TODO: test verdict
+ }
+
+ /** Test the property 'risk' */
+ @Test
+ void riskTest() {
+ // TODO: test risk
+ }
+
+ /** Test the property 'extendedRisk' */
+ @Test
+ void extendedRiskTest() {
+ // TODO: test extendedRisk
+ }
+
+ /** Test the property 'externalId' */
+ @Test
+ void externalIdTest() {
+ // TODO: test externalId
+ }
+
+ /** Test the property 'customerRefId' */
+ @Test
+ void customerRefIdTest() {
+ // TODO: test customerRefId
+ }
+
+ /** Test the property 'refId' */
+ @Test
+ void refIdTest() {
+ // TODO: test refId
+ }
+
+ /** Test the property 'category' */
+ @Test
+ void categoryTest() {
+ // TODO: test category
+ }
+
+ /** Test the property 'categoryId' */
+ @Test
+ void categoryIdTest() {
+ // TODO: test categoryId
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'destTag' */
+ @Test
+ void destTagTest() {
+ // TODO: test destTag
+ }
+
+ /** Test the property 'destRecordId' */
+ @Test
+ void destRecordIdTest() {
+ // TODO: test destRecordId
+ }
+
+ /** Test the property 'addressResolutionSignature' */
+ @Test
+ void addressResolutionSignatureTest() {
+ // TODO: test addressResolutionSignature
+ }
+
+ /** Test the property 'amlResult' */
+ @Test
+ void amlResultTest() {
+ // TODO: test amlResult
+ }
+
+ /** Test the property 'result' */
+ @Test
+ void resultTest() {
+ // TODO: test result
+ }
+
+ /** Test the property 'detailsMessage' */
+ @Test
+ void detailsMessageTest() {
+ // TODO: test detailsMessage
+ }
+
+ /** Test the property 'matchedAlert' */
+ @Test
+ void matchedAlertTest() {
+ // TODO: test matchedAlert
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+
+ /** Test the property 'matchedPrescreeningRule' */
+ @Test
+ void matchedPrescreeningRuleTest() {
+ // TODO: test matchedPrescreeningRule
+ }
+
+ /** Test the property 'matchedNoTrmScreeningRule' */
+ @Test
+ void matchedNoTrmScreeningRuleTest() {
+ // TODO: test matchedNoTrmScreeningRule
+ }
+
+ /** Test the property 'customerIntegrationId' */
+ @Test
+ void customerIntegrationIdTest() {
+ // TODO: test customerIntegrationId
+ }
+
+ /** Test the property 'customerShortName' */
+ @Test
+ void customerShortNameTest() {
+ // TODO: test customerShortName
+ }
+
+ /** Test the property 'travelRuleMessageId' */
+ @Test
+ void travelRuleMessageIdTest() {
+ // TODO: test travelRuleMessageId
}
}
diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java
index 1ebacaff..17ba9e8a 100644
--- a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java
@@ -37,10 +37,10 @@ void payloadTest() {
// TODO: test payload
}
- /** Test the property 'bypassReason' */
+ /** Test the property 'timestamp' */
@Test
- void bypassReasonTest() {
- // TODO: test bypassReason
+ void timestampTest() {
+ // TODO: test timestamp
}
/** Test the property 'screeningStatus' */
@@ -49,9 +49,159 @@ void screeningStatusTest() {
// TODO: test screeningStatus
}
- /** Test the property 'timestamp' */
+ /** Test the property 'bypassReason' */
@Test
- void timestampTest() {
- // TODO: test timestamp
+ void bypassReasonTest() {
+ // TODO: test bypassReason
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'prevStatus' */
+ @Test
+ void prevStatusTest() {
+ // TODO: test prevStatus
+ }
+
+ /** Test the property 'prevBypassReason' */
+ @Test
+ void prevBypassReasonTest() {
+ // TODO: test prevBypassReason
+ }
+
+ /** Test the property 'verdict' */
+ @Test
+ void verdictTest() {
+ // TODO: test verdict
+ }
+
+ /** Test the property 'risk' */
+ @Test
+ void riskTest() {
+ // TODO: test risk
+ }
+
+ /** Test the property 'extendedRisk' */
+ @Test
+ void extendedRiskTest() {
+ // TODO: test extendedRisk
+ }
+
+ /** Test the property 'externalId' */
+ @Test
+ void externalIdTest() {
+ // TODO: test externalId
+ }
+
+ /** Test the property 'customerRefId' */
+ @Test
+ void customerRefIdTest() {
+ // TODO: test customerRefId
+ }
+
+ /** Test the property 'refId' */
+ @Test
+ void refIdTest() {
+ // TODO: test refId
+ }
+
+ /** Test the property 'category' */
+ @Test
+ void categoryTest() {
+ // TODO: test category
+ }
+
+ /** Test the property 'categoryId' */
+ @Test
+ void categoryIdTest() {
+ // TODO: test categoryId
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'destTag' */
+ @Test
+ void destTagTest() {
+ // TODO: test destTag
+ }
+
+ /** Test the property 'destRecordId' */
+ @Test
+ void destRecordIdTest() {
+ // TODO: test destRecordId
+ }
+
+ /** Test the property 'addressResolutionSignature' */
+ @Test
+ void addressResolutionSignatureTest() {
+ // TODO: test addressResolutionSignature
+ }
+
+ /** Test the property 'amlResult' */
+ @Test
+ void amlResultTest() {
+ // TODO: test amlResult
+ }
+
+ /** Test the property 'result' */
+ @Test
+ void resultTest() {
+ // TODO: test result
+ }
+
+ /** Test the property 'detailsMessage' */
+ @Test
+ void detailsMessageTest() {
+ // TODO: test detailsMessage
+ }
+
+ /** Test the property 'matchedAlert' */
+ @Test
+ void matchedAlertTest() {
+ // TODO: test matchedAlert
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+
+ /** Test the property 'matchedPrescreeningRule' */
+ @Test
+ void matchedPrescreeningRuleTest() {
+ // TODO: test matchedPrescreeningRule
+ }
+
+ /** Test the property 'matchedNoTrmScreeningRule' */
+ @Test
+ void matchedNoTrmScreeningRuleTest() {
+ // TODO: test matchedNoTrmScreeningRule
+ }
+
+ /** Test the property 'customerIntegrationId' */
+ @Test
+ void customerIntegrationIdTest() {
+ // TODO: test customerIntegrationId
+ }
+
+ /** Test the property 'customerShortName' */
+ @Test
+ void customerShortNameTest() {
+ // TODO: test customerShortName
+ }
+
+ /** Test the property 'travelRuleMessageId' */
+ @Test
+ void travelRuleMessageIdTest() {
+ // TODO: test travelRuleMessageId
}
}
diff --git a/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java
new file mode 100644
index 00000000..c68e2090
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.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.jupiter.api.Test;
+
+/** Model tests for DAppAddressConfig */
+class DAppAddressConfigTest {
+ private final DAppAddressConfig model = new DAppAddressConfig();
+
+ /** Model tests for DAppAddressConfig */
+ @Test
+ void testDAppAddressConfig() {
+ // TODO: test DAppAddressConfig
+ }
+
+ /** Test the property 'globalWhitelisted' */
+ @Test
+ void globalWhitelistedTest() {
+ // TODO: test globalWhitelisted
+ }
+
+ /** Test the property 'tenantWhitelisted' */
+ @Test
+ void tenantWhitelistedTest() {
+ // TODO: test tenantWhitelisted
+ }
+
+ /** Test the property 'urls' */
+ @Test
+ void urlsTest() {
+ // TODO: test urls
+ }
+
+ /** Test the property 'operator' */
+ @Test
+ void operatorTest() {
+ // TODO: test operator
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java
index 7f5fc1fd..47a2e871 100644
--- a/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java
@@ -43,6 +43,12 @@ void idsTest() {
// TODO: test ids
}
+ /** Test the property 'tags' */
+ @Test
+ void tagsTest() {
+ // TODO: test tags
+ }
+
/** Test the property 'operator' */
@Test
void operatorTest() {
diff --git a/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.java
new file mode 100644
index 00000000..9812e2d4
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for DirectAccessProviderDetails */
+class DirectAccessProviderDetailsTest {
+ private final DirectAccessProviderDetails model = new DirectAccessProviderDetails();
+
+ /** Model tests for DirectAccessProviderDetails */
+ @Test
+ void testDirectAccessProviderDetails() {
+ // TODO: test DirectAccessProviderDetails
+ }
+
+ /** Test the property 'approved' */
+ @Test
+ void approvedTest() {
+ // TODO: test approved
+ }
+
+ /** Test the property 'hasTermsOfService' */
+ @Test
+ void hasTermsOfServiceTest() {
+ // TODO: test hasTermsOfService
+ }
+
+ /** Test the property 'termsOfServiceUrl' */
+ @Test
+ void termsOfServiceUrlTest() {
+ // TODO: test termsOfServiceUrl
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java
new file mode 100644
index 00000000..c1231af4
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for FeePropertiesDetails */
+class FeePropertiesDetailsTest {
+ private final FeePropertiesDetails model = new FeePropertiesDetails();
+
+ /** Model tests for FeePropertiesDetails */
+ @Test
+ void testFeePropertiesDetails() {
+ // TODO: test FeePropertiesDetails
+ }
+
+ /** Test the property 'feeType' */
+ @Test
+ void feeTypeTest() {
+ // TODO: test feeType
+ }
+
+ /** Test the property 'assetId' */
+ @Test
+ void assetIdTest() {
+ // TODO: test assetId
+ }
+
+ /** Test the property 'amountType' */
+ @Test
+ void amountTypeTest() {
+ // TODO: test amountType
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java
new file mode 100644
index 00000000..dfdb6e58
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for FiatDestination */
+class FiatDestinationTest {
+ private final FiatDestination model = new FiatDestination();
+
+ /** Model tests for FiatDestination */
+ @Test
+ void testFiatDestination() {
+ // TODO: test FiatDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.java b/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.java
new file mode 100644
index 00000000..152a83ac
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.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.jupiter.api.Test;
+
+/** Model tests for IbanAddress */
+class IbanAddressTest {
+ private final IbanAddress model = new IbanAddress();
+
+ /** Model tests for IbanAddress */
+ @Test
+ void testIbanAddress() {
+ // TODO: test IbanAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'iban' */
+ @Test
+ void ibanTest() {
+ // TODO: test iban
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java
new file mode 100644
index 00000000..8ac91bd3
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for IbanDestination */
+class IbanDestinationTest {
+ private final IbanDestination model = new IbanDestination();
+
+ /** Model tests for IbanDestination */
+ @Test
+ void testIbanDestination() {
+ // TODO: test IbanDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java
index 718fb749..d5fabdf0 100644
--- a/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java
@@ -25,6 +25,24 @@ void testLimitExecutionRequestDetails() {
// TODO: test LimitExecutionRequestDetails
}
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'timeInForce' */
+ @Test
+ void timeInForceTest() {
+ // TODO: test timeInForce
+ }
+
+ /** Test the property 'limitPrice' */
+ @Test
+ void limitPriceTest() {
+ // TODO: test limitPrice
+ }
+
/** Test the property 'side' */
@Test
void sideTest() {
@@ -60,22 +78,4 @@ void quoteAssetIdTest() {
void quoteAssetRailTest() {
// TODO: test quoteAssetRail
}
-
- /** Test the property 'type' */
- @Test
- void typeTest() {
- // TODO: test type
- }
-
- /** Test the property 'timeInForce' */
- @Test
- void timeInForceTest() {
- // TODO: test timeInForce
- }
-
- /** Test the property 'limitPrice' */
- @Test
- void limitPriceTest() {
- // TODO: test limitPrice
- }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java
index fec55f1d..18abcbdf 100644
--- a/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java
@@ -25,6 +25,24 @@ void testLimitExecutionResponseDetails() {
// TODO: test LimitExecutionResponseDetails
}
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'timeInForce' */
+ @Test
+ void timeInForceTest() {
+ // TODO: test timeInForce
+ }
+
+ /** Test the property 'limitPrice' */
+ @Test
+ void limitPriceTest() {
+ // TODO: test limitPrice
+ }
+
/** Test the property 'side' */
@Test
void sideTest() {
@@ -60,22 +78,4 @@ void quoteAssetIdTest() {
void quoteAssetRailTest() {
// TODO: test quoteAssetRail
}
-
- /** Test the property 'type' */
- @Test
- void typeTest() {
- // TODO: test type
- }
-
- /** Test the property 'timeInForce' */
- @Test
- void timeInForceTest() {
- // TODO: test timeInForce
- }
-
- /** Test the property 'limitPrice' */
- @Test
- void limitPriceTest() {
- // TODO: test limitPrice
- }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.java
new file mode 100644
index 00000000..d5f64916
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for LimitTypeDetails */
+class LimitTypeDetailsTest {
+ private final LimitTypeDetails model = new LimitTypeDetails();
+
+ /** Model tests for LimitTypeDetails */
+ @Test
+ void testLimitTypeDetails() {
+ // TODO: test LimitTypeDetails
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'timeInForce' */
+ @Test
+ void timeInForceTest() {
+ // TODO: test timeInForce
+ }
+
+ /** Test the property 'limitPrice' */
+ @Test
+ void limitPriceTest() {
+ // TODO: test limitPrice
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.java b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.java
new file mode 100644
index 00000000..7ad0e7eb
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.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.jupiter.api.Test;
+
+/** Model tests for LocalBankTransferAfricaAddress */
+class LocalBankTransferAfricaAddressTest {
+ private final LocalBankTransferAfricaAddress model = new LocalBankTransferAfricaAddress();
+
+ /** Model tests for LocalBankTransferAfricaAddress */
+ @Test
+ void testLocalBankTransferAfricaAddress() {
+ // TODO: test LocalBankTransferAfricaAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'accountNumber' */
+ @Test
+ void accountNumberTest() {
+ // TODO: test accountNumber
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankCode' */
+ @Test
+ void bankCodeTest() {
+ // TODO: test bankCode
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.java
new file mode 100644
index 00000000..45678fc5
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for LocalBankTransferAfricaDestination */
+class LocalBankTransferAfricaDestinationTest {
+ private final LocalBankTransferAfricaDestination model =
+ new LocalBankTransferAfricaDestination();
+
+ /** Model tests for LocalBankTransferAfricaDestination */
+ @Test
+ void testLocalBankTransferAfricaDestination() {
+ // TODO: test LocalBankTransferAfricaDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java
index 4d81d69b..e9bf497b 100644
--- a/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java
@@ -25,6 +25,12 @@ void testMarketExecutionRequestDetails() {
// TODO: test MarketExecutionRequestDetails
}
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
/** Test the property 'side' */
@Test
void sideTest() {
@@ -60,10 +66,4 @@ void quoteAssetIdTest() {
void quoteAssetRailTest() {
// TODO: test quoteAssetRail
}
-
- /** Test the property 'type' */
- @Test
- void typeTest() {
- // TODO: test type
- }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java
index a2e337d0..0e9d3115 100644
--- a/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java
@@ -25,6 +25,12 @@ void testMarketExecutionResponseDetails() {
// TODO: test MarketExecutionResponseDetails
}
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
/** Test the property 'side' */
@Test
void sideTest() {
@@ -60,10 +66,4 @@ void quoteAssetIdTest() {
void quoteAssetRailTest() {
// TODO: test quoteAssetRail
}
-
- /** Test the property 'type' */
- @Test
- void typeTest() {
- // TODO: test type
- }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java
new file mode 100644
index 00000000..5052d6c0
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for MarketTypeDetails */
+class MarketTypeDetailsTest {
+ private final MarketTypeDetails model = new MarketTypeDetails();
+
+ /** Model tests for MarketTypeDetails */
+ @Test
+ void testMarketTypeDetails() {
+ // TODO: test MarketTypeDetails
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.java b/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.java
new file mode 100644
index 00000000..1a374c3b
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.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.jupiter.api.Test;
+
+/** Model tests for MobileMoneyAddress */
+class MobileMoneyAddressTest {
+ private final MobileMoneyAddress model = new MobileMoneyAddress();
+
+ /** Model tests for MobileMoneyAddress */
+ @Test
+ void testMobileMoneyAddress() {
+ // TODO: test MobileMoneyAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'mobilePhoneNumber' */
+ @Test
+ void mobilePhoneNumberTest() {
+ // TODO: test mobilePhoneNumber
+ }
+
+ /** Test the property 'provider' */
+ @Test
+ void providerTest() {
+ // TODO: test provider
+ }
+
+ /** Test the property 'beneficiaryDocumentId' */
+ @Test
+ void beneficiaryDocumentIdTest() {
+ // TODO: test beneficiaryDocumentId
+ }
+
+ /** Test the property 'beneficiaryRelationship' */
+ @Test
+ void beneficiaryRelationshipTest() {
+ // TODO: test beneficiaryRelationship
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.java
new file mode 100644
index 00000000..99582e31
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for MobileMoneyDestination */
+class MobileMoneyDestinationTest {
+ private final MobileMoneyDestination model = new MobileMoneyDestination();
+
+ /** Model tests for MobileMoneyDestination */
+ @Test
+ void testMobileMoneyDestination() {
+ // TODO: test MobileMoneyDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java b/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java
new file mode 100644
index 00000000..4e12e03b
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for OrderSide */
+class OrderSideTest {
+ /** Model tests for OrderSide */
+ @Test
+ void testOrderSide() {
+ // TODO: test OrderSide
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.java
new file mode 100644
index 00000000..dbb55b2b
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for PaymentInstructionsDetails */
+class PaymentInstructionsDetailsTest {
+ private final PaymentInstructionsDetails model = new PaymentInstructionsDetails();
+
+ /** Model tests for PaymentInstructionsDetails */
+ @Test
+ void testPaymentInstructionsDetails() {
+ // TODO: test PaymentInstructionsDetails
+ }
+
+ /** Test the property 'referenceId' */
+ @Test
+ void referenceIdTest() {
+ // TODO: test referenceId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PixAddressTest.java b/src/test/java/com/fireblocks/sdk/model/PixAddressTest.java
new file mode 100644
index 00000000..5dcc9fc0
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PixAddressTest.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.jupiter.api.Test;
+
+/** Model tests for PixAddress */
+class PixAddressTest {
+ private final PixAddress model = new PixAddress();
+
+ /** Model tests for PixAddress */
+ @Test
+ void testPixAddress() {
+ // TODO: test PixAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'pixKey' */
+ @Test
+ void pixKeyTest() {
+ // TODO: test pixKey
+ }
+
+ /** Test the property 'keyType' */
+ @Test
+ void keyTypeTest() {
+ // TODO: test keyType
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankCode' */
+ @Test
+ void bankCodeTest() {
+ // TODO: test bankCode
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java
new file mode 100644
index 00000000..2134bef4
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for PixDestination */
+class PixDestinationTest {
+ private final PixDestination model = new PixDestination();
+
+ /** Model tests for PixDestination */
+ @Test
+ void testPixDestination() {
+ // TODO: test PixDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java
new file mode 100644
index 00000000..fbd8f874
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for PolicyCurrency */
+class PolicyCurrencyTest {
+ /** Model tests for PolicyCurrency */
+ @Test
+ void testPolicyCurrency() {
+ // TODO: test PolicyCurrency
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java
index 3d3eafe3..9d2b0279 100644
--- a/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java
@@ -85,6 +85,12 @@ void accountTest() {
// TODO: test account
}
+ /** Test the property 'side' */
+ @Test
+ void sideTest() {
+ // TODO: test side
+ }
+
/** Test the property 'verdict' */
@Test
void verdictTest() {
@@ -157,6 +163,12 @@ void baseAmountTest() {
// TODO: test baseAmount
}
+ /** Test the property 'dAppAddress' */
+ @Test
+ void dAppAddressTest() {
+ // TODO: test dAppAddress
+ }
+
/** Test the property 'derivationPath' */
@Test
void derivationPathTest() {
diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.java
new file mode 100644
index 00000000..771e7573
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.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.jupiter.api.Test;
+
+/** Model tests for PolicyTag */
+class PolicyTagTest {
+ private final PolicyTag model = new PolicyTag();
+
+ /** Model tests for PolicyTag */
+ @Test
+ void testPolicyTag() {
+ // TODO: test PolicyTag
+ }
+
+ /** Test the property 'id' */
+ @Test
+ void idTest() {
+ // TODO: test id
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java
new file mode 100644
index 00000000..412b861d
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for PolicyVerdictActionEnum2 */
+class PolicyVerdictActionEnum2Test {
+ /** Model tests for PolicyVerdictActionEnum2 */
+ @Test
+ void testPolicyVerdictActionEnum2() {
+ // TODO: test PolicyVerdictActionEnum2
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java
new file mode 100644
index 00000000..a185653c
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for PolicyVerdictActionEnum */
+class PolicyVerdictActionEnumTest {
+ /** Model tests for PolicyVerdictActionEnum */
+ @Test
+ void testPolicyVerdictActionEnum() {
+ // TODO: test PolicyVerdictActionEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java
index 731367c4..b53c543c 100644
--- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java
@@ -25,6 +25,24 @@ void testQuoteExecutionResponseDetails() {
// TODO: test QuoteExecutionResponseDetails
}
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'quoteId' */
+ @Test
+ void quoteIdTest() {
+ // TODO: test quoteId
+ }
+
+ /** Test the property 'quoteAmount' */
+ @Test
+ void quoteAmountTest() {
+ // TODO: test quoteAmount
+ }
+
/** Test the property 'side' */
@Test
void sideTest() {
@@ -60,22 +78,4 @@ void quoteAssetIdTest() {
void quoteAssetRailTest() {
// TODO: test quoteAssetRail
}
-
- /** Test the property 'type' */
- @Test
- void typeTest() {
- // TODO: test type
- }
-
- /** Test the property 'quoteId' */
- @Test
- void quoteIdTest() {
- // TODO: test quoteId
- }
-
- /** Test the property 'quoteAmount' */
- @Test
- void quoteAmountTest() {
- // TODO: test quoteAmount
- }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java
new file mode 100644
index 00000000..53e8c914
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for QuoteExecutionTypeDetails */
+class QuoteExecutionTypeDetailsTest {
+ private final QuoteExecutionTypeDetails model = new QuoteExecutionTypeDetails();
+
+ /** Model tests for QuoteExecutionTypeDetails */
+ @Test
+ void testQuoteExecutionTypeDetails() {
+ // TODO: test QuoteExecutionTypeDetails
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'quoteId' */
+ @Test
+ void quoteIdTest() {
+ // TODO: test quoteId
+ }
+
+ /** Test the property 'quoteAmount' */
+ @Test
+ void quoteAmountTest() {
+ // TODO: test quoteAmount
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteTest.java
deleted file mode 100644
index ac97ec66..00000000
--- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteTest.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Fireblocks API
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
- *
- * The version of the OpenAPI document: 1.6.2
- * Contact: support@fireblocks.com
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-package com.fireblocks.sdk.model;
-
-
-import org.junit.jupiter.api.Test;
-
-/** Model tests for QuoteExecutionWithRequoteResponseDetailsAllOfReQuote */
-class QuoteExecutionWithRequoteResponseDetailsAllOfReQuoteTest {
- private final QuoteExecutionWithRequoteResponseDetailsAllOfReQuote model =
- new QuoteExecutionWithRequoteResponseDetailsAllOfReQuote();
-
- /** Model tests for QuoteExecutionWithRequoteResponseDetailsAllOfReQuote */
- @Test
- void testQuoteExecutionWithRequoteResponseDetailsAllOfReQuote() {
- // TODO: test QuoteExecutionWithRequoteResponseDetailsAllOfReQuote
- }
-
- /** Test the property 'type' */
- @Test
- void typeTest() {
- // TODO: test type
- }
-
- /** Test the property 'count' */
- @Test
- void countTest() {
- // TODO: test count
- }
-
- /** Test the property 'slippageBps' */
- @Test
- void slippageBpsTest() {
- // TODO: test slippageBps
- }
-}
diff --git a/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java
new file mode 100644
index 00000000..2150c817
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java
@@ -0,0 +1,99 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for QuotePropertiesDetails */
+class QuotePropertiesDetailsTest {
+ private final QuotePropertiesDetails model = new QuotePropertiesDetails();
+
+ /** Model tests for QuotePropertiesDetails */
+ @Test
+ void testQuotePropertiesDetails() {
+ // TODO: test QuotePropertiesDetails
+ }
+
+ /** Test the property 'via' */
+ @Test
+ void viaTest() {
+ // TODO: test via
+ }
+
+ /** Test the property 'id' */
+ @Test
+ void idTest() {
+ // TODO: test id
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'quoteAssetId' */
+ @Test
+ void quoteAssetIdTest() {
+ // TODO: test quoteAssetId
+ }
+
+ /** Test the property 'baseAssetId' */
+ @Test
+ void baseAssetIdTest() {
+ // TODO: test baseAssetId
+ }
+
+ /** Test the property 'baseAmount' */
+ @Test
+ void baseAmountTest() {
+ // TODO: test baseAmount
+ }
+
+ /** Test the property 'quoteAmount' */
+ @Test
+ void quoteAmountTest() {
+ // TODO: test quoteAmount
+ }
+
+ /** Test the property 'priceImpact' */
+ @Test
+ void priceImpactTest() {
+ // TODO: test priceImpact
+ }
+
+ /** Test the property 'quoteMinAmount' */
+ @Test
+ void quoteMinAmountTest() {
+ // TODO: test quoteMinAmount
+ }
+
+ /** Test the property 'executionSteps' */
+ @Test
+ void executionStepsTest() {
+ // TODO: test executionSteps
+ }
+
+ /** Test the property 'generalFees' */
+ @Test
+ void generalFeesTest() {
+ // TODO: test generalFees
+ }
+
+ /** Test the property 'side' */
+ @Test
+ void sideTest() {
+ // TODO: test side
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteTest.java b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java
similarity index 61%
rename from src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteTest.java
rename to src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java
index 072eb706..9e54066c 100644
--- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java
@@ -15,15 +15,14 @@
import org.junit.jupiter.api.Test;
-/** Model tests for QuoteExecutionWithRequoteRequestDetailsAllOfReQuote */
-class QuoteExecutionWithRequoteRequestDetailsAllOfReQuoteTest {
- private final QuoteExecutionWithRequoteRequestDetailsAllOfReQuote model =
- new QuoteExecutionWithRequoteRequestDetailsAllOfReQuote();
+/** Model tests for ReQuoteDetailsReQuote */
+class ReQuoteDetailsReQuoteTest {
+ private final ReQuoteDetailsReQuote model = new ReQuoteDetailsReQuote();
- /** Model tests for QuoteExecutionWithRequoteRequestDetailsAllOfReQuote */
+ /** Model tests for ReQuoteDetailsReQuote */
@Test
- void testQuoteExecutionWithRequoteRequestDetailsAllOfReQuote() {
- // TODO: test QuoteExecutionWithRequoteRequestDetailsAllOfReQuote
+ void testReQuoteDetailsReQuote() {
+ // TODO: test ReQuoteDetailsReQuote
}
/** Test the property 'type' */
diff --git a/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java
new file mode 100644
index 00000000..9e7926c2
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.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.jupiter.api.Test;
+
+/** Model tests for ReQuoteDetails */
+class ReQuoteDetailsTest {
+ private final ReQuoteDetails model = new ReQuoteDetails();
+
+ /** Model tests for ReQuoteDetails */
+ @Test
+ void testReQuoteDetails() {
+ // TODO: test ReQuoteDetails
+ }
+
+ /** Test the property 'reQuote' */
+ @Test
+ void reQuoteTest() {
+ // TODO: test reQuote
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java b/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java
new file mode 100644
index 00000000..cd510f8c
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.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.jupiter.api.Test;
+
+/** Model tests for SEPAAddress */
+class SEPAAddressTest {
+ private final SEPAAddress model = new SEPAAddress();
+
+ /** Model tests for SEPAAddress */
+ @Test
+ void testSEPAAddress() {
+ // TODO: test SEPAAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'iban' */
+ @Test
+ void ibanTest() {
+ // TODO: test iban
+ }
+
+ /** Test the property 'bic' */
+ @Test
+ void bicTest() {
+ // TODO: test bic
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankBranch' */
+ @Test
+ void bankBranchTest() {
+ // TODO: test bankBranch
+ }
+
+ /** Test the property 'bankAddress' */
+ @Test
+ void bankAddressTest() {
+ // TODO: test bankAddress
+ }
+
+ /** Test the property 'purposeCode' */
+ @Test
+ void purposeCodeTest() {
+ // TODO: test purposeCode
+ }
+
+ /** Test the property 'taxId' */
+ @Test
+ void taxIdTest() {
+ // TODO: test taxId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java b/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java
new file mode 100644
index 00000000..cb2803cf
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.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.jupiter.api.Test;
+
+/** Model tests for SEPADestination */
+class SEPADestinationTest {
+ private final SEPADestination model = new SEPADestination();
+
+ /** Model tests for SEPADestination */
+ @Test
+ void testSEPADestination() {
+ // TODO: test SEPADestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java
new file mode 100644
index 00000000..e9bced55
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for ScreeningAlertExposureTypeEnum */
+class ScreeningAlertExposureTypeEnumTest {
+ /** Model tests for ScreeningAlertExposureTypeEnum */
+ @Test
+ void testScreeningAlertExposureTypeEnum() {
+ // TODO: test ScreeningAlertExposureTypeEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java
new file mode 100644
index 00000000..9790555b
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java
@@ -0,0 +1,81 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningAmlAlert */
+class ScreeningAmlAlertTest {
+ private final ScreeningAmlAlert model = new ScreeningAmlAlert();
+
+ /** Model tests for ScreeningAmlAlert */
+ @Test
+ void testScreeningAmlAlert() {
+ // TODO: test ScreeningAmlAlert
+ }
+
+ /** Test the property 'alertLevel' */
+ @Test
+ void alertLevelTest() {
+ // TODO: test alertLevel
+ }
+
+ /** Test the property 'alertName' */
+ @Test
+ void alertNameTest() {
+ // TODO: test alertName
+ }
+
+ /** Test the property 'category' */
+ @Test
+ void categoryTest() {
+ // TODO: test category
+ }
+
+ /** Test the property 'service' */
+ @Test
+ void serviceTest() {
+ // TODO: test service
+ }
+
+ /** Test the property 'externalId' */
+ @Test
+ void externalIdTest() {
+ // TODO: test externalId
+ }
+
+ /** Test the property 'alertAmount' */
+ @Test
+ void alertAmountTest() {
+ // TODO: test alertAmount
+ }
+
+ /** Test the property 'exposureType' */
+ @Test
+ void exposureTypeTest() {
+ // TODO: test exposureType
+ }
+
+ /** Test the property 'policyAction' */
+ @Test
+ void policyActionTest() {
+ // TODO: test policyAction
+ }
+
+ /** Test the property 'categoryId' */
+ @Test
+ void categoryIdTest() {
+ // TODO: test categoryId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java
new file mode 100644
index 00000000..cdc1e1f3
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.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.jupiter.api.Test;
+
+/** Model tests for ScreeningAmlMatchedRule */
+class ScreeningAmlMatchedRuleTest {
+ private final ScreeningAmlMatchedRule model = new ScreeningAmlMatchedRule();
+
+ /** Model tests for ScreeningAmlMatchedRule */
+ @Test
+ void testScreeningAmlMatchedRule() {
+ // TODO: test ScreeningAmlMatchedRule
+ }
+
+ /** Test the property 'ruleId' */
+ @Test
+ void ruleIdTest() {
+ // TODO: test ruleId
+ }
+
+ /** Test the property 'ruleName' */
+ @Test
+ void ruleNameTest() {
+ // TODO: test ruleName
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.java
new file mode 100644
index 00000000..f60cf4bc
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.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.jupiter.api.Test;
+
+/** Model tests for ScreeningAmlResult */
+class ScreeningAmlResultTest {
+ private final ScreeningAmlResult model = new ScreeningAmlResult();
+
+ /** Model tests for ScreeningAmlResult */
+ @Test
+ void testScreeningAmlResult() {
+ // TODO: test ScreeningAmlResult
+ }
+
+ /** Test the property 'alerts' */
+ @Test
+ void alertsTest() {
+ // TODO: test alerts
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+
+ /** Test the property 'matchedAlert' */
+ @Test
+ void matchedAlertTest() {
+ // TODO: test matchedAlert
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java
new file mode 100644
index 00000000..426a0610
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for ScreeningRiskLevelEnum */
+class ScreeningRiskLevelEnumTest {
+ /** Model tests for ScreeningRiskLevelEnum */
+ @Test
+ void testScreeningRiskLevelEnum() {
+ // TODO: test ScreeningRiskLevelEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.java
new file mode 100644
index 00000000..220be017
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.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.jupiter.api.Test;
+
+/** Model tests for ScreeningTRLinkAmount */
+class ScreeningTRLinkAmountTest {
+ private final ScreeningTRLinkAmount model = new ScreeningTRLinkAmount();
+
+ /** Model tests for ScreeningTRLinkAmount */
+ @Test
+ void testScreeningTRLinkAmount() {
+ // TODO: test ScreeningTRLinkAmount
+ }
+
+ /** Test the property 'range' */
+ @Test
+ void rangeTest() {
+ // TODO: test range
+ }
+
+ /** Test the property 'currency' */
+ @Test
+ void currencyTest() {
+ // TODO: test currency
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java
new file mode 100644
index 00000000..9d53c652
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java
@@ -0,0 +1,165 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTRLinkMissingTrmDecision */
+class ScreeningTRLinkMissingTrmDecisionTest {
+ private final ScreeningTRLinkMissingTrmDecision model = new ScreeningTRLinkMissingTrmDecision();
+
+ /** Model tests for ScreeningTRLinkMissingTrmDecision */
+ @Test
+ void testScreeningTRLinkMissingTrmDecision() {
+ // TODO: test ScreeningTRLinkMissingTrmDecision
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'validBefore' */
+ @Test
+ void validBeforeTest() {
+ // TODO: test validBefore
+ }
+
+ /** Test the property 'validAfter' */
+ @Test
+ void validAfterTest() {
+ // TODO: test validAfter
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+
+ /** Test the property 'source' */
+ @Test
+ void sourceTest() {
+ // TODO: test source
+ }
+
+ /** Test the property 'timestamp' */
+ @Test
+ void timestampTest() {
+ // TODO: test timestamp
+ }
+
+ /** Test the property 'reason' */
+ @Test
+ void reasonTest() {
+ // TODO: test reason
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java
new file mode 100644
index 00000000..c149da32
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java
@@ -0,0 +1,147 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTRLinkMissingTrmRule */
+class ScreeningTRLinkMissingTrmRuleTest {
+ private final ScreeningTRLinkMissingTrmRule model = new ScreeningTRLinkMissingTrmRule();
+
+ /** Model tests for ScreeningTRLinkMissingTrmRule */
+ @Test
+ void testScreeningTRLinkMissingTrmRule() {
+ // TODO: test ScreeningTRLinkMissingTrmRule
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'validBefore' */
+ @Test
+ void validBeforeTest() {
+ // TODO: test validBefore
+ }
+
+ /** Test the property 'validAfter' */
+ @Test
+ void validAfterTest() {
+ // TODO: test validAfter
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java
new file mode 100644
index 00000000..d8120c0e
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java
@@ -0,0 +1,159 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTRLinkPostScreeningRule */
+class ScreeningTRLinkPostScreeningRuleTest {
+ private final ScreeningTRLinkPostScreeningRule model = new ScreeningTRLinkPostScreeningRule();
+
+ /** Model tests for ScreeningTRLinkPostScreeningRule */
+ @Test
+ void testScreeningTRLinkPostScreeningRule() {
+ // TODO: test ScreeningTRLinkPostScreeningRule
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'providerIdent' */
+ @Test
+ void providerIdentTest() {
+ // TODO: test providerIdent
+ }
+
+ /** Test the property 'trmStatus' */
+ @Test
+ void trmStatusTest() {
+ // TODO: test trmStatus
+ }
+
+ /** Test the property 'validBefore' */
+ @Test
+ void validBeforeTest() {
+ // TODO: test validBefore
+ }
+
+ /** Test the property 'validAfter' */
+ @Test
+ void validAfterTest() {
+ // TODO: test validAfter
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java
new file mode 100644
index 00000000..df304403
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java
@@ -0,0 +1,135 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTRLinkPrescreeningRule */
+class ScreeningTRLinkPrescreeningRuleTest {
+ private final ScreeningTRLinkPrescreeningRule model = new ScreeningTRLinkPrescreeningRule();
+
+ /** Model tests for ScreeningTRLinkPrescreeningRule */
+ @Test
+ void testScreeningTRLinkPrescreeningRule() {
+ // TODO: test ScreeningTRLinkPrescreeningRule
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java
new file mode 100644
index 00000000..45f2da85
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java
@@ -0,0 +1,129 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTRLinkRuleBase */
+class ScreeningTRLinkRuleBaseTest {
+ private final ScreeningTRLinkRuleBase model = new ScreeningTRLinkRuleBase();
+
+ /** Model tests for ScreeningTRLinkRuleBase */
+ @Test
+ void testScreeningTRLinkRuleBase() {
+ // TODO: test ScreeningTRLinkRuleBase
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java
new file mode 100644
index 00000000..6a59d432
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java
@@ -0,0 +1,63 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTravelRuleMatchedRule */
+class ScreeningTravelRuleMatchedRuleTest {
+ private final ScreeningTravelRuleMatchedRule model = new ScreeningTravelRuleMatchedRule();
+
+ /** Model tests for ScreeningTravelRuleMatchedRule */
+ @Test
+ void testScreeningTravelRuleMatchedRule() {
+ // TODO: test ScreeningTravelRuleMatchedRule
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'amountUSD' */
+ @Test
+ void amountUSDTest() {
+ // TODO: test amountUSD
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java
new file mode 100644
index 00000000..e01f4ae8
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java
@@ -0,0 +1,130 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for ScreeningTravelRulePrescreeningRule */
+class ScreeningTravelRulePrescreeningRuleTest {
+ private final ScreeningTravelRulePrescreeningRule model =
+ new ScreeningTravelRulePrescreeningRule();
+
+ /** Model tests for ScreeningTravelRulePrescreeningRule */
+ @Test
+ void testScreeningTravelRulePrescreeningRule() {
+ // TODO: test ScreeningTravelRulePrescreeningRule
+ }
+
+ /** Test the property 'bypassReason' */
+ @Test
+ void bypassReasonTest() {
+ // TODO: test bypassReason
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'transferPeerType' */
+ @Test
+ void transferPeerTypeTest() {
+ // TODO: test transferPeerType
+ }
+
+ /** Test the property 'transferPeerSubType' */
+ @Test
+ void transferPeerSubTypeTest() {
+ // TODO: test transferPeerSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'amountUSD' */
+ @Test
+ void amountUSDTest() {
+ // TODO: test amountUSD
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.java
new file mode 100644
index 00000000..5d1e305a
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.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.jupiter.api.Test;
+
+/** Model tests for ScreeningTravelRuleResult */
+class ScreeningTravelRuleResultTest {
+ private final ScreeningTravelRuleResult model = new ScreeningTravelRuleResult();
+
+ /** Model tests for ScreeningTravelRuleResult */
+ @Test
+ void testScreeningTravelRuleResult() {
+ // TODO: test ScreeningTravelRuleResult
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'isVerified' */
+ @Test
+ void isVerifiedTest() {
+ // TODO: test isVerified
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java
new file mode 100644
index 00000000..23184f0c
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for ScreeningVerdictEnum */
+class ScreeningVerdictEnumTest {
+ /** Model tests for ScreeningVerdictEnum */
+ @Test
+ void testScreeningVerdictEnum() {
+ // TODO: test ScreeningVerdictEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java b/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java
new file mode 100644
index 00000000..1f97d235
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java
@@ -0,0 +1,63 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for SourceConfig */
+class SourceConfigTest {
+ private final SourceConfig model = new SourceConfig();
+
+ /** Model tests for SourceConfig */
+ @Test
+ void testSourceConfig() {
+ // TODO: test SourceConfig
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'subType' */
+ @Test
+ void subTypeTest() {
+ // TODO: test subType
+ }
+
+ /** Test the property 'ids' */
+ @Test
+ void idsTest() {
+ // TODO: test ids
+ }
+
+ /** Test the property 'tags' */
+ @Test
+ void tagsTest() {
+ // TODO: test tags
+ }
+
+ /** Test the property 'operator' */
+ @Test
+ void operatorTest() {
+ // TODO: test operator
+ }
+
+ /** Test the property 'matchFrom' */
+ @Test
+ void matchFromTest() {
+ // TODO: test matchFrom
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.java b/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.java
new file mode 100644
index 00000000..39cca542
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.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.jupiter.api.Test;
+
+/** Model tests for SpeiAddress */
+class SpeiAddressTest {
+ private final SpeiAddress model = new SpeiAddress();
+
+ /** Model tests for SpeiAddress */
+ @Test
+ void testSpeiAddress() {
+ // TODO: test SpeiAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankAccountNumber' */
+ @Test
+ void bankAccountNumberTest() {
+ // TODO: test bankAccountNumber
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java
new file mode 100644
index 00000000..df926419
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for SpeiDestination */
+class SpeiDestinationTest {
+ private final SpeiDestination model = new SpeiDestination();
+
+ /** Model tests for SpeiDestination */
+ @Test
+ void testSpeiDestination() {
+ // TODO: test SpeiDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java b/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java
new file mode 100644
index 00000000..ad19ae50
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.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.jupiter.api.Test;
+
+/** Model tests for SwiftAddress */
+class SwiftAddressTest {
+ private final SwiftAddress model = new SwiftAddress();
+
+ /** Model tests for SwiftAddress */
+ @Test
+ void testSwiftAddress() {
+ // TODO: test SwiftAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'swiftCode' */
+ @Test
+ void swiftCodeTest() {
+ // TODO: test swiftCode
+ }
+
+ /** Test the property 'routingNumber' */
+ @Test
+ void routingNumberTest() {
+ // TODO: test routingNumber
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java
new file mode 100644
index 00000000..44aba20a
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for SwiftDestination */
+class SwiftDestinationTest {
+ private final SwiftDestination model = new SwiftDestination();
+
+ /** Model tests for SwiftDestination */
+ @Test
+ void testSwiftDestination() {
+ // TODO: test SwiftDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java
new file mode 100644
index 00000000..e9392164
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.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.jupiter.api.Test;
+
+/** Model tests for TRLinkAmount */
+class TRLinkAmountTest {
+ private final TRLinkAmount model = new TRLinkAmount();
+
+ /** Model tests for TRLinkAmount */
+ @Test
+ void testTRLinkAmount() {
+ // TODO: test TRLinkAmount
+ }
+
+ /** Test the property 'range' */
+ @Test
+ void rangeTest() {
+ // TODO: test range
+ }
+
+ /** Test the property 'currency' */
+ @Test
+ void currencyTest() {
+ // TODO: test currency
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java
new file mode 100644
index 00000000..c617bd10
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkMissingTrmActionEnum */
+class TRLinkMissingTrmActionEnumTest {
+ /** Model tests for TRLinkMissingTrmActionEnum */
+ @Test
+ void testTRLinkMissingTrmActionEnum() {
+ // TODO: test TRLinkMissingTrmActionEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java
new file mode 100644
index 00000000..024877ca
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkMissingTrmAction */
+class TRLinkMissingTrmActionTest {
+ /** Model tests for TRLinkMissingTrmAction */
+ @Test
+ void testTRLinkMissingTrmAction() {
+ // TODO: test TRLinkMissingTrmAction
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java
new file mode 100644
index 00000000..d92c8c5b
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java
@@ -0,0 +1,165 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkMissingTrmDecision */
+class TRLinkMissingTrmDecisionTest {
+ private final TRLinkMissingTrmDecision model = new TRLinkMissingTrmDecision();
+
+ /** Model tests for TRLinkMissingTrmDecision */
+ @Test
+ void testTRLinkMissingTrmDecision() {
+ // TODO: test TRLinkMissingTrmDecision
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'validBefore' */
+ @Test
+ void validBeforeTest() {
+ // TODO: test validBefore
+ }
+
+ /** Test the property 'validAfter' */
+ @Test
+ void validAfterTest() {
+ // TODO: test validAfter
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+
+ /** Test the property 'source' */
+ @Test
+ void sourceTest() {
+ // TODO: test source
+ }
+
+ /** Test the property 'timestamp' */
+ @Test
+ void timestampTest() {
+ // TODO: test timestamp
+ }
+
+ /** Test the property 'reason' */
+ @Test
+ void reasonTest() {
+ // TODO: test reason
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java
new file mode 100644
index 00000000..00bc7082
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java
@@ -0,0 +1,147 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkMissingTrmRule */
+class TRLinkMissingTrmRuleTest {
+ private final TRLinkMissingTrmRule model = new TRLinkMissingTrmRule();
+
+ /** Model tests for TRLinkMissingTrmRule */
+ @Test
+ void testTRLinkMissingTrmRule() {
+ // TODO: test TRLinkMissingTrmRule
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'validBefore' */
+ @Test
+ void validBeforeTest() {
+ // TODO: test validBefore
+ }
+
+ /** Test the property 'validAfter' */
+ @Test
+ void validAfterTest() {
+ // TODO: test validAfter
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java
new file mode 100644
index 00000000..baedfd3c
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java
@@ -0,0 +1,159 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkPostScreeningRule */
+class TRLinkPostScreeningRuleTest {
+ private final TRLinkPostScreeningRule model = new TRLinkPostScreeningRule();
+
+ /** Model tests for TRLinkPostScreeningRule */
+ @Test
+ void testTRLinkPostScreeningRule() {
+ // TODO: test TRLinkPostScreeningRule
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'providerIdent' */
+ @Test
+ void providerIdentTest() {
+ // TODO: test providerIdent
+ }
+
+ /** Test the property 'trmStatus' */
+ @Test
+ void trmStatusTest() {
+ // TODO: test trmStatus
+ }
+
+ /** Test the property 'validBefore' */
+ @Test
+ void validBeforeTest() {
+ // TODO: test validBefore
+ }
+
+ /** Test the property 'validAfter' */
+ @Test
+ void validAfterTest() {
+ // TODO: test validAfter
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java
new file mode 100644
index 00000000..d82fe812
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkPreScreeningActionEnum */
+class TRLinkPreScreeningActionEnumTest {
+ /** Model tests for TRLinkPreScreeningActionEnum */
+ @Test
+ void testTRLinkPreScreeningActionEnum() {
+ // TODO: test TRLinkPreScreeningActionEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java
new file mode 100644
index 00000000..4a6d967d
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkPreScreeningAction */
+class TRLinkPreScreeningActionTest {
+ /** Model tests for TRLinkPreScreeningAction */
+ @Test
+ void testTRLinkPreScreeningAction() {
+ // TODO: test TRLinkPreScreeningAction
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java
new file mode 100644
index 00000000..a498d869
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java
@@ -0,0 +1,135 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkPreScreeningRule */
+class TRLinkPreScreeningRuleTest {
+ private final TRLinkPreScreeningRule model = new TRLinkPreScreeningRule();
+
+ /** Model tests for TRLinkPreScreeningRule */
+ @Test
+ void testTRLinkPreScreeningRule() {
+ // TODO: test TRLinkPreScreeningRule
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java
new file mode 100644
index 00000000..ae339bc8
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.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.jupiter.api.Test;
+
+/** Model tests for TRLinkProviderResult */
+class TRLinkProviderResultTest {
+ private final TRLinkProviderResult model = new TRLinkProviderResult();
+
+ /** Model tests for TRLinkProviderResult */
+ @Test
+ void testTRLinkProviderResult() {
+ // TODO: test TRLinkProviderResult
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java
new file mode 100644
index 00000000..f368bcd0
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.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.jupiter.api.Test;
+
+/** Model tests for TRLinkProviderResultWithRule2 */
+class TRLinkProviderResultWithRule2Test {
+ private final TRLinkProviderResultWithRule2 model = new TRLinkProviderResultWithRule2();
+
+ /** Model tests for TRLinkProviderResultWithRule2 */
+ @Test
+ void testTRLinkProviderResultWithRule2() {
+ // TODO: test TRLinkProviderResultWithRule2
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java
new file mode 100644
index 00000000..fb05aa2c
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.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.jupiter.api.Test;
+
+/** Model tests for TRLinkProviderResultWithRule */
+class TRLinkProviderResultWithRuleTest {
+ private final TRLinkProviderResultWithRule model = new TRLinkProviderResultWithRule();
+
+ /** Model tests for TRLinkProviderResultWithRule */
+ @Test
+ void testTRLinkProviderResultWithRule() {
+ // TODO: test TRLinkProviderResultWithRule
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java
new file mode 100644
index 00000000..f0da32f2
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java
@@ -0,0 +1,88 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkRegistrationResultFullPayload */
+class TRLinkRegistrationResultFullPayloadTest {
+ private final TRLinkRegistrationResultFullPayload model =
+ new TRLinkRegistrationResultFullPayload();
+
+ /** Model tests for TRLinkRegistrationResultFullPayload */
+ @Test
+ void testTRLinkRegistrationResultFullPayload() {
+ // TODO: test TRLinkRegistrationResultFullPayload
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'provider' */
+ @Test
+ void providerTest() {
+ // TODO: test provider
+ }
+
+ /** Test the property 'success' */
+ @Test
+ void successTest() {
+ // TODO: test success
+ }
+
+ /** Test the property 'timestamp' */
+ @Test
+ void timestampTest() {
+ // TODO: test timestamp
+ }
+
+ /** Test the property 'destRecordId' */
+ @Test
+ void destRecordIdTest() {
+ // TODO: test destRecordId
+ }
+
+ /** Test the property 'travelRuleMessageId' */
+ @Test
+ void travelRuleMessageIdTest() {
+ // TODO: test travelRuleMessageId
+ }
+
+ /** Test the property 'customerIntegrationId' */
+ @Test
+ void customerIntegrationIdTest() {
+ // TODO: test customerIntegrationId
+ }
+
+ /** Test the property 'customerShortName' */
+ @Test
+ void customerShortNameTest() {
+ // TODO: test customerShortName
+ }
+
+ /** Test the property 'result' */
+ @Test
+ void resultTest() {
+ // TODO: test result
+ }
+
+ /** Test the property 'matchedPrescreeningRule' */
+ @Test
+ void matchedPrescreeningRuleTest() {
+ // TODO: test matchedPrescreeningRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java
new file mode 100644
index 00000000..b27af9bf
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java
@@ -0,0 +1,87 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkRegistrationResult */
+class TRLinkRegistrationResultTest {
+ private final TRLinkRegistrationResult model = new TRLinkRegistrationResult();
+
+ /** Model tests for TRLinkRegistrationResult */
+ @Test
+ void testTRLinkRegistrationResult() {
+ // TODO: test TRLinkRegistrationResult
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'provider' */
+ @Test
+ void providerTest() {
+ // TODO: test provider
+ }
+
+ /** Test the property 'success' */
+ @Test
+ void successTest() {
+ // TODO: test success
+ }
+
+ /** Test the property 'timestamp' */
+ @Test
+ void timestampTest() {
+ // TODO: test timestamp
+ }
+
+ /** Test the property 'destRecordId' */
+ @Test
+ void destRecordIdTest() {
+ // TODO: test destRecordId
+ }
+
+ /** Test the property 'travelRuleMessageId' */
+ @Test
+ void travelRuleMessageIdTest() {
+ // TODO: test travelRuleMessageId
+ }
+
+ /** Test the property 'customerIntegrationId' */
+ @Test
+ void customerIntegrationIdTest() {
+ // TODO: test customerIntegrationId
+ }
+
+ /** Test the property 'customerShortName' */
+ @Test
+ void customerShortNameTest() {
+ // TODO: test customerShortName
+ }
+
+ /** Test the property 'result' */
+ @Test
+ void resultTest() {
+ // TODO: test result
+ }
+
+ /** Test the property 'matchedPrescreeningRule' */
+ @Test
+ void matchedPrescreeningRuleTest() {
+ // TODO: test matchedPrescreeningRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java
new file mode 100644
index 00000000..51708364
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkRegistrationStatusEnum */
+class TRLinkRegistrationStatusEnumTest {
+ /** Model tests for TRLinkRegistrationStatusEnum */
+ @Test
+ void testTRLinkRegistrationStatusEnum() {
+ // TODO: test TRLinkRegistrationStatusEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java
new file mode 100644
index 00000000..329a7714
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkRegistrationStatus */
+class TRLinkRegistrationStatusTest {
+ /** Model tests for TRLinkRegistrationStatus */
+ @Test
+ void testTRLinkRegistrationStatus() {
+ // TODO: test TRLinkRegistrationStatus
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java
new file mode 100644
index 00000000..95459a9e
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java
@@ -0,0 +1,111 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkResultFullPayload */
+class TRLinkResultFullPayloadTest {
+ private final TRLinkResultFullPayload model = new TRLinkResultFullPayload();
+
+ /** Model tests for TRLinkResultFullPayload */
+ @Test
+ void testTRLinkResultFullPayload() {
+ // TODO: test TRLinkResultFullPayload
+ }
+
+ /** Test the property 'provider' */
+ @Test
+ void providerTest() {
+ // TODO: test provider
+ }
+
+ /** Test the property 'timestamp' */
+ @Test
+ void timestampTest() {
+ // TODO: test timestamp
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'verdict' */
+ @Test
+ void verdictTest() {
+ // TODO: test verdict
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'destTag' */
+ @Test
+ void destTagTest() {
+ // TODO: test destTag
+ }
+
+ /** Test the property 'bypassReason' */
+ @Test
+ void bypassReasonTest() {
+ // TODO: test bypassReason
+ }
+
+ /** Test the property 'detailsMessage' */
+ @Test
+ void detailsMessageTest() {
+ // TODO: test detailsMessage
+ }
+
+ /** Test the property 'customerIntegrationId' */
+ @Test
+ void customerIntegrationIdTest() {
+ // TODO: test customerIntegrationId
+ }
+
+ /** Test the property 'customerShortName' */
+ @Test
+ void customerShortNameTest() {
+ // TODO: test customerShortName
+ }
+
+ /** Test the property 'travelRuleMessageId' */
+ @Test
+ void travelRuleMessageIdTest() {
+ // TODO: test travelRuleMessageId
+ }
+
+ /** Test the property 'result' */
+ @Test
+ void resultTest() {
+ // TODO: test result
+ }
+
+ /** Test the property 'matchedPrescreeningRule' */
+ @Test
+ void matchedPrescreeningRuleTest() {
+ // TODO: test matchedPrescreeningRule
+ }
+
+ /** Test the property 'matchedNoTrmScreeningRule' */
+ @Test
+ void matchedNoTrmScreeningRuleTest() {
+ // TODO: test matchedNoTrmScreeningRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java
new file mode 100644
index 00000000..95179b07
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java
@@ -0,0 +1,111 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkResult */
+class TRLinkResultTest {
+ private final TRLinkResult model = new TRLinkResult();
+
+ /** Model tests for TRLinkResult */
+ @Test
+ void testTRLinkResult() {
+ // TODO: test TRLinkResult
+ }
+
+ /** Test the property 'provider' */
+ @Test
+ void providerTest() {
+ // TODO: test provider
+ }
+
+ /** Test the property 'timestamp' */
+ @Test
+ void timestampTest() {
+ // TODO: test timestamp
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'verdict' */
+ @Test
+ void verdictTest() {
+ // TODO: test verdict
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'destTag' */
+ @Test
+ void destTagTest() {
+ // TODO: test destTag
+ }
+
+ /** Test the property 'bypassReason' */
+ @Test
+ void bypassReasonTest() {
+ // TODO: test bypassReason
+ }
+
+ /** Test the property 'detailsMessage' */
+ @Test
+ void detailsMessageTest() {
+ // TODO: test detailsMessage
+ }
+
+ /** Test the property 'customerIntegrationId' */
+ @Test
+ void customerIntegrationIdTest() {
+ // TODO: test customerIntegrationId
+ }
+
+ /** Test the property 'customerShortName' */
+ @Test
+ void customerShortNameTest() {
+ // TODO: test customerShortName
+ }
+
+ /** Test the property 'travelRuleMessageId' */
+ @Test
+ void travelRuleMessageIdTest() {
+ // TODO: test travelRuleMessageId
+ }
+
+ /** Test the property 'result' */
+ @Test
+ void resultTest() {
+ // TODO: test result
+ }
+
+ /** Test the property 'matchedPrescreeningRule' */
+ @Test
+ void matchedPrescreeningRuleTest() {
+ // TODO: test matchedPrescreeningRule
+ }
+
+ /** Test the property 'matchedNoTrmScreeningRule' */
+ @Test
+ void matchedNoTrmScreeningRuleTest() {
+ // TODO: test matchedNoTrmScreeningRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java
new file mode 100644
index 00000000..51368ba0
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java
@@ -0,0 +1,129 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TRLinkRuleBase */
+class TRLinkRuleBaseTest {
+ private final TRLinkRuleBase model = new TRLinkRuleBase();
+
+ /** Model tests for TRLinkRuleBase */
+ @Test
+ void testTRLinkRuleBase() {
+ // TODO: test TRLinkRuleBase
+ }
+
+ /** Test the property 'customerId' */
+ @Test
+ void customerIdTest() {
+ // TODO: test customerId
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'sourceAddress' */
+ @Test
+ void sourceAddressTest() {
+ // TODO: test sourceAddress
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'description' */
+ @Test
+ void descriptionTest() {
+ // TODO: test description
+ }
+
+ /** Test the property 'isDefault' */
+ @Test
+ void isDefaultTest() {
+ // TODO: test isDefault
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java
new file mode 100644
index 00000000..42ecca12
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkTrmScreeningStatusEnum */
+class TRLinkTrmScreeningStatusEnumTest {
+ /** Model tests for TRLinkTrmScreeningStatusEnum */
+ @Test
+ void testTRLinkTrmScreeningStatusEnum() {
+ // TODO: test TRLinkTrmScreeningStatusEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java
new file mode 100644
index 00000000..08f9eaa3
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkTrmScreeningStatus */
+class TRLinkTrmScreeningStatusTest {
+ /** Model tests for TRLinkTrmScreeningStatus */
+ @Test
+ void testTRLinkTrmScreeningStatus() {
+ // TODO: test TRLinkTrmScreeningStatus
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java
new file mode 100644
index 00000000..895cb338
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkVerdictEnum */
+class TRLinkVerdictEnumTest {
+ /** Model tests for TRLinkVerdictEnum */
+ @Test
+ void testTRLinkVerdictEnum() {
+ // TODO: test TRLinkVerdictEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java
new file mode 100644
index 00000000..bc406f49
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TRLinkVerdict */
+class TRLinkVerdictTest {
+ /** Model tests for TRLinkVerdict */
+ @Test
+ void testTRLinkVerdict() {
+ // TODO: test TRLinkVerdict
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java b/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java
new file mode 100644
index 00000000..501b3157
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TagAttachmentOperationAction */
+class TagAttachmentOperationActionTest {
+ /** Model tests for TagAttachmentOperationAction */
+ @Test
+ void testTagAttachmentOperationAction() {
+ // TODO: test TagAttachmentOperationAction
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TagTest.java b/src/test/java/com/fireblocks/sdk/model/TagTest.java
index e1111abd..8eb7c49f 100644
--- a/src/test/java/com/fireblocks/sdk/model/TagTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/TagTest.java
@@ -42,4 +42,22 @@ void labelTest() {
void descriptionTest() {
// TODO: test description
}
+
+ /** Test the property 'isProtected' */
+ @Test
+ void isProtectedTest() {
+ // TODO: test isProtected
+ }
+
+ /** Test the property 'color' */
+ @Test
+ void colorTest() {
+ // TODO: test color
+ }
+
+ /** Test the property 'updatedAt' */
+ @Test
+ void updatedAtTest() {
+ // TODO: test updatedAt
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java
new file mode 100644
index 00000000..765a4ee9
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TransactionDirection */
+class TransactionDirectionTest {
+ /** Model tests for TransactionDirection */
+ @Test
+ void testTransactionDirection() {
+ // TODO: test TransactionDirection
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java
new file mode 100644
index 00000000..17c576d8
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TransactionOperationEnum */
+class TransactionOperationEnumTest {
+ /** Model tests for TransactionOperationEnum */
+ @Test
+ void testTransactionOperationEnum() {
+ // TODO: test TransactionOperationEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java
new file mode 100644
index 00000000..a4262e46
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TransferPeerSubTypeEnum */
+class TransferPeerSubTypeEnumTest {
+ /** Model tests for TransferPeerSubTypeEnum */
+ @Test
+ void testTransferPeerSubTypeEnum() {
+ // TODO: test TransferPeerSubTypeEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java
new file mode 100644
index 00000000..292602f9
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TransferPeerTypeEnum */
+class TransferPeerTypeEnumTest {
+ /** Model tests for TransferPeerTypeEnum */
+ @Test
+ void testTransferPeerTypeEnum() {
+ // TODO: test TransferPeerTypeEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java
new file mode 100644
index 00000000..632575bb
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TravelRuleActionEnum */
+class TravelRuleActionEnumTest {
+ /** Model tests for TravelRuleActionEnum */
+ @Test
+ void testTravelRuleActionEnum() {
+ // TODO: test TravelRuleActionEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java
new file mode 100644
index 00000000..248c07d1
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TravelRuleDirectionEnum */
+class TravelRuleDirectionEnumTest {
+ /** Model tests for TravelRuleDirectionEnum */
+ @Test
+ void testTravelRuleDirectionEnum() {
+ // TODO: test TravelRuleDirectionEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java
new file mode 100644
index 00000000..87a96632
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java
@@ -0,0 +1,63 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TravelRuleMatchedRule */
+class TravelRuleMatchedRuleTest {
+ private final TravelRuleMatchedRule model = new TravelRuleMatchedRule();
+
+ /** Model tests for TravelRuleMatchedRule */
+ @Test
+ void testTravelRuleMatchedRule() {
+ // TODO: test TravelRuleMatchedRule
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'status' */
+ @Test
+ void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'amountUSD' */
+ @Test
+ void amountUSDTest() {
+ // TODO: test amountUSD
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java
new file mode 100644
index 00000000..351b519e
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java
@@ -0,0 +1,129 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for TravelRulePrescreeningRule */
+class TravelRulePrescreeningRuleTest {
+ private final TravelRulePrescreeningRule model = new TravelRulePrescreeningRule();
+
+ /** Model tests for TravelRulePrescreeningRule */
+ @Test
+ void testTravelRulePrescreeningRule() {
+ // TODO: test TravelRulePrescreeningRule
+ }
+
+ /** Test the property 'bypassReason' */
+ @Test
+ void bypassReasonTest() {
+ // TODO: test bypassReason
+ }
+
+ /** Test the property 'sourceType' */
+ @Test
+ void sourceTypeTest() {
+ // TODO: test sourceType
+ }
+
+ /** Test the property 'sourceSubType' */
+ @Test
+ void sourceSubTypeTest() {
+ // TODO: test sourceSubType
+ }
+
+ /** Test the property 'destType' */
+ @Test
+ void destTypeTest() {
+ // TODO: test destType
+ }
+
+ /** Test the property 'destSubType' */
+ @Test
+ void destSubTypeTest() {
+ // TODO: test destSubType
+ }
+
+ /** Test the property 'transferPeerType' */
+ @Test
+ void transferPeerTypeTest() {
+ // TODO: test transferPeerType
+ }
+
+ /** Test the property 'transferPeerSubType' */
+ @Test
+ void transferPeerSubTypeTest() {
+ // TODO: test transferPeerSubType
+ }
+
+ /** Test the property 'destAddress' */
+ @Test
+ void destAddressTest() {
+ // TODO: test destAddress
+ }
+
+ /** Test the property 'sourceId' */
+ @Test
+ void sourceIdTest() {
+ // TODO: test sourceId
+ }
+
+ /** Test the property 'destId' */
+ @Test
+ void destIdTest() {
+ // TODO: test destId
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'baseAsset' */
+ @Test
+ void baseAssetTest() {
+ // TODO: test baseAsset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'amountUSD' */
+ @Test
+ void amountUSDTest() {
+ // TODO: test amountUSD
+ }
+
+ /** Test the property 'networkProtocol' */
+ @Test
+ void networkProtocolTest() {
+ // TODO: test networkProtocol
+ }
+
+ /** Test the property 'operation' */
+ @Test
+ void operationTest() {
+ // TODO: test operation
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.java
new file mode 100644
index 00000000..6e4ffd39
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.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.jupiter.api.Test;
+
+/** Model tests for TravelRuleResult */
+class TravelRuleResultTest {
+ private final TravelRuleResult model = new TravelRuleResult();
+
+ /** Model tests for TravelRuleResult */
+ @Test
+ void testTravelRuleResult() {
+ // TODO: test TravelRuleResult
+ }
+
+ /** Test the property 'direction' */
+ @Test
+ void directionTest() {
+ // TODO: test direction
+ }
+
+ /** Test the property 'isVerified' */
+ @Test
+ void isVerifiedTest() {
+ // TODO: test isVerified
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+
+ /** Test the property 'providerResponse' */
+ @Test
+ void providerResponseTest() {
+ // TODO: test providerResponse
+ }
+
+ /** Test the property 'matchedRule' */
+ @Test
+ void matchedRuleTest() {
+ // TODO: test matchedRule
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java
new file mode 100644
index 00000000..e22c2063
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TravelRuleStatusEnum */
+class TravelRuleStatusEnumTest {
+ /** Model tests for TravelRuleStatusEnum */
+ @Test
+ void testTravelRuleStatusEnum() {
+ // TODO: test TravelRuleStatusEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java
new file mode 100644
index 00000000..f2c05b03
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TravelRuleVerdictEnum */
+class TravelRuleVerdictEnumTest {
+ /** Model tests for TravelRuleVerdictEnum */
+ @Test
+ void testTravelRuleVerdictEnum() {
+ // TODO: test TravelRuleVerdictEnum
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java b/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java
new file mode 100644
index 00000000..6b82d3e7
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.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.jupiter.api.Test;
+
+/** Model tests for USWireAddress */
+class USWireAddressTest {
+ private final USWireAddress model = new USWireAddress();
+
+ /** Model tests for USWireAddress */
+ @Test
+ void testUSWireAddress() {
+ // TODO: test USWireAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankAccountNumber' */
+ @Test
+ void bankAccountNumberTest() {
+ // TODO: test bankAccountNumber
+ }
+
+ /** Test the property 'routingNumber' */
+ @Test
+ void routingNumberTest() {
+ // TODO: test routingNumber
+ }
+
+ /** Test the property 'bankAddress' */
+ @Test
+ void bankAddressTest() {
+ // TODO: test bankAddress
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java
new file mode 100644
index 00000000..11235904
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.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.jupiter.api.Test;
+
+/** Model tests for USWireDestination */
+class USWireDestinationTest {
+ private final USWireDestination model = new USWireDestination();
+
+ /** Model tests for USWireDestination */
+ @Test
+ void testUSWireDestination() {
+ // TODO: test USWireDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java
new file mode 100644
index 00000000..22d554fc
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.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.jupiter.api.Test;
+
+/** Model tests for VaultAccountTagAttachmentOperation */
+class VaultAccountTagAttachmentOperationTest {
+ private final VaultAccountTagAttachmentOperation model =
+ new VaultAccountTagAttachmentOperation();
+
+ /** Model tests for VaultAccountTagAttachmentOperation */
+ @Test
+ void testVaultAccountTagAttachmentOperation() {
+ // TODO: test VaultAccountTagAttachmentOperation
+ }
+
+ /** Test the property 'vaultAccountId' */
+ @Test
+ void vaultAccountIdTest() {
+ // TODO: test vaultAccountId
+ }
+
+ /** Test the property 'tagId' */
+ @Test
+ void tagIdTest() {
+ // TODO: test tagId
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java
new file mode 100644
index 00000000..b9a79ecc
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java
@@ -0,0 +1,52 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for VaultAccountTagAttachmentPendingOperation */
+class VaultAccountTagAttachmentPendingOperationTest {
+ private final VaultAccountTagAttachmentPendingOperation model =
+ new VaultAccountTagAttachmentPendingOperation();
+
+ /** Model tests for VaultAccountTagAttachmentPendingOperation */
+ @Test
+ void testVaultAccountTagAttachmentPendingOperation() {
+ // TODO: test VaultAccountTagAttachmentPendingOperation
+ }
+
+ /** Test the property 'vaultAccountId' */
+ @Test
+ void vaultAccountIdTest() {
+ // TODO: test vaultAccountId
+ }
+
+ /** Test the property 'tagId' */
+ @Test
+ void tagIdTest() {
+ // TODO: test tagId
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+
+ /** Test the property 'approvalRequestId' */
+ @Test
+ void approvalRequestIdTest() {
+ // TODO: test approvalRequestId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java
new file mode 100644
index 00000000..55c6dbfe
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java
@@ -0,0 +1,52 @@
+/*
+ * 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.jupiter.api.Test;
+
+/** Model tests for VaultAccountTagAttachmentRejectedOperation */
+class VaultAccountTagAttachmentRejectedOperationTest {
+ private final VaultAccountTagAttachmentRejectedOperation model =
+ new VaultAccountTagAttachmentRejectedOperation();
+
+ /** Model tests for VaultAccountTagAttachmentRejectedOperation */
+ @Test
+ void testVaultAccountTagAttachmentRejectedOperation() {
+ // TODO: test VaultAccountTagAttachmentRejectedOperation
+ }
+
+ /** Test the property 'vaultAccountId' */
+ @Test
+ void vaultAccountIdTest() {
+ // TODO: test vaultAccountId
+ }
+
+ /** Test the property 'tagId' */
+ @Test
+ void tagIdTest() {
+ // TODO: test tagId
+ }
+
+ /** Test the property 'action' */
+ @Test
+ void actionTest() {
+ // TODO: test action
+ }
+
+ /** Test the property 'reason' */
+ @Test
+ void reasonTest() {
+ // TODO: test reason
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java
new file mode 100644
index 00000000..8d827538
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.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.jupiter.api.Test;
+
+/** Model tests for VaultAccountsTagAttachmentOperationsRequest */
+class VaultAccountsTagAttachmentOperationsRequestTest {
+ private final VaultAccountsTagAttachmentOperationsRequest model =
+ new VaultAccountsTagAttachmentOperationsRequest();
+
+ /** Model tests for VaultAccountsTagAttachmentOperationsRequest */
+ @Test
+ void testVaultAccountsTagAttachmentOperationsRequest() {
+ // TODO: test VaultAccountsTagAttachmentOperationsRequest
+ }
+
+ /** Test the property 'vaultAccountIds' */
+ @Test
+ void vaultAccountIdsTest() {
+ // TODO: test vaultAccountIds
+ }
+
+ /** Test the property 'tagIdsToAttach' */
+ @Test
+ void tagIdsToAttachTest() {
+ // TODO: test tagIdsToAttach
+ }
+
+ /** Test the property 'tagIdsToDetach' */
+ @Test
+ void tagIdsToDetachTest() {
+ // TODO: test tagIdsToDetach
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java
new file mode 100644
index 00000000..683fb273
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.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.jupiter.api.Test;
+
+/** Model tests for VaultAccountsTagAttachmentOperationsResponse */
+class VaultAccountsTagAttachmentOperationsResponseTest {
+ private final VaultAccountsTagAttachmentOperationsResponse model =
+ new VaultAccountsTagAttachmentOperationsResponse();
+
+ /** Model tests for VaultAccountsTagAttachmentOperationsResponse */
+ @Test
+ void testVaultAccountsTagAttachmentOperationsResponse() {
+ // TODO: test VaultAccountsTagAttachmentOperationsResponse
+ }
+
+ /** Test the property 'appliedOperations' */
+ @Test
+ void appliedOperationsTest() {
+ // TODO: test appliedOperations
+ }
+
+ /** Test the property 'pendingOperations' */
+ @Test
+ void pendingOperationsTest() {
+ // TODO: test pendingOperations
+ }
+
+ /** Test the property 'rejectedOperations' */
+ @Test
+ void rejectedOperationsTest() {
+ // TODO: test rejectedOperations
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.java
new file mode 100644
index 00000000..09834ed5
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.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.jupiter.api.Test;
+
+/** Model tests for WebhookMetric */
+class WebhookMetricTest {
+ private final WebhookMetric model = new WebhookMetric();
+
+ /** Model tests for WebhookMetric */
+ @Test
+ void testWebhookMetric() {
+ // TODO: test WebhookMetric
+ }
+
+ /** Test the property 'value' */
+ @Test
+ void valueTest() {
+ // TODO: test value
+ }
+}