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:
  • Field Details

  • Constructor Details

    • FPSLAnalyticsLoansResponse

      public FPSLAnalyticsLoansResponse()
  • Method Details

    • accountNumber

      public FPSLAnalyticsLoansResponse accountNumber(@Nonnull String accountNumber)
    • getAccountNumber

      @Nonnull public String getAccountNumber()
      Account's number at Alpaca
      Returns:
      accountNumber
    • setAccountNumber

      public void setAccountNumber(@Nonnull String accountNumber)
    • inProgressLendingActivities

      public FPSLAnalyticsLoansResponse inProgressLendingActivities(@Nonnull Long inProgressLendingActivities)
    • getInProgressLendingActivities

      @Nonnull public Long getInProgressLendingActivities()
      The number of FPSL lending activities currently in progress for the account.
      Returns:
      inProgressLendingActivities
    • setInProgressLendingActivities

      public void setInProgressLendingActivities(@Nonnull Long inProgressLendingActivities)
    • interest

      public FPSLAnalyticsLoansResponse interest(@Nullable FPSLInterest interest)
    • getInterest

      @Nullable public FPSLInterest getInterest()
      Get interest
      Returns:
      interest
    • setInterest

      public void setInterest(@Nullable FPSLInterest interest)
    • totalLendingActivities

      public FPSLAnalyticsLoansResponse totalLendingActivities(@Nonnull Long totalLendingActivities)
    • getTotalLendingActivities

      @Nonnull public Long getTotalLendingActivities()
      The total number of FPSL lending activities for the account within the specified date range.
      Returns:
      totalLendingActivities
    • setTotalLendingActivities

      public void setTotalLendingActivities(@Nonnull Long totalLendingActivities)
    • putAdditionalProperty

      public FPSLAnalyticsLoansResponse putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the FPSLAnalyticsLoansResponse instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static FPSLAnalyticsLoansResponse fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of FPSLAnalyticsLoansResponse to an JSON string
      Returns:
      JSON string