All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.seeq.model.FormulaRunOutputV1 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.CapsulesOutputV1;
import com.seeq.model.FormulaCompilerErrorOutputV1;
import com.seeq.model.FormulaLogV1;
import com.seeq.model.FormulaUpgradeOutputV1;
import com.seeq.model.GenericTableOutputV1;
import com.seeq.model.GetSamplesOutputV1;
import com.seeq.model.RegressionOutputV1;
import com.seeq.model.ScalarValueOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* FormulaRunOutputV1
*/
public class FormulaRunOutputV1 {
@JsonProperty("capsules")
private CapsulesOutputV1 capsules = null;
@JsonProperty("errors")
private List errors = new ArrayList();
@JsonProperty("metadata")
private Map metadata = new HashMap();
@JsonProperty("regressionOutput")
private RegressionOutputV1 regressionOutput = null;
@JsonProperty("returnType")
private String returnType = null;
@JsonProperty("samples")
private GetSamplesOutputV1 samples = null;
@JsonProperty("scalar")
private ScalarValueOutputV1 scalar = null;
@JsonProperty("statusMessage")
private String statusMessage = null;
@JsonProperty("table")
private GenericTableOutputV1 table = null;
@JsonProperty("upgradeDetails")
private FormulaUpgradeOutputV1 upgradeDetails = null;
@JsonProperty("warningCount")
private Integer warningCount = null;
@JsonProperty("warningLogs")
private List warningLogs = new ArrayList();
public FormulaRunOutputV1 capsules(CapsulesOutputV1 capsules) {
this.capsules = capsules;
return this;
}
/**
* Get capsules
* @return capsules
**/
@Schema(description = "")
public CapsulesOutputV1 getCapsules() {
return capsules;
}
public void setCapsules(CapsulesOutputV1 capsules) {
this.capsules = capsules;
}
public FormulaRunOutputV1 errors(List errors) {
this.errors = errors;
return this;
}
public FormulaRunOutputV1 addErrorsItem(FormulaCompilerErrorOutputV1 errorsItem) {
if (this.errors == null) {
this.errors = new ArrayList();
}
this.errors.add(errorsItem);
return this;
}
/**
* Errors (if any) from the formula
* @return errors
**/
@Schema(description = "Errors (if any) from the formula")
public List getErrors() {
return errors;
}
public void setErrors(List errors) {
this.errors = errors;
}
public FormulaRunOutputV1 metadata(Map metadata) {
this.metadata = metadata;
return this;
}
public FormulaRunOutputV1 putMetadataItem(String key, String metadataItem) {
if (this.metadata == null) {
this.metadata = new HashMap();
}
this.metadata.put(key, metadataItem);
return this;
}
/**
* Metadata describing the compiled formula's result
* @return metadata
**/
@Schema(description = "Metadata describing the compiled formula's result")
public Map getMetadata() {
return metadata;
}
public void setMetadata(Map metadata) {
this.metadata = metadata;
}
public FormulaRunOutputV1 regressionOutput(RegressionOutputV1 regressionOutput) {
this.regressionOutput = regressionOutput;
return this;
}
/**
* Get regressionOutput
* @return regressionOutput
**/
@Schema(description = "")
public RegressionOutputV1 getRegressionOutput() {
return regressionOutput;
}
public void setRegressionOutput(RegressionOutputV1 regressionOutput) {
this.regressionOutput = regressionOutput;
}
public FormulaRunOutputV1 returnType(String returnType) {
this.returnType = returnType;
return this;
}
/**
* The data type of the compiled formula's result
* @return returnType
**/
@Schema(description = "The data type of the compiled formula's result")
public String getReturnType() {
return returnType;
}
public void setReturnType(String returnType) {
this.returnType = returnType;
}
public FormulaRunOutputV1 samples(GetSamplesOutputV1 samples) {
this.samples = samples;
return this;
}
/**
* Get samples
* @return samples
**/
@Schema(description = "")
public GetSamplesOutputV1 getSamples() {
return samples;
}
public void setSamples(GetSamplesOutputV1 samples) {
this.samples = samples;
}
public FormulaRunOutputV1 scalar(ScalarValueOutputV1 scalar) {
this.scalar = scalar;
return this;
}
/**
* Get scalar
* @return scalar
**/
@Schema(description = "")
public ScalarValueOutputV1 getScalar() {
return scalar;
}
public void setScalar(ScalarValueOutputV1 scalar) {
this.scalar = scalar;
}
public FormulaRunOutputV1 statusMessage(String statusMessage) {
this.statusMessage = statusMessage;
return this;
}
/**
* A plain language status message with information about any issues that may have been encountered during an operation. Null if the status message has not been set.
* @return statusMessage
**/
@Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation. Null if the status message has not been set.")
public String getStatusMessage() {
return statusMessage;
}
public void setStatusMessage(String statusMessage) {
this.statusMessage = statusMessage;
}
public FormulaRunOutputV1 table(GenericTableOutputV1 table) {
this.table = table;
return this;
}
/**
* Get table
* @return table
**/
@Schema(description = "")
public GenericTableOutputV1 getTable() {
return table;
}
public void setTable(GenericTableOutputV1 table) {
this.table = table;
}
public FormulaRunOutputV1 upgradeDetails(FormulaUpgradeOutputV1 upgradeDetails) {
this.upgradeDetails = upgradeDetails;
return this;
}
/**
* Get upgradeDetails
* @return upgradeDetails
**/
@Schema(description = "")
public FormulaUpgradeOutputV1 getUpgradeDetails() {
return upgradeDetails;
}
public void setUpgradeDetails(FormulaUpgradeOutputV1 upgradeDetails) {
this.upgradeDetails = upgradeDetails;
}
public FormulaRunOutputV1 warningCount(Integer warningCount) {
this.warningCount = warningCount;
return this;
}
/**
* The total number of warnings that have occurred
* @return warningCount
**/
@Schema(description = "The total number of warnings that have occurred")
public Integer getWarningCount() {
return warningCount;
}
public void setWarningCount(Integer warningCount) {
this.warningCount = warningCount;
}
public FormulaRunOutputV1 warningLogs(List warningLogs) {
this.warningLogs = warningLogs;
return this;
}
public FormulaRunOutputV1 addWarningLogsItem(FormulaLogV1 warningLogsItem) {
if (this.warningLogs == null) {
this.warningLogs = new ArrayList();
}
this.warningLogs.add(warningLogsItem);
return this;
}
/**
* The Formula warning logs, which includes the text, line number, and column number where the warning occurred in addition to the warning details
* @return warningLogs
**/
@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 List getWarningLogs() {
return warningLogs;
}
public void setWarningLogs(List warningLogs) {
this.warningLogs = warningLogs;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FormulaRunOutputV1 formulaRunOutputV1 = (FormulaRunOutputV1) o;
return Objects.equals(this.capsules, formulaRunOutputV1.capsules) &&
Objects.equals(this.errors, formulaRunOutputV1.errors) &&
Objects.equals(this.metadata, formulaRunOutputV1.metadata) &&
Objects.equals(this.regressionOutput, formulaRunOutputV1.regressionOutput) &&
Objects.equals(this.returnType, formulaRunOutputV1.returnType) &&
Objects.equals(this.samples, formulaRunOutputV1.samples) &&
Objects.equals(this.scalar, formulaRunOutputV1.scalar) &&
Objects.equals(this.statusMessage, formulaRunOutputV1.statusMessage) &&
Objects.equals(this.table, formulaRunOutputV1.table) &&
Objects.equals(this.upgradeDetails, formulaRunOutputV1.upgradeDetails) &&
Objects.equals(this.warningCount, formulaRunOutputV1.warningCount) &&
Objects.equals(this.warningLogs, formulaRunOutputV1.warningLogs);
}
@Override
public int hashCode() {
return Objects.hash(capsules, errors, metadata, regressionOutput, returnType, samples, scalar, statusMessage, table, upgradeDetails, warningCount, warningLogs);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FormulaRunOutputV1 {\n");
sb.append(" capsules: ").append(toIndentedString(capsules)).append("\n");
sb.append(" errors: ").append(toIndentedString(errors)).append("\n");
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" regressionOutput: ").append(toIndentedString(regressionOutput)).append("\n");
sb.append(" returnType: ").append(toIndentedString(returnType)).append("\n");
sb.append(" samples: ").append(toIndentedString(samples)).append("\n");
sb.append(" scalar: ").append(toIndentedString(scalar)).append("\n");
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
sb.append(" table: ").append(toIndentedString(table)).append("\n");
sb.append(" upgradeDetails: ").append(toIndentedString(upgradeDetails)).append("\n");
sb.append(" warningCount: ").append(toIndentedString(warningCount)).append("\n");
sb.append(" warningLogs: ").append(toIndentedString(warningLogs)).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 ");
}
}