com.sportradar.uf.custombet.datamodel.CAPICalculationResponse Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.05.22 at 02:21:03 PM CEST
//
package com.sportradar.uf.custombet.datamodel;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CalculationResponseType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CalculationResponseType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="calculation" type="{http://schemas.sportradar.com/custombet/v1/endpoints}CalculationResultType"/>
* <element name="available_selections" type="{http://schemas.sportradar.com/custombet/v1/endpoints}AvailableSelectionsAfterCalculationType"/>
* </sequence>
* <attribute name="generated_at" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CalculationResponseType", propOrder = {
"calculation",
"availableSelections"
})
@XmlRootElement(name = "calculation_response")
public class CAPICalculationResponse {
@XmlElement(required = true)
protected CAPICalculationResultType calculation;
@XmlElement(name = "available_selections", required = true)
protected CAPIAvailableSelectionsAfterCalculationType availableSelections;
@XmlAttribute(name = "generated_at", required = true)
protected String generatedAt;
/**
* Gets the value of the calculation property.
*
* @return
* possible object is
* {@link CAPICalculationResultType }
*
*/
public CAPICalculationResultType getCalculation() {
return calculation;
}
/**
* Sets the value of the calculation property.
*
* @param value
* allowed object is
* {@link CAPICalculationResultType }
*
*/
public void setCalculation(CAPICalculationResultType value) {
this.calculation = value;
}
/**
* Gets the value of the availableSelections property.
*
* @return
* possible object is
* {@link CAPIAvailableSelectionsAfterCalculationType }
*
*/
public CAPIAvailableSelectionsAfterCalculationType getAvailableSelections() {
return availableSelections;
}
/**
* Sets the value of the availableSelections property.
*
* @param value
* allowed object is
* {@link CAPIAvailableSelectionsAfterCalculationType }
*
*/
public void setAvailableSelections(CAPIAvailableSelectionsAfterCalculationType value) {
this.availableSelections = value;
}
/**
* Gets the value of the generatedAt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGeneratedAt() {
return generatedAt;
}
/**
* Sets the value of the generatedAt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGeneratedAt(String value) {
this.generatedAt = value;
}
}