> getSchemas() {
/**
* Set the instance that matches the oneOf child schema, check the instance parameter is valid
- * against the oneOf child schemas: AchDestination, ChapsDestination, EuropeanSEPADestination,
- * IbanDestination, InteracDestination, InternalTransferDestination,
- * LocalBankTransferAfricaDestination, MobileMoneyDestination, PayidDestination, PixDestination,
- * SEPADestination, SpeiDestination, SwiftDestination, USWireDestination
+ * against the oneOf child schemas: AchDestination, ChapsDestination, CipsDestination,
+ * EuropeanSEPADestination, FpsHkDestination, FpsUkDestination, IbanDestination,
+ * InstaPayDestination, InteracDestination, InternalTransferDestination,
+ * LocalBankTransferAfricaDestination, MobileMoneyDestination, NequiDestination,
+ * PayidDestination, PesonetDestination, 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).
@@ -836,16 +1128,36 @@ public void setActualInstance(Object instance) {
return;
}
+ if (JSON.isInstanceOf(CipsDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (JSON.isInstanceOf(EuropeanSEPADestination.class, instance, new HashSet>())) {
super.setActualInstance(instance);
return;
}
+ if (JSON.isInstanceOf(FpsHkDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
+ if (JSON.isInstanceOf(FpsUkDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (JSON.isInstanceOf(IbanDestination.class, instance, new HashSet>())) {
super.setActualInstance(instance);
return;
}
+ if (JSON.isInstanceOf(InstaPayDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (JSON.isInstanceOf(InteracDestination.class, instance, new HashSet>())) {
super.setActualInstance(instance);
return;
@@ -868,11 +1180,21 @@ public void setActualInstance(Object instance) {
return;
}
+ if (JSON.isInstanceOf(NequiDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (JSON.isInstanceOf(PayidDestination.class, instance, new HashSet>())) {
super.setActualInstance(instance);
return;
}
+ if (JSON.isInstanceOf(PesonetDestination.class, instance, new HashSet>())) {
+ super.setActualInstance(instance);
+ return;
+ }
+
if (JSON.isInstanceOf(PixDestination.class, instance, new HashSet>())) {
super.setActualInstance(instance);
return;
@@ -899,23 +1221,29 @@ public void setActualInstance(Object instance) {
}
throw new RuntimeException(
- "Invalid instance type. Must be AchDestination, ChapsDestination,"
- + " EuropeanSEPADestination, IbanDestination, InteracDestination,"
- + " InternalTransferDestination, LocalBankTransferAfricaDestination,"
- + " MobileMoneyDestination, PayidDestination, PixDestination, SEPADestination,"
- + " SpeiDestination, SwiftDestination, USWireDestination");
+ "Invalid instance type. Must be AchDestination, ChapsDestination, CipsDestination,"
+ + " EuropeanSEPADestination, FpsHkDestination, FpsUkDestination,"
+ + " IbanDestination, InstaPayDestination, InteracDestination,"
+ + " InternalTransferDestination, LocalBankTransferAfricaDestination,"
+ + " MobileMoneyDestination, NequiDestination, PayidDestination,"
+ + " PesonetDestination, PixDestination, SEPADestination, SpeiDestination,"
+ + " SwiftDestination, USWireDestination");
}
/**
* Get the actual instance, which can be the following: AchDestination, ChapsDestination,
- * EuropeanSEPADestination, IbanDestination, InteracDestination, InternalTransferDestination,
- * LocalBankTransferAfricaDestination, MobileMoneyDestination, PayidDestination, PixDestination,
- * SEPADestination, SpeiDestination, SwiftDestination, USWireDestination
+ * CipsDestination, EuropeanSEPADestination, FpsHkDestination, FpsUkDestination,
+ * IbanDestination, InstaPayDestination, InteracDestination, InternalTransferDestination,
+ * LocalBankTransferAfricaDestination, MobileMoneyDestination, NequiDestination,
+ * PayidDestination, PesonetDestination, PixDestination, SEPADestination, SpeiDestination,
+ * SwiftDestination, USWireDestination
*
- * @return The actual instance (AchDestination, ChapsDestination, EuropeanSEPADestination,
- * IbanDestination, InteracDestination, InternalTransferDestination,
- * LocalBankTransferAfricaDestination, MobileMoneyDestination, PayidDestination,
- * PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination)
+ * @return The actual instance (AchDestination, ChapsDestination, CipsDestination,
+ * EuropeanSEPADestination, FpsHkDestination, FpsUkDestination, IbanDestination,
+ * InstaPayDestination, InteracDestination, InternalTransferDestination,
+ * LocalBankTransferAfricaDestination, MobileMoneyDestination, NequiDestination,
+ * PayidDestination, PesonetDestination, PixDestination, SEPADestination, SpeiDestination,
+ * SwiftDestination, USWireDestination)
*/
@Override
public Object getActualInstance() {
@@ -944,6 +1272,17 @@ public ChapsDestination getChapsDestination() throws ClassCastException {
return (ChapsDestination) super.getActualInstance();
}
+ /**
+ * Get the actual instance of `CipsDestination`. If the actual instance is not
+ * `CipsDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `CipsDestination`
+ * @throws ClassCastException if the instance is not `CipsDestination`
+ */
+ public CipsDestination getCipsDestination() throws ClassCastException {
+ return (CipsDestination) super.getActualInstance();
+ }
+
/**
* Get the actual instance of `EuropeanSEPADestination`. If the actual instance is not
* `EuropeanSEPADestination`, the ClassCastException will be thrown.
@@ -955,6 +1294,28 @@ public EuropeanSEPADestination getEuropeanSEPADestination() throws ClassCastExce
return (EuropeanSEPADestination) super.getActualInstance();
}
+ /**
+ * Get the actual instance of `FpsHkDestination`. If the actual instance is not
+ * `FpsHkDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `FpsHkDestination`
+ * @throws ClassCastException if the instance is not `FpsHkDestination`
+ */
+ public FpsHkDestination getFpsHkDestination() throws ClassCastException {
+ return (FpsHkDestination) super.getActualInstance();
+ }
+
+ /**
+ * Get the actual instance of `FpsUkDestination`. If the actual instance is not
+ * `FpsUkDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `FpsUkDestination`
+ * @throws ClassCastException if the instance is not `FpsUkDestination`
+ */
+ public FpsUkDestination getFpsUkDestination() throws ClassCastException {
+ return (FpsUkDestination) super.getActualInstance();
+ }
+
/**
* Get the actual instance of `IbanDestination`. If the actual instance is not
* `IbanDestination`, the ClassCastException will be thrown.
@@ -966,6 +1327,17 @@ public IbanDestination getIbanDestination() throws ClassCastException {
return (IbanDestination) super.getActualInstance();
}
+ /**
+ * Get the actual instance of `InstaPayDestination`. If the actual instance is not
+ * `InstaPayDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `InstaPayDestination`
+ * @throws ClassCastException if the instance is not `InstaPayDestination`
+ */
+ public InstaPayDestination getInstaPayDestination() throws ClassCastException {
+ return (InstaPayDestination) super.getActualInstance();
+ }
+
/**
* Get the actual instance of `InteracDestination`. If the actual instance is not
* `InteracDestination`, the ClassCastException will be thrown.
@@ -1011,6 +1383,17 @@ public MobileMoneyDestination getMobileMoneyDestination() throws ClassCastExcept
return (MobileMoneyDestination) super.getActualInstance();
}
+ /**
+ * Get the actual instance of `NequiDestination`. If the actual instance is not
+ * `NequiDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `NequiDestination`
+ * @throws ClassCastException if the instance is not `NequiDestination`
+ */
+ public NequiDestination getNequiDestination() throws ClassCastException {
+ return (NequiDestination) super.getActualInstance();
+ }
+
/**
* Get the actual instance of `PayidDestination`. If the actual instance is not
* `PayidDestination`, the ClassCastException will be thrown.
@@ -1022,6 +1405,17 @@ public PayidDestination getPayidDestination() throws ClassCastException {
return (PayidDestination) super.getActualInstance();
}
+ /**
+ * Get the actual instance of `PesonetDestination`. If the actual instance is not
+ * `PesonetDestination`, the ClassCastException will be thrown.
+ *
+ * @return The actual instance of `PesonetDestination`
+ * @throws ClassCastException if the instance is not `PesonetDestination`
+ */
+ public PesonetDestination getPesonetDestination() throws ClassCastException {
+ return (PesonetDestination) super.getActualInstance();
+ }
+
/**
* Get the actual instance of `PixDestination`. If the actual instance is not `PixDestination`,
* the ClassCastException will be thrown.
@@ -1221,6 +1615,54 @@ public String toUrlQueryString(String prefix) {
}
return joiner.toString();
}
+ if (getActualInstance() instanceof CipsDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((CipsDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_14" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof NequiDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((NequiDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_15" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof FpsUkDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((FpsUkDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_16" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof FpsHkDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((FpsHkDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_17" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof InstaPayDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((InstaPayDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_18" + suffix));
+ }
+ return joiner.toString();
+ }
+ if (getActualInstance() instanceof PesonetDestination) {
+ if (getActualInstance() != null) {
+ joiner.add(
+ ((PesonetDestination) getActualInstance())
+ .toUrlQueryString(prefix + "one_of_19" + suffix));
+ }
+ return joiner.toString();
+ }
return null;
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/FpsHkAddress.java b/src/main/java/com/fireblocks/sdk/model/FpsHkAddress.java
new file mode 100644
index 00000000..a12b5ae5
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/FpsHkAddress.java
@@ -0,0 +1,338 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** FpsHkAddress */
+@JsonPropertyOrder({
+ FpsHkAddress.JSON_PROPERTY_RECIPIENT_LEGAL_NAME,
+ FpsHkAddress.JSON_PROPERTY_ACCOUNT_NUMBER,
+ FpsHkAddress.JSON_PROPERTY_BANK_CODE,
+ FpsHkAddress.JSON_PROPERTY_PHONE,
+ FpsHkAddress.JSON_PROPERTY_EMAIL,
+ FpsHkAddress.JSON_PROPERTY_FPS_ID
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class FpsHkAddress {
+ public static final String JSON_PROPERTY_RECIPIENT_LEGAL_NAME = "recipientLegalName";
+ @jakarta.annotation.Nullable private String recipientLegalName;
+
+ public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
+ @jakarta.annotation.Nullable private String accountNumber;
+
+ public static final String JSON_PROPERTY_BANK_CODE = "bankCode";
+ @jakarta.annotation.Nullable private String bankCode;
+
+ public static final String JSON_PROPERTY_PHONE = "phone";
+ @jakarta.annotation.Nullable private String phone;
+
+ public static final String JSON_PROPERTY_EMAIL = "email";
+ @jakarta.annotation.Nullable private String email;
+
+ public static final String JSON_PROPERTY_FPS_ID = "fpsId";
+ @jakarta.annotation.Nullable private String fpsId;
+
+ public FpsHkAddress() {}
+
+ public FpsHkAddress recipientLegalName(@jakarta.annotation.Nullable String recipientLegalName) {
+ this.recipientLegalName = recipientLegalName;
+ return this;
+ }
+
+ /**
+ * Full legal name of the recipient
+ *
+ * @return recipientLegalName
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_RECIPIENT_LEGAL_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getRecipientLegalName() {
+ return recipientLegalName;
+ }
+
+ @JsonProperty(JSON_PROPERTY_RECIPIENT_LEGAL_NAME)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRecipientLegalName(@jakarta.annotation.Nullable String recipientLegalName) {
+ this.recipientLegalName = recipientLegalName;
+ }
+
+ public FpsHkAddress accountNumber(@jakarta.annotation.Nullable String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Recipient bank account number
+ *
+ * @return accountNumber
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setAccountNumber(@jakarta.annotation.Nullable String accountNumber) {
+ this.accountNumber = accountNumber;
+ }
+
+ public FpsHkAddress bankCode(@jakarta.annotation.Nullable String bankCode) {
+ this.bankCode = bankCode;
+ return this;
+ }
+
+ /**
+ * Hong Kong bank code
+ *
+ * @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;
+ }
+
+ public FpsHkAddress phone(@jakarta.annotation.Nullable String phone) {
+ this.phone = phone;
+ return this;
+ }
+
+ /**
+ * Recipient phone number in E.164 format
+ *
+ * @return phone
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_PHONE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getPhone() {
+ return phone;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PHONE)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setPhone(@jakarta.annotation.Nullable String phone) {
+ this.phone = phone;
+ }
+
+ public FpsHkAddress email(@jakarta.annotation.Nullable String email) {
+ this.email = email;
+ return this;
+ }
+
+ /**
+ * Recipient email address
+ *
+ * @return email
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getEmail() {
+ return email;
+ }
+
+ @JsonProperty(JSON_PROPERTY_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setEmail(@jakarta.annotation.Nullable String email) {
+ this.email = email;
+ }
+
+ public FpsHkAddress fpsId(@jakarta.annotation.Nullable String fpsId) {
+ this.fpsId = fpsId;
+ return this;
+ }
+
+ /**
+ * Hong Kong FPS identifier
+ *
+ * @return fpsId
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_FPS_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getFpsId() {
+ return fpsId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_FPS_ID)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setFpsId(@jakarta.annotation.Nullable String fpsId) {
+ this.fpsId = fpsId;
+ }
+
+ /** Return true if this FpsHkAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FpsHkAddress fpsHkAddress = (FpsHkAddress) o;
+ return Objects.equals(this.recipientLegalName, fpsHkAddress.recipientLegalName)
+ && Objects.equals(this.accountNumber, fpsHkAddress.accountNumber)
+ && Objects.equals(this.bankCode, fpsHkAddress.bankCode)
+ && Objects.equals(this.phone, fpsHkAddress.phone)
+ && Objects.equals(this.email, fpsHkAddress.email)
+ && Objects.equals(this.fpsId, fpsHkAddress.fpsId);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(recipientLegalName, accountNumber, bankCode, phone, email, fpsId);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FpsHkAddress {\n");
+ sb.append(" recipientLegalName: ")
+ .append(toIndentedString(recipientLegalName))
+ .append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n");
+ sb.append(" phone: ").append(toIndentedString(phone)).append("\n");
+ sb.append(" email: ").append(toIndentedString(email)).append("\n");
+ sb.append(" fpsId: ").append(toIndentedString(fpsId)).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 `recipientLegalName` to the URL query string
+ if (getRecipientLegalName() != null) {
+ joiner.add(
+ String.format(
+ "%srecipientLegalName%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getRecipientLegalName()))));
+ }
+
+ // 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 `bankCode` to the URL query string
+ if (getBankCode() != null) {
+ joiner.add(
+ String.format(
+ "%sbankCode%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getBankCode()))));
+ }
+
+ // add `phone` to the URL query string
+ if (getPhone() != null) {
+ joiner.add(
+ String.format(
+ "%sphone%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getPhone()))));
+ }
+
+ // add `email` to the URL query string
+ if (getEmail() != null) {
+ joiner.add(
+ String.format(
+ "%semail%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getEmail()))));
+ }
+
+ // add `fpsId` to the URL query string
+ if (getFpsId() != null) {
+ joiner.add(
+ String.format(
+ "%sfpsId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getFpsId()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/FpsHkDestination.java b/src/main/java/com/fireblocks/sdk/model/FpsHkDestination.java
new file mode 100644
index 00000000..fac6b265
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/FpsHkDestination.java
@@ -0,0 +1,213 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** FpsHkDestination */
+@JsonPropertyOrder({FpsHkDestination.JSON_PROPERTY_TYPE, FpsHkDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class FpsHkDestination {
+ /** The transfer rail type for the destination */
+ public enum TypeEnum {
+ FPS_HK(String.valueOf("FPS_HK"));
+
+ 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 FpsHkAddress address;
+
+ public FpsHkDestination() {}
+
+ @JsonCreator
+ public FpsHkDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) FpsHkAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public FpsHkDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The transfer rail type for the destination
+ *
+ * @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 FpsHkDestination address(@jakarta.annotation.Nonnull FpsHkAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public FpsHkAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull FpsHkAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this FpsHkDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FpsHkDestination fpsHkDestination = (FpsHkDestination) o;
+ return Objects.equals(this.type, fpsHkDestination.type)
+ && Objects.equals(this.address, fpsHkDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FpsHkDestination {\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/FpsUkAddress.java b/src/main/java/com/fireblocks/sdk/model/FpsUkAddress.java
new file mode 100644
index 00000000..7e034002
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/FpsUkAddress.java
@@ -0,0 +1,228 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** FpsUkAddress */
+@JsonPropertyOrder({
+ FpsUkAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ FpsUkAddress.JSON_PROPERTY_ACCOUNT_NUMBER,
+ FpsUkAddress.JSON_PROPERTY_SORT_CODE
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class FpsUkAddress {
+ 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_SORT_CODE = "sortCode";
+ @jakarta.annotation.Nonnull private String sortCode;
+
+ public FpsUkAddress() {}
+
+ @JsonCreator
+ public FpsUkAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_NUMBER, required = true)
+ String accountNumber,
+ @JsonProperty(value = JSON_PROPERTY_SORT_CODE, required = true) String sortCode) {
+ this.accountHolder = accountHolder;
+ this.accountNumber = accountNumber;
+ this.sortCode = sortCode;
+ }
+
+ public FpsUkAddress 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 FpsUkAddress accountNumber(@jakarta.annotation.Nonnull String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * UK bank account number
+ *
+ * @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 FpsUkAddress sortCode(@jakarta.annotation.Nonnull String sortCode) {
+ this.sortCode = sortCode;
+ return this;
+ }
+
+ /**
+ * UK sort code (format XX-XX-XX)
+ *
+ * @return sortCode
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SORT_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getSortCode() {
+ return sortCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SORT_CODE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setSortCode(@jakarta.annotation.Nonnull String sortCode) {
+ this.sortCode = sortCode;
+ }
+
+ /** Return true if this FpsUkAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FpsUkAddress fpsUkAddress = (FpsUkAddress) o;
+ return Objects.equals(this.accountHolder, fpsUkAddress.accountHolder)
+ && Objects.equals(this.accountNumber, fpsUkAddress.accountNumber)
+ && Objects.equals(this.sortCode, fpsUkAddress.sortCode);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, accountNumber, sortCode);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FpsUkAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
+ sb.append(" sortCode: ").append(toIndentedString(sortCode)).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 `sortCode` to the URL query string
+ if (getSortCode() != null) {
+ joiner.add(
+ String.format(
+ "%ssortCode%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getSortCode()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/FpsUkDestination.java b/src/main/java/com/fireblocks/sdk/model/FpsUkDestination.java
new file mode 100644
index 00000000..c0d79760
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/FpsUkDestination.java
@@ -0,0 +1,213 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** FpsUkDestination */
+@JsonPropertyOrder({FpsUkDestination.JSON_PROPERTY_TYPE, FpsUkDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class FpsUkDestination {
+ /** The transfer rail type for the destination */
+ public enum TypeEnum {
+ FPS_UK(String.valueOf("FPS_UK"));
+
+ 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 FpsUkAddress address;
+
+ public FpsUkDestination() {}
+
+ @JsonCreator
+ public FpsUkDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) FpsUkAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public FpsUkDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The transfer rail type for the destination
+ *
+ * @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 FpsUkDestination address(@jakarta.annotation.Nonnull FpsUkAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public FpsUkAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull FpsUkAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this FpsUkDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FpsUkDestination fpsUkDestination = (FpsUkDestination) o;
+ return Objects.equals(this.type, fpsUkDestination.type)
+ && Objects.equals(this.address, fpsUkDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class FpsUkDestination {\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/InstaPayAddress.java b/src/main/java/com/fireblocks/sdk/model/InstaPayAddress.java
new file mode 100644
index 00000000..fa75ce98
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/InstaPayAddress.java
@@ -0,0 +1,228 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** InstaPayAddress */
+@JsonPropertyOrder({
+ InstaPayAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ InstaPayAddress.JSON_PROPERTY_BANK_NAME,
+ InstaPayAddress.JSON_PROPERTY_ACCOUNT_NUMBER
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class InstaPayAddress {
+ 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.Nonnull private String bankName;
+
+ public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
+ @jakarta.annotation.Nonnull private String accountNumber;
+
+ public InstaPayAddress() {}
+
+ @JsonCreator
+ public InstaPayAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_BANK_NAME, required = true) String bankName,
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_NUMBER, required = true)
+ String accountNumber) {
+ this.accountHolder = accountHolder;
+ this.bankName = bankName;
+ this.accountNumber = accountNumber;
+ }
+
+ public InstaPayAddress 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 InstaPayAddress bankName(@jakarta.annotation.Nonnull String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Name of the recipient's bank or wallet (e.g. BDO, BPI, GCash, Maya)
+ *
+ * @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 InstaPayAddress accountNumber(@jakarta.annotation.Nonnull String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Recipient bank account or wallet number
+ *
+ * @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;
+ }
+
+ /** Return true if this InstaPayAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ InstaPayAddress instaPayAddress = (InstaPayAddress) o;
+ return Objects.equals(this.accountHolder, instaPayAddress.accountHolder)
+ && Objects.equals(this.bankName, instaPayAddress.bankName)
+ && Objects.equals(this.accountNumber, instaPayAddress.accountNumber);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, bankName, accountNumber);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class InstaPayAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).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 `accountNumber` to the URL query string
+ if (getAccountNumber() != null) {
+ joiner.add(
+ String.format(
+ "%saccountNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAccountNumber()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/InstaPayDestination.java b/src/main/java/com/fireblocks/sdk/model/InstaPayDestination.java
new file mode 100644
index 00000000..eb65e65f
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/InstaPayDestination.java
@@ -0,0 +1,216 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** InstaPayDestination */
+@JsonPropertyOrder({
+ InstaPayDestination.JSON_PROPERTY_TYPE,
+ InstaPayDestination.JSON_PROPERTY_ADDRESS
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class InstaPayDestination {
+ /** The transfer rail type for the destination */
+ public enum TypeEnum {
+ INSTA_PAY(String.valueOf("INSTA_PAY"));
+
+ 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 InstaPayAddress address;
+
+ public InstaPayDestination() {}
+
+ @JsonCreator
+ public InstaPayDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) InstaPayAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public InstaPayDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The transfer rail type for the destination
+ *
+ * @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 InstaPayDestination address(@jakarta.annotation.Nonnull InstaPayAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public InstaPayAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull InstaPayAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this InstaPayDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ InstaPayDestination instaPayDestination = (InstaPayDestination) o;
+ return Objects.equals(this.type, instaPayDestination.type)
+ && Objects.equals(this.address, instaPayDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class InstaPayDestination {\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/NequiAddress.java b/src/main/java/com/fireblocks/sdk/model/NequiAddress.java
new file mode 100644
index 00000000..8fc57453
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/NequiAddress.java
@@ -0,0 +1,145 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** NequiAddress */
+@JsonPropertyOrder({NequiAddress.JSON_PROPERTY_PHONE})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class NequiAddress {
+ public static final String JSON_PROPERTY_PHONE = "phone";
+ @jakarta.annotation.Nonnull private String phone;
+
+ public NequiAddress() {}
+
+ @JsonCreator
+ public NequiAddress(@JsonProperty(value = JSON_PROPERTY_PHONE, required = true) String phone) {
+ this.phone = phone;
+ }
+
+ public NequiAddress phone(@jakarta.annotation.Nonnull String phone) {
+ this.phone = phone;
+ return this;
+ }
+
+ /**
+ * Recipient phone number in E.164 format
+ *
+ * @return phone
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getPhone() {
+ return phone;
+ }
+
+ @JsonProperty(JSON_PROPERTY_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setPhone(@jakarta.annotation.Nonnull String phone) {
+ this.phone = phone;
+ }
+
+ /** Return true if this NequiAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ NequiAddress nequiAddress = (NequiAddress) o;
+ return Objects.equals(this.phone, nequiAddress.phone);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(phone);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class NequiAddress {\n");
+ sb.append(" phone: ").append(toIndentedString(phone)).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 `phone` to the URL query string
+ if (getPhone() != null) {
+ joiner.add(
+ String.format(
+ "%sphone%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getPhone()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/NequiDestination.java b/src/main/java/com/fireblocks/sdk/model/NequiDestination.java
new file mode 100644
index 00000000..5f0c5ef1
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/NequiDestination.java
@@ -0,0 +1,213 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** NequiDestination */
+@JsonPropertyOrder({NequiDestination.JSON_PROPERTY_TYPE, NequiDestination.JSON_PROPERTY_ADDRESS})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class NequiDestination {
+ /** The transfer rail type for the destination */
+ public enum TypeEnum {
+ NEQUI(String.valueOf("NEQUI"));
+
+ 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 NequiAddress address;
+
+ public NequiDestination() {}
+
+ @JsonCreator
+ public NequiDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) NequiAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public NequiDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The transfer rail type for the destination
+ *
+ * @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 NequiDestination address(@jakarta.annotation.Nonnull NequiAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public NequiAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull NequiAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this NequiDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ NequiDestination nequiDestination = (NequiDestination) o;
+ return Objects.equals(this.type, nequiDestination.type)
+ && Objects.equals(this.address, nequiDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class NequiDestination {\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/PaymentInstructionsOneOf.java b/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java
index e63e9f56..5e5000a5 100644
--- a/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java
+++ b/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java
@@ -32,9 +32,9 @@
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class PaymentInstructionsOneOf {
- /** Gets or Sets type */
+ /** The transfer rail type for the destination */
public enum TypeEnum {
- INTERNAL_TRANSFER(String.valueOf("INTERNAL_TRANSFER"));
+ PESONET(String.valueOf("PESONET"));
private String value;
@@ -67,7 +67,7 @@ public static TypeEnum fromValue(String value) {
@jakarta.annotation.Nonnull private TypeEnum type;
public static final String JSON_PROPERTY_ADDRESS = "address";
- @jakarta.annotation.Nonnull private InternalTransferAddress address;
+ @jakarta.annotation.Nonnull private PesonetAddress address;
public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId";
@jakarta.annotation.Nullable private String referenceId;
@@ -77,8 +77,7 @@ public PaymentInstructionsOneOf() {}
@JsonCreator
public PaymentInstructionsOneOf(
@JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
- @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true)
- InternalTransferAddress address) {
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) PesonetAddress address) {
this.type = type;
this.address = address;
}
@@ -89,7 +88,7 @@ public PaymentInstructionsOneOf type(@jakarta.annotation.Nonnull TypeEnum type)
}
/**
- * Get type
+ * The transfer rail type for the destination
*
* @return type
*/
@@ -106,8 +105,7 @@ public void setType(@jakarta.annotation.Nonnull TypeEnum type) {
this.type = type;
}
- public PaymentInstructionsOneOf address(
- @jakarta.annotation.Nonnull InternalTransferAddress address) {
+ public PaymentInstructionsOneOf address(@jakarta.annotation.Nonnull PesonetAddress address) {
this.address = address;
return this;
}
@@ -120,13 +118,13 @@ public PaymentInstructionsOneOf address(
@jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public InternalTransferAddress getAddress() {
+ public PesonetAddress getAddress() {
return address;
}
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setAddress(@jakarta.annotation.Nonnull InternalTransferAddress address) {
+ public void setAddress(@jakarta.annotation.Nonnull PesonetAddress address) {
this.address = address;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/PesonetAddress.java b/src/main/java/com/fireblocks/sdk/model/PesonetAddress.java
new file mode 100644
index 00000000..d1a2cbc2
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PesonetAddress.java
@@ -0,0 +1,228 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** PesonetAddress */
+@JsonPropertyOrder({
+ PesonetAddress.JSON_PROPERTY_ACCOUNT_HOLDER,
+ PesonetAddress.JSON_PROPERTY_BANK_NAME,
+ PesonetAddress.JSON_PROPERTY_ACCOUNT_NUMBER
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class PesonetAddress {
+ 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.Nonnull private String bankName;
+
+ public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
+ @jakarta.annotation.Nonnull private String accountNumber;
+
+ public PesonetAddress() {}
+
+ @JsonCreator
+ public PesonetAddress(
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true)
+ AccountHolderDetails accountHolder,
+ @JsonProperty(value = JSON_PROPERTY_BANK_NAME, required = true) String bankName,
+ @JsonProperty(value = JSON_PROPERTY_ACCOUNT_NUMBER, required = true)
+ String accountNumber) {
+ this.accountHolder = accountHolder;
+ this.bankName = bankName;
+ this.accountNumber = accountNumber;
+ }
+
+ public PesonetAddress 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 PesonetAddress bankName(@jakarta.annotation.Nonnull String bankName) {
+ this.bankName = bankName;
+ return this;
+ }
+
+ /**
+ * Name of the recipient's 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 PesonetAddress accountNumber(@jakarta.annotation.Nonnull String accountNumber) {
+ this.accountNumber = accountNumber;
+ return this;
+ }
+
+ /**
+ * Recipient bank account number
+ *
+ * @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;
+ }
+
+ /** Return true if this PesonetAddress object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PesonetAddress pesonetAddress = (PesonetAddress) o;
+ return Objects.equals(this.accountHolder, pesonetAddress.accountHolder)
+ && Objects.equals(this.bankName, pesonetAddress.bankName)
+ && Objects.equals(this.accountNumber, pesonetAddress.accountNumber);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(accountHolder, bankName, accountNumber);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PesonetAddress {\n");
+ sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
+ sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
+ sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).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 `accountNumber` to the URL query string
+ if (getAccountNumber() != null) {
+ joiner.add(
+ String.format(
+ "%saccountNumber%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getAccountNumber()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/PesonetDestination.java b/src/main/java/com/fireblocks/sdk/model/PesonetDestination.java
new file mode 100644
index 00000000..21b7d4de
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/PesonetDestination.java
@@ -0,0 +1,216 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/** PesonetDestination */
+@JsonPropertyOrder({
+ PesonetDestination.JSON_PROPERTY_TYPE,
+ PesonetDestination.JSON_PROPERTY_ADDRESS
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class PesonetDestination {
+ /** The transfer rail type for the destination */
+ public enum TypeEnum {
+ PESONET(String.valueOf("PESONET"));
+
+ 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 PesonetAddress address;
+
+ public PesonetDestination() {}
+
+ @JsonCreator
+ public PesonetDestination(
+ @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type,
+ @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) PesonetAddress address) {
+ this.type = type;
+ this.address = address;
+ }
+
+ public PesonetDestination type(@jakarta.annotation.Nonnull TypeEnum type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * The transfer rail type for the destination
+ *
+ * @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 PesonetDestination address(@jakarta.annotation.Nonnull PesonetAddress address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get address
+ *
+ * @return address
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public PesonetAddress getAddress() {
+ return address;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAddress(@jakarta.annotation.Nonnull PesonetAddress address) {
+ this.address = address;
+ }
+
+ /** Return true if this PesonetDestination object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PesonetDestination pesonetDestination = (PesonetDestination) o;
+ return Objects.equals(this.type, pesonetDestination.type)
+ && Objects.equals(this.address, pesonetDestination.address);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(type, address);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PesonetDestination {\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/Position.java b/src/main/java/com/fireblocks/sdk/model/Position.java
index 583b3bf4..2bd21553 100644
--- a/src/main/java/com/fireblocks/sdk/model/Position.java
+++ b/src/main/java/com/fireblocks/sdk/model/Position.java
@@ -67,7 +67,7 @@ public class Position {
@jakarta.annotation.Nonnull private String amount;
public static final String JSON_PROPERTY_REWARDS_AMOUNT = "rewardsAmount";
- @jakarta.annotation.Nonnull private String rewardsAmount;
+ @jakarta.annotation.Nullable private String rewardsAmount;
public static final String JSON_PROPERTY_DATE_CREATED = "dateCreated";
@jakarta.annotation.Nonnull private OffsetDateTime dateCreated;
@@ -378,17 +378,19 @@ public void setAmount(@jakarta.annotation.Nonnull String amount) {
this.amount = amount;
}
- public Position rewardsAmount(@jakarta.annotation.Nonnull String rewardsAmount) {
+ public Position rewardsAmount(@jakarta.annotation.Nullable String rewardsAmount) {
this.rewardsAmount = rewardsAmount;
return this;
}
/**
- * The amount staked in the position, measured in the staked asset unit.
+ * The amount staked in the position, measured in the staked asset unit. Returned as null for
+ * chains where reward tracking is not supported (Cosmos-family chains), instead of a numeric
+ * value.
*
* @return rewardsAmount
*/
- @jakarta.annotation.Nonnull
+ @jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_REWARDS_AMOUNT)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getRewardsAmount() {
@@ -397,7 +399,7 @@ public String getRewardsAmount() {
@JsonProperty(JSON_PROPERTY_REWARDS_AMOUNT)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setRewardsAmount(@jakarta.annotation.Nonnull String rewardsAmount) {
+ public void setRewardsAmount(@jakarta.annotation.Nullable String rewardsAmount) {
this.rewardsAmount = rewardsAmount;
}
diff --git a/src/main/java/com/fireblocks/sdk/model/SolanaRewardsBreakdown.java b/src/main/java/com/fireblocks/sdk/model/SolanaRewardsBreakdown.java
index df20e2ba..87630328 100644
--- a/src/main/java/com/fireblocks/sdk/model/SolanaRewardsBreakdown.java
+++ b/src/main/java/com/fireblocks/sdk/model/SolanaRewardsBreakdown.java
@@ -24,7 +24,7 @@
/** A breakdown of the staking rewards earned by the position. */
@JsonPropertyOrder({
- SolanaRewardsBreakdown.JSON_PROPERTY_ISSUANCE,
+ SolanaRewardsBreakdown.JSON_PROPERTY_INFLATION,
SolanaRewardsBreakdown.JSON_PROPERTY_MEV,
SolanaRewardsBreakdown.JSON_PROPERTY_LAST_REWARD_SYNCED_AT
})
@@ -32,8 +32,8 @@
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class SolanaRewardsBreakdown {
- public static final String JSON_PROPERTY_ISSUANCE = "issuance";
- @jakarta.annotation.Nonnull private String issuance;
+ public static final String JSON_PROPERTY_INFLATION = "inflation";
+ @jakarta.annotation.Nonnull private String inflation;
public static final String JSON_PROPERTY_MEV = "mev";
@jakarta.annotation.Nonnull private String mev;
@@ -45,36 +45,36 @@ public SolanaRewardsBreakdown() {}
@JsonCreator
public SolanaRewardsBreakdown(
- @JsonProperty(value = JSON_PROPERTY_ISSUANCE, required = true) String issuance,
+ @JsonProperty(value = JSON_PROPERTY_INFLATION, required = true) String inflation,
@JsonProperty(value = JSON_PROPERTY_MEV, required = true) String mev,
@JsonProperty(value = JSON_PROPERTY_LAST_REWARD_SYNCED_AT, required = true)
OffsetDateTime lastRewardSyncedAt) {
- this.issuance = issuance;
+ this.inflation = inflation;
this.mev = mev;
this.lastRewardSyncedAt = lastRewardSyncedAt;
}
- public SolanaRewardsBreakdown issuance(@jakarta.annotation.Nonnull String issuance) {
- this.issuance = issuance;
+ public SolanaRewardsBreakdown inflation(@jakarta.annotation.Nonnull String inflation) {
+ this.inflation = inflation;
return this;
}
/**
- * The issuance reward amount earned by the position, measured in the staked asset unit.
+ * The inflation reward amount earned by the position, measured in the staked asset unit.
*
- * @return issuance
+ * @return inflation
*/
@jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_ISSUANCE)
+ @JsonProperty(JSON_PROPERTY_INFLATION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getIssuance() {
- return issuance;
+ public String getInflation() {
+ return inflation;
}
- @JsonProperty(JSON_PROPERTY_ISSUANCE)
+ @JsonProperty(JSON_PROPERTY_INFLATION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setIssuance(@jakarta.annotation.Nonnull String issuance) {
- this.issuance = issuance;
+ public void setInflation(@jakarta.annotation.Nonnull String inflation) {
+ this.inflation = inflation;
}
public SolanaRewardsBreakdown mev(@jakarta.annotation.Nonnull String mev) {
@@ -135,7 +135,7 @@ public boolean equals(Object o) {
return false;
}
SolanaRewardsBreakdown solanaRewardsBreakdown = (SolanaRewardsBreakdown) o;
- return Objects.equals(this.issuance, solanaRewardsBreakdown.issuance)
+ return Objects.equals(this.inflation, solanaRewardsBreakdown.inflation)
&& Objects.equals(this.mev, solanaRewardsBreakdown.mev)
&& Objects.equals(
this.lastRewardSyncedAt, solanaRewardsBreakdown.lastRewardSyncedAt);
@@ -143,14 +143,14 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(issuance, mev, lastRewardSyncedAt);
+ return Objects.hash(inflation, mev, lastRewardSyncedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SolanaRewardsBreakdown {\n");
- sb.append(" issuance: ").append(toIndentedString(issuance)).append("\n");
+ sb.append(" inflation: ").append(toIndentedString(inflation)).append("\n");
sb.append(" mev: ").append(toIndentedString(mev)).append("\n");
sb.append(" lastRewardSyncedAt: ")
.append(toIndentedString(lastRewardSyncedAt))
@@ -202,14 +202,14 @@ public String toUrlQueryString(String prefix) {
StringJoiner joiner = new StringJoiner("&");
- // add `issuance` to the URL query string
- if (getIssuance() != null) {
+ // add `inflation` to the URL query string
+ if (getInflation() != null) {
joiner.add(
String.format(
- "%sissuance%s=%s",
+ "%sinflation%s=%s",
prefix,
suffix,
- ApiClient.urlEncode(ApiClient.valueToString(getIssuance()))));
+ ApiClient.urlEncode(ApiClient.valueToString(getInflation()))));
}
// add `mev` to the URL query string
diff --git a/src/main/java/com/fireblocks/sdk/model/TransferRail.java b/src/main/java/com/fireblocks/sdk/model/TransferRail.java
index 7ea1cdf5..f6e3c6d4 100644
--- a/src/main/java/com/fireblocks/sdk/model/TransferRail.java
+++ b/src/main/java/com/fireblocks/sdk/model/TransferRail.java
@@ -23,11 +23,14 @@
* wire transfer within the United States (e.g. FedWire) * **ACH** - Automated Clearing House
* transfer, typically takes longer but not as expensive as wire transfers * **SEPA** - Euro
* transfers within the SEPA zone * **SPEI** - Mexican interbank electronic payment system * **PIX**
- * - Brazilian instant payment system * **LBT** - Local bank transfers within Africa * **MOMO** -
- * Mobile money transfers (e.g. M-Pesa) * **CHAPS** - The Clearing House Automated Payment System
- * (CHAPS) is a real-time gross settlement payment system used for transactions in the United
- * Kingdom * **PAYID** - PayID payment identifier system (Australia) * **INTERAC** - Interac
- * electronic funds transfer (Canada) * **INTERNAL_TRANSFER** - Internal transfer between accounts
+ * - Brazilian instant payment system * **LBT** - Local bank transfers * **MOMO** - Mobile money
+ * transfers (e.g. M-Pesa) * **CHAPS** - The Clearing House Automated Payment System (CHAPS) is a
+ * real-time gross settlement payment system used for transactions in the United Kingdom * **PAYID**
+ * - PayID payment identifier system (Australia) * **INTERAC** - Interac electronic funds transfer
+ * (Canada) * **INTERNAL_TRANSFER** - Internal transfer between accounts * **CIPS** - Cross-Border
+ * Interbank Payment System (China) * **NEQUI** - Nequi mobile payment (Colombia) * **FPS_UK** - UK
+ * Faster Payments (GBP) * **FPS_HK** - Hong Kong Faster Payment System (HKD) * **INSTA_PAY** -
+ * InstaPay instant payment (Philippines) * **PESONET** - PesoNet batch payment (Philippines)
*/
public enum TransferRail {
BLOCKCHAIN("BLOCKCHAIN"),
@@ -58,7 +61,19 @@ public enum TransferRail {
INTERAC("INTERAC"),
- INTERNAL_TRANSFER("INTERNAL_TRANSFER");
+ INTERNAL_TRANSFER("INTERNAL_TRANSFER"),
+
+ CIPS("CIPS"),
+
+ NEQUI("NEQUI"),
+
+ FPS_UK("FPS_UK"),
+
+ FPS_HK("FPS_HK"),
+
+ INSTA_PAY("INSTA_PAY"),
+
+ PESONET("PESONET");
private String value;
diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java
index 957db65b..dca22514 100644
--- a/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java
+++ b/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java
@@ -18,7 +18,9 @@
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;
@@ -28,7 +30,9 @@
UpdateWebhookRequest.JSON_PROPERTY_DESCRIPTION,
UpdateWebhookRequest.JSON_PROPERTY_EVENTS,
UpdateWebhookRequest.JSON_PROPERTY_ENABLED,
- UpdateWebhookRequest.JSON_PROPERTY_MTLS
+ UpdateWebhookRequest.JSON_PROPERTY_MTLS,
+ UpdateWebhookRequest.JSON_PROPERTY_OAUTH,
+ UpdateWebhookRequest.JSON_PROPERTY_CUSTOM_HEADERS
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -49,6 +53,12 @@ public class UpdateWebhookRequest {
public static final String JSON_PROPERTY_MTLS = "mtls";
@jakarta.annotation.Nullable private WebhookMtls mtls;
+ public static final String JSON_PROPERTY_OAUTH = "oauth";
+ @jakarta.annotation.Nullable private WebhookOAuth oauth;
+
+ public static final String JSON_PROPERTY_CUSTOM_HEADERS = "customHeaders";
+ @jakarta.annotation.Nullable private Map customHeaders;
+
public UpdateWebhookRequest() {}
public UpdateWebhookRequest url(@jakarta.annotation.Nullable String url) {
@@ -174,6 +184,66 @@ public void setMtls(@jakarta.annotation.Nullable WebhookMtls mtls) {
this.mtls = mtls;
}
+ public UpdateWebhookRequest oauth(@jakarta.annotation.Nullable WebhookOAuth oauth) {
+ this.oauth = oauth;
+ return this;
+ }
+
+ /**
+ * Get oauth
+ *
+ * @return oauth
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public WebhookOAuth getOauth() {
+ return oauth;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOauth(@jakarta.annotation.Nullable WebhookOAuth oauth) {
+ this.oauth = oauth;
+ }
+
+ public UpdateWebhookRequest customHeaders(
+ @jakarta.annotation.Nullable Map customHeaders) {
+ this.customHeaders = customHeaders;
+ return this;
+ }
+
+ public UpdateWebhookRequest putCustomHeadersItem(String key, String customHeadersItem) {
+ if (this.customHeaders == null) {
+ this.customHeaders = new HashMap<>();
+ }
+ this.customHeaders.put(key, customHeadersItem);
+ return this;
+ }
+
+ /**
+ * Custom headers delta: entries with a string value are added or updated, entries with a
+ * `null` value delete that header (no-op if absent), and header names omitted from
+ * the payload are left untouched. The resulting set is limited to 10 headers. Header names are
+ * case-insensitive, up to 128 characters, and limited to valid HTTP header name characters.
+ * Some system header names are reserved and cannot be used. Values are write-only — never
+ * returned in responses.
+ *
+ * @return customHeaders
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOM_HEADERS)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public Map getCustomHeaders() {
+ return customHeaders;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOM_HEADERS)
+ @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomHeaders(@jakarta.annotation.Nullable Map customHeaders) {
+ this.customHeaders = customHeaders;
+ }
+
/** Return true if this UpdateWebhookRequest object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -188,12 +258,14 @@ public boolean equals(Object o) {
&& Objects.equals(this.description, updateWebhookRequest.description)
&& Objects.equals(this.events, updateWebhookRequest.events)
&& Objects.equals(this.enabled, updateWebhookRequest.enabled)
- && Objects.equals(this.mtls, updateWebhookRequest.mtls);
+ && Objects.equals(this.mtls, updateWebhookRequest.mtls)
+ && Objects.equals(this.oauth, updateWebhookRequest.oauth)
+ && Objects.equals(this.customHeaders, updateWebhookRequest.customHeaders);
}
@Override
public int hashCode() {
- return Objects.hash(url, description, events, enabled, mtls);
+ return Objects.hash(url, description, events, enabled, mtls, oauth, customHeaders);
}
@Override
@@ -205,6 +277,8 @@ public String toString() {
sb.append(" events: ").append(toIndentedString(events)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" mtls: ").append(toIndentedString(mtls)).append("\n");
+ sb.append(" oauth: ").append(toIndentedString(oauth)).append("\n");
+ sb.append(" customHeaders: ").append(toIndentedString(customHeaders)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -306,6 +380,29 @@ public String toUrlQueryString(String prefix) {
joiner.add(getMtls().toUrlQueryString(prefix + "mtls" + suffix));
}
+ // add `oauth` to the URL query string
+ if (getOauth() != null) {
+ joiner.add(getOauth().toUrlQueryString(prefix + "oauth" + suffix));
+ }
+
+ // add `customHeaders` to the URL query string
+ if (getCustomHeaders() != null) {
+ for (String _key : getCustomHeaders().keySet()) {
+ joiner.add(
+ String.format(
+ "%scustomHeaders%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, _key, containerSuffix),
+ getCustomHeaders().get(_key),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getCustomHeaders().get(_key)))));
+ }
+ }
+
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/Webhook.java b/src/main/java/com/fireblocks/sdk/model/Webhook.java
index b0f859de..64dcb5e8 100644
--- a/src/main/java/com/fireblocks/sdk/model/Webhook.java
+++ b/src/main/java/com/fireblocks/sdk/model/Webhook.java
@@ -34,7 +34,9 @@
Webhook.JSON_PROPERTY_STATUS,
Webhook.JSON_PROPERTY_CREATED_AT,
Webhook.JSON_PROPERTY_UPDATED_AT,
- Webhook.JSON_PROPERTY_MTLS
+ Webhook.JSON_PROPERTY_MTLS,
+ Webhook.JSON_PROPERTY_OAUTH,
+ Webhook.JSON_PROPERTY_CUSTOM_HEADERS
})
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -99,6 +101,12 @@ public static StatusEnum fromValue(String value) {
public static final String JSON_PROPERTY_MTLS = "mtls";
@jakarta.annotation.Nullable private WebhookMtls mtls;
+ public static final String JSON_PROPERTY_OAUTH = "oauth";
+ @jakarta.annotation.Nullable private WebhookOAuthResponse oauth;
+
+ public static final String JSON_PROPERTY_CUSTOM_HEADERS = "customHeaders";
+ @jakarta.annotation.Nullable private List customHeaders;
+
public Webhook() {}
@JsonCreator
@@ -309,6 +317,60 @@ public void setMtls(@jakarta.annotation.Nullable WebhookMtls mtls) {
this.mtls = mtls;
}
+ public Webhook oauth(@jakarta.annotation.Nullable WebhookOAuthResponse oauth) {
+ this.oauth = oauth;
+ return this;
+ }
+
+ /**
+ * Get oauth
+ *
+ * @return oauth
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public WebhookOAuthResponse getOauth() {
+ return oauth;
+ }
+
+ @JsonProperty(JSON_PROPERTY_OAUTH)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setOauth(@jakarta.annotation.Nullable WebhookOAuthResponse oauth) {
+ this.oauth = oauth;
+ }
+
+ public Webhook customHeaders(@jakarta.annotation.Nullable List customHeaders) {
+ this.customHeaders = customHeaders;
+ return this;
+ }
+
+ public Webhook addCustomHeadersItem(String customHeadersItem) {
+ if (this.customHeaders == null) {
+ this.customHeaders = new ArrayList<>();
+ }
+ this.customHeaders.add(customHeadersItem);
+ return this;
+ }
+
+ /**
+ * Names of the custom headers configured for this webhook. Header values are never returned.
+ *
+ * @return customHeaders
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_CUSTOM_HEADERS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getCustomHeaders() {
+ return customHeaders;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CUSTOM_HEADERS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setCustomHeaders(@jakarta.annotation.Nullable List customHeaders) {
+ this.customHeaders = customHeaders;
+ }
+
/** Return true if this Webhook object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -326,12 +388,24 @@ public boolean equals(Object o) {
&& Objects.equals(this.status, webhook.status)
&& Objects.equals(this.createdAt, webhook.createdAt)
&& Objects.equals(this.updatedAt, webhook.updatedAt)
- && Objects.equals(this.mtls, webhook.mtls);
+ && Objects.equals(this.mtls, webhook.mtls)
+ && Objects.equals(this.oauth, webhook.oauth)
+ && Objects.equals(this.customHeaders, webhook.customHeaders);
}
@Override
public int hashCode() {
- return Objects.hash(id, url, description, events, status, createdAt, updatedAt, mtls);
+ return Objects.hash(
+ id,
+ url,
+ description,
+ events,
+ status,
+ createdAt,
+ updatedAt,
+ mtls,
+ oauth,
+ customHeaders);
}
@Override
@@ -346,6 +420,8 @@ public String toString() {
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" mtls: ").append(toIndentedString(mtls)).append("\n");
+ sb.append(" oauth: ").append(toIndentedString(oauth)).append("\n");
+ sb.append(" customHeaders: ").append(toIndentedString(customHeaders)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -475,6 +551,28 @@ public String toUrlQueryString(String prefix) {
joiner.add(getMtls().toUrlQueryString(prefix + "mtls" + suffix));
}
+ // add `oauth` to the URL query string
+ if (getOauth() != null) {
+ joiner.add(getOauth().toUrlQueryString(prefix + "oauth" + suffix));
+ }
+
+ // add `customHeaders` to the URL query string
+ if (getCustomHeaders() != null) {
+ for (int i = 0; i < getCustomHeaders().size(); i++) {
+ joiner.add(
+ String.format(
+ "%scustomHeaders%s%s=%s",
+ prefix,
+ suffix,
+ "".equals(suffix)
+ ? ""
+ : String.format(
+ "%s%d%s", containerPrefix, i, containerSuffix),
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getCustomHeaders().get(i)))));
+ }
+ }
+
return joiner.toString();
}
}
diff --git a/src/main/java/com/fireblocks/sdk/model/WebhookOAuth.java b/src/main/java/com/fireblocks/sdk/model/WebhookOAuth.java
new file mode 100644
index 00000000..54dca853
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/WebhookOAuth.java
@@ -0,0 +1,279 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/**
+ * OAuth 2.0 client credentials configuration for the webhook. When set, the webhook dispatcher
+ * fetches a bearer token from the configured token endpoint before each delivery and attaches it as
+ * `Authorization: Bearer {token}`. Send `null` to remove OAuth configuration
+ * entirely.
+ */
+@JsonPropertyOrder({
+ WebhookOAuth.JSON_PROPERTY_CLIENT_ID,
+ WebhookOAuth.JSON_PROPERTY_CLIENT_SECRET,
+ WebhookOAuth.JSON_PROPERTY_URL,
+ WebhookOAuth.JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class WebhookOAuth {
+ public static final String JSON_PROPERTY_CLIENT_ID = "clientId";
+ @jakarta.annotation.Nonnull private String clientId;
+
+ public static final String JSON_PROPERTY_CLIENT_SECRET = "clientSecret";
+ @jakarta.annotation.Nonnull private String clientSecret;
+
+ public static final String JSON_PROPERTY_URL = "url";
+ @jakarta.annotation.Nonnull private String url;
+
+ public static final String JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT = "mtlsClientSignedCert";
+ @jakarta.annotation.Nullable private String mtlsClientSignedCert;
+
+ public WebhookOAuth() {}
+
+ @JsonCreator
+ public WebhookOAuth(
+ @JsonProperty(value = JSON_PROPERTY_CLIENT_ID, required = true) String clientId,
+ @JsonProperty(value = JSON_PROPERTY_CLIENT_SECRET, required = true) String clientSecret,
+ @JsonProperty(value = JSON_PROPERTY_URL, required = true) String url) {
+ this.clientId = clientId;
+ this.clientSecret = clientSecret;
+ this.url = url;
+ }
+
+ public WebhookOAuth clientId(@jakarta.annotation.Nonnull String clientId) {
+ this.clientId = clientId;
+ return this;
+ }
+
+ /**
+ * OAuth client ID used to authenticate with the token endpoint.
+ *
+ * @return clientId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getClientId() {
+ return clientId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setClientId(@jakarta.annotation.Nonnull String clientId) {
+ this.clientId = clientId;
+ }
+
+ public WebhookOAuth clientSecret(@jakarta.annotation.Nonnull String clientSecret) {
+ this.clientSecret = clientSecret;
+ return this;
+ }
+
+ /**
+ * OAuth client secret. Write-only — never returned in responses.
+ *
+ * @return clientSecret
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CLIENT_SECRET)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getClientSecret() {
+ return clientSecret;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CLIENT_SECRET)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setClientSecret(@jakarta.annotation.Nonnull String clientSecret) {
+ this.clientSecret = clientSecret;
+ }
+
+ public WebhookOAuth url(@jakarta.annotation.Nonnull String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Token endpoint URL. Must be HTTPS.
+ *
+ * @return url
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_URL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getUrl() {
+ return url;
+ }
+
+ @JsonProperty(JSON_PROPERTY_URL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUrl(@jakarta.annotation.Nonnull String url) {
+ this.url = url;
+ }
+
+ public WebhookOAuth mtlsClientSignedCert(
+ @jakarta.annotation.Nullable String mtlsClientSignedCert) {
+ this.mtlsClientSignedCert = mtlsClientSignedCert;
+ return this;
+ }
+
+ /**
+ * Signed client certificate PEM used for mTLS when connecting to the token endpoint. Same
+ * format as the webhook mTLS certificate. Send `null` to remove.
+ *
+ * @return mtlsClientSignedCert
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getMtlsClientSignedCert() {
+ return mtlsClientSignedCert;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMtlsClientSignedCert(@jakarta.annotation.Nullable String mtlsClientSignedCert) {
+ this.mtlsClientSignedCert = mtlsClientSignedCert;
+ }
+
+ /** Return true if this WebhookOAuth object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ WebhookOAuth webhookOAuth = (WebhookOAuth) o;
+ return Objects.equals(this.clientId, webhookOAuth.clientId)
+ && Objects.equals(this.clientSecret, webhookOAuth.clientSecret)
+ && Objects.equals(this.url, webhookOAuth.url)
+ && Objects.equals(this.mtlsClientSignedCert, webhookOAuth.mtlsClientSignedCert);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(clientId, clientSecret, url, mtlsClientSignedCert);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class WebhookOAuth {\n");
+ sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
+ sb.append(" clientSecret: ").append(toIndentedString(clientSecret)).append("\n");
+ sb.append(" url: ").append(toIndentedString(url)).append("\n");
+ sb.append(" mtlsClientSignedCert: ")
+ .append(toIndentedString(mtlsClientSignedCert))
+ .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 `clientId` to the URL query string
+ if (getClientId() != null) {
+ joiner.add(
+ String.format(
+ "%sclientId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getClientId()))));
+ }
+
+ // add `clientSecret` to the URL query string
+ if (getClientSecret() != null) {
+ joiner.add(
+ String.format(
+ "%sclientSecret%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getClientSecret()))));
+ }
+
+ // add `url` to the URL query string
+ if (getUrl() != null) {
+ joiner.add(
+ String.format(
+ "%surl%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getUrl()))));
+ }
+
+ // add `mtlsClientSignedCert` to the URL query string
+ if (getMtlsClientSignedCert() != null) {
+ joiner.add(
+ String.format(
+ "%smtlsClientSignedCert%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getMtlsClientSignedCert()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/main/java/com/fireblocks/sdk/model/WebhookOAuthResponse.java b/src/main/java/com/fireblocks/sdk/model/WebhookOAuthResponse.java
new file mode 100644
index 00000000..2bd40dd4
--- /dev/null
+++ b/src/main/java/com/fireblocks/sdk/model/WebhookOAuthResponse.java
@@ -0,0 +1,236 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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;
+
+/**
+ * OAuth 2.0 client credentials configuration for the webhook. Present only when OAuth is
+ * configured. The `clientSecret` is write-only and is never returned.
+ */
+@JsonPropertyOrder({
+ WebhookOAuthResponse.JSON_PROPERTY_CLIENT_ID,
+ WebhookOAuthResponse.JSON_PROPERTY_URL,
+ WebhookOAuthResponse.JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT
+})
+@jakarta.annotation.Generated(
+ value = "org.openapitools.codegen.languages.JavaClientCodegen",
+ comments = "Generator version: 7.14.0")
+public class WebhookOAuthResponse {
+ public static final String JSON_PROPERTY_CLIENT_ID = "clientId";
+ @jakarta.annotation.Nonnull private String clientId;
+
+ public static final String JSON_PROPERTY_URL = "url";
+ @jakarta.annotation.Nonnull private String url;
+
+ public static final String JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT = "mtlsClientSignedCert";
+ @jakarta.annotation.Nullable private String mtlsClientSignedCert;
+
+ public WebhookOAuthResponse() {}
+
+ @JsonCreator
+ public WebhookOAuthResponse(
+ @JsonProperty(value = JSON_PROPERTY_CLIENT_ID, required = true) String clientId,
+ @JsonProperty(value = JSON_PROPERTY_URL, required = true) String url) {
+ this.clientId = clientId;
+ this.url = url;
+ }
+
+ public WebhookOAuthResponse clientId(@jakarta.annotation.Nonnull String clientId) {
+ this.clientId = clientId;
+ return this;
+ }
+
+ /**
+ * OAuth client ID used to authenticate with the token endpoint.
+ *
+ * @return clientId
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getClientId() {
+ return clientId;
+ }
+
+ @JsonProperty(JSON_PROPERTY_CLIENT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setClientId(@jakarta.annotation.Nonnull String clientId) {
+ this.clientId = clientId;
+ }
+
+ public WebhookOAuthResponse url(@jakarta.annotation.Nonnull String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Token endpoint URL.
+ *
+ * @return url
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_URL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getUrl() {
+ return url;
+ }
+
+ @JsonProperty(JSON_PROPERTY_URL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUrl(@jakarta.annotation.Nonnull String url) {
+ this.url = url;
+ }
+
+ public WebhookOAuthResponse mtlsClientSignedCert(
+ @jakarta.annotation.Nullable String mtlsClientSignedCert) {
+ this.mtlsClientSignedCert = mtlsClientSignedCert;
+ return this;
+ }
+
+ /**
+ * Signed client certificate PEM used for mTLS when connecting to the token endpoint.
+ *
+ * @return mtlsClientSignedCert
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getMtlsClientSignedCert() {
+ return mtlsClientSignedCert;
+ }
+
+ @JsonProperty(JSON_PROPERTY_MTLS_CLIENT_SIGNED_CERT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setMtlsClientSignedCert(@jakarta.annotation.Nullable String mtlsClientSignedCert) {
+ this.mtlsClientSignedCert = mtlsClientSignedCert;
+ }
+
+ /** Return true if this WebhookOAuthResponse object is equal to o. */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ WebhookOAuthResponse webhookOAuthResponse = (WebhookOAuthResponse) o;
+ return Objects.equals(this.clientId, webhookOAuthResponse.clientId)
+ && Objects.equals(this.url, webhookOAuthResponse.url)
+ && Objects.equals(
+ this.mtlsClientSignedCert, webhookOAuthResponse.mtlsClientSignedCert);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(clientId, url, mtlsClientSignedCert);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class WebhookOAuthResponse {\n");
+ sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
+ sb.append(" url: ").append(toIndentedString(url)).append("\n");
+ sb.append(" mtlsClientSignedCert: ")
+ .append(toIndentedString(mtlsClientSignedCert))
+ .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 `clientId` to the URL query string
+ if (getClientId() != null) {
+ joiner.add(
+ String.format(
+ "%sclientId%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getClientId()))));
+ }
+
+ // add `url` to the URL query string
+ if (getUrl() != null) {
+ joiner.add(
+ String.format(
+ "%surl%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(ApiClient.valueToString(getUrl()))));
+ }
+
+ // add `mtlsClientSignedCert` to the URL query string
+ if (getMtlsClientSignedCert() != null) {
+ joiner.add(
+ String.format(
+ "%smtlsClientSignedCert%s=%s",
+ prefix,
+ suffix,
+ ApiClient.urlEncode(
+ ApiClient.valueToString(getMtlsClientSignedCert()))));
+ }
+
+ return joiner.toString();
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CipsAddressTest.java b/src/test/java/com/fireblocks/sdk/model/CipsAddressTest.java
new file mode 100644
index 00000000..e4860884
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/CipsAddressTest.java
@@ -0,0 +1,57 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 CipsAddress */
+class CipsAddressTest {
+ private final CipsAddress model = new CipsAddress();
+
+ /** Model tests for CipsAddress */
+ @Test
+ void testCipsAddress() {
+ // TODO: test CipsAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'bankCountry' */
+ @Test
+ void bankCountryTest() {
+ // TODO: test bankCountry
+ }
+
+ /** Test the property 'swiftCode' */
+ @Test
+ void swiftCodeTest() {
+ // TODO: test swiftCode
+ }
+
+ /** Test the property 'accountNumber' */
+ @Test
+ void accountNumberTest() {
+ // TODO: test accountNumber
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CipsDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/CipsDestinationTest.java
new file mode 100644
index 00000000..33884a0a
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/CipsDestinationTest.java
@@ -0,0 +1,45 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 CipsDestination */
+class CipsDestinationTest {
+ private final CipsDestination model = new CipsDestination();
+
+ /** Model tests for CipsDestination */
+ @Test
+ void testCipsDestination() {
+ // TODO: test CipsDestination
+ }
+
+ /** Test the property 'type' */
+ @Test
+ void typeTest() {
+ // TODO: test type
+ }
+
+ /** Test the property 'address' */
+ @Test
+ void addressTest() {
+ // TODO: test address
+ }
+
+ /** Test the property 'referenceId' */
+ @Test
+ void referenceIdTest() {
+ // TODO: test referenceId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java
index a2effaba..557a64ee 100644
--- a/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java
@@ -54,4 +54,16 @@ void enabledTest() {
void mtlsTest() {
// TODO: test mtls
}
+
+ /** Test the property 'oauth' */
+ @Test
+ void oauthTest() {
+ // TODO: test oauth
+ }
+
+ /** Test the property 'customHeaders' */
+ @Test
+ void customHeadersTest() {
+ // TODO: test customHeaders
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java
index 20680b44..35a50d74 100644
--- a/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java
@@ -36,4 +36,10 @@ void typeTest() {
void addressTest() {
// TODO: test address
}
+
+ /** Test the property 'referenceId' */
+ @Test
+ void referenceIdTest() {
+ // TODO: test referenceId
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/FpsHkAddressTest.java b/src/test/java/com/fireblocks/sdk/model/FpsHkAddressTest.java
new file mode 100644
index 00000000..e6dac929
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/FpsHkAddressTest.java
@@ -0,0 +1,63 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 FpsHkAddress */
+class FpsHkAddressTest {
+ private final FpsHkAddress model = new FpsHkAddress();
+
+ /** Model tests for FpsHkAddress */
+ @Test
+ void testFpsHkAddress() {
+ // TODO: test FpsHkAddress
+ }
+
+ /** Test the property 'recipientLegalName' */
+ @Test
+ void recipientLegalNameTest() {
+ // TODO: test recipientLegalName
+ }
+
+ /** Test the property 'accountNumber' */
+ @Test
+ void accountNumberTest() {
+ // TODO: test accountNumber
+ }
+
+ /** Test the property 'bankCode' */
+ @Test
+ void bankCodeTest() {
+ // TODO: test bankCode
+ }
+
+ /** Test the property 'phone' */
+ @Test
+ void phoneTest() {
+ // TODO: test phone
+ }
+
+ /** Test the property 'email' */
+ @Test
+ void emailTest() {
+ // TODO: test email
+ }
+
+ /** Test the property 'fpsId' */
+ @Test
+ void fpsIdTest() {
+ // TODO: test fpsId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/FpsHkDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/FpsHkDestinationTest.java
new file mode 100644
index 00000000..00106dac
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/FpsHkDestinationTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 FpsHkDestination */
+class FpsHkDestinationTest {
+ private final FpsHkDestination model = new FpsHkDestination();
+
+ /** Model tests for FpsHkDestination */
+ @Test
+ void testFpsHkDestination() {
+ // TODO: test FpsHkDestination
+ }
+
+ /** 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/FpsUkAddressTest.java b/src/test/java/com/fireblocks/sdk/model/FpsUkAddressTest.java
new file mode 100644
index 00000000..f8bd6481
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/FpsUkAddressTest.java
@@ -0,0 +1,45 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 FpsUkAddress */
+class FpsUkAddressTest {
+ private final FpsUkAddress model = new FpsUkAddress();
+
+ /** Model tests for FpsUkAddress */
+ @Test
+ void testFpsUkAddress() {
+ // TODO: test FpsUkAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'accountNumber' */
+ @Test
+ void accountNumberTest() {
+ // TODO: test accountNumber
+ }
+
+ /** Test the property 'sortCode' */
+ @Test
+ void sortCodeTest() {
+ // TODO: test sortCode
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/FpsUkDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/FpsUkDestinationTest.java
new file mode 100644
index 00000000..a1ea8428
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/FpsUkDestinationTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 FpsUkDestination */
+class FpsUkDestinationTest {
+ private final FpsUkDestination model = new FpsUkDestination();
+
+ /** Model tests for FpsUkDestination */
+ @Test
+ void testFpsUkDestination() {
+ // TODO: test FpsUkDestination
+ }
+
+ /** 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/InstaPayAddressTest.java b/src/test/java/com/fireblocks/sdk/model/InstaPayAddressTest.java
new file mode 100644
index 00000000..d9673b90
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/InstaPayAddressTest.java
@@ -0,0 +1,45 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 InstaPayAddress */
+class InstaPayAddressTest {
+ private final InstaPayAddress model = new InstaPayAddress();
+
+ /** Model tests for InstaPayAddress */
+ @Test
+ void testInstaPayAddress() {
+ // TODO: test InstaPayAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'accountNumber' */
+ @Test
+ void accountNumberTest() {
+ // TODO: test accountNumber
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/InstaPayDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/InstaPayDestinationTest.java
new file mode 100644
index 00000000..129fd0d5
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/InstaPayDestinationTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 InstaPayDestination */
+class InstaPayDestinationTest {
+ private final InstaPayDestination model = new InstaPayDestination();
+
+ /** Model tests for InstaPayDestination */
+ @Test
+ void testInstaPayDestination() {
+ // TODO: test InstaPayDestination
+ }
+
+ /** 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/NequiAddressTest.java b/src/test/java/com/fireblocks/sdk/model/NequiAddressTest.java
new file mode 100644
index 00000000..a243410d
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/NequiAddressTest.java
@@ -0,0 +1,33 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 NequiAddress */
+class NequiAddressTest {
+ private final NequiAddress model = new NequiAddress();
+
+ /** Model tests for NequiAddress */
+ @Test
+ void testNequiAddress() {
+ // TODO: test NequiAddress
+ }
+
+ /** Test the property 'phone' */
+ @Test
+ void phoneTest() {
+ // TODO: test phone
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/NequiDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/NequiDestinationTest.java
new file mode 100644
index 00000000..c1010b21
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/NequiDestinationTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 NequiDestination */
+class NequiDestinationTest {
+ private final NequiDestination model = new NequiDestination();
+
+ /** Model tests for NequiDestination */
+ @Test
+ void testNequiDestination() {
+ // TODO: test NequiDestination
+ }
+
+ /** 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/PesonetAddressTest.java b/src/test/java/com/fireblocks/sdk/model/PesonetAddressTest.java
new file mode 100644
index 00000000..e85af2b6
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PesonetAddressTest.java
@@ -0,0 +1,45 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 PesonetAddress */
+class PesonetAddressTest {
+ private final PesonetAddress model = new PesonetAddress();
+
+ /** Model tests for PesonetAddress */
+ @Test
+ void testPesonetAddress() {
+ // TODO: test PesonetAddress
+ }
+
+ /** Test the property 'accountHolder' */
+ @Test
+ void accountHolderTest() {
+ // TODO: test accountHolder
+ }
+
+ /** Test the property 'bankName' */
+ @Test
+ void bankNameTest() {
+ // TODO: test bankName
+ }
+
+ /** Test the property 'accountNumber' */
+ @Test
+ void accountNumberTest() {
+ // TODO: test accountNumber
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/PesonetDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/PesonetDestinationTest.java
new file mode 100644
index 00000000..d12274f6
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/PesonetDestinationTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 PesonetDestination */
+class PesonetDestinationTest {
+ private final PesonetDestination model = new PesonetDestination();
+
+ /** Model tests for PesonetDestination */
+ @Test
+ void testPesonetDestination() {
+ // TODO: test PesonetDestination
+ }
+
+ /** 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/SolanaRewardsBreakdownTest.java b/src/test/java/com/fireblocks/sdk/model/SolanaRewardsBreakdownTest.java
index 6c6e8d6a..8a259365 100644
--- a/src/test/java/com/fireblocks/sdk/model/SolanaRewardsBreakdownTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/SolanaRewardsBreakdownTest.java
@@ -25,10 +25,10 @@ void testSolanaRewardsBreakdown() {
// TODO: test SolanaRewardsBreakdown
}
- /** Test the property 'issuance' */
+ /** Test the property 'inflation' */
@Test
- void issuanceTest() {
- // TODO: test issuance
+ void inflationTest() {
+ // TODO: test inflation
}
/** Test the property 'mev' */
diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java
index 83b0fb2e..1d33418e 100644
--- a/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java
@@ -54,4 +54,16 @@ void enabledTest() {
void mtlsTest() {
// TODO: test mtls
}
+
+ /** Test the property 'oauth' */
+ @Test
+ void oauthTest() {
+ // TODO: test oauth
+ }
+
+ /** Test the property 'customHeaders' */
+ @Test
+ void customHeadersTest() {
+ // TODO: test customHeaders
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookOAuthResponseTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookOAuthResponseTest.java
new file mode 100644
index 00000000..b158be90
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/WebhookOAuthResponseTest.java
@@ -0,0 +1,45 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 WebhookOAuthResponse */
+class WebhookOAuthResponseTest {
+ private final WebhookOAuthResponse model = new WebhookOAuthResponse();
+
+ /** Model tests for WebhookOAuthResponse */
+ @Test
+ void testWebhookOAuthResponse() {
+ // TODO: test WebhookOAuthResponse
+ }
+
+ /** Test the property 'clientId' */
+ @Test
+ void clientIdTest() {
+ // TODO: test clientId
+ }
+
+ /** Test the property 'url' */
+ @Test
+ void urlTest() {
+ // TODO: test url
+ }
+
+ /** Test the property 'mtlsClientSignedCert' */
+ @Test
+ void mtlsClientSignedCertTest() {
+ // TODO: test mtlsClientSignedCert
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookOAuthTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookOAuthTest.java
new file mode 100644
index 00000000..a52fa748
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/WebhookOAuthTest.java
@@ -0,0 +1,51 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@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 WebhookOAuth */
+class WebhookOAuthTest {
+ private final WebhookOAuth model = new WebhookOAuth();
+
+ /** Model tests for WebhookOAuth */
+ @Test
+ void testWebhookOAuth() {
+ // TODO: test WebhookOAuth
+ }
+
+ /** Test the property 'clientId' */
+ @Test
+ void clientIdTest() {
+ // TODO: test clientId
+ }
+
+ /** Test the property 'clientSecret' */
+ @Test
+ void clientSecretTest() {
+ // TODO: test clientSecret
+ }
+
+ /** Test the property 'url' */
+ @Test
+ void urlTest() {
+ // TODO: test url
+ }
+
+ /** Test the property 'mtlsClientSignedCert' */
+ @Test
+ void mtlsClientSignedCertTest() {
+ // TODO: test mtlsClientSignedCert
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookTest.java
index 87e447d4..81442e89 100644
--- a/src/test/java/com/fireblocks/sdk/model/WebhookTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/WebhookTest.java
@@ -72,4 +72,16 @@ void updatedAtTest() {
void mtlsTest() {
// TODO: test mtls
}
+
+ /** Test the property 'oauth' */
+ @Test
+ void oauthTest() {
+ // TODO: test oauth
+ }
+
+ /** Test the property 'customHeaders' */
+ @Test
+ void customHeadersTest() {
+ // TODO: test customHeaders
+ }
}