net.finmath.smartcontract.model.PlainSwapOperationResponse Maven / Gradle / Ivy
package net.finmath.smartcontract.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime;
import jakarta.validation.Valid;
import jakarta.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.*;
import jakarta.annotation.Generated;
/**
* PlainSwapOperationResponse
*/
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-12-05T10:54:28.421239+01:00[Europe/Berlin]")
public class PlainSwapOperationResponse {
@JsonProperty("xmlBody")
private String xmlBody;
public PlainSwapOperationResponse xmlBody(String xmlBody) {
this.xmlBody = xmlBody;
return this;
}
/**
* Get xmlBody
* @return xmlBody
*/
@NotNull
@Schema(name = "xmlBody", requiredMode = Schema.RequiredMode.REQUIRED)
public String getXmlBody() {
return xmlBody;
}
public void setXmlBody(String xmlBody) {
this.xmlBody = xmlBody;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PlainSwapOperationResponse plainSwapOperationResponse = (PlainSwapOperationResponse) o;
return Objects.equals(this.xmlBody, plainSwapOperationResponse.xmlBody);
}
@Override
public int hashCode() {
return Objects.hash(xmlBody);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PlainSwapOperationResponse {\n");
sb.append(" xmlBody: ").append(toIndentedString(xmlBody)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy