com.seeq.model.FormulaLogV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* 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.FormulaLogEntry;
import com.seeq.model.FormulaToken;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* The Formula warning logs, which includes the text, line number, and column number where the warning occurred in addition to the warning details
*/
@Schema(description = "The Formula warning logs, which includes the text, line number, and column number where the warning occurred in addition to the warning details")
public class FormulaLogV1 {
@JsonProperty("formulaLogEntries")
private Map formulaLogEntries = new HashMap();
@JsonProperty("formulaToken")
private FormulaToken formulaToken = null;
public FormulaLogV1 formulaLogEntries(Map formulaLogEntries) {
this.formulaLogEntries = formulaLogEntries;
return this;
}
public FormulaLogV1 putFormulaLogEntriesItem(String key, FormulaLogEntry formulaLogEntriesItem) {
this.formulaLogEntries.put(key, formulaLogEntriesItem);
return this;
}
/**
* The detailed Formula log entries which occurred at this token
* @return formulaLogEntries
**/
@Schema(required = true, description = "The detailed Formula log entries which occurred at this token")
public Map getFormulaLogEntries() {
return formulaLogEntries;
}
public void setFormulaLogEntries(Map formulaLogEntries) {
this.formulaLogEntries = formulaLogEntries;
}
public FormulaLogV1 formulaToken(FormulaToken formulaToken) {
this.formulaToken = formulaToken;
return this;
}
/**
* Get formulaToken
* @return formulaToken
**/
@Schema(required = true, description = "")
public FormulaToken getFormulaToken() {
return formulaToken;
}
public void setFormulaToken(FormulaToken formulaToken) {
this.formulaToken = formulaToken;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FormulaLogV1 formulaLogV1 = (FormulaLogV1) o;
return Objects.equals(this.formulaLogEntries, formulaLogV1.formulaLogEntries) &&
Objects.equals(this.formulaToken, formulaLogV1.formulaToken);
}
@Override
public int hashCode() {
return Objects.hash(formulaLogEntries, formulaToken);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormulaLogV1 {\n");
sb.append(" formulaLogEntries: ").append(toIndentedString(formulaLogEntries)).append("\n");
sb.append(" formulaToken: ").append(toIndentedString(formulaToken)).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 ");
}
}