Class RightsDistributionActivityV2
java.lang.Object
markets.alpaca.client.openapi.trading.model.RightsDistributionActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class RightsDistributionActivityV2
extends Object
implements Serializable
Rights distribution
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpirationDate(LocalDate expirationDate) static RightsDistributionActivityV2Create an instance of RightsDistributionActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCaId()The unique identifier for this corporate actionThe ex_date for this corporate actionThe expiration date for the rights distributionOptional group ID which can help grouping together related activitiesThe new CUSIPThe new quantityThe new symbolThe payable_date for this corporate actionThe position_date for this corporate actiongetRate()The rate for the rights distributionThe record_date for this corporate actionThe reorg identifier, if present in the source corporate action definitionThe source CUSIPThe source quantityThe source symbolThe date when the activity was bookedinthashCode()payableDate(LocalDate payableDate) positionDate(LocalDate positionDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordDate(LocalDate recordDate) voidvoidvoidsetExpirationDate(LocalDate expirationDate) voidsetGroupId(UUID groupId) voidsetNewCusip(String newCusip) voidvoidsetNewSymbol(String newSymbol) voidsetPayableDate(LocalDate payableDate) voidsetPositionDate(LocalDate positionDate) voidvoidsetRecordDate(LocalDate recordDate) voidsetReorgId(String reorgId) voidsetSourceCusip(String sourceCusip) voidsetSourceQty(String sourceQty) voidsetSourceSymbol(String sourceSymbol) voidsetSystemDate(LocalDate systemDate) sourceCusip(String sourceCusip) sourceSymbol(String sourceSymbol) systemDate(LocalDate systemDate) toJson()Convert an instance of RightsDistributionActivityV2 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_GROUP_ID
- See Also:
-
SERIALIZED_NAME_SYSTEM_DATE
- See Also:
-
SERIALIZED_NAME_CA_ID
- See Also:
-
SERIALIZED_NAME_POSITION_DATE
- See Also:
-
SERIALIZED_NAME_REORG_ID
- See Also:
-
SERIALIZED_NAME_EX_DATE
- See Also:
-
SERIALIZED_NAME_EXPIRATION_DATE
- See Also:
-
SERIALIZED_NAME_NEW_CUSIP
- See Also:
-
SERIALIZED_NAME_NEW_QTY
- See Also:
-
SERIALIZED_NAME_NEW_SYMBOL
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_RATE
- See Also:
-
SERIALIZED_NAME_RECORD_DATE
- See Also:
-
SERIALIZED_NAME_SOURCE_CUSIP
- See Also:
-
SERIALIZED_NAME_SOURCE_QTY
- See Also:
-
SERIALIZED_NAME_SOURCE_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RightsDistributionActivityV2
public RightsDistributionActivityV2()
-
-
Method Details
-
groupId
-
getGroupId
Optional group ID which can help grouping together related activities- Returns:
- groupId
-
setGroupId
-
systemDate
-
getSystemDate
The date when the activity was booked- Returns:
- systemDate
-
setSystemDate
-
caId
-
getCaId
The unique identifier for this corporate action- Returns:
- caId
-
setCaId
-
positionDate
-
getPositionDate
The position_date for this corporate action- Returns:
- positionDate
-
setPositionDate
-
reorgId
-
getReorgId
The reorg identifier, if present in the source corporate action definition- Returns:
- reorgId
-
setReorgId
-
exDate
-
getExDate
The ex_date for this corporate action- Returns:
- exDate
-
setExDate
-
expirationDate
-
getExpirationDate
The expiration date for the rights distribution- Returns:
- expirationDate
-
setExpirationDate
-
newCusip
-
getNewCusip
The new CUSIP- Returns:
- newCusip
-
setNewCusip
-
newQty
-
getNewQty
The new quantity- Returns:
- newQty
-
setNewQty
-
newSymbol
-
getNewSymbol
The new symbol- Returns:
- newSymbol
-
setNewSymbol
-
payableDate
-
getPayableDate
The payable_date for this corporate action- Returns:
- payableDate
-
setPayableDate
-
rate
-
getRate
The rate for the rights distribution- Returns:
- rate
-
setRate
-
recordDate
-
getRecordDate
The record_date for this corporate action- Returns:
- recordDate
-
setRecordDate
-
sourceCusip
-
getSourceCusip
The source CUSIP- Returns:
- sourceCusip
-
setSourceCusip
-
sourceQty
-
getSourceQty
The source quantity- Returns:
- sourceQty
-
setSourceQty
-
sourceSymbol
-
getSourceSymbol
The source symbol- Returns:
- sourceSymbol
-
setSourceSymbol
-
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 RightsDistributionActivityV2 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 RightsDistributionActivityV2
-
fromJson
Create an instance of RightsDistributionActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RightsDistributionActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to RightsDistributionActivityV2
-
toJson
Convert an instance of RightsDistributionActivityV2 to an JSON string- Returns:
- JSON string
-