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

org.oxerr.viagogo.model.response.webhook.Webhooks Maven / Gradle / Ivy

There is a newer version: 6.5.1
Show newest version
package org.oxerr.viagogo.model.response.webhook;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.oxerr.viagogo.model.response.PagedResource;

import io.openapitools.jackson.dataformat.hal.HALLink;
import io.openapitools.jackson.dataformat.hal.annotation.Link;

public class Webhooks extends PagedResource {

	private static final long serialVersionUID = 2023080201L;

	@Link("webhook:create")
	private HALLink createLink;

	public HALLink getCreateLink() {
		return createLink;
	}

	public void setCreateLink(HALLink createLink) {
		this.createLink = createLink;
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (!(obj instanceof Webhooks)) {
			return false;
		}
		Webhooks rhs = (Webhooks) obj;
		return EqualsBuilder.reflectionEquals(this, rhs);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy