package com.airlock.iam.techclientreg.infrastructure.transfer.response;

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

public class JwkSetData {
   private List<JwkData> keys;

   @SuppressFBWarnings(justification = "generated code")
   public List<JwkData> getKeys() {
      return this.keys;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setKeys(List<JwkData> keys) {
      this.keys = keys;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof JwkSetData other)) {
         return false;
      } else {
         if (!other.canEqual(this)) {
            return false;
         }

         Object this$keys = this.keys;
         Object other$keys = other.keys;
         return this$keys == null ? other$keys == null : this$keys.equals(other$keys);
      }
   }

   @SuppressFBWarnings(justification = "generated code")
   protected boolean canEqual(Object other) {
      return other instanceof JwkSetData;
   }

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

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "JwkSetData(keys=" + this.getKeys() + ")";
   }

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

   @SuppressFBWarnings(justification = "generated code")
   public JwkSetData(List<JwkData> keys) {
      this.keys = keys;
   }
}
