Class BalanceSweepConfigurationsResponse


  • public class BalanceSweepConfigurationsResponse
    extends Object
    BalanceSweepConfigurationsResponse
    • Constructor Detail

      • BalanceSweepConfigurationsResponse

        public BalanceSweepConfigurationsResponse()
    • Method Detail

      • getHasNext

        public Boolean getHasNext()
        Indicates whether there are more items on the next page.
        Returns:
        hasNext
      • setHasNext

        public void setHasNext​(Boolean hasNext)
      • getHasPrevious

        public Boolean getHasPrevious()
        Indicates whether there are more items on the previous page.
        Returns:
        hasPrevious
      • setHasPrevious

        public void setHasPrevious​(Boolean hasPrevious)
      • getSweeps

        public List<SweepConfigurationV2> getSweeps()
        List of sweeps associated with the balance account.
        Returns:
        sweeps
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Throws:
        IOException
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj,
                                              boolean strictValidation)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        strictValidation - reject (new) fields missing from the specifications
        Throws:
        IOException - if the JSON Object is invalid with respect to BalanceSweepConfigurationsResponse
      • fromJson

        public static BalanceSweepConfigurationsResponse fromJson​(String jsonString)
                                                           throws IOException
        Create an instance of BalanceSweepConfigurationsResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of BalanceSweepConfigurationsResponse
        Throws:
        IOException - if the JSON string is invalid with respect to BalanceSweepConfigurationsResponse
      • toJson

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