
com.affinda.api.client.models.Field Maven / Gradle / Ivy
package com.affinda.api.client.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** The Field model. */
@Fluent
public final class Field {
/*
* The label property.
*/
@JsonProperty(value = "label", required = true)
private String label;
/*
* Data point identifier
*/
@JsonProperty(value = "dataPoint", required = true)
private String dataPoint;
/*
* The different data types of annotations
*/
@JsonProperty(value = "fieldType", required = true)
private AnnotationContentType fieldType;
/*
* Data source mapping identifier
*/
@JsonProperty(value = "dataSource")
private String dataSource;
/*
* Defines how the data point is mapped to the data source
*/
@JsonProperty(value = "mapping")
private String mapping;
/*
* The mandatory property.
*/
@JsonProperty(value = "mandatory")
private Boolean mandatory;
/*
* The autoValidationThreshold property.
*/
@JsonProperty(value = "autoValidationThreshold")
private Float autoValidationThreshold;
/*
* The showDropdown property.
*/
@JsonProperty(value = "showDropdown")
private Boolean showDropdown;
/*
* If true, both the value and the label for the enums will appear in the
* dropdown in the validation tool.
*/
@JsonProperty(value = "displayEnumValue")
private Boolean displayEnumValue;
/*
* If True, any dropdown annotations that fail to parse to a value will be
* discarded
*/
@JsonProperty(value = "dropNull")
private Boolean dropNull;
/*
* The enabledChildFields property.
*/
@JsonProperty(value = "enabledChildFields")
private List enabledChildFields;
/*
* The disabledChildFields property.
*/
@JsonProperty(value = "disabledChildFields")
private List disabledChildFields;
/*
* The slug property.
*/
@JsonProperty(value = "slug")
private String slug;
/*
* If true, then the validation tool will show the user the raw text found
* on the page, not the value that has been parsed to a specific type.
*/
@JsonProperty(value = "displayRawText")
private Boolean displayRawText;
/*
* The fields property.
*/
@JsonProperty(value = "fields")
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy