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

com.stripe.model.EventData Maven / Gradle / Ivy

There is a newer version: 28.2.0
Show newest version
// Generated by delombok at Wed Nov 28 11:15:52 EST 2018
package com.stripe.model;

import java.util.Map;

public class EventData extends StripeObject {
  StripeObject object;
  Map previousAttributes;

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public StripeObject getObject() {
    return this.object;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public Map getPreviousAttributes() {
    return this.previousAttributes;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public void setObject(final StripeObject object) {
    this.object = object;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public void setPreviousAttributes(final Map previousAttributes) {
    this.previousAttributes = previousAttributes;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof EventData)) return false;
    final EventData other = (EventData) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    final java.lang.Object this$object = this.getObject();
    final java.lang.Object other$object = other.getObject();
    if (this$object == null ? other$object != null : !this$object.equals(other$object)) return false;
    final java.lang.Object this$previousAttributes = this.getPreviousAttributes();
    final java.lang.Object other$previousAttributes = other.getPreviousAttributes();
    if (this$previousAttributes == null ? other$previousAttributes != null : !this$previousAttributes.equals(other$previousAttributes)) return false;
    return true;
  }

  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  protected boolean canEqual(final java.lang.Object other) {
    return other instanceof EventData;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  @lombok.Generated
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $object = this.getObject();
    result = result * PRIME + ($object == null ? 43 : $object.hashCode());
    final java.lang.Object $previousAttributes = this.getPreviousAttributes();
    result = result * PRIME + ($previousAttributes == null ? 43 : $previousAttributes.hashCode());
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy