
com.affinda.api.client.models.AnnotationBatchUpdate Maven / Gradle / Ivy
package com.affinda.api.client.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** The AnnotationBatchUpdate model. */
@Fluent
public final class AnnotationBatchUpdate {
/*
* Annotation's ID
*/
@JsonProperty(value = "id", required = true)
private int id;
/*
* x/y coordinates for the rectangles containing the data. An annotation
* can be contained within multiple rectangles.
*/
@JsonProperty(value = "rectangles")
private List rectangles;
/*
* Unique identifier for the document
*/
@JsonProperty(value = "document")
private String document;
/*
* The page number within the document, starting from 0.
*/
@JsonProperty(value = "pageIndex")
private Integer pageIndex;
/*
* Raw data extracted from the before any post-processing
*/
@JsonProperty(value = "raw")
private String raw;
/*
* Anything
*/
@JsonProperty(value = "parsed")
private Object parsed;
/*
* Indicates whether the data has been validated by a human
*/
@JsonProperty(value = "isClientVerified")
private Boolean isClientVerified;
/*
* Data point's identifier
*/
@JsonProperty(value = "dataPoint")
private String dataPoint;
/*
* The parent annotation's ID
*/
@JsonProperty(value = "parent")
private Integer parent;
/*
* The validation results created, changed or deleted as a result of
* updating the annotation.
*/
@JsonProperty(value = "validationResults")
private List validationResults;
/**
* Get the id property: Annotation's ID.
*
* @return the id value.
*/
public int getId() {
return this.id;
}
/**
* Set the id property: Annotation's ID.
*
* @param id the id value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setId(int id) {
this.id = id;
return this;
}
/**
* Get the rectangles property: x/y coordinates for the rectangles containing the data. An annotation can be
* contained within multiple rectangles.
*
* @return the rectangles value.
*/
public List getRectangles() {
return this.rectangles;
}
/**
* Set the rectangles property: x/y coordinates for the rectangles containing the data. An annotation can be
* contained within multiple rectangles.
*
* @param rectangles the rectangles value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setRectangles(List rectangles) {
this.rectangles = rectangles;
return this;
}
/**
* Get the document property: Unique identifier for the document.
*
* @return the document value.
*/
public String getDocument() {
return this.document;
}
/**
* Set the document property: Unique identifier for the document.
*
* @param document the document value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setDocument(String document) {
this.document = document;
return this;
}
/**
* Get the pageIndex property: The page number within the document, starting from 0.
*
* @return the pageIndex value.
*/
public Integer getPageIndex() {
return this.pageIndex;
}
/**
* Set the pageIndex property: The page number within the document, starting from 0.
*
* @param pageIndex the pageIndex value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setPageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
return this;
}
/**
* Get the raw property: Raw data extracted from the before any post-processing.
*
* @return the raw value.
*/
public String getRaw() {
return this.raw;
}
/**
* Set the raw property: Raw data extracted from the before any post-processing.
*
* @param raw the raw value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setRaw(String raw) {
this.raw = raw;
return this;
}
/**
* Get the parsed property: Anything.
*
* @return the parsed value.
*/
public Object getParsed() {
return this.parsed;
}
/**
* Set the parsed property: Anything.
*
* @param parsed the parsed value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setParsed(Object parsed) {
this.parsed = parsed;
return this;
}
/**
* Get the isClientVerified property: Indicates whether the data has been validated by a human.
*
* @return the isClientVerified value.
*/
public Boolean isClientVerified() {
return this.isClientVerified;
}
/**
* Set the isClientVerified property: Indicates whether the data has been validated by a human.
*
* @param isClientVerified the isClientVerified value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setIsClientVerified(Boolean isClientVerified) {
this.isClientVerified = isClientVerified;
return this;
}
/**
* Get the dataPoint property: Data point's identifier.
*
* @return the dataPoint value.
*/
public String getDataPoint() {
return this.dataPoint;
}
/**
* Set the dataPoint property: Data point's identifier.
*
* @param dataPoint the dataPoint value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setDataPoint(String dataPoint) {
this.dataPoint = dataPoint;
return this;
}
/**
* Get the parent property: The parent annotation's ID.
*
* @return the parent value.
*/
public Integer getParent() {
return this.parent;
}
/**
* Set the parent property: The parent annotation's ID.
*
* @param parent the parent value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setParent(Integer parent) {
this.parent = parent;
return this;
}
/**
* Get the validationResults property: The validation results created, changed or deleted as a result of updating
* the annotation.
*
* @return the validationResults value.
*/
public List getValidationResults() {
return this.validationResults;
}
/**
* Set the validationResults property: The validation results created, changed or deleted as a result of updating
* the annotation.
*
* @param validationResults the validationResults value to set.
* @return the AnnotationBatchUpdate object itself.
*/
public AnnotationBatchUpdate setValidationResults(List validationResults) {
this.validationResults = validationResults;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy