All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yodlee.api.model.Field Maven / Gradle / Ivy

There is a newer version: 1.1.33
Show newest version
/**
 * Copyright (c) 2019 Yodlee, Inc. All Rights Reserved.
 *
 * Licensed under the MIT License. See LICENSE file in the project root for license information.
 */
package com.yodlee.api.model;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.hibernate.validator.constraints.NotEmpty;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.yodlee.api.model.enums.FieldType;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"id", "name", "maxLength", "minLength", "type", "isValueProvided", "value", "isOptional",
		"valueEditable", "option", "prefix", "suffix", "validation"})
public class Field extends AbstractModelComponent {

	@ApiModelProperty(value = "Identifier for the field."//
			+ "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @NotEmpty(message = "{providerAccounts.param.field.id.required}") @JsonProperty("id") private String id; @ApiModelProperty(readOnly = true, value = "Name of the field."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("name") private String name; @ApiModelProperty(readOnly = true, value = "The maximum length of the login form field."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("maxLength") private Long maxLength; @ApiModelProperty(readOnly = true, value = "The minimum length of the login form field."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("minLength") private Long minLength; @ApiModelProperty(readOnly = true, value = "This indicates the display type of the field. For example, text box, image, etc. "// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
"// + "Applicable Values
"// ) @JsonProperty("type") private FieldType type; @ApiModelProperty(readOnly = true, value = "Indicates that the answer to the security question already exists in the Yodlee system." + "Persuading the user to provide the answer to the security question again during the edit-credential flow can be avoided.
" + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts?include=questions
  • "// + "
  • GET providerAccounts/{providerAccountId}? include=questions
  • "// + "
") @JsonProperty("isValueProvided") private Boolean isValueProvided; @ApiModelProperty(value = "Value expected from the user for the field. This will be blank and is expected to be filled and sent back when submitting the login or MFA information."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("value") private String value; @ApiModelProperty(readOnly = true, value = "Indicates if a field is an optional field or a mandatory field."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("isOptional") private Boolean isOptional; @ApiModelProperty(readOnly = true, value = "Indicates whether the field is editable or not."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("valueEditable") private String valueEditable; @ApiModelProperty(readOnly = true, value = "Provides the different values that are available for the user to choose. This field is applicable for drop-down or radio field types."// + "

"// + "Endpoints:"// + "
    "// + "
  • GET providerAccounts/{providerAccountId}
  • "// + "
  • GET providers/{providerId}
  • "// + "
") @JsonProperty("option") private List




© 2015 - 2025 Weber Informatics LLC | Privacy Policy