com.stripe.model.EventRequest Maven / Gradle / Ivy
// Generated by delombok at Wed Nov 28 11:15:52 EST 2018
package com.stripe.model;
public class EventRequest extends StripeObject {
String id;
String idempotencyKey;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getId() {
return this.id;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getIdempotencyKey() {
return this.idempotencyKey;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setId(final String id) {
this.id = id;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setIdempotencyKey(final String idempotencyKey) {
this.idempotencyKey = idempotencyKey;
}
@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 EventRequest)) return false;
final EventRequest other = (EventRequest) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$id = this.getId();
final java.lang.Object other$id = other.getId();
if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
final java.lang.Object this$idempotencyKey = this.getIdempotencyKey();
final java.lang.Object other$idempotencyKey = other.getIdempotencyKey();
if (this$idempotencyKey == null ? other$idempotencyKey != null : !this$idempotencyKey.equals(other$idempotencyKey)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EventRequest;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $id = this.getId();
result = result * PRIME + ($id == null ? 43 : $id.hashCode());
final java.lang.Object $idempotencyKey = this.getIdempotencyKey();
result = result * PRIME + ($idempotencyKey == null ? 43 : $idempotencyKey.hashCode());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy