Class CommonMAActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.CommonMAActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CommonMAActivityV2
extends Object
implements Serializable
CommonMAActivityV2
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquireeCusip(String acquireeCusip) acquireeRate(String acquireeRate) acquireeSymbol(String acquireeSymbol) acquirerCusip(String acquirerCusip) acquirerRate(String acquirerRate) acquirerSymbol(String acquirerSymbol) effectiveDate(LocalDate effectiveDate) booleanstatic CommonMAActivityV2Create an instance of CommonMAActivityV2 given an JSON stringCUSIP of the acquireeRate of the acquireeSymbol of the acquireeCUSIP of the acquirerRate of the acquirerSymbol of the acquirerReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.When the merger/acquisition becomes effectiveThe payable dateinthashCode()payableDate(LocalDate payableDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAcquireeCusip(String acquireeCusip) voidsetAcquireeRate(String acquireeRate) voidsetAcquireeSymbol(String acquireeSymbol) voidsetAcquirerCusip(String acquirerCusip) voidsetAcquirerRate(String acquirerRate) voidsetAcquirerSymbol(String acquirerSymbol) voidsetEffectiveDate(LocalDate effectiveDate) voidsetPayableDate(LocalDate payableDate) toJson()Convert an instance of CommonMAActivityV2 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_ACQUIREE_CUSIP
- See Also:
-
SERIALIZED_NAME_ACQUIREE_RATE
- See Also:
-
SERIALIZED_NAME_ACQUIREE_SYMBOL
- See Also:
-
SERIALIZED_NAME_ACQUIRER_CUSIP
- See Also:
-
SERIALIZED_NAME_ACQUIRER_RATE
- See Also:
-
SERIALIZED_NAME_ACQUIRER_SYMBOL
- See Also:
-
SERIALIZED_NAME_EFFECTIVE_DATE
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CommonMAActivityV2
public CommonMAActivityV2()
-
-
Method Details
-
acquireeCusip
-
getAcquireeCusip
CUSIP of the acquiree- Returns:
- acquireeCusip
-
setAcquireeCusip
-
acquireeRate
-
getAcquireeRate
Rate of the acquiree- Returns:
- acquireeRate
-
setAcquireeRate
-
acquireeSymbol
-
getAcquireeSymbol
Symbol of the acquiree- Returns:
- acquireeSymbol
-
setAcquireeSymbol
-
acquirerCusip
-
getAcquirerCusip
CUSIP of the acquirer- Returns:
- acquirerCusip
-
setAcquirerCusip
-
acquirerRate
-
getAcquirerRate
Rate of the acquirer- Returns:
- acquirerRate
-
setAcquirerRate
-
acquirerSymbol
-
getAcquirerSymbol
Symbol of the acquirer- Returns:
- acquirerSymbol
-
setAcquirerSymbol
-
effectiveDate
-
getEffectiveDate
When the merger/acquisition becomes effective- Returns:
- effectiveDate
-
setEffectiveDate
-
payableDate
-
getPayableDate
The payable date- Returns:
- payableDate
-
setPayableDate
-
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 CommonMAActivityV2 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 CommonMAActivityV2
-
fromJson
Create an instance of CommonMAActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommonMAActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to CommonMAActivityV2
-
toJson
Convert an instance of CommonMAActivityV2 to an JSON string- Returns:
- JSON string
-