Class FPSLTier
java.lang.Object
markets.alpaca.client.openapi.broker.model.FPSLTier
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class FPSLTier
extends Object
implements Serializable
FPSLTier
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) customerSplit(BigDecimal customerSplit) booleanstatic FPSLTierCreate an instance of FPSLTier given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The timestamp the FPSL tier was created, in RFC 3339 format.Percentage of the customer split represented as a value between 0 and 1.00.getId()The unique identifier of the FPSL tierThe market of the FPSL tierPercentage of the partner split represented as a value between 0 and 1.00.The name of the FPSL tierThe timestamp of the last update to the FPSL tier, in RFC 3339 format.inthashCode()partnerSplit(BigDecimal partnerSplit) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetCustomerSplit(BigDecimal customerSplit) voidvoidvoidsetPartnerSplit(BigDecimal partnerSplit) voidsetTierName(String tierName) voidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of FPSLTier to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_CUSTOMER_SPLIT
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_MARKET
- See Also:
-
SERIALIZED_NAME_PARTNER_SPLIT
- See Also:
-
SERIALIZED_NAME_TIER_NAME
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FPSLTier
public FPSLTier()
-
-
Method Details
-
createdAt
-
getCreatedAt
The timestamp the FPSL tier was created, in RFC 3339 format.- Returns:
- createdAt
-
setCreatedAt
-
customerSplit
-
getCustomerSplit
Percentage of the customer split represented as a value between 0 and 1.00. Max 2 decimal places are allowed.- Returns:
- customerSplit
-
setCustomerSplit
-
id
-
getId
The unique identifier of the FPSL tier- Returns:
- id
-
setId
-
market
-
getMarket
The market of the FPSL tier- Returns:
- market
-
setMarket
-
partnerSplit
-
getPartnerSplit
Percentage of the partner split represented as a value between 0 and 1.00. Max 2 decimal places are allowed.- Returns:
- partnerSplit
-
setPartnerSplit
-
tierName
-
getTierName
The name of the FPSL tier- Returns:
- tierName
-
setTierName
-
updatedAt
-
getUpdatedAt
The timestamp of the last update to the FPSL tier, in RFC 3339 format.- Returns:
- updatedAt
-
setUpdatedAt
-
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 FPSLTier 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 FPSLTier
-
fromJson
Create an instance of FPSLTier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FPSLTier
- Throws:
IOException- if the JSON string is invalid with respect to FPSLTier
-
toJson
Convert an instance of FPSLTier to an JSON string- Returns:
- JSON string
-