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

org.finra.herd.sdk.model.SearchIndexValidation Maven / Gradle / Ivy

There is a newer version: 0.160.0
Show newest version
/*
 * herd-external
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * OpenAPI spec version: 0.125.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 org.finra.herd.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.finra.herd.sdk.model.SearchIndexKey;
import org.joda.time.DateTime;

/**
 * SearchIndexValidation
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class SearchIndexValidation {
  @JsonProperty("searchIndexKey")
  private SearchIndexKey searchIndexKey = null;

  @JsonProperty("validateStartTime")
  private DateTime validateStartTime = null;

  @JsonProperty("sizeCheckPassed")
  private Boolean sizeCheckPassed = null;

  @JsonProperty("spotCheckRandomPassed")
  private Boolean spotCheckRandomPassed = null;

  @JsonProperty("spotCheckMostRecentPassed")
  private Boolean spotCheckMostRecentPassed = null;

  public SearchIndexValidation searchIndexKey(SearchIndexKey searchIndexKey) {
    this.searchIndexKey = searchIndexKey;
    return this;
  }

   /**
   * Get searchIndexKey
   * @return searchIndexKey
  **/
  @ApiModelProperty(required = true, value = "")
  public SearchIndexKey getSearchIndexKey() {
    return searchIndexKey;
  }

  public void setSearchIndexKey(SearchIndexKey searchIndexKey) {
    this.searchIndexKey = searchIndexKey;
  }

  public SearchIndexValidation validateStartTime(DateTime validateStartTime) {
    this.validateStartTime = validateStartTime;
    return this;
  }

   /**
   * The timestamp of when the index validation started
   * @return validateStartTime
  **/
  @ApiModelProperty(value = "The timestamp of when the index validation started")
  public DateTime getValidateStartTime() {
    return validateStartTime;
  }

  public void setValidateStartTime(DateTime validateStartTime) {
    this.validateStartTime = validateStartTime;
  }

  public SearchIndexValidation sizeCheckPassed(Boolean sizeCheckPassed) {
    this.sizeCheckPassed = sizeCheckPassed;
    return this;
  }

   /**
   * A Y/N flag that shows whether the total number of business object definitions in the database is the same as the total number                   in the index                
   * @return sizeCheckPassed
  **/
  @ApiModelProperty(value = "A Y/N flag that shows whether the total number of business object definitions in the database is the same as the total number                   in the index                ")
  public Boolean getSizeCheckPassed() {
    return sizeCheckPassed;
  }

  public void setSizeCheckPassed(Boolean sizeCheckPassed) {
    this.sizeCheckPassed = sizeCheckPassed;
  }

  public SearchIndexValidation spotCheckRandomPassed(Boolean spotCheckRandomPassed) {
    this.spotCheckRandomPassed = spotCheckRandomPassed;
    return this;
  }

   /**
   * A Y/N flag that shows whether the spot check that verifies a percentage of random business object definitions in the database                   are the same as the indexed documents                
   * @return spotCheckRandomPassed
  **/
  @ApiModelProperty(value = "A Y/N flag that shows whether the spot check that verifies a percentage of random business object definitions in the database                   are the same as the indexed documents                ")
  public Boolean getSpotCheckRandomPassed() {
    return spotCheckRandomPassed;
  }

  public void setSpotCheckRandomPassed(Boolean spotCheckRandomPassed) {
    this.spotCheckRandomPassed = spotCheckRandomPassed;
  }

  public SearchIndexValidation spotCheckMostRecentPassed(Boolean spotCheckMostRecentPassed) {
    this.spotCheckMostRecentPassed = spotCheckMostRecentPassed;
    return this;
  }

   /**
   * A Y/N flag that shows whether the spot check that verifies the most recently modified business object definitions in the                   database are the same as the indexed documents                
   * @return spotCheckMostRecentPassed
  **/
  @ApiModelProperty(value = "A Y/N flag that shows whether the spot check that verifies the most recently modified business object definitions in the                   database are the same as the indexed documents                ")
  public Boolean getSpotCheckMostRecentPassed() {
    return spotCheckMostRecentPassed;
  }

  public void setSpotCheckMostRecentPassed(Boolean spotCheckMostRecentPassed) {
    this.spotCheckMostRecentPassed = spotCheckMostRecentPassed;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SearchIndexValidation searchIndexValidation = (SearchIndexValidation) o;
    return Objects.equals(this.searchIndexKey, searchIndexValidation.searchIndexKey) &&
        Objects.equals(this.validateStartTime, searchIndexValidation.validateStartTime) &&
        Objects.equals(this.sizeCheckPassed, searchIndexValidation.sizeCheckPassed) &&
        Objects.equals(this.spotCheckRandomPassed, searchIndexValidation.spotCheckRandomPassed) &&
        Objects.equals(this.spotCheckMostRecentPassed, searchIndexValidation.spotCheckMostRecentPassed);
  }

  @Override
  public int hashCode() {
    return Objects.hash(searchIndexKey, validateStartTime, sizeCheckPassed, spotCheckRandomPassed, spotCheckMostRecentPassed);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SearchIndexValidation {\n");
    
    sb.append("    searchIndexKey: ").append(toIndentedString(searchIndexKey)).append("\n");
    sb.append("    validateStartTime: ").append(toIndentedString(validateStartTime)).append("\n");
    sb.append("    sizeCheckPassed: ").append(toIndentedString(sizeCheckPassed)).append("\n");
    sb.append("    spotCheckRandomPassed: ").append(toIndentedString(spotCheckRandomPassed)).append("\n");
    sb.append("    spotCheckMostRecentPassed: ").append(toIndentedString(spotCheckMostRecentPassed)).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 - 2024 Weber Informatics LLC | Privacy Policy