![JAR search and dependency download from the Maven repository](/logo.png)
net.leanix.api.models.Series Maven / Gradle / Ivy
/*
* Pathfinder
* Core application for storage and analysis of IT landscape data
*
* OpenAPI spec version: 5.0.813
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package net.leanix.api.models;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import net.leanix.api.models.TagsRule;
/**
* Series
*/
public class Series {
@JsonProperty("title")
private String title = null;
@JsonProperty("measurement")
private String measurement = null;
@JsonProperty("fieldName")
private String fieldName = null;
@JsonProperty("type")
private String type = null;
@JsonProperty("tagsRule")
private TagsRule tagsRule = null;
@JsonProperty("aggregationFunction")
private String aggregationFunction = null;
@JsonProperty("grouping")
private String grouping = null;
@JsonProperty("color")
private String color = null;
@JsonProperty("unit")
private String unit = null;
@JsonProperty("inventoryLink")
private Object inventoryLink = null;
public Series title(String title) {
this.title = title;
return this;
}
/**
* Get title
* @return title
**/
@ApiModelProperty(example = "null", value = "")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Series measurement(String measurement) {
this.measurement = measurement;
return this;
}
/**
* Get measurement
* @return measurement
**/
@ApiModelProperty(example = "null", value = "")
public String getMeasurement() {
return measurement;
}
public void setMeasurement(String measurement) {
this.measurement = measurement;
}
public Series fieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
/**
* Get fieldName
* @return fieldName
**/
@ApiModelProperty(example = "null", value = "")
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public Series type(String type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(example = "null", value = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Series tagsRule(TagsRule tagsRule) {
this.tagsRule = tagsRule;
return this;
}
/**
* Get tagsRule
* @return tagsRule
**/
@ApiModelProperty(example = "null", value = "")
public TagsRule getTagsRule() {
return tagsRule;
}
public void setTagsRule(TagsRule tagsRule) {
this.tagsRule = tagsRule;
}
public Series aggregationFunction(String aggregationFunction) {
this.aggregationFunction = aggregationFunction;
return this;
}
/**
* Get aggregationFunction
* @return aggregationFunction
**/
@ApiModelProperty(example = "null", value = "")
public String getAggregationFunction() {
return aggregationFunction;
}
public void setAggregationFunction(String aggregationFunction) {
this.aggregationFunction = aggregationFunction;
}
public Series grouping(String grouping) {
this.grouping = grouping;
return this;
}
/**
* Get grouping
* @return grouping
**/
@ApiModelProperty(example = "null", value = "")
public String getGrouping() {
return grouping;
}
public void setGrouping(String grouping) {
this.grouping = grouping;
}
public Series color(String color) {
this.color = color;
return this;
}
/**
* Get color
* @return color
**/
@ApiModelProperty(example = "null", value = "")
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public Series unit(String unit) {
this.unit = unit;
return this;
}
/**
* Get unit
* @return unit
**/
@ApiModelProperty(example = "null", value = "")
public String getUnit() {
return unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public Series inventoryLink(Object inventoryLink) {
this.inventoryLink = inventoryLink;
return this;
}
/**
* Get inventoryLink
* @return inventoryLink
**/
@ApiModelProperty(example = "null", value = "")
public Object getInventoryLink() {
return inventoryLink;
}
public void setInventoryLink(Object inventoryLink) {
this.inventoryLink = inventoryLink;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Series series = (Series) o;
return Objects.equals(this.title, series.title) &&
Objects.equals(this.measurement, series.measurement) &&
Objects.equals(this.fieldName, series.fieldName) &&
Objects.equals(this.type, series.type) &&
Objects.equals(this.tagsRule, series.tagsRule) &&
Objects.equals(this.aggregationFunction, series.aggregationFunction) &&
Objects.equals(this.grouping, series.grouping) &&
Objects.equals(this.color, series.color) &&
Objects.equals(this.unit, series.unit) &&
Objects.equals(this.inventoryLink, series.inventoryLink);
}
@Override
public int hashCode() {
return Objects.hash(title, measurement, fieldName, type, tagsRule, aggregationFunction, grouping, color, unit, inventoryLink);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Series {\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" measurement: ").append(toIndentedString(measurement)).append("\n");
sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" tagsRule: ").append(toIndentedString(tagsRule)).append("\n");
sb.append(" aggregationFunction: ").append(toIndentedString(aggregationFunction)).append("\n");
sb.append(" grouping: ").append(toIndentedString(grouping)).append("\n");
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" unit: ").append(toIndentedString(unit)).append("\n");
sb.append(" inventoryLink: ").append(toIndentedString(inventoryLink)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy