All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.fiware.ngsi.model.SubscriptionFragmentVO Maven / Gradle / Ivy
package org.fiware.ngsi.model;
@jakarta.annotation.Generated("org.openapitools.codegen.languages.MicronautCodegen")
@io.micronaut.core.annotation.Introspected
public class SubscriptionFragmentVO {
public static final java.lang.String JSON_PROPERTY_AT_CONTEXT = "@context";
public static final java.lang.String JSON_PROPERTY_ENTITIES = "entities";
public static final java.lang.String JSON_PROPERTY_NAME = "name";
public static final java.lang.String JSON_PROPERTY_DESCRIPTION = "description";
public static final java.lang.String JSON_PROPERTY_WATCHED_ATTRIBUTES = "watchedAttributes";
public static final java.lang.String JSON_PROPERTY_TIME_INTERVAL = "timeInterval";
public static final java.lang.String JSON_PROPERTY_EXPIRES = "expires";
public static final java.lang.String JSON_PROPERTY_IS_ACTIVE = "isActive";
public static final java.lang.String JSON_PROPERTY_THROTTLING = "throttling";
public static final java.lang.String JSON_PROPERTY_Q = "q";
public static final java.lang.String JSON_PROPERTY_GEO_Q = "geoQ";
public static final java.lang.String JSON_PROPERTY_CSF = "csf";
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_AT_CONTEXT)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.Object atContext;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_ENTITIES)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.util.List entities;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_NAME)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.String name;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_DESCRIPTION)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.String description;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_WATCHED_ATTRIBUTES)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.util.Set watchedAttributes;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_TIME_INTERVAL)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.Double timeInterval;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_EXPIRES)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.time.Instant expires;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_IS_ACTIVE)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.Boolean isActive;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_THROTTLING)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.Double throttling;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_Q)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.String q;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_GEO_Q)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private GeoQueryVO geoQ;
@com.fasterxml.jackson.annotation.JsonProperty(JSON_PROPERTY_CSF)
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
private java.lang.String csf;
// methods
@Override
public boolean equals(Object object) {
if (object == this) {
return true;
}
if (object == null || getClass() != object.getClass()) {
return false;
}
SubscriptionFragmentVO other = (SubscriptionFragmentVO) object;
return java.util.Objects.equals(atContext, other.atContext)
&& java.util.Objects.equals(entities, other.entities)
&& java.util.Objects.equals(name, other.name)
&& java.util.Objects.equals(description, other.description)
&& java.util.Objects.equals(watchedAttributes, other.watchedAttributes)
&& java.util.Objects.equals(timeInterval, other.timeInterval)
&& java.util.Objects.equals(expires, other.expires)
&& java.util.Objects.equals(isActive, other.isActive)
&& java.util.Objects.equals(throttling, other.throttling)
&& java.util.Objects.equals(q, other.q)
&& java.util.Objects.equals(geoQ, other.geoQ)
&& java.util.Objects.equals(csf, other.csf);
}
@Override
public int hashCode() {
return java.util.Objects.hash(atContext, entities, name, description, watchedAttributes, timeInterval, expires, isActive, throttling, q, geoQ, csf);
}
@Override
public java.lang.String toString() {
return new java.lang.StringBuilder()
.append("SubscriptionFragmentVO[")
.append("atContext=").append(atContext).append(",")
.append("entities=").append(entities).append(",")
.append("name=").append(name).append(",")
.append("description=").append(description).append(",")
.append("watchedAttributes=").append(watchedAttributes).append(",")
.append("timeInterval=").append(timeInterval).append(",")
.append("expires=").append(expires).append(",")
.append("isActive=").append(isActive).append(",")
.append("throttling=").append(throttling).append(",")
.append("q=").append(q).append(",")
.append("geoQ=").append(geoQ).append(",")
.append("csf=").append(csf)
.append("]")
.toString();
}
// fluent
public SubscriptionFragmentVO atContext(java.lang.Object newAtContext) {
this.atContext = newAtContext;
return this;
}
public SubscriptionFragmentVO entities(java.util.List newEntities) {
this.entities = newEntities;
return this;
}
public SubscriptionFragmentVO addEntitiesItem(EntityInfoVO entitiesItem) {
if (this.entities == null) {
this.entities = new java.util.ArrayList<>();
}
this.entities.add(entitiesItem);
return this;
}
public SubscriptionFragmentVO removeEntitiesItem(EntityInfoVO entitiesItem) {
if (this.entities != null) {
this.entities.remove(entitiesItem);
}
return this;
}
public SubscriptionFragmentVO name(java.lang.String newName) {
this.name = newName;
return this;
}
public SubscriptionFragmentVO description(java.lang.String newDescription) {
this.description = newDescription;
return this;
}
public SubscriptionFragmentVO watchedAttributes(java.util.Set newWatchedAttributes) {
this.watchedAttributes = newWatchedAttributes;
return this;
}
public SubscriptionFragmentVO addWatchedAttributesItem(java.lang.String watchedAttributesItem) {
if (this.watchedAttributes == null) {
this.watchedAttributes = new java.util.LinkedHashSet<>();
}
this.watchedAttributes.add(watchedAttributesItem);
return this;
}
public SubscriptionFragmentVO removeWatchedAttributesItem(java.lang.String watchedAttributesItem) {
if (this.watchedAttributes != null) {
this.watchedAttributes.remove(watchedAttributesItem);
}
return this;
}
public SubscriptionFragmentVO timeInterval(java.lang.Double newTimeInterval) {
this.timeInterval = newTimeInterval;
return this;
}
public SubscriptionFragmentVO expires(java.time.Instant newExpires) {
this.expires = newExpires;
return this;
}
public SubscriptionFragmentVO isActive(java.lang.Boolean newIsActive) {
this.isActive = newIsActive;
return this;
}
public SubscriptionFragmentVO throttling(java.lang.Double newThrottling) {
this.throttling = newThrottling;
return this;
}
public SubscriptionFragmentVO q(java.lang.String newQ) {
this.q = newQ;
return this;
}
public SubscriptionFragmentVO geoQ(GeoQueryVO newGeoQ) {
this.geoQ = newGeoQ;
return this;
}
public SubscriptionFragmentVO csf(java.lang.String newCsf) {
this.csf = newCsf;
return this;
}
// getter/setter
public java.lang.Object getAtContext() {
return atContext;
}
public void setAtContext(java.lang.Object newAtContext) {
this.atContext = newAtContext;
}
public java.util.List getEntities() {
return entities;
}
public void setEntities(java.util.List newEntities) {
this.entities = newEntities;
}
public java.lang.String getName() {
return name;
}
public void setName(java.lang.String newName) {
this.name = newName;
}
public java.lang.String getDescription() {
return description;
}
public void setDescription(java.lang.String newDescription) {
this.description = newDescription;
}
public java.util.Set getWatchedAttributes() {
return watchedAttributes;
}
public void setWatchedAttributes(java.util.Set newWatchedAttributes) {
this.watchedAttributes = newWatchedAttributes;
}
public java.lang.Double getTimeInterval() {
return timeInterval;
}
public void setTimeInterval(java.lang.Double newTimeInterval) {
this.timeInterval = newTimeInterval;
}
public java.time.Instant getExpires() {
return expires;
}
public void setExpires(java.time.Instant newExpires) {
this.expires = newExpires;
}
public java.lang.Boolean getIsActive() {
return isActive;
}
public void setIsActive(java.lang.Boolean newIsActive) {
this.isActive = newIsActive;
}
public java.lang.Double getThrottling() {
return throttling;
}
public void setThrottling(java.lang.Double newThrottling) {
this.throttling = newThrottling;
}
public java.lang.String getQ() {
return q;
}
public void setQ(java.lang.String newQ) {
this.q = newQ;
}
public GeoQueryVO getGeoQ() {
return geoQ;
}
public void setGeoQ(GeoQueryVO newGeoQ) {
this.geoQ = newGeoQ;
}
public java.lang.String getCsf() {
return csf;
}
public void setCsf(java.lang.String newCsf) {
this.csf = newCsf;
}
}