/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * 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.openapitools.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;
import java.util.ArrayList;
import java.util.List;
import org.openapitools.client.model.ActionStatus;

/**
 * PDFDocumentResponseDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-13T10:03:17.753Z[GMT]")
public class PDFDocumentResponseDto {
  public static final String SERIALIZED_NAME_ACTION_STATUS = "actionStatus";
  @SerializedName(SERIALIZED_NAME_ACTION_STATUS)
  private ActionStatus actionStatus;

  public static final String SERIALIZED_NAME_LIST_PDF_FILE_PATHS = "listPdfFilePaths";
  @SerializedName(SERIALIZED_NAME_LIST_PDF_FILE_PATHS)
  private List<String> listPdfFilePaths = null;

  public static final String SERIALIZED_NAME_PDF_FILE_PATH = "pdfFilePath";
  @SerializedName(SERIALIZED_NAME_PDF_FILE_PATH)
  private String pdfFilePath;

  public static final String SERIALIZED_NAME_PDF_FILE = "pdfFile";
  @SerializedName(SERIALIZED_NAME_PDF_FILE)
  private List<byte[]> pdfFile = null;

  public static final String SERIALIZED_NAME_PDF_FILES = "pdfFiles";
  @SerializedName(SERIALIZED_NAME_PDF_FILES)
  private List<List<byte[]>> pdfFiles = null;


  public PDFDocumentResponseDto actionStatus(ActionStatus actionStatus) {
    
    this.actionStatus = actionStatus;
    return this;
  }

   /**
   * Get actionStatus
   * @return actionStatus
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public ActionStatus getActionStatus() {
    return actionStatus;
  }



  public void setActionStatus(ActionStatus actionStatus) {
    this.actionStatus = actionStatus;
  }


  public PDFDocumentResponseDto listPdfFilePaths(List<String> listPdfFilePaths) {
    
    this.listPdfFilePaths = listPdfFilePaths;
    return this;
  }

  public PDFDocumentResponseDto addListPdfFilePathsItem(String listPdfFilePathsItem) {
    if (this.listPdfFilePaths == null) {
      this.listPdfFilePaths = new ArrayList<String>();
    }
    this.listPdfFilePaths.add(listPdfFilePathsItem);
    return this;
  }

   /**
   * Get listPdfFilePaths
   * @return listPdfFilePaths
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public List<String> getListPdfFilePaths() {
    return listPdfFilePaths;
  }



  public void setListPdfFilePaths(List<String> listPdfFilePaths) {
    this.listPdfFilePaths = listPdfFilePaths;
  }


  public PDFDocumentResponseDto pdfFilePath(String pdfFilePath) {
    
    this.pdfFilePath = pdfFilePath;
    return this;
  }

   /**
   * Get pdfFilePath
   * @return pdfFilePath
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getPdfFilePath() {
    return pdfFilePath;
  }



  public void setPdfFilePath(String pdfFilePath) {
    this.pdfFilePath = pdfFilePath;
  }


  public PDFDocumentResponseDto pdfFile(List<byte[]> pdfFile) {
    
    this.pdfFile = pdfFile;
    return this;
  }

  public PDFDocumentResponseDto addPdfFileItem(byte[] pdfFileItem) {
    if (this.pdfFile == null) {
      this.pdfFile = new ArrayList<byte[]>();
    }
    this.pdfFile.add(pdfFileItem);
    return this;
  }

   /**
   * Get pdfFile
   * @return pdfFile
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public List<byte[]> getPdfFile() {
    return pdfFile;
  }



  public void setPdfFile(List<byte[]> pdfFile) {
    this.pdfFile = pdfFile;
  }


  public PDFDocumentResponseDto pdfFiles(List<List<byte[]>> pdfFiles) {
    
    this.pdfFiles = pdfFiles;
    return this;
  }

  public PDFDocumentResponseDto addPdfFilesItem(List<byte[]> pdfFilesItem) {
    if (this.pdfFiles == null) {
      this.pdfFiles = new ArrayList<List<byte[]>>();
    }
    this.pdfFiles.add(pdfFilesItem);
    return this;
  }

   /**
   * Get pdfFiles
   * @return pdfFiles
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public List<List<byte[]>> getPdfFiles() {
    return pdfFiles;
  }



  public void setPdfFiles(List<List<byte[]>> pdfFiles) {
    this.pdfFiles = pdfFiles;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PDFDocumentResponseDto pdFDocumentResponseDto = (PDFDocumentResponseDto) o;
    return Objects.equals(this.actionStatus, pdFDocumentResponseDto.actionStatus) &&
        Objects.equals(this.listPdfFilePaths, pdFDocumentResponseDto.listPdfFilePaths) &&
        Objects.equals(this.pdfFilePath, pdFDocumentResponseDto.pdfFilePath) &&
        Objects.equals(this.pdfFile, pdFDocumentResponseDto.pdfFile) &&
        Objects.equals(this.pdfFiles, pdFDocumentResponseDto.pdfFiles);
  }

  @Override
  public int hashCode() {
    return Objects.hash(actionStatus, listPdfFilePaths, pdfFilePath, pdfFile, pdfFiles);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PDFDocumentResponseDto {\n");
    sb.append("    actionStatus: ").append(toIndentedString(actionStatus)).append("\n");
    sb.append("    listPdfFilePaths: ").append(toIndentedString(listPdfFilePaths)).append("\n");
    sb.append("    pdfFilePath: ").append(toIndentedString(pdfFilePath)).append("\n");
    sb.append("    pdfFile: ").append(toIndentedString(pdfFile)).append("\n");
    sb.append("    pdfFiles: ").append(toIndentedString(pdfFiles)).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    ");
  }

}

