com.github.messenger4j.send.message.quickreply.UserPhoneNumberQuickReply Maven / Gradle / Ivy
// Generated by delombok at Tue May 07 22:31:27 CEST 2019
package com.github.messenger4j.send.message.quickreply;
/**
* @author Joe Tindale
* @since 1.0.0
*/
public class UserPhoneNumberQuickReply extends QuickReply {
private UserPhoneNumberQuickReply() {
super(ContentType.USER_PHONE_NUMBER);
}
public static UserPhoneNumberQuickReply create() {
return new UserPhoneNumberQuickReply();
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "UserPhoneNumberQuickReply(super=" + super.toString() + ")";
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof UserPhoneNumberQuickReply)) return false;
final UserPhoneNumberQuickReply other = (UserPhoneNumberQuickReply) o;
if (!other.canEqual((java.lang.Object) this)) return false;
if (!super.equals(o)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof UserPhoneNumberQuickReply;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int result = super.hashCode();
return result;
}
}