de.bund.bfr.knime.fsklab.metadata.model/gen/de/bund/bfr/metadata/swagger/DoseResponseModel.java
/*
* RAKIP Generic model
* TODO
*
* OpenAPI spec version: 1.0.4
*
*
* 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 de.bund.bfr.metadata.swagger;
import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import de.bund.bfr.metadata.swagger.DoseResponseModelGeneralInformation;
import de.bund.bfr.metadata.swagger.DoseResponseModelModelMath;
import de.bund.bfr.metadata.swagger.DoseResponseModelScope;
import de.bund.bfr.metadata.swagger.Model;
import de.bund.bfr.metadata.swagger.PredictiveModelDataBackground;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* DoseResponseModel
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class DoseResponseModel extends Model {
@SerializedName("generalInformation")
private DoseResponseModelGeneralInformation generalInformation = null;
@SerializedName("scope")
private DoseResponseModelScope scope = null;
@SerializedName("dataBackground")
private PredictiveModelDataBackground dataBackground = null;
@SerializedName("modelMath")
private DoseResponseModelModelMath modelMath = null;
public DoseResponseModel generalInformation(DoseResponseModelGeneralInformation generalInformation) {
this.generalInformation = generalInformation;
return this;
}
/**
* Get generalInformation
* @return generalInformation
**/
@ApiModelProperty(value = "")
public DoseResponseModelGeneralInformation getGeneralInformation() {
return generalInformation;
}
public void setGeneralInformation(DoseResponseModelGeneralInformation generalInformation) {
this.generalInformation = generalInformation;
}
public DoseResponseModel scope(DoseResponseModelScope scope) {
this.scope = scope;
return this;
}
/**
* Get scope
* @return scope
**/
@ApiModelProperty(value = "")
public DoseResponseModelScope getScope() {
return scope;
}
public void setScope(DoseResponseModelScope scope) {
this.scope = scope;
}
public DoseResponseModel dataBackground(PredictiveModelDataBackground dataBackground) {
this.dataBackground = dataBackground;
return this;
}
/**
* Get dataBackground
* @return dataBackground
**/
@ApiModelProperty(value = "")
public PredictiveModelDataBackground getDataBackground() {
return dataBackground;
}
public void setDataBackground(PredictiveModelDataBackground dataBackground) {
this.dataBackground = dataBackground;
}
public DoseResponseModel modelMath(DoseResponseModelModelMath modelMath) {
this.modelMath = modelMath;
return this;
}
/**
* Get modelMath
* @return modelMath
**/
@ApiModelProperty(value = "")
public DoseResponseModelModelMath getModelMath() {
return modelMath;
}
public void setModelMath(DoseResponseModelModelMath modelMath) {
this.modelMath = modelMath;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DoseResponseModel doseResponseModel = (DoseResponseModel) o;
return Objects.equals(this.generalInformation, doseResponseModel.generalInformation) &&
Objects.equals(this.scope, doseResponseModel.scope) &&
Objects.equals(this.dataBackground, doseResponseModel.dataBackground) &&
Objects.equals(this.modelMath, doseResponseModel.modelMath) &&
super.equals(o);
}
@Override
public int hashCode() {
return Objects.hash(generalInformation, scope, dataBackground, modelMath, super.hashCode());
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DoseResponseModel {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" generalInformation: ").append(toIndentedString(generalInformation)).append("\n");
sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
sb.append(" dataBackground: ").append(toIndentedString(dataBackground)).append("\n");
sb.append(" modelMath: ").append(toIndentedString(modelMath)).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 ");
}
}