com.affinda.api.client.models.DataPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of affinda-api-client Show documentation
Show all versions of affinda-api-client Show documentation
This package contains Java Client Library for the Affinda Resume Parser API. For documentation on how
to use this package, please see https://github.com/affinda/affinda-java
package com.affinda.api.client.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** The DataPoint model. */
@Fluent
public final class DataPoint {
/*
* Uniquely identify a data point.
*/
@JsonProperty(value = "identifier", required = true)
private String identifier;
/*
* Name of the data point.
*/
@JsonProperty(value = "name", required = true)
private String name;
/*
* A camelCase string that will be used as the key in the API response.
*/
@JsonProperty(value = "slug", required = true)
private String slug;
/*
* The description property.
*/
@JsonProperty(value = "description")
private String description;
/*
* The different data types of annotations
*/
@JsonProperty(value = "annotationContentType", required = true)
private AnnotationContentType annotationContentType;
/*
* The organization property.
*/
@JsonProperty(value = "organization", required = true)
private Organization organization;
/*
* Uniquely identify an extractor.
*/
@JsonProperty(value = "extractor", required = true)
private String extractor;
/*
* The multiple property.
*/
@JsonProperty(value = "multiple")
private Boolean multiple;
/*
* The noRect property.
*/
@JsonProperty(value = "noRect")
private Boolean noRect;
/*
* The identifier of the parent data point if applicable.
*/
@JsonProperty(value = "parent")
private String parent;
/*
* The children property.
*/
@JsonProperty(value = "children")
private List children;
/*
* If true, the model will not be used to predict this data point. Instead,
* the user will be able to manually enter the value in the validation
* tool.
*/
@JsonProperty(value = "manualEntry")
private Boolean manualEntry;
/**
* Get the identifier property: Uniquely identify a data point.
*
* @return the identifier value.
*/
public String getIdentifier() {
return this.identifier;
}
/**
* Set the identifier property: Uniquely identify a data point.
*
* @param identifier the identifier value to set.
* @return the DataPoint object itself.
*/
public DataPoint setIdentifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Get the name property: Name of the data point.
*
* @return the name value.
*/
public String getName() {
return this.name;
}
/**
* Set the name property: Name of the data point.
*
* @param name the name value to set.
* @return the DataPoint object itself.
*/
public DataPoint setName(String name) {
this.name = name;
return this;
}
/**
* Get the slug property: A camelCase string that will be used as the key in the API response.
*
* @return the slug value.
*/
public String getSlug() {
return this.slug;
}
/**
* Set the slug property: A camelCase string that will be used as the key in the API response.
*
* @param slug the slug value to set.
* @return the DataPoint object itself.
*/
public DataPoint setSlug(String slug) {
this.slug = slug;
return this;
}
/**
* Get the description property: The description property.
*
* @return the description value.
*/
public String getDescription() {
return this.description;
}
/**
* Set the description property: The description property.
*
* @param description the description value to set.
* @return the DataPoint object itself.
*/
public DataPoint setDescription(String description) {
this.description = description;
return this;
}
/**
* Get the annotationContentType property: The different data types of annotations.
*
* @return the annotationContentType value.
*/
public AnnotationContentType getAnnotationContentType() {
return this.annotationContentType;
}
/**
* Set the annotationContentType property: The different data types of annotations.
*
* @param annotationContentType the annotationContentType value to set.
* @return the DataPoint object itself.
*/
public DataPoint setAnnotationContentType(AnnotationContentType annotationContentType) {
this.annotationContentType = annotationContentType;
return this;
}
/**
* Get the organization property: The organization property.
*
* @return the organization value.
*/
public Organization getOrganization() {
return this.organization;
}
/**
* Set the organization property: The organization property.
*
* @param organization the organization value to set.
* @return the DataPoint object itself.
*/
public DataPoint setOrganization(Organization organization) {
this.organization = organization;
return this;
}
/**
* Get the extractor property: Uniquely identify an extractor.
*
* @return the extractor value.
*/
public String getExtractor() {
return this.extractor;
}
/**
* Set the extractor property: Uniquely identify an extractor.
*
* @param extractor the extractor value to set.
* @return the DataPoint object itself.
*/
public DataPoint setExtractor(String extractor) {
this.extractor = extractor;
return this;
}
/**
* Get the multiple property: The multiple property.
*
* @return the multiple value.
*/
public Boolean isMultiple() {
return this.multiple;
}
/**
* Set the multiple property: The multiple property.
*
* @param multiple the multiple value to set.
* @return the DataPoint object itself.
*/
public DataPoint setMultiple(Boolean multiple) {
this.multiple = multiple;
return this;
}
/**
* Get the noRect property: The noRect property.
*
* @return the noRect value.
*/
public Boolean isNoRect() {
return this.noRect;
}
/**
* Set the noRect property: The noRect property.
*
* @param noRect the noRect value to set.
* @return the DataPoint object itself.
*/
public DataPoint setNoRect(Boolean noRect) {
this.noRect = noRect;
return this;
}
/**
* Get the parent property: The identifier of the parent data point if applicable.
*
* @return the parent value.
*/
public String getParent() {
return this.parent;
}
/**
* Set the parent property: The identifier of the parent data point if applicable.
*
* @param parent the parent value to set.
* @return the DataPoint object itself.
*/
public DataPoint setParent(String parent) {
this.parent = parent;
return this;
}
/**
* Get the children property: The children property.
*
* @return the children value.
*/
public List getChildren() {
return this.children;
}
/**
* Set the children property: The children property.
*
* @param children the children value to set.
* @return the DataPoint object itself.
*/
public DataPoint setChildren(List children) {
this.children = children;
return this;
}
/**
* Get the manualEntry property: If true, the model will not be used to predict this data point. Instead, the user
* will be able to manually enter the value in the validation tool.
*
* @return the manualEntry value.
*/
public Boolean isManualEntry() {
return this.manualEntry;
}
/**
* Set the manualEntry property: If true, the model will not be used to predict this data point. Instead, the user
* will be able to manually enter the value in the validation tool.
*
* @param manualEntry the manualEntry value to set.
* @return the DataPoint object itself.
*/
public DataPoint setManualEntry(Boolean manualEntry) {
this.manualEntry = manualEntry;
return this;
}
}