Class DisclosureContextAnnotation
java.lang.Object
markets.alpaca.client.openapi.broker.model.DisclosureContextAnnotation
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class DisclosureContextAnnotation
extends Object
implements Serializable
DisclosureContextAnnotation
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies the type of disclosure annotation.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompanyCity(String companyCity) companyComplianceEmail(String companyComplianceEmail) companyCountry(String companyCountry) companyName(String companyName) companyState(String companyState) companyStreetAddress(String companyStreetAddress) contextType(DisclosureContextAnnotation.ContextTypeEnum contextType) booleanfamilyName(String familyName) static DisclosureContextAnnotationCreate an instance of DisclosureContextAnnotation given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Required for FINRA affiliations and controlled firms.Required for FINRA affiliations and controlled firms.Required for FINRA affiliations and controlled firms.Required for FINRA affiliations and controlled firms.Required if and only if `company_country` is `USA`.Required for FINRA affiliations and controlled firms.Specifies the type of disclosure annotation.Required for immediate family members of politically exposed persons.Required for immediate family members of politically exposed persons.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompanyCity(String companyCity) voidsetCompanyComplianceEmail(String companyComplianceEmail) voidsetCompanyCountry(String companyCountry) voidsetCompanyName(String companyName) voidsetCompanyState(String companyState) voidsetCompanyStreetAddress(String companyStreetAddress) voidvoidsetFamilyName(String familyName) voidsetGivenName(String givenName) toJson()Convert an instance of DisclosureContextAnnotation 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_COMPANY_CITY
- See Also:
-
SERIALIZED_NAME_COMPANY_COMPLIANCE_EMAIL
- See Also:
-
SERIALIZED_NAME_COMPANY_COUNTRY
- See Also:
-
SERIALIZED_NAME_COMPANY_NAME
- See Also:
-
SERIALIZED_NAME_COMPANY_STATE
- See Also:
-
SERIALIZED_NAME_COMPANY_STREET_ADDRESS
- See Also:
-
SERIALIZED_NAME_CONTEXT_TYPE
- See Also:
-
SERIALIZED_NAME_FAMILY_NAME
- See Also:
-
SERIALIZED_NAME_GIVEN_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DisclosureContextAnnotation
public DisclosureContextAnnotation()
-
-
Method Details
-
companyCity
-
getCompanyCity
Required for FINRA affiliations and controlled firms.- Returns:
- companyCity
-
setCompanyCity
-
companyComplianceEmail
-
getCompanyComplianceEmail
Required for FINRA affiliations and controlled firms.- Returns:
- companyComplianceEmail
-
setCompanyComplianceEmail
-
companyCountry
-
getCompanyCountry
Required for FINRA affiliations and controlled firms.- Returns:
- companyCountry
-
setCompanyCountry
-
companyName
-
getCompanyName
Required for FINRA affiliations and controlled firms.- Returns:
- companyName
-
setCompanyName
-
companyState
-
getCompanyState
Required if and only if `company_country` is `USA`.- Returns:
- companyState
-
setCompanyState
-
companyStreetAddress
-
getCompanyStreetAddress
Required for FINRA affiliations and controlled firms.- Returns:
- companyStreetAddress
-
setCompanyStreetAddress
-
contextType
public DisclosureContextAnnotation contextType(@Nonnull DisclosureContextAnnotation.ContextTypeEnum contextType) -
getContextType
Specifies the type of disclosure annotation. Valid types are FINRA affiliations, for users affiliated with or employed by a FINRA member firm, a Stock Exchange Member, FINRA, Registered Investment Advisor, or a Municipal Securities Broker/Dealer; Company control relationships, for senior executives, and 10% or greater shareholders, of a publicly traded company; and immediate family members of politically exposed individuals.- Returns:
- contextType
-
setContextType
-
familyName
-
getFamilyName
Required for immediate family members of politically exposed persons.- Returns:
- familyName
-
setFamilyName
-
givenName
-
getGivenName
Required for immediate family members of politically exposed persons.- Returns:
- givenName
-
setGivenName
-
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 DisclosureContextAnnotation 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 DisclosureContextAnnotation
-
fromJson
Create an instance of DisclosureContextAnnotation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DisclosureContextAnnotation
- Throws:
IOException- if the JSON string is invalid with respect to DisclosureContextAnnotation
-
toJson
Convert an instance of DisclosureContextAnnotation to an JSON string- Returns:
- JSON string
-