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

sts.oda.client.model.ScreeningDetailsResponse Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
/*
 * on-demand-api
 * The Sterling On Demand API allows you to integrate background checks into your platform and manage the process from end-to-end.
 *
 * OpenAPI spec version: 2018-05-08T16:44:26.238-07:00
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package sts.oda.client.model;

import java.util.Objects;
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;
import org.threeten.bp.OffsetDateTime;

/**
 * ScreeningDetailsResponse
 */
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-15T10:11:34.999-07:00")
public class ScreeningDetailsResponse {
  @SerializedName("completedAt")
  private OffsetDateTime completedAt = null;

  @SerializedName("disclosureDetails")
  private String disclosureDetails = null;

  @SerializedName("id")
  private String id = null;

  @SerializedName("reason")
  private String reason = null;

  @SerializedName("result")
  private String result = null;

  @SerializedName("resultStatement")
  private String resultStatement = null;

  @SerializedName("status")
  private String status = null;

  @SerializedName("type")
  private String type = null;

  @SerializedName("updatedAt")
  private OffsetDateTime updatedAt = null;

  public ScreeningDetailsResponse completedAt(OffsetDateTime completedAt) {
    this.completedAt = completedAt;
    return this;
  }

   /**
   * Get completedAt
   * @return completedAt
  **/
  @ApiModelProperty(value = "")
  public OffsetDateTime getCompletedAt() {
    return completedAt;
  }

  public void setCompletedAt(OffsetDateTime completedAt) {
    this.completedAt = completedAt;
  }

  public ScreeningDetailsResponse disclosureDetails(String disclosureDetails) {
    this.disclosureDetails = disclosureDetails;
    return this;
  }

   /**
   * Get disclosureDetails
   * @return disclosureDetails
  **/
  @ApiModelProperty(value = "")
  public String getDisclosureDetails() {
    return disclosureDetails;
  }

  public void setDisclosureDetails(String disclosureDetails) {
    this.disclosureDetails = disclosureDetails;
  }

  public ScreeningDetailsResponse id(String id) {
    this.id = id;
    return this;
  }

   /**
   * Get id
   * @return id
  **/
  @ApiModelProperty(value = "")
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public ScreeningDetailsResponse reason(String reason) {
    this.reason = reason;
    return this;
  }

   /**
   * Get reason
   * @return reason
  **/
  @ApiModelProperty(value = "")
  public String getReason() {
    return reason;
  }

  public void setReason(String reason) {
    this.reason = reason;
  }

  public ScreeningDetailsResponse result(String result) {
    this.result = result;
    return this;
  }

   /**
   * Get result
   * @return result
  **/
  @ApiModelProperty(value = "")
  public String getResult() {
    return result;
  }

  public void setResult(String result) {
    this.result = result;
  }

  public ScreeningDetailsResponse resultStatement(String resultStatement) {
    this.resultStatement = resultStatement;
    return this;
  }

   /**
   * Get resultStatement
   * @return resultStatement
  **/
  @ApiModelProperty(value = "")
  public String getResultStatement() {
    return resultStatement;
  }

  public void setResultStatement(String resultStatement) {
    this.resultStatement = resultStatement;
  }

  public ScreeningDetailsResponse status(String status) {
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @ApiModelProperty(value = "")
  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public ScreeningDetailsResponse type(String type) {
    this.type = type;
    return this;
  }

   /**
   * Get type
   * @return type
  **/
  @ApiModelProperty(value = "")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

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

   /**
   * Get updatedAt
   * @return updatedAt
  **/
  @ApiModelProperty(value = "")
  public OffsetDateTime getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(OffsetDateTime updatedAt) {
    this.updatedAt = updatedAt;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ScreeningDetailsResponse screeningDetailsResponse = (ScreeningDetailsResponse) o;
    return Objects.equals(this.completedAt, screeningDetailsResponse.completedAt) &&
        Objects.equals(this.disclosureDetails, screeningDetailsResponse.disclosureDetails) &&
        Objects.equals(this.id, screeningDetailsResponse.id) &&
        Objects.equals(this.reason, screeningDetailsResponse.reason) &&
        Objects.equals(this.result, screeningDetailsResponse.result) &&
        Objects.equals(this.resultStatement, screeningDetailsResponse.resultStatement) &&
        Objects.equals(this.status, screeningDetailsResponse.status) &&
        Objects.equals(this.type, screeningDetailsResponse.type) &&
        Objects.equals(this.updatedAt, screeningDetailsResponse.updatedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(completedAt, disclosureDetails, id, reason, result, resultStatement, status, type, updatedAt);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ScreeningDetailsResponse {\n");
    
    sb.append("    completedAt: ").append(toIndentedString(completedAt)).append("\n");
    sb.append("    disclosureDetails: ").append(toIndentedString(disclosureDetails)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    reason: ").append(toIndentedString(reason)).append("\n");
    sb.append("    result: ").append(toIndentedString(result)).append("\n");
    sb.append("    resultStatement: ").append(toIndentedString(resultStatement)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).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