content: /*
   * Configuration API
   *
   * The version of the OpenAPI document: 2
   *
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  
  package com.adyen.model.balanceplatform;
  
  import com.fasterxml.jackson.annotation.JsonCreator;
  import com.fasterxml.jackson.annotation.JsonValue;
  import java.util.*;
  
  /**
   * The type of transfer to which the limit applies. Possible values: * **instant**: the limit
   * applies to transfers with an **instant** priority. * **all**: the limit applies to all transfers,
   * regardless of priority.
   */
  public enum TransferType {
    INSTANT("instant"),
  
    ALL("all");
  
    private String value;
  
    TransferType(String value) {
      this.value = value;
    }
  
    @JsonValue
    public String getValue() {
      return value;
    }
  
    @Override
    public String toString() {
      return String.valueOf(value);
    }
  
    @JsonCreator
    public static TransferType fromValue(String value) {
      for (TransferType b : TransferType.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }
  }
  