com.github.messenger4j.messengerprofile.targetaudience.NoneTargetAudience Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messenger4j Show documentation
Show all versions of messenger4j Show documentation
A Java library for building Chatbots on the Facebook Messenger Platform - easy and fast
The newest version!
// Generated by delombok at Tue May 07 22:31:27 CEST 2019
package com.github.messenger4j.messengerprofile.targetaudience;
/**
* @author Max Grabenhorst
* @since 1.0.0
*/
public final class NoneTargetAudience extends TargetAudience {
private NoneTargetAudience() {
super(Type.NONE);
}
public static NoneTargetAudience create() {
return new NoneTargetAudience();
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "NoneTargetAudience(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 NoneTargetAudience)) return false;
final NoneTargetAudience other = (NoneTargetAudience) 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 NoneTargetAudience;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int result = super.hashCode();
return result;
}
}