java.lang.Object
markets.alpaca.client.openapi.broker.model.VASP
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.25.0") public class VASP extends Object implements Serializable
Virtual Asset Service Provider returned by the directory search.
See Also:
  • Field Details

  • Constructor Details

    • VASP

      public VASP()
  • Method Details

    • address

      public VASP address(@Nullable String address)
    • getAddress

      @Nullable public String getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(@Nullable String address)
    • city

      public VASP city(@Nullable String city)
    • getCity

      @Nullable public String getCity()
      Get city
      Returns:
      city
    • setCity

      public void setCity(@Nullable String city)
    • country

      public VASP country(@Nullable String country)
    • getCountry

      @Nullable public String getCountry()
      ISO 3166-1 alpha-2 country code for the VASP.
      Returns:
      country
    • setCountry

      public void setCountry(@Nullable String country)
    • did

      public VASP did(@Nullable String did)
    • getDid

      @Nullable public String getDid()
      The W3C Decentralized Identifier (DID) representing the VASP.
      Returns:
      did
    • setDid

      public void setDid(@Nullable String did)
    • emailDomain

      public VASP emailDomain(@Nullable String emailDomain)
    • getEmailDomain

      @Nullable public String getEmailDomain()
      Get emailDomain
      Returns:
      emailDomain
    • setEmailDomain

      public void setEmailDomain(@Nullable String emailDomain)
    • id

      public VASP id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Opaque identifier for the VASP directory record.
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • name

      public VASP name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • postalCode

      public VASP postalCode(@Nullable String postalCode)
    • getPostalCode

      @Nullable public String getPostalCode()
      Get postalCode
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(@Nullable String postalCode)
    • state

      public VASP state(@Nullable String state)
    • getState

      @Nullable public String getState()
      Get state
      Returns:
      state
    • setState

      public void setState(@Nullable String state)
    • website

      public VASP website(@Nullable URI website)
    • getWebsite

      @Nullable public URI getWebsite()
      Get website
      Returns:
      website
    • setWebsite

      public void setWebsite(@Nullable URI website)
    • putAdditionalProperty

      public VASP putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the VASP instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to VASP
    • fromJson

      public static VASP fromJson(String jsonString) throws IOException
      Create an instance of VASP given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of VASP
      Throws:
      IOException - if the JSON string is invalid with respect to VASP
    • toJson

      public String toJson()
      Convert an instance of VASP to an JSON string
      Returns:
      JSON string