com.confidentify.client.model.DatasetAll Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of confidentify-client-java Show documentation
Show all versions of confidentify-client-java Show documentation
This project provides a Java client for the Conf·ident·ify APIs.
/*
* 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.0.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.confidentify.client.model.DatasetAllAllOf;
import com.confidentify.client.model.DatasetListItem;
import com.confidentify.client.model.DatasetSchema;
import com.confidentify.client.model.DatasetStats;
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;
/**
* DatasetAll
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-04-14T23:15:31.038649800+02:00[Europe/Paris]")
public class DatasetAll {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_SCHEMA = "schema";
@SerializedName(SERIALIZED_NAME_SCHEMA)
private DatasetSchema schema;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private String id;
public static final String SERIALIZED_NAME_HREF = "href";
@SerializedName(SERIALIZED_NAME_HREF)
private String href;
public static final String SERIALIZED_NAME_STATS = "stats";
@SerializedName(SERIALIZED_NAME_STATS)
private DatasetStats stats;
public DatasetAll name(String name) {
this.name = name;
return this;
}
/**
* The name of the dataset
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The name of the dataset")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public DatasetAll schema(DatasetSchema schema) {
this.schema = schema;
return this;
}
/**
* Get schema
* @return schema
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public DatasetSchema getSchema() {
return schema;
}
public void setSchema(DatasetSchema schema) {
this.schema = schema;
}
public DatasetAll id(String id) {
this.id = id;
return this;
}
/**
* The unique ID of the dataset
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "kFDs14IO313n1l", value = "The unique ID of the dataset")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public DatasetAll href(String href) {
this.href = href;
return this;
}
/**
* The HTTP path to the dataset
* @return href
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "/datasets/kFDs14IO313n1l", value = "The HTTP path to the dataset")
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public DatasetAll stats(DatasetStats stats) {
this.stats = stats;
return this;
}
/**
* Get stats
* @return stats
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public DatasetStats getStats() {
return stats;
}
public void setStats(DatasetStats stats) {
this.stats = stats;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DatasetAll datasetAll = (DatasetAll) o;
return Objects.equals(this.name, datasetAll.name) &&
Objects.equals(this.schema, datasetAll.schema) &&
Objects.equals(this.id, datasetAll.id) &&
Objects.equals(this.href, datasetAll.href) &&
Objects.equals(this.stats, datasetAll.stats);
}
@Override
public int hashCode() {
return Objects.hash(name, schema, id, href, stats);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DatasetAll {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" schema: ").append(toIndentedString(schema)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" href: ").append(toIndentedString(href)).append("\n");
sb.append(" stats: ").append(toIndentedString(stats)).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