com.seeq.model.FormulaLogEntry Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 65.1.3-v202408082312
*
*
* 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 com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.seeq.model.FormulaLogEntryDetails;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
* The detailed Formula log entries which occurred at this token
*/
@Schema(description = "The detailed Formula log entries which occurred at this token")
public class FormulaLogEntry {
@JsonProperty("logDetails")
private List logDetails = new ArrayList();
@JsonProperty("logTypeCount")
private Integer logTypeCount = null;
public FormulaLogEntry logDetails(List logDetails) {
this.logDetails = logDetails;
return this;
}
public FormulaLogEntry addLogDetailsItem(FormulaLogEntryDetails logDetailsItem) {
if (this.logDetails == null) {
this.logDetails = new ArrayList();
}
this.logDetails.add(logDetailsItem);
return this;
}
/**
* Get logDetails
* @return logDetails
**/
@Schema(description = "")
public List getLogDetails() {
return logDetails;
}
public void setLogDetails(List logDetails) {
this.logDetails = logDetails;
}
public FormulaLogEntry logTypeCount(Integer logTypeCount) {
this.logTypeCount = logTypeCount;
return this;
}
/**
* Get logTypeCount
* @return logTypeCount
**/
@Schema(description = "")
public Integer getLogTypeCount() {
return logTypeCount;
}
public void setLogTypeCount(Integer logTypeCount) {
this.logTypeCount = logTypeCount;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FormulaLogEntry formulaLogEntry = (FormulaLogEntry) o;
return Objects.equals(this.logDetails, formulaLogEntry.logDetails) &&
Objects.equals(this.logTypeCount, formulaLogEntry.logTypeCount);
}
@Override
public int hashCode() {
return Objects.hash(logDetails, logTypeCount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormulaLogEntry {\n");
sb.append(" logDetails: ").append(toIndentedString(logDetails)).append("\n");
sb.append(" logTypeCount: ").append(toIndentedString(logTypeCount)).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 ");
}
}