Class CommonSDIVActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.CommonSDIVActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CommonSDIVActivityV2
extends Object
implements Serializable
CommonSDIVActivityV2
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CommonSDIVActivityV2Create an instance of CommonSDIVActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCusip()The CUSIP of the security involved with the activityThe ex_date for this corporate actionThe payable_date for this corporate actiongetRate()Dividend rate per shareThe record_date for this corporate actionThe symbol of the security involved with the activityinthashCode()payableDate(LocalDate payableDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordDate(LocalDate recordDate) voidvoidvoidsetPayableDate(LocalDate payableDate) voidvoidsetRecordDate(LocalDate recordDate) voidtoJson()Convert an instance of CommonSDIVActivityV2 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_CUSIP
- See Also:
-
SERIALIZED_NAME_EX_DATE
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_RATE
- See Also:
-
SERIALIZED_NAME_RECORD_DATE
- See Also:
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CommonSDIVActivityV2
public CommonSDIVActivityV2()
-
-
Method Details
-
cusip
-
getCusip
The CUSIP of the security involved with the activity- Returns:
- cusip
-
setCusip
-
exDate
-
getExDate
The ex_date for this corporate action- Returns:
- exDate
-
setExDate
-
payableDate
-
getPayableDate
The payable_date for this corporate action- Returns:
- payableDate
-
setPayableDate
-
rate
-
getRate
Dividend rate per share- Returns:
- rate
-
setRate
-
recordDate
-
getRecordDate
The record_date for this corporate action- Returns:
- recordDate
-
setRecordDate
-
symbol
-
getSymbol
The symbol of the security involved with the activity- Returns:
- symbol
-
setSymbol
-
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 CommonSDIVActivityV2 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 CommonSDIVActivityV2
-
fromJson
Create an instance of CommonSDIVActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommonSDIVActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to CommonSDIVActivityV2
-
toJson
Convert an instance of CommonSDIVActivityV2 to an JSON string- Returns:
- JSON string
-