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

com.confidentify.client.model.DatasetStats Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
/*
 * Confidentify API
 * Services that let you build confidence and identify matches in customer data. ## Features overview * Contact data processing services (tagged with `process`) which offer   validation and enrichment backed by inference and knowledge on complex   data types such as names, email addresses, phone numbers.  * Data matching and searching services (tagged with `matching`) that    allow you to identify duplicated data or matches against third party   contact data list.  * Dataset management services (tagged with `dataset`) that allow record storage and retrieval. ## Integrator notes: * Use the `/auth` endpoint to get an access token. Access tokens are temporary, so design the client the be capable of renewing it. * The APIs are rate-limited, so design the client to be capable of retrying with some delay upon HTTP 429 responses. 
 *
 * The version of the OpenAPI document: 1.1.0
 * 
 *
 * 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.confidentify.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * DatasetStats
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-04-21T21:21:06.848810800+02:00[Europe/Paris]")
public class DatasetStats {
  public static final String SERIALIZED_NAME_FILES_RECEIVED = "files_received";
  @SerializedName(SERIALIZED_NAME_FILES_RECEIVED)
  private Integer filesReceived;

  public static final String SERIALIZED_NAME_FILES_PROCESSED = "files_processed";
  @SerializedName(SERIALIZED_NAME_FILES_PROCESSED)
  private Integer filesProcessed;

  public static final String SERIALIZED_NAME_DOCUMENTS_RECEIVED = "documents_received";
  @SerializedName(SERIALIZED_NAME_DOCUMENTS_RECEIVED)
  private Integer documentsReceived;

  public static final String SERIALIZED_NAME_DOCUMENTS_PROCESSED = "documents_processed";
  @SerializedName(SERIALIZED_NAME_DOCUMENTS_PROCESSED)
  private Integer documentsProcessed;

  public static final String SERIALIZED_NAME_RECORDS_INSERTED = "records_inserted";
  @SerializedName(SERIALIZED_NAME_RECORDS_INSERTED)
  private Integer recordsInserted;

  public static final String SERIALIZED_NAME_RECORDS_INDEXED = "records_indexed";
  @SerializedName(SERIALIZED_NAME_RECORDS_INDEXED)
  private Integer recordsIndexed;


  public DatasetStats filesReceived(Integer filesReceived) {
    
    this.filesReceived = filesReceived;
    return this;
  }

   /**
   * The amount of files uploaded and received for which processing has started.
   * @return filesReceived
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "4", value = "The amount of files uploaded and received for which processing has started.")

  public Integer getFilesReceived() {
    return filesReceived;
  }


  public void setFilesReceived(Integer filesReceived) {
    this.filesReceived = filesReceived;
  }


  public DatasetStats filesProcessed(Integer filesProcessed) {
    
    this.filesProcessed = filesProcessed;
    return this;
  }

   /**
   * The amount of files uploaded that has been fully processed.  Note that there may be a delay between submitting files and having them processed. If this number is less than `files_received`, it means that files are currently queued for processing. 
   * @return filesProcessed
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "3", value = "The amount of files uploaded that has been fully processed.  Note that there may be a delay between submitting files and having them processed. If this number is less than `files_received`, it means that files are currently queued for processing. ")

  public Integer getFilesProcessed() {
    return filesProcessed;
  }


  public void setFilesProcessed(Integer filesProcessed) {
    this.filesProcessed = filesProcessed;
  }


  public DatasetStats documentsReceived(Integer documentsReceived) {
    
    this.documentsReceived = documentsReceived;
    return this;
  }

   /**
   * The amount of documents that have been received for which processing has started.
   * @return documentsReceived
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "683", value = "The amount of documents that have been received for which processing has started.")

  public Integer getDocumentsReceived() {
    return documentsReceived;
  }


  public void setDocumentsReceived(Integer documentsReceived) {
    this.documentsReceived = documentsReceived;
  }


  public DatasetStats documentsProcessed(Integer documentsProcessed) {
    
    this.documentsProcessed = documentsProcessed;
    return this;
  }

   /**
   * The amount of documents that has been fully processed.  Note that there may be a delay between submitting documents and having them processed. If this number is less than `documents_received`, it means that documents are currently queued for processing. 
   * @return documentsProcessed
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "529", value = "The amount of documents that has been fully processed.  Note that there may be a delay between submitting documents and having them processed. If this number is less than `documents_received`, it means that documents are currently queued for processing. ")

  public Integer getDocumentsProcessed() {
    return documentsProcessed;
  }


  public void setDocumentsProcessed(Integer documentsProcessed) {
    this.documentsProcessed = documentsProcessed;
  }


  public DatasetStats recordsInserted(Integer recordsInserted) {
    
    this.recordsInserted = recordsInserted;
    return this;
  }

   /**
   * The amount of records that have been inserted into the dataset. 
   * @return recordsInserted
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "4000", value = "The amount of records that have been inserted into the dataset. ")

  public Integer getRecordsInserted() {
    return recordsInserted;
  }


  public void setRecordsInserted(Integer recordsInserted) {
    this.recordsInserted = recordsInserted;
  }


  public DatasetStats recordsIndexed(Integer recordsIndexed) {
    
    this.recordsIndexed = recordsIndexed;
    return this;
  }

   /**
   * The amount of records that have been indexed for matching.  Note that there may be a delay between submitting records and having them indexed. If this number is less than `records_inserted`, it means that records are currently queued for indexing. 
   * @return recordsIndexed
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "2872", value = "The amount of records that have been indexed for matching.  Note that there may be a delay between submitting records and having them indexed. If this number is less than `records_inserted`, it means that records are currently queued for indexing. ")

  public Integer getRecordsIndexed() {
    return recordsIndexed;
  }


  public void setRecordsIndexed(Integer recordsIndexed) {
    this.recordsIndexed = recordsIndexed;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DatasetStats datasetStats = (DatasetStats) o;
    return Objects.equals(this.filesReceived, datasetStats.filesReceived) &&
        Objects.equals(this.filesProcessed, datasetStats.filesProcessed) &&
        Objects.equals(this.documentsReceived, datasetStats.documentsReceived) &&
        Objects.equals(this.documentsProcessed, datasetStats.documentsProcessed) &&
        Objects.equals(this.recordsInserted, datasetStats.recordsInserted) &&
        Objects.equals(this.recordsIndexed, datasetStats.recordsIndexed);
  }

  @Override
  public int hashCode() {
    return Objects.hash(filesReceived, filesProcessed, documentsReceived, documentsProcessed, recordsInserted, recordsIndexed);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DatasetStats {\n");
    sb.append("    filesReceived: ").append(toIndentedString(filesReceived)).append("\n");
    sb.append("    filesProcessed: ").append(toIndentedString(filesProcessed)).append("\n");
    sb.append("    documentsReceived: ").append(toIndentedString(documentsReceived)).append("\n");
    sb.append("    documentsProcessed: ").append(toIndentedString(documentsProcessed)).append("\n");
    sb.append("    recordsInserted: ").append(toIndentedString(recordsInserted)).append("\n");
    sb.append("    recordsIndexed: ").append(toIndentedString(recordsIndexed)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy