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

org.opendatadiscovery.client.model.DataEntityAllOf Maven / Gradle / Ivy

Go to download

Ingestion Contract WebFlux Client defines OpenDataDiscovery APIs and models for Spring WebClient

There is a newer version: 0.1.41
Show newest version
/*
 * OpenDataDiscovery API Contract
 * OpenDataDiscovery API Contract
 *
 * The version of the OpenAPI document: 0.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.opendatadiscovery.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
import org.opendatadiscovery.client.model.DataConsumer;
import org.opendatadiscovery.client.model.DataEntityGroup;
import org.opendatadiscovery.client.model.DataEntityType;
import org.opendatadiscovery.client.model.DataInput;
import org.opendatadiscovery.client.model.DataQualityTest;
import org.opendatadiscovery.client.model.DataQualityTestRun;
import org.opendatadiscovery.client.model.DataSet;
import org.opendatadiscovery.client.model.DataTransformer;
import org.opendatadiscovery.client.model.DataTransformerRun;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

/**
 * DataEntityAllOf
 */
@JsonPropertyOrder({
  DataEntityAllOf.JSON_PROPERTY_UPDATED_AT,
  DataEntityAllOf.JSON_PROPERTY_CREATED_AT,
  DataEntityAllOf.JSON_PROPERTY_TYPE,
  DataEntityAllOf.JSON_PROPERTY_DATASET,
  DataEntityAllOf.JSON_PROPERTY_DATA_TRANSFORMER,
  DataEntityAllOf.JSON_PROPERTY_DATA_TRANSFORMER_RUN,
  DataEntityAllOf.JSON_PROPERTY_DATA_QUALITY_TEST,
  DataEntityAllOf.JSON_PROPERTY_DATA_QUALITY_TEST_RUN,
  DataEntityAllOf.JSON_PROPERTY_DATA_INPUT,
  DataEntityAllOf.JSON_PROPERTY_DATA_CONSUMER,
  DataEntityAllOf.JSON_PROPERTY_DATA_ENTITY_GROUP
})
@JsonTypeName("DataEntity_allOf")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-11-03T09:54:52.207338Z[Etc/UTC]")
public class DataEntityAllOf {
  public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
  private OffsetDateTime updatedAt;

  public static final String JSON_PROPERTY_CREATED_AT = "created_at";
  private OffsetDateTime createdAt;

  public static final String JSON_PROPERTY_TYPE = "type";
  private DataEntityType type;

  public static final String JSON_PROPERTY_DATASET = "dataset";
  private DataSet dataset;

  public static final String JSON_PROPERTY_DATA_TRANSFORMER = "data_transformer";
  private DataTransformer dataTransformer;

  public static final String JSON_PROPERTY_DATA_TRANSFORMER_RUN = "data_transformer_run";
  private DataTransformerRun dataTransformerRun;

  public static final String JSON_PROPERTY_DATA_QUALITY_TEST = "data_quality_test";
  private DataQualityTest dataQualityTest;

  public static final String JSON_PROPERTY_DATA_QUALITY_TEST_RUN = "data_quality_test_run";
  private DataQualityTestRun dataQualityTestRun;

  public static final String JSON_PROPERTY_DATA_INPUT = "data_input";
  private DataInput dataInput;

  public static final String JSON_PROPERTY_DATA_CONSUMER = "data_consumer";
  private DataConsumer dataConsumer;

  public static final String JSON_PROPERTY_DATA_ENTITY_GROUP = "data_entity_group";
  private DataEntityGroup dataEntityGroup;


  public DataEntityAllOf updatedAt(OffsetDateTime updatedAt) {
    
    this.updatedAt = updatedAt;
    return this;
  }

   /**
   * Get updatedAt
   * @return updatedAt
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_UPDATED_AT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public OffsetDateTime getUpdatedAt() {
    return updatedAt;
  }


  @JsonProperty(JSON_PROPERTY_UPDATED_AT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setUpdatedAt(OffsetDateTime updatedAt) {
    this.updatedAt = updatedAt;
  }


  public DataEntityAllOf createdAt(OffsetDateTime createdAt) {
    
    this.createdAt = createdAt;
    return this;
  }

   /**
   * Get createdAt
   * @return createdAt
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_CREATED_AT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public OffsetDateTime getCreatedAt() {
    return createdAt;
  }


  @JsonProperty(JSON_PROPERTY_CREATED_AT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCreatedAt(OffsetDateTime createdAt) {
    this.createdAt = createdAt;
  }


  public DataEntityAllOf type(DataEntityType type) {
    
    this.type = type;
    return this;
  }

   /**
   * Get type
   * @return type
  **/
  @ApiModelProperty(required = true, value = "")
  @JsonProperty(JSON_PROPERTY_TYPE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)

  public DataEntityType getType() {
    return type;
  }


  @JsonProperty(JSON_PROPERTY_TYPE)
  @JsonInclude(value = JsonInclude.Include.ALWAYS)
  public void setType(DataEntityType type) {
    this.type = type;
  }


  public DataEntityAllOf dataset(DataSet dataset) {
    
    this.dataset = dataset;
    return this;
  }

   /**
   * Get dataset
   * @return dataset
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATASET)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataSet getDataset() {
    return dataset;
  }


  @JsonProperty(JSON_PROPERTY_DATASET)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataset(DataSet dataset) {
    this.dataset = dataset;
  }


  public DataEntityAllOf dataTransformer(DataTransformer dataTransformer) {
    
    this.dataTransformer = dataTransformer;
    return this;
  }

   /**
   * Get dataTransformer
   * @return dataTransformer
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_TRANSFORMER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataTransformer getDataTransformer() {
    return dataTransformer;
  }


  @JsonProperty(JSON_PROPERTY_DATA_TRANSFORMER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataTransformer(DataTransformer dataTransformer) {
    this.dataTransformer = dataTransformer;
  }


  public DataEntityAllOf dataTransformerRun(DataTransformerRun dataTransformerRun) {
    
    this.dataTransformerRun = dataTransformerRun;
    return this;
  }

   /**
   * Get dataTransformerRun
   * @return dataTransformerRun
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_TRANSFORMER_RUN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataTransformerRun getDataTransformerRun() {
    return dataTransformerRun;
  }


  @JsonProperty(JSON_PROPERTY_DATA_TRANSFORMER_RUN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataTransformerRun(DataTransformerRun dataTransformerRun) {
    this.dataTransformerRun = dataTransformerRun;
  }


  public DataEntityAllOf dataQualityTest(DataQualityTest dataQualityTest) {
    
    this.dataQualityTest = dataQualityTest;
    return this;
  }

   /**
   * Get dataQualityTest
   * @return dataQualityTest
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_QUALITY_TEST)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataQualityTest getDataQualityTest() {
    return dataQualityTest;
  }


  @JsonProperty(JSON_PROPERTY_DATA_QUALITY_TEST)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataQualityTest(DataQualityTest dataQualityTest) {
    this.dataQualityTest = dataQualityTest;
  }


  public DataEntityAllOf dataQualityTestRun(DataQualityTestRun dataQualityTestRun) {
    
    this.dataQualityTestRun = dataQualityTestRun;
    return this;
  }

   /**
   * Get dataQualityTestRun
   * @return dataQualityTestRun
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_QUALITY_TEST_RUN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataQualityTestRun getDataQualityTestRun() {
    return dataQualityTestRun;
  }


  @JsonProperty(JSON_PROPERTY_DATA_QUALITY_TEST_RUN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataQualityTestRun(DataQualityTestRun dataQualityTestRun) {
    this.dataQualityTestRun = dataQualityTestRun;
  }


  public DataEntityAllOf dataInput(DataInput dataInput) {
    
    this.dataInput = dataInput;
    return this;
  }

   /**
   * Get dataInput
   * @return dataInput
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_INPUT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataInput getDataInput() {
    return dataInput;
  }


  @JsonProperty(JSON_PROPERTY_DATA_INPUT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataInput(DataInput dataInput) {
    this.dataInput = dataInput;
  }


  public DataEntityAllOf dataConsumer(DataConsumer dataConsumer) {
    
    this.dataConsumer = dataConsumer;
    return this;
  }

   /**
   * Get dataConsumer
   * @return dataConsumer
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_CONSUMER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataConsumer getDataConsumer() {
    return dataConsumer;
  }


  @JsonProperty(JSON_PROPERTY_DATA_CONSUMER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataConsumer(DataConsumer dataConsumer) {
    this.dataConsumer = dataConsumer;
  }


  public DataEntityAllOf dataEntityGroup(DataEntityGroup dataEntityGroup) {
    
    this.dataEntityGroup = dataEntityGroup;
    return this;
  }

   /**
   * Get dataEntityGroup
   * @return dataEntityGroup
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DATA_ENTITY_GROUP)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public DataEntityGroup getDataEntityGroup() {
    return dataEntityGroup;
  }


  @JsonProperty(JSON_PROPERTY_DATA_ENTITY_GROUP)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDataEntityGroup(DataEntityGroup dataEntityGroup) {
    this.dataEntityGroup = dataEntityGroup;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DataEntityAllOf dataEntityAllOf = (DataEntityAllOf) o;
    return Objects.equals(this.updatedAt, dataEntityAllOf.updatedAt) &&
        Objects.equals(this.createdAt, dataEntityAllOf.createdAt) &&
        Objects.equals(this.type, dataEntityAllOf.type) &&
        Objects.equals(this.dataset, dataEntityAllOf.dataset) &&
        Objects.equals(this.dataTransformer, dataEntityAllOf.dataTransformer) &&
        Objects.equals(this.dataTransformerRun, dataEntityAllOf.dataTransformerRun) &&
        Objects.equals(this.dataQualityTest, dataEntityAllOf.dataQualityTest) &&
        Objects.equals(this.dataQualityTestRun, dataEntityAllOf.dataQualityTestRun) &&
        Objects.equals(this.dataInput, dataEntityAllOf.dataInput) &&
        Objects.equals(this.dataConsumer, dataEntityAllOf.dataConsumer) &&
        Objects.equals(this.dataEntityGroup, dataEntityAllOf.dataEntityGroup);
  }

  @Override
  public int hashCode() {
    return Objects.hash(updatedAt, createdAt, type, dataset, dataTransformer, dataTransformerRun, dataQualityTest, dataQualityTestRun, dataInput, dataConsumer, dataEntityGroup);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DataEntityAllOf {\n");
    sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    dataset: ").append(toIndentedString(dataset)).append("\n");
    sb.append("    dataTransformer: ").append(toIndentedString(dataTransformer)).append("\n");
    sb.append("    dataTransformerRun: ").append(toIndentedString(dataTransformerRun)).append("\n");
    sb.append("    dataQualityTest: ").append(toIndentedString(dataQualityTest)).append("\n");
    sb.append("    dataQualityTestRun: ").append(toIndentedString(dataQualityTestRun)).append("\n");
    sb.append("    dataInput: ").append(toIndentedString(dataInput)).append("\n");
    sb.append("    dataConsumer: ").append(toIndentedString(dataConsumer)).append("\n");
    sb.append("    dataEntityGroup: ").append(toIndentedString(dataEntityGroup)).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(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy