package com.airlock.iam.login.app.misc.cronto.application;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.List;

public final class CrontoSignResponseData {
   private int returnCode;
   private String message;
   private List<CrontoSignTransactionData> transactionList;

   CrontoSignResponseData(int returnCode) {
      this(returnCode, null);
   }

   CrontoSignResponseData(int returnCode, String message) {
      this(returnCode, message, null);
   }

   @SuppressFBWarnings(justification = "generated code")
   public int getReturnCode() {
      return this.returnCode;
   }

   @SuppressFBWarnings(justification = "generated code")
   public String getMessage() {
      return this.message;
   }

   @SuppressFBWarnings(justification = "generated code")
   public List<CrontoSignTransactionData> getTransactionList() {
      return this.transactionList;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setReturnCode(int returnCode) {
      this.returnCode = returnCode;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setMessage(String message) {
      this.message = message;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setTransactionList(List<CrontoSignTransactionData> transactionList) {
      this.transactionList = transactionList;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof CrontoSignResponseData other)) {
         return false;
      } else if (this.returnCode != other.returnCode) {
         return false;
      } else {
         Object this$message = this.message;
         Object other$message = other.message;
         if (this$message == null ? other$message == null : this$message.equals(other$message)) {
            Object this$transactionList = this.transactionList;
            Object other$transactionList = other.transactionList;
            return this$transactionList == null ? other$transactionList == null : this$transactionList.equals(other$transactionList);
         } else {
            return false;
         }
      }
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      result = result * 59 + this.returnCode;
      Object $message = this.message;
      result = result * 59 + ($message == null ? 43 : $message.hashCode());
      Object $transactionList = this.transactionList;
      return result * 59 + ($transactionList == null ? 43 : $transactionList.hashCode());
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "CrontoSignResponseData(returnCode="
         + this.getReturnCode()
         + ", message="
         + this.getMessage()
         + ", transactionList="
         + this.getTransactionList()
         + ")";
   }

   @SuppressFBWarnings(justification = "generated code")
   public CrontoSignResponseData() {
   }

   @SuppressFBWarnings(justification = "generated code")
   public CrontoSignResponseData(int returnCode, String message, List<CrontoSignTransactionData> transactionList) {
      this.returnCode = returnCode;
      this.message = message;
      this.transactionList = transactionList;
   }
}
