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

com.paypal.api.payments.TemplateSettingsMetadata Maven / Gradle / Ivy

There is a newer version: 1.14.0
Show newest version
// Generated by delombok at Tue Jan 31 13:36:37 CST 2017
package com.paypal.api.payments;

import com.paypal.base.rest.PayPalModel;

public class TemplateSettingsMetadata extends PayPalModel {
	/**
	 * Indicates whether this field should be hidden. default is false
	 */
	private Boolean hidden;

	/**
	 * Default Constructor
	 */
	public TemplateSettingsMetadata() {
	}

	/**
	 * Indicates whether this field should be hidden. default is false
	 */
	@java.lang.SuppressWarnings("all")
	public Boolean getHidden() {
		return this.hidden;
	}

	/**
	 * Indicates whether this field should be hidden. default is false
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public TemplateSettingsMetadata setHidden(final Boolean hidden) {
		this.hidden = hidden;
		return this;
	}

	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public boolean equals(final java.lang.Object o) {
		if (o == this) return true;
		if (!(o instanceof TemplateSettingsMetadata)) return false;
		final TemplateSettingsMetadata other = (TemplateSettingsMetadata) o;
		if (!other.canEqual((java.lang.Object) this)) return false;
		if (!super.equals(o)) return false;
		final java.lang.Object this$hidden = this.getHidden();
		final java.lang.Object other$hidden = other.getHidden();
		if (this$hidden == null ? other$hidden != null : !this$hidden.equals(other$hidden)) return false;
		return true;
	}

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

	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public int hashCode() {
		final int PRIME = 59;
		int result = 1;
		result = result * PRIME + super.hashCode();
		final java.lang.Object $hidden = this.getHidden();
		result = result * PRIME + ($hidden == null ? 43 : $hidden.hashCode());
		return result;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy