Class FPSLAnalyticsLoansResponse
java.lang.Object
markets.alpaca.client.openapi.broker.model.FPSLAnalyticsLoansResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class FPSLAnalyticsLoansResponse
extends Object
implements Serializable
Aggregated FPSL interest and loan-activity counts for one account over a date range.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) booleanstatic FPSLAnalyticsLoansResponseCreate an instance of FPSLAnalyticsLoansResponse given an JSON stringAccount's number at AlpacaReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The number of FPSL lending activities currently in progress for the account.Get interestThe total number of FPSL lending activities for the account within the specified date range.inthashCode()inProgressLendingActivities(Long inProgressLendingActivities) interest(FPSLInterest interest) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountNumber(String accountNumber) voidsetInProgressLendingActivities(Long inProgressLendingActivities) voidsetInterest(FPSLInterest interest) voidsetTotalLendingActivities(Long totalLendingActivities) toJson()Convert an instance of FPSLAnalyticsLoansResponse to an JSON stringtoString()totalLendingActivities(Long totalLendingActivities) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_IN_PROGRESS_LENDING_ACTIVITIES
- See Also:
-
SERIALIZED_NAME_INTEREST
- See Also:
-
SERIALIZED_NAME_TOTAL_LENDING_ACTIVITIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FPSLAnalyticsLoansResponse
public FPSLAnalyticsLoansResponse()
-
-
Method Details
-
accountNumber
-
getAccountNumber
Account's number at Alpaca- Returns:
- accountNumber
-
setAccountNumber
-
inProgressLendingActivities
public FPSLAnalyticsLoansResponse inProgressLendingActivities(@Nonnull Long inProgressLendingActivities) -
getInProgressLendingActivities
The number of FPSL lending activities currently in progress for the account.- Returns:
- inProgressLendingActivities
-
setInProgressLendingActivities
-
interest
-
getInterest
Get interest- Returns:
- interest
-
setInterest
-
totalLendingActivities
-
getTotalLendingActivities
The total number of FPSL lending activities for the account within the specified date range.- Returns:
- totalLendingActivities
-
setTotalLendingActivities
-
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 FPSLAnalyticsLoansResponse 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 FPSLAnalyticsLoansResponse
-
fromJson
Create an instance of FPSLAnalyticsLoansResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FPSLAnalyticsLoansResponse
- Throws:
IOException- if the JSON string is invalid with respect to FPSLAnalyticsLoansResponse
-
toJson
Convert an instance of FPSLAnalyticsLoansResponse to an JSON string- Returns:
- JSON string
-