All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fireblocks.sdk.model.TravelRuleVASP Maven / Gradle / Ivy

/*
 * Fireblocks API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.6.2
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

package com.fireblocks.sdk.model;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.Objects;
import java.util.StringJoiner;

/** TravelRuleVASP */
@JsonPropertyOrder({
    TravelRuleVASP.JSON_PROPERTY_DID,
    TravelRuleVASP.JSON_PROPERTY_NAME,
    TravelRuleVASP.JSON_PROPERTY_VERIFICATION_STATUS,
    TravelRuleVASP.JSON_PROPERTY_ADDRESS_LINE1,
    TravelRuleVASP.JSON_PROPERTY_ADDRESS_LINE2,
    TravelRuleVASP.JSON_PROPERTY_CITY,
    TravelRuleVASP.JSON_PROPERTY_COUNTRY,
    TravelRuleVASP.JSON_PROPERTY_EMAIL_DOMAINS,
    TravelRuleVASP.JSON_PROPERTY_WEBSITE,
    TravelRuleVASP.JSON_PROPERTY_LOGO,
    TravelRuleVASP.JSON_PROPERTY_LEGAL_STRUCTURE,
    TravelRuleVASP.JSON_PROPERTY_LEGAL_NAME,
    TravelRuleVASP.JSON_PROPERTY_YEAR_FOUNDED,
    TravelRuleVASP.JSON_PROPERTY_INCORPORATION_COUNTRY,
    TravelRuleVASP.JSON_PROPERTY_IS_REGULATED,
    TravelRuleVASP.JSON_PROPERTY_OTHER_NAMES,
    TravelRuleVASP.JSON_PROPERTY_IDENTIFICATION_TYPE,
    TravelRuleVASP.JSON_PROPERTY_IDENTIFICATION_COUNTRY,
    TravelRuleVASP.JSON_PROPERTY_BUSINESS_NUMBER,
    TravelRuleVASP.JSON_PROPERTY_REGULATORY_AUTHORITIES,
    TravelRuleVASP.JSON_PROPERTY_JURISDICTIONS,
    TravelRuleVASP.JSON_PROPERTY_STREET,
    TravelRuleVASP.JSON_PROPERTY_NUMBER,
    TravelRuleVASP.JSON_PROPERTY_UNIT,
    TravelRuleVASP.JSON_PROPERTY_POST_CODE,
    TravelRuleVASP.JSON_PROPERTY_STATE,
    TravelRuleVASP.JSON_PROPERTY_CERTIFICATES,
    TravelRuleVASP.JSON_PROPERTY_DESCRIPTION,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_O_P_E_N_V_A_S_P,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_S_Y_G_N_A,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_T_R_I_S_A,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_T_R_L_I_G_H_T,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_E_M_A_I_L,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_T_R_P,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_S_H_Y_F_T,
    TravelRuleVASP.JSON_PROPERTY_TRAVEL_RULE_U_S_T_R_A_V_E_L_R_U_L_E_W_G,
    TravelRuleVASP.JSON_PROPERTY_CREATED_AT,
    TravelRuleVASP.JSON_PROPERTY_CREATED_BY,
    TravelRuleVASP.JSON_PROPERTY_UPDATED_AT,
    TravelRuleVASP.JSON_PROPERTY_UPDATED_BY,
    TravelRuleVASP.JSON_PROPERTY_LAST_SENT_DATE,
    TravelRuleVASP.JSON_PROPERTY_LAST_RECEIVED_DATE,
    TravelRuleVASP.JSON_PROPERTY_DOCUMENTS,
    TravelRuleVASP.JSON_PROPERTY_HAS_ADMIN,
    TravelRuleVASP.JSON_PROPERTY_IS_NOTIFIABLE,
    TravelRuleVASP.JSON_PROPERTY_ISSUERS
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class TravelRuleVASP {
    public static final String JSON_PROPERTY_DID = "did";
    private String did;

    public static final String JSON_PROPERTY_NAME = "name";
    private String name;

    public static final String JSON_PROPERTY_VERIFICATION_STATUS = "verificationStatus";
    private String verificationStatus;

    public static final String JSON_PROPERTY_ADDRESS_LINE1 = "addressLine1";
    private String addressLine1;

    public static final String JSON_PROPERTY_ADDRESS_LINE2 = "addressLine2";
    private String addressLine2;

    public static final String JSON_PROPERTY_CITY = "city";
    private String city;

    public static final String JSON_PROPERTY_COUNTRY = "country";
    private String country;

    public static final String JSON_PROPERTY_EMAIL_DOMAINS = "emailDomains";
    private String emailDomains;

    public static final String JSON_PROPERTY_WEBSITE = "website";
    private String website;

    public static final String JSON_PROPERTY_LOGO = "logo";
    private String logo;

    public static final String JSON_PROPERTY_LEGAL_STRUCTURE = "legalStructure";
    private String legalStructure;

    public static final String JSON_PROPERTY_LEGAL_NAME = "legalName";
    private String legalName;

    public static final String JSON_PROPERTY_YEAR_FOUNDED = "yearFounded";
    private String yearFounded;

    public static final String JSON_PROPERTY_INCORPORATION_COUNTRY = "incorporationCountry";
    private String incorporationCountry;

    public static final String JSON_PROPERTY_IS_REGULATED = "isRegulated";
    private String isRegulated;

    public static final String JSON_PROPERTY_OTHER_NAMES = "otherNames";
    private String otherNames;

    public static final String JSON_PROPERTY_IDENTIFICATION_TYPE = "identificationType";
    private String identificationType;

    public static final String JSON_PROPERTY_IDENTIFICATION_COUNTRY = "identificationCountry";
    private String identificationCountry;

    public static final String JSON_PROPERTY_BUSINESS_NUMBER = "businessNumber";
    private String businessNumber;

    public static final String JSON_PROPERTY_REGULATORY_AUTHORITIES = "regulatoryAuthorities";
    private String regulatoryAuthorities;

    public static final String JSON_PROPERTY_JURISDICTIONS = "jurisdictions";
    private String jurisdictions;

    public static final String JSON_PROPERTY_STREET = "street";
    private String street;

    public static final String JSON_PROPERTY_NUMBER = "number";
    private String number;

    public static final String JSON_PROPERTY_UNIT = "unit";
    private String unit;

    public static final String JSON_PROPERTY_POST_CODE = "postCode";
    private String postCode;

    public static final String JSON_PROPERTY_STATE = "state";
    private String state;

    public static final String JSON_PROPERTY_CERTIFICATES = "certificates";
    private String certificates;

    public static final String JSON_PROPERTY_DESCRIPTION = "description";
    private String description;

    public static final String JSON_PROPERTY_TRAVEL_RULE_O_P_E_N_V_A_S_P = "travelRule_OPENVASP";
    private String travelRuleOPENVASP;

    public static final String JSON_PROPERTY_TRAVEL_RULE_S_Y_G_N_A = "travelRule_SYGNA";
    private String travelRuleSYGNA;

    public static final String JSON_PROPERTY_TRAVEL_RULE_T_R_I_S_A = "travelRule_TRISA";
    private String travelRuleTRISA;

    public static final String JSON_PROPERTY_TRAVEL_RULE_T_R_L_I_G_H_T = "travelRule_TRLIGHT";
    private String travelRuleTRLIGHT;

    public static final String JSON_PROPERTY_TRAVEL_RULE_E_M_A_I_L = "travelRule_EMAIL";
    private String travelRuleEMAIL;

    public static final String JSON_PROPERTY_TRAVEL_RULE_T_R_P = "travelRule_TRP";
    private String travelRuleTRP;

    public static final String JSON_PROPERTY_TRAVEL_RULE_S_H_Y_F_T = "travelRule_SHYFT";
    private String travelRuleSHYFT;

    public static final String JSON_PROPERTY_TRAVEL_RULE_U_S_T_R_A_V_E_L_R_U_L_E_W_G =
            "travelRule_USTRAVELRULEWG";
    private String travelRuleUSTRAVELRULEWG;

    public static final String JSON_PROPERTY_CREATED_AT = "createdAt";
    private String createdAt;

    public static final String JSON_PROPERTY_CREATED_BY = "createdBy";
    private String createdBy;

    public static final String JSON_PROPERTY_UPDATED_AT = "updatedAt";
    private String updatedAt;

    public static final String JSON_PROPERTY_UPDATED_BY = "updatedBy";
    private String updatedBy;

    public static final String JSON_PROPERTY_LAST_SENT_DATE = "lastSentDate";
    private String lastSentDate;

    public static final String JSON_PROPERTY_LAST_RECEIVED_DATE = "lastReceivedDate";
    private String lastReceivedDate;

    public static final String JSON_PROPERTY_DOCUMENTS = "documents";
    private String documents;

    public static final String JSON_PROPERTY_HAS_ADMIN = "hasAdmin";
    private Boolean hasAdmin;

    public static final String JSON_PROPERTY_IS_NOTIFIABLE = "isNotifiable";
    private Boolean isNotifiable;

    public static final String JSON_PROPERTY_ISSUERS = "issuers";
    private TravelRuleIssuers issuers;

    public TravelRuleVASP() {}

    public TravelRuleVASP did(String did) {
        this.did = did;
        return this;
    }

    /**
     * Get did
     *
     * @return did
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_DID)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getDid() {
        return did;
    }

    @JsonProperty(JSON_PROPERTY_DID)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setDid(String did) {
        this.did = did;
    }

    public TravelRuleVASP name(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get name
     *
     * @return name
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_NAME)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getName() {
        return name;
    }

    @JsonProperty(JSON_PROPERTY_NAME)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setName(String name) {
        this.name = name;
    }

    public TravelRuleVASP verificationStatus(String verificationStatus) {
        this.verificationStatus = verificationStatus;
        return this;
    }

    /**
     * Get verificationStatus
     *
     * @return verificationStatus
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getVerificationStatus() {
        return verificationStatus;
    }

    @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setVerificationStatus(String verificationStatus) {
        this.verificationStatus = verificationStatus;
    }

    public TravelRuleVASP addressLine1(String addressLine1) {
        this.addressLine1 = addressLine1;
        return this;
    }

    /**
     * Get addressLine1
     *
     * @return addressLine1
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_ADDRESS_LINE1)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getAddressLine1() {
        return addressLine1;
    }

    @JsonProperty(JSON_PROPERTY_ADDRESS_LINE1)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setAddressLine1(String addressLine1) {
        this.addressLine1 = addressLine1;
    }

    public TravelRuleVASP addressLine2(String addressLine2) {
        this.addressLine2 = addressLine2;
        return this;
    }

    /**
     * Get addressLine2
     *
     * @return addressLine2
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_ADDRESS_LINE2)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getAddressLine2() {
        return addressLine2;
    }

    @JsonProperty(JSON_PROPERTY_ADDRESS_LINE2)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setAddressLine2(String addressLine2) {
        this.addressLine2 = addressLine2;
    }

    public TravelRuleVASP city(String city) {
        this.city = city;
        return this;
    }

    /**
     * Get city
     *
     * @return city
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_CITY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getCity() {
        return city;
    }

    @JsonProperty(JSON_PROPERTY_CITY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setCity(String city) {
        this.city = city;
    }

    public TravelRuleVASP country(String country) {
        this.country = country;
        return this;
    }

    /**
     * Get country
     *
     * @return country
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_COUNTRY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getCountry() {
        return country;
    }

    @JsonProperty(JSON_PROPERTY_COUNTRY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setCountry(String country) {
        this.country = country;
    }

    public TravelRuleVASP emailDomains(String emailDomains) {
        this.emailDomains = emailDomains;
        return this;
    }

    /**
     * Get emailDomains
     *
     * @return emailDomains
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_EMAIL_DOMAINS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getEmailDomains() {
        return emailDomains;
    }

    @JsonProperty(JSON_PROPERTY_EMAIL_DOMAINS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setEmailDomains(String emailDomains) {
        this.emailDomains = emailDomains;
    }

    public TravelRuleVASP website(String website) {
        this.website = website;
        return this;
    }

    /**
     * Get website
     *
     * @return website
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_WEBSITE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getWebsite() {
        return website;
    }

    @JsonProperty(JSON_PROPERTY_WEBSITE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setWebsite(String website) {
        this.website = website;
    }

    public TravelRuleVASP logo(String logo) {
        this.logo = logo;
        return this;
    }

    /**
     * Get logo
     *
     * @return logo
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_LOGO)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getLogo() {
        return logo;
    }

    @JsonProperty(JSON_PROPERTY_LOGO)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setLogo(String logo) {
        this.logo = logo;
    }

    public TravelRuleVASP legalStructure(String legalStructure) {
        this.legalStructure = legalStructure;
        return this;
    }

    /**
     * Get legalStructure
     *
     * @return legalStructure
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_LEGAL_STRUCTURE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getLegalStructure() {
        return legalStructure;
    }

    @JsonProperty(JSON_PROPERTY_LEGAL_STRUCTURE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setLegalStructure(String legalStructure) {
        this.legalStructure = legalStructure;
    }

    public TravelRuleVASP legalName(String legalName) {
        this.legalName = legalName;
        return this;
    }

    /**
     * Get legalName
     *
     * @return legalName
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_LEGAL_NAME)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getLegalName() {
        return legalName;
    }

    @JsonProperty(JSON_PROPERTY_LEGAL_NAME)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setLegalName(String legalName) {
        this.legalName = legalName;
    }

    public TravelRuleVASP yearFounded(String yearFounded) {
        this.yearFounded = yearFounded;
        return this;
    }

    /**
     * Get yearFounded
     *
     * @return yearFounded
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_YEAR_FOUNDED)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getYearFounded() {
        return yearFounded;
    }

    @JsonProperty(JSON_PROPERTY_YEAR_FOUNDED)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setYearFounded(String yearFounded) {
        this.yearFounded = yearFounded;
    }

    public TravelRuleVASP incorporationCountry(String incorporationCountry) {
        this.incorporationCountry = incorporationCountry;
        return this;
    }

    /**
     * Get incorporationCountry
     *
     * @return incorporationCountry
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_INCORPORATION_COUNTRY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getIncorporationCountry() {
        return incorporationCountry;
    }

    @JsonProperty(JSON_PROPERTY_INCORPORATION_COUNTRY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setIncorporationCountry(String incorporationCountry) {
        this.incorporationCountry = incorporationCountry;
    }

    public TravelRuleVASP isRegulated(String isRegulated) {
        this.isRegulated = isRegulated;
        return this;
    }

    /**
     * Get isRegulated
     *
     * @return isRegulated
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_IS_REGULATED)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getIsRegulated() {
        return isRegulated;
    }

    @JsonProperty(JSON_PROPERTY_IS_REGULATED)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setIsRegulated(String isRegulated) {
        this.isRegulated = isRegulated;
    }

    public TravelRuleVASP otherNames(String otherNames) {
        this.otherNames = otherNames;
        return this;
    }

    /**
     * Get otherNames
     *
     * @return otherNames
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_OTHER_NAMES)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getOtherNames() {
        return otherNames;
    }

    @JsonProperty(JSON_PROPERTY_OTHER_NAMES)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setOtherNames(String otherNames) {
        this.otherNames = otherNames;
    }

    public TravelRuleVASP identificationType(String identificationType) {
        this.identificationType = identificationType;
        return this;
    }

    /**
     * Get identificationType
     *
     * @return identificationType
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_IDENTIFICATION_TYPE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getIdentificationType() {
        return identificationType;
    }

    @JsonProperty(JSON_PROPERTY_IDENTIFICATION_TYPE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setIdentificationType(String identificationType) {
        this.identificationType = identificationType;
    }

    public TravelRuleVASP identificationCountry(String identificationCountry) {
        this.identificationCountry = identificationCountry;
        return this;
    }

    /**
     * Get identificationCountry
     *
     * @return identificationCountry
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_IDENTIFICATION_COUNTRY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getIdentificationCountry() {
        return identificationCountry;
    }

    @JsonProperty(JSON_PROPERTY_IDENTIFICATION_COUNTRY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setIdentificationCountry(String identificationCountry) {
        this.identificationCountry = identificationCountry;
    }

    public TravelRuleVASP businessNumber(String businessNumber) {
        this.businessNumber = businessNumber;
        return this;
    }

    /**
     * Get businessNumber
     *
     * @return businessNumber
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_BUSINESS_NUMBER)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getBusinessNumber() {
        return businessNumber;
    }

    @JsonProperty(JSON_PROPERTY_BUSINESS_NUMBER)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setBusinessNumber(String businessNumber) {
        this.businessNumber = businessNumber;
    }

    public TravelRuleVASP regulatoryAuthorities(String regulatoryAuthorities) {
        this.regulatoryAuthorities = regulatoryAuthorities;
        return this;
    }

    /**
     * Get regulatoryAuthorities
     *
     * @return regulatoryAuthorities
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_REGULATORY_AUTHORITIES)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getRegulatoryAuthorities() {
        return regulatoryAuthorities;
    }

    @JsonProperty(JSON_PROPERTY_REGULATORY_AUTHORITIES)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setRegulatoryAuthorities(String regulatoryAuthorities) {
        this.regulatoryAuthorities = regulatoryAuthorities;
    }

    public TravelRuleVASP jurisdictions(String jurisdictions) {
        this.jurisdictions = jurisdictions;
        return this;
    }

    /**
     * Get jurisdictions
     *
     * @return jurisdictions
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_JURISDICTIONS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getJurisdictions() {
        return jurisdictions;
    }

    @JsonProperty(JSON_PROPERTY_JURISDICTIONS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setJurisdictions(String jurisdictions) {
        this.jurisdictions = jurisdictions;
    }

    public TravelRuleVASP street(String street) {
        this.street = street;
        return this;
    }

    /**
     * Get street
     *
     * @return street
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_STREET)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getStreet() {
        return street;
    }

    @JsonProperty(JSON_PROPERTY_STREET)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setStreet(String street) {
        this.street = street;
    }

    public TravelRuleVASP number(String number) {
        this.number = number;
        return this;
    }

    /**
     * Get number
     *
     * @return number
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_NUMBER)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getNumber() {
        return number;
    }

    @JsonProperty(JSON_PROPERTY_NUMBER)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setNumber(String number) {
        this.number = number;
    }

    public TravelRuleVASP unit(String unit) {
        this.unit = unit;
        return this;
    }

    /**
     * Get unit
     *
     * @return unit
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_UNIT)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getUnit() {
        return unit;
    }

    @JsonProperty(JSON_PROPERTY_UNIT)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setUnit(String unit) {
        this.unit = unit;
    }

    public TravelRuleVASP postCode(String postCode) {
        this.postCode = postCode;
        return this;
    }

    /**
     * Get postCode
     *
     * @return postCode
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_POST_CODE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getPostCode() {
        return postCode;
    }

    @JsonProperty(JSON_PROPERTY_POST_CODE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public TravelRuleVASP state(String state) {
        this.state = state;
        return this;
    }

    /**
     * Get state
     *
     * @return state
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_STATE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getState() {
        return state;
    }

    @JsonProperty(JSON_PROPERTY_STATE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setState(String state) {
        this.state = state;
    }

    public TravelRuleVASP certificates(String certificates) {
        this.certificates = certificates;
        return this;
    }

    /**
     * Get certificates
     *
     * @return certificates
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_CERTIFICATES)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getCertificates() {
        return certificates;
    }

    @JsonProperty(JSON_PROPERTY_CERTIFICATES)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setCertificates(String certificates) {
        this.certificates = certificates;
    }

    public TravelRuleVASP description(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get description
     *
     * @return description
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_DESCRIPTION)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getDescription() {
        return description;
    }

    @JsonProperty(JSON_PROPERTY_DESCRIPTION)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setDescription(String description) {
        this.description = description;
    }

    public TravelRuleVASP travelRuleOPENVASP(String travelRuleOPENVASP) {
        this.travelRuleOPENVASP = travelRuleOPENVASP;
        return this;
    }

    /**
     * Get travelRuleOPENVASP
     *
     * @return travelRuleOPENVASP
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_O_P_E_N_V_A_S_P)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleOPENVASP() {
        return travelRuleOPENVASP;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_O_P_E_N_V_A_S_P)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleOPENVASP(String travelRuleOPENVASP) {
        this.travelRuleOPENVASP = travelRuleOPENVASP;
    }

    public TravelRuleVASP travelRuleSYGNA(String travelRuleSYGNA) {
        this.travelRuleSYGNA = travelRuleSYGNA;
        return this;
    }

    /**
     * Get travelRuleSYGNA
     *
     * @return travelRuleSYGNA
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_S_Y_G_N_A)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleSYGNA() {
        return travelRuleSYGNA;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_S_Y_G_N_A)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleSYGNA(String travelRuleSYGNA) {
        this.travelRuleSYGNA = travelRuleSYGNA;
    }

    public TravelRuleVASP travelRuleTRISA(String travelRuleTRISA) {
        this.travelRuleTRISA = travelRuleTRISA;
        return this;
    }

    /**
     * Get travelRuleTRISA
     *
     * @return travelRuleTRISA
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_T_R_I_S_A)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleTRISA() {
        return travelRuleTRISA;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_T_R_I_S_A)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleTRISA(String travelRuleTRISA) {
        this.travelRuleTRISA = travelRuleTRISA;
    }

    public TravelRuleVASP travelRuleTRLIGHT(String travelRuleTRLIGHT) {
        this.travelRuleTRLIGHT = travelRuleTRLIGHT;
        return this;
    }

    /**
     * Get travelRuleTRLIGHT
     *
     * @return travelRuleTRLIGHT
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_T_R_L_I_G_H_T)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleTRLIGHT() {
        return travelRuleTRLIGHT;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_T_R_L_I_G_H_T)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleTRLIGHT(String travelRuleTRLIGHT) {
        this.travelRuleTRLIGHT = travelRuleTRLIGHT;
    }

    public TravelRuleVASP travelRuleEMAIL(String travelRuleEMAIL) {
        this.travelRuleEMAIL = travelRuleEMAIL;
        return this;
    }

    /**
     * Get travelRuleEMAIL
     *
     * @return travelRuleEMAIL
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_E_M_A_I_L)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleEMAIL() {
        return travelRuleEMAIL;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_E_M_A_I_L)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleEMAIL(String travelRuleEMAIL) {
        this.travelRuleEMAIL = travelRuleEMAIL;
    }

    public TravelRuleVASP travelRuleTRP(String travelRuleTRP) {
        this.travelRuleTRP = travelRuleTRP;
        return this;
    }

    /**
     * Get travelRuleTRP
     *
     * @return travelRuleTRP
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_T_R_P)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleTRP() {
        return travelRuleTRP;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_T_R_P)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleTRP(String travelRuleTRP) {
        this.travelRuleTRP = travelRuleTRP;
    }

    public TravelRuleVASP travelRuleSHYFT(String travelRuleSHYFT) {
        this.travelRuleSHYFT = travelRuleSHYFT;
        return this;
    }

    /**
     * Get travelRuleSHYFT
     *
     * @return travelRuleSHYFT
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_S_H_Y_F_T)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleSHYFT() {
        return travelRuleSHYFT;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_S_H_Y_F_T)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleSHYFT(String travelRuleSHYFT) {
        this.travelRuleSHYFT = travelRuleSHYFT;
    }

    public TravelRuleVASP travelRuleUSTRAVELRULEWG(String travelRuleUSTRAVELRULEWG) {
        this.travelRuleUSTRAVELRULEWG = travelRuleUSTRAVELRULEWG;
        return this;
    }

    /**
     * Get travelRuleUSTRAVELRULEWG
     *
     * @return travelRuleUSTRAVELRULEWG
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_U_S_T_R_A_V_E_L_R_U_L_E_W_G)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getTravelRuleUSTRAVELRULEWG() {
        return travelRuleUSTRAVELRULEWG;
    }

    @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_U_S_T_R_A_V_E_L_R_U_L_E_W_G)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setTravelRuleUSTRAVELRULEWG(String travelRuleUSTRAVELRULEWG) {
        this.travelRuleUSTRAVELRULEWG = travelRuleUSTRAVELRULEWG;
    }

    public TravelRuleVASP createdAt(String createdAt) {
        this.createdAt = createdAt;
        return this;
    }

    /**
     * Get createdAt
     *
     * @return createdAt
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_CREATED_AT)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getCreatedAt() {
        return createdAt;
    }

    @JsonProperty(JSON_PROPERTY_CREATED_AT)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public TravelRuleVASP createdBy(String createdBy) {
        this.createdBy = createdBy;
        return this;
    }

    /**
     * Get createdBy
     *
     * @return createdBy
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_CREATED_BY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getCreatedBy() {
        return createdBy;
    }

    @JsonProperty(JSON_PROPERTY_CREATED_BY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public TravelRuleVASP updatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
        return this;
    }

    /**
     * Get updatedAt
     *
     * @return updatedAt
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_UPDATED_AT)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getUpdatedAt() {
        return updatedAt;
    }

    @JsonProperty(JSON_PROPERTY_UPDATED_AT)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public TravelRuleVASP updatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
        return this;
    }

    /**
     * Get updatedBy
     *
     * @return updatedBy
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_UPDATED_BY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getUpdatedBy() {
        return updatedBy;
    }

    @JsonProperty(JSON_PROPERTY_UPDATED_BY)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public TravelRuleVASP lastSentDate(String lastSentDate) {
        this.lastSentDate = lastSentDate;
        return this;
    }

    /**
     * Get lastSentDate
     *
     * @return lastSentDate
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_LAST_SENT_DATE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getLastSentDate() {
        return lastSentDate;
    }

    @JsonProperty(JSON_PROPERTY_LAST_SENT_DATE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setLastSentDate(String lastSentDate) {
        this.lastSentDate = lastSentDate;
    }

    public TravelRuleVASP lastReceivedDate(String lastReceivedDate) {
        this.lastReceivedDate = lastReceivedDate;
        return this;
    }

    /**
     * Get lastReceivedDate
     *
     * @return lastReceivedDate
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_LAST_RECEIVED_DATE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getLastReceivedDate() {
        return lastReceivedDate;
    }

    @JsonProperty(JSON_PROPERTY_LAST_RECEIVED_DATE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setLastReceivedDate(String lastReceivedDate) {
        this.lastReceivedDate = lastReceivedDate;
    }

    public TravelRuleVASP documents(String documents) {
        this.documents = documents;
        return this;
    }

    /**
     * Get documents
     *
     * @return documents
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_DOCUMENTS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public String getDocuments() {
        return documents;
    }

    @JsonProperty(JSON_PROPERTY_DOCUMENTS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setDocuments(String documents) {
        this.documents = documents;
    }

    public TravelRuleVASP hasAdmin(Boolean hasAdmin) {
        this.hasAdmin = hasAdmin;
        return this;
    }

    /**
     * Get hasAdmin
     *
     * @return hasAdmin
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_HAS_ADMIN)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public Boolean getHasAdmin() {
        return hasAdmin;
    }

    @JsonProperty(JSON_PROPERTY_HAS_ADMIN)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setHasAdmin(Boolean hasAdmin) {
        this.hasAdmin = hasAdmin;
    }

    public TravelRuleVASP isNotifiable(Boolean isNotifiable) {
        this.isNotifiable = isNotifiable;
        return this;
    }

    /**
     * Get isNotifiable
     *
     * @return isNotifiable
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_IS_NOTIFIABLE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public Boolean getIsNotifiable() {
        return isNotifiable;
    }

    @JsonProperty(JSON_PROPERTY_IS_NOTIFIABLE)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setIsNotifiable(Boolean isNotifiable) {
        this.isNotifiable = isNotifiable;
    }

    public TravelRuleVASP issuers(TravelRuleIssuers issuers) {
        this.issuers = issuers;
        return this;
    }

    /**
     * Get issuers
     *
     * @return issuers
     */
    @jakarta.annotation.Nonnull
    @JsonProperty(JSON_PROPERTY_ISSUERS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public TravelRuleIssuers getIssuers() {
        return issuers;
    }

    @JsonProperty(JSON_PROPERTY_ISSUERS)
    @JsonInclude(value = JsonInclude.Include.ALWAYS)
    public void setIssuers(TravelRuleIssuers issuers) {
        this.issuers = issuers;
    }

    /** Return true if this TravelRuleVASP object is equal to o. */
    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        TravelRuleVASP travelRuleVASP = (TravelRuleVASP) o;
        return Objects.equals(this.did, travelRuleVASP.did)
                && Objects.equals(this.name, travelRuleVASP.name)
                && Objects.equals(this.verificationStatus, travelRuleVASP.verificationStatus)
                && Objects.equals(this.addressLine1, travelRuleVASP.addressLine1)
                && Objects.equals(this.addressLine2, travelRuleVASP.addressLine2)
                && Objects.equals(this.city, travelRuleVASP.city)
                && Objects.equals(this.country, travelRuleVASP.country)
                && Objects.equals(this.emailDomains, travelRuleVASP.emailDomains)
                && Objects.equals(this.website, travelRuleVASP.website)
                && Objects.equals(this.logo, travelRuleVASP.logo)
                && Objects.equals(this.legalStructure, travelRuleVASP.legalStructure)
                && Objects.equals(this.legalName, travelRuleVASP.legalName)
                && Objects.equals(this.yearFounded, travelRuleVASP.yearFounded)
                && Objects.equals(this.incorporationCountry, travelRuleVASP.incorporationCountry)
                && Objects.equals(this.isRegulated, travelRuleVASP.isRegulated)
                && Objects.equals(this.otherNames, travelRuleVASP.otherNames)
                && Objects.equals(this.identificationType, travelRuleVASP.identificationType)
                && Objects.equals(this.identificationCountry, travelRuleVASP.identificationCountry)
                && Objects.equals(this.businessNumber, travelRuleVASP.businessNumber)
                && Objects.equals(this.regulatoryAuthorities, travelRuleVASP.regulatoryAuthorities)
                && Objects.equals(this.jurisdictions, travelRuleVASP.jurisdictions)
                && Objects.equals(this.street, travelRuleVASP.street)
                && Objects.equals(this.number, travelRuleVASP.number)
                && Objects.equals(this.unit, travelRuleVASP.unit)
                && Objects.equals(this.postCode, travelRuleVASP.postCode)
                && Objects.equals(this.state, travelRuleVASP.state)
                && Objects.equals(this.certificates, travelRuleVASP.certificates)
                && Objects.equals(this.description, travelRuleVASP.description)
                && Objects.equals(this.travelRuleOPENVASP, travelRuleVASP.travelRuleOPENVASP)
                && Objects.equals(this.travelRuleSYGNA, travelRuleVASP.travelRuleSYGNA)
                && Objects.equals(this.travelRuleTRISA, travelRuleVASP.travelRuleTRISA)
                && Objects.equals(this.travelRuleTRLIGHT, travelRuleVASP.travelRuleTRLIGHT)
                && Objects.equals(this.travelRuleEMAIL, travelRuleVASP.travelRuleEMAIL)
                && Objects.equals(this.travelRuleTRP, travelRuleVASP.travelRuleTRP)
                && Objects.equals(this.travelRuleSHYFT, travelRuleVASP.travelRuleSHYFT)
                && Objects.equals(
                        this.travelRuleUSTRAVELRULEWG, travelRuleVASP.travelRuleUSTRAVELRULEWG)
                && Objects.equals(this.createdAt, travelRuleVASP.createdAt)
                && Objects.equals(this.createdBy, travelRuleVASP.createdBy)
                && Objects.equals(this.updatedAt, travelRuleVASP.updatedAt)
                && Objects.equals(this.updatedBy, travelRuleVASP.updatedBy)
                && Objects.equals(this.lastSentDate, travelRuleVASP.lastSentDate)
                && Objects.equals(this.lastReceivedDate, travelRuleVASP.lastReceivedDate)
                && Objects.equals(this.documents, travelRuleVASP.documents)
                && Objects.equals(this.hasAdmin, travelRuleVASP.hasAdmin)
                && Objects.equals(this.isNotifiable, travelRuleVASP.isNotifiable)
                && Objects.equals(this.issuers, travelRuleVASP.issuers);
    }

    @Override
    public int hashCode() {
        return Objects.hash(
                did,
                name,
                verificationStatus,
                addressLine1,
                addressLine2,
                city,
                country,
                emailDomains,
                website,
                logo,
                legalStructure,
                legalName,
                yearFounded,
                incorporationCountry,
                isRegulated,
                otherNames,
                identificationType,
                identificationCountry,
                businessNumber,
                regulatoryAuthorities,
                jurisdictions,
                street,
                number,
                unit,
                postCode,
                state,
                certificates,
                description,
                travelRuleOPENVASP,
                travelRuleSYGNA,
                travelRuleTRISA,
                travelRuleTRLIGHT,
                travelRuleEMAIL,
                travelRuleTRP,
                travelRuleSHYFT,
                travelRuleUSTRAVELRULEWG,
                createdAt,
                createdBy,
                updatedAt,
                updatedBy,
                lastSentDate,
                lastReceivedDate,
                documents,
                hasAdmin,
                isNotifiable,
                issuers);
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class TravelRuleVASP {\n");
        sb.append("    did: ").append(toIndentedString(did)).append("\n");
        sb.append("    name: ").append(toIndentedString(name)).append("\n");
        sb.append("    verificationStatus: ")
                .append(toIndentedString(verificationStatus))
                .append("\n");
        sb.append("    addressLine1: ").append(toIndentedString(addressLine1)).append("\n");
        sb.append("    addressLine2: ").append(toIndentedString(addressLine2)).append("\n");
        sb.append("    city: ").append(toIndentedString(city)).append("\n");
        sb.append("    country: ").append(toIndentedString(country)).append("\n");
        sb.append("    emailDomains: ").append(toIndentedString(emailDomains)).append("\n");
        sb.append("    website: ").append(toIndentedString(website)).append("\n");
        sb.append("    logo: ").append(toIndentedString(logo)).append("\n");
        sb.append("    legalStructure: ").append(toIndentedString(legalStructure)).append("\n");
        sb.append("    legalName: ").append(toIndentedString(legalName)).append("\n");
        sb.append("    yearFounded: ").append(toIndentedString(yearFounded)).append("\n");
        sb.append("    incorporationCountry: ")
                .append(toIndentedString(incorporationCountry))
                .append("\n");
        sb.append("    isRegulated: ").append(toIndentedString(isRegulated)).append("\n");
        sb.append("    otherNames: ").append(toIndentedString(otherNames)).append("\n");
        sb.append("    identificationType: ")
                .append(toIndentedString(identificationType))
                .append("\n");
        sb.append("    identificationCountry: ")
                .append(toIndentedString(identificationCountry))
                .append("\n");
        sb.append("    businessNumber: ").append(toIndentedString(businessNumber)).append("\n");
        sb.append("    regulatoryAuthorities: ")
                .append(toIndentedString(regulatoryAuthorities))
                .append("\n");
        sb.append("    jurisdictions: ").append(toIndentedString(jurisdictions)).append("\n");
        sb.append("    street: ").append(toIndentedString(street)).append("\n");
        sb.append("    number: ").append(toIndentedString(number)).append("\n");
        sb.append("    unit: ").append(toIndentedString(unit)).append("\n");
        sb.append("    postCode: ").append(toIndentedString(postCode)).append("\n");
        sb.append("    state: ").append(toIndentedString(state)).append("\n");
        sb.append("    certificates: ").append(toIndentedString(certificates)).append("\n");
        sb.append("    description: ").append(toIndentedString(description)).append("\n");
        sb.append("    travelRuleOPENVASP: ")
                .append(toIndentedString(travelRuleOPENVASP))
                .append("\n");
        sb.append("    travelRuleSYGNA: ").append(toIndentedString(travelRuleSYGNA)).append("\n");
        sb.append("    travelRuleTRISA: ").append(toIndentedString(travelRuleTRISA)).append("\n");
        sb.append("    travelRuleTRLIGHT: ")
                .append(toIndentedString(travelRuleTRLIGHT))
                .append("\n");
        sb.append("    travelRuleEMAIL: ").append(toIndentedString(travelRuleEMAIL)).append("\n");
        sb.append("    travelRuleTRP: ").append(toIndentedString(travelRuleTRP)).append("\n");
        sb.append("    travelRuleSHYFT: ").append(toIndentedString(travelRuleSHYFT)).append("\n");
        sb.append("    travelRuleUSTRAVELRULEWG: ")
                .append(toIndentedString(travelRuleUSTRAVELRULEWG))
                .append("\n");
        sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
        sb.append("    createdBy: ").append(toIndentedString(createdBy)).append("\n");
        sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
        sb.append("    updatedBy: ").append(toIndentedString(updatedBy)).append("\n");
        sb.append("    lastSentDate: ").append(toIndentedString(lastSentDate)).append("\n");
        sb.append("    lastReceivedDate: ").append(toIndentedString(lastReceivedDate)).append("\n");
        sb.append("    documents: ").append(toIndentedString(documents)).append("\n");
        sb.append("    hasAdmin: ").append(toIndentedString(hasAdmin)).append("\n");
        sb.append("    isNotifiable: ").append(toIndentedString(isNotifiable)).append("\n");
        sb.append("    issuers: ").append(toIndentedString(issuers)).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 `did` to the URL query string
        if (getDid() != null) {
            joiner.add(
                    String.format(
                            "%sdid%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getDid()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `name` to the URL query string
        if (getName() != null) {
            joiner.add(
                    String.format(
                            "%sname%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getName()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `verificationStatus` to the URL query string
        if (getVerificationStatus() != null) {
            joiner.add(
                    String.format(
                            "%sverificationStatus%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getVerificationStatus()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `addressLine1` to the URL query string
        if (getAddressLine1() != null) {
            joiner.add(
                    String.format(
                            "%saddressLine1%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getAddressLine1()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `addressLine2` to the URL query string
        if (getAddressLine2() != null) {
            joiner.add(
                    String.format(
                            "%saddressLine2%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getAddressLine2()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `city` to the URL query string
        if (getCity() != null) {
            joiner.add(
                    String.format(
                            "%scity%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getCity()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `country` to the URL query string
        if (getCountry() != null) {
            joiner.add(
                    String.format(
                            "%scountry%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getCountry()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `emailDomains` to the URL query string
        if (getEmailDomains() != null) {
            joiner.add(
                    String.format(
                            "%semailDomains%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getEmailDomains()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `website` to the URL query string
        if (getWebsite() != null) {
            joiner.add(
                    String.format(
                            "%swebsite%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getWebsite()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `logo` to the URL query string
        if (getLogo() != null) {
            joiner.add(
                    String.format(
                            "%slogo%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getLogo()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `legalStructure` to the URL query string
        if (getLegalStructure() != null) {
            joiner.add(
                    String.format(
                            "%slegalStructure%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getLegalStructure()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `legalName` to the URL query string
        if (getLegalName() != null) {
            joiner.add(
                    String.format(
                            "%slegalName%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getLegalName()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `yearFounded` to the URL query string
        if (getYearFounded() != null) {
            joiner.add(
                    String.format(
                            "%syearFounded%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getYearFounded()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `incorporationCountry` to the URL query string
        if (getIncorporationCountry() != null) {
            joiner.add(
                    String.format(
                            "%sincorporationCountry%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getIncorporationCountry()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `isRegulated` to the URL query string
        if (getIsRegulated() != null) {
            joiner.add(
                    String.format(
                            "%sisRegulated%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getIsRegulated()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `otherNames` to the URL query string
        if (getOtherNames() != null) {
            joiner.add(
                    String.format(
                            "%sotherNames%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getOtherNames()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `identificationType` to the URL query string
        if (getIdentificationType() != null) {
            joiner.add(
                    String.format(
                            "%sidentificationType%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getIdentificationType()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `identificationCountry` to the URL query string
        if (getIdentificationCountry() != null) {
            joiner.add(
                    String.format(
                            "%sidentificationCountry%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getIdentificationCountry()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `businessNumber` to the URL query string
        if (getBusinessNumber() != null) {
            joiner.add(
                    String.format(
                            "%sbusinessNumber%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getBusinessNumber()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `regulatoryAuthorities` to the URL query string
        if (getRegulatoryAuthorities() != null) {
            joiner.add(
                    String.format(
                            "%sregulatoryAuthorities%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getRegulatoryAuthorities()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `jurisdictions` to the URL query string
        if (getJurisdictions() != null) {
            joiner.add(
                    String.format(
                            "%sjurisdictions%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getJurisdictions()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `street` to the URL query string
        if (getStreet() != null) {
            joiner.add(
                    String.format(
                            "%sstreet%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getStreet()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `number` to the URL query string
        if (getNumber() != null) {
            joiner.add(
                    String.format(
                            "%snumber%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getNumber()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `unit` to the URL query string
        if (getUnit() != null) {
            joiner.add(
                    String.format(
                            "%sunit%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getUnit()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `postCode` to the URL query string
        if (getPostCode() != null) {
            joiner.add(
                    String.format(
                            "%spostCode%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getPostCode()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `state` to the URL query string
        if (getState() != null) {
            joiner.add(
                    String.format(
                            "%sstate%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getState()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `certificates` to the URL query string
        if (getCertificates() != null) {
            joiner.add(
                    String.format(
                            "%scertificates%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getCertificates()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `description` to the URL query string
        if (getDescription() != null) {
            joiner.add(
                    String.format(
                            "%sdescription%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getDescription()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_OPENVASP` to the URL query string
        if (getTravelRuleOPENVASP() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_OPENVASP%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleOPENVASP()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_SYGNA` to the URL query string
        if (getTravelRuleSYGNA() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_SYGNA%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleSYGNA()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_TRISA` to the URL query string
        if (getTravelRuleTRISA() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_TRISA%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleTRISA()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_TRLIGHT` to the URL query string
        if (getTravelRuleTRLIGHT() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_TRLIGHT%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleTRLIGHT()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_EMAIL` to the URL query string
        if (getTravelRuleEMAIL() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_EMAIL%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleEMAIL()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_TRP` to the URL query string
        if (getTravelRuleTRP() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_TRP%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleTRP()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_SHYFT` to the URL query string
        if (getTravelRuleSHYFT() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_SHYFT%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleSHYFT()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `travelRule_USTRAVELRULEWG` to the URL query string
        if (getTravelRuleUSTRAVELRULEWG() != null) {
            joiner.add(
                    String.format(
                            "%stravelRule_USTRAVELRULEWG%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getTravelRuleUSTRAVELRULEWG()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `createdAt` to the URL query string
        if (getCreatedAt() != null) {
            joiner.add(
                    String.format(
                            "%screatedAt%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getCreatedAt()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `createdBy` to the URL query string
        if (getCreatedBy() != null) {
            joiner.add(
                    String.format(
                            "%screatedBy%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getCreatedBy()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `updatedAt` to the URL query string
        if (getUpdatedAt() != null) {
            joiner.add(
                    String.format(
                            "%supdatedAt%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getUpdatedAt()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `updatedBy` to the URL query string
        if (getUpdatedBy() != null) {
            joiner.add(
                    String.format(
                            "%supdatedBy%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getUpdatedBy()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `lastSentDate` to the URL query string
        if (getLastSentDate() != null) {
            joiner.add(
                    String.format(
                            "%slastSentDate%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getLastSentDate()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `lastReceivedDate` to the URL query string
        if (getLastReceivedDate() != null) {
            joiner.add(
                    String.format(
                            "%slastReceivedDate%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getLastReceivedDate()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `documents` to the URL query string
        if (getDocuments() != null) {
            joiner.add(
                    String.format(
                            "%sdocuments%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getDocuments()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `hasAdmin` to the URL query string
        if (getHasAdmin() != null) {
            joiner.add(
                    String.format(
                            "%shasAdmin%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(String.valueOf(getHasAdmin()), StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `isNotifiable` to the URL query string
        if (getIsNotifiable() != null) {
            joiner.add(
                    String.format(
                            "%sisNotifiable%s=%s",
                            prefix,
                            suffix,
                            URLEncoder.encode(
                                            String.valueOf(getIsNotifiable()),
                                            StandardCharsets.UTF_8)
                                    .replaceAll("\\+", "%20")));
        }

        // add `issuers` to the URL query string
        if (getIssuers() != null) {
            joiner.add(getIssuers().toUrlQueryString(prefix + "issuers" + suffix));
        }

        return joiner.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy