com.ziqni.admin.sdk.model.DataSetsValue 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 java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* DataSetsValue
*/
@JsonPropertyOrder({
DataSetsValue.JSON_PROPERTY_LABEL,
DataSetsValue.JSON_PROPERTY_LABELS,
DataSetsValue.JSON_PROPERTY_DATA
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DataSetsValue {
public static final String JSON_PROPERTY_LABEL = "label";
private String label;
public static final String JSON_PROPERTY_LABELS = "labels";
private String labels;
public static final String JSON_PROPERTY_DATA = "data";
private List data = new ArrayList<>();
public DataSetsValue label(String label) {
this.label = label;
return this;
}
/**
* Label of the data set
* @return label
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "Label of the data set")
@JsonProperty(JSON_PROPERTY_LABEL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getLabel() {
return label;
}
@JsonProperty(JSON_PROPERTY_LABEL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLabel(String label) {
this.label = label;
}
public DataSetsValue labels(String labels) {
this.labels = labels;
return this;
}
/**
* Labels to reference data sets
* @return labels
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "Labels to reference data sets")
@JsonProperty(JSON_PROPERTY_LABELS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getLabels() {
return labels;
}
@JsonProperty(JSON_PROPERTY_LABELS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLabels(String labels) {
this.labels = labels;
}
public DataSetsValue data(List data) {
this.data = data;
return this;
}
public DataSetsValue addDataItem(String dataItem) {
this.data.add(dataItem);
return this;
}
/**
* The actual data points for the data set
* @return data
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "The actual data points for the data set")
@JsonProperty(JSON_PROPERTY_DATA)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getData() {
return data;
}
@JsonProperty(JSON_PROPERTY_DATA)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setData(List data) {
this.data = data;
}
/**
* Return true if this DataSetsValue object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DataSetsValue dataSetsValue = (DataSetsValue) o;
return Objects.equals(this.label, dataSetsValue.label) &&
Objects.equals(this.labels, dataSetsValue.labels) &&
Objects.equals(this.data, dataSetsValue.data);
}
@Override
public int hashCode() {
return Objects.hash(label, labels, data);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DataSetsValue {\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" labels: ").append(toIndentedString(labels)).append("\n");
sb.append(" data: ").append(toIndentedString(data)).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