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

org.fiware.ngsi.model.NotUpdatedDetailsVO Maven / Gradle / Ivy

There is a newer version: 1.2.11
Show newest version
package org.fiware.ngsi.model;

@jakarta.annotation.Generated("org.openapitools.codegen.languages.MicronautCodegen")
@io.micronaut.core.annotation.Introspected
public class NotUpdatedDetailsVO {

	public static final java.lang.String JSON_PROPERTY_ATTRIBUTE_NAME = "attributeName";
	public static final java.lang.String JSON_PROPERTY_REASON = "reason";

	@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_ATTRIBUTE_NAME)
	@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
	private java.lang.String attributeName;

	@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_REASON)
	@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
	private java.lang.String reason;

	// methods

	@Override
	public boolean equals(Object object) {
		if (object == this) {
			return true;
		}
		if (object == null || getClass() != object.getClass()) {
			return false;
		}
		NotUpdatedDetailsVO other = (NotUpdatedDetailsVO) object;
		return java.util.Objects.equals(attributeName, other.attributeName)
				&& java.util.Objects.equals(reason, other.reason);
	}

	@Override
	public int hashCode() {
		return java.util.Objects.hash(attributeName, reason);
	}

	@Override
	public java.lang.String toString() {
		return new java.lang.StringBuilder()
				.append("NotUpdatedDetailsVO[")
				.append("attributeName=").append(attributeName).append(",")
				.append("reason=").append(reason)
				.append("]")
				.toString();
	}

	// fluent

	public NotUpdatedDetailsVO attributeName(java.lang.String newAttributeName) {
		this.attributeName = newAttributeName;
		return this;
	}

	public NotUpdatedDetailsVO reason(java.lang.String newReason) {
		this.reason = newReason;
		return this;
	}

	// getter/setter

	public java.lang.String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(java.lang.String newAttributeName) {
		this.attributeName = newAttributeName;
	}

	public java.lang.String getReason() {
		return reason;
	}

	public void setReason(java.lang.String newReason) {
		this.reason = newReason;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy