com.ziqni.admin.sdk.model.ValueLookupResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-admin-sdk Show documentation
Show all versions of ziqni-admin-sdk Show documentation
ZIQNI Admin SDK Java Client
/*
* ZIQNI Admin API
* Ziqni Application Services are used to manage and configure spaces.
*
* The version of the OpenAPI document: 3.0.11
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.ziqni.admin.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* The result of a generic lookup query
*/
@ApiModel(description = "The result of a generic lookup query")
@JsonPropertyOrder({
ValueLookupResult.JSON_PROPERTY_ID,
ValueLookupResult.JSON_PROPERTY_REFERENCE_ID,
ValueLookupResult.JSON_PROPERTY_RELATES_TO_ID,
ValueLookupResult.JSON_PROPERTY_NAME,
ValueLookupResult.JSON_PROPERTY_KEY,
ValueLookupResult.JSON_PROPERTY_DESCRIPTION
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ValueLookupResult {
public static final String JSON_PROPERTY_ID = "id";
private String id;
public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId";
private String referenceId;
public static final String JSON_PROPERTY_RELATES_TO_ID = "relatesToId";
private String relatesToId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_KEY = "key";
private String key;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public ValueLookupResult id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(String id) {
this.id = id;
}
public ValueLookupResult referenceId(String referenceId) {
this.referenceId = referenceId;
return this;
}
/**
* Get referenceId
* @return referenceId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_REFERENCE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReferenceId() {
return referenceId;
}
@JsonProperty(JSON_PROPERTY_REFERENCE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReferenceId(String referenceId) {
this.referenceId = referenceId;
}
public ValueLookupResult relatesToId(String relatesToId) {
this.relatesToId = relatesToId;
return this;
}
/**
* Get relatesToId
* @return relatesToId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_RELATES_TO_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getRelatesToId() {
return relatesToId;
}
@JsonProperty(JSON_PROPERTY_RELATES_TO_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRelatesToId(String relatesToId) {
this.relatesToId = relatesToId;
}
public ValueLookupResult name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) {
this.name = name;
}
public ValueLookupResult key(String key) {
this.key = key;
return this;
}
/**
* Get key
* @return key
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_KEY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getKey() {
return key;
}
@JsonProperty(JSON_PROPERTY_KEY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKey(String key) {
this.key = key;
}
public ValueLookupResult description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
/**
* Return true if this ValueLookupResult object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ValueLookupResult valueLookupResult = (ValueLookupResult) o;
return Objects.equals(this.id, valueLookupResult.id) &&
Objects.equals(this.referenceId, valueLookupResult.referenceId) &&
Objects.equals(this.relatesToId, valueLookupResult.relatesToId) &&
Objects.equals(this.name, valueLookupResult.name) &&
Objects.equals(this.key, valueLookupResult.key) &&
Objects.equals(this.description, valueLookupResult.description);
}
@Override
public int hashCode() {
return Objects.hash(id, referenceId, relatesToId, name, key, description);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ValueLookupResult {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n");
sb.append(" relatesToId: ").append(toIndentedString(relatesToId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" key: ").append(toIndentedString(key)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy