Class VASP
java.lang.Object
markets.alpaca.client.openapi.trading.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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemailDomain(String emailDomain) booleanstatic VASPCreate an instance of VASP given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get addressgetCity()Get cityISO 3166-1 alpha-2 country code for the VASP.getDid()The W3C Decentralized Identifier (DID) representing the VASP.Get emailDomaingetId()Opaque identifier for the VASP directory record.getName()Get nameGet postalCodegetState()Get stateGet websiteinthashCode()postalCode(String postalCode) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddress(String address) voidvoidsetCountry(String country) voidvoidsetEmailDomain(String emailDomain) voidvoidvoidsetPostalCode(String postalCode) voidvoidsetWebsite(URI website) toJson()Convert an instance of VASP to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ADDRESS
- See Also:
-
SERIALIZED_NAME_CITY
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_DID
- See Also:
-
SERIALIZED_NAME_EMAIL_DOMAIN
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_POSTAL_CODE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_WEBSITE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VASP
public VASP()
-
-
Method Details
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
country
-
getCountry
ISO 3166-1 alpha-2 country code for the VASP.- Returns:
- country
-
setCountry
-
did
-
getDid
The W3C Decentralized Identifier (DID) representing the VASP.- Returns:
- did
-
setDid
-
emailDomain
-
getEmailDomain
Get emailDomain- Returns:
- emailDomain
-
setEmailDomain
-
id
-
getId
Opaque identifier for the VASP directory record.- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
postalCode
-
getPostalCode
Get postalCode- Returns:
- postalCode
-
setPostalCode
-
state
-
getState
Get state- Returns:
- state
-
setState
-
website
-
getWebsite
Get website- Returns:
- website
-
setWebsite
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the VASP instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of VASP to an JSON string- Returns:
- JSON string
-