com.sportradar.uf.datamodel.UFBetSettlementMarket 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:20 PM CEST
//
package com.sportradar.uf.datamodel;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import com.sportradar.unifiedodds.sdk.oddsentities.UnmarshalledMessage;
/**
* Java class for betSettlementMarket complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="betSettlementMarket">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="outcome" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" use="required" type="{}outcomeId" />
* <attribute name="result" use="required" type="{}result" />
* <attribute name="void_factor" type="{}voidFactor" />
* <attribute name="dead_heat_factor" type="{http://www.w3.org/2001/XMLSchema}double" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <attGroup ref="{}marketAttributes"/>
* <attribute name="void_reason" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="result" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "betSettlementMarket", propOrder = {
"outcome"
})
public class UFBetSettlementMarket
implements UnmarshalledMessage
{
protected List outcome;
@XmlAttribute(name = "void_reason")
protected Integer voidReason;
@XmlAttribute(name = "result")
protected String result;
@XmlAttribute(name = "id", required = true)
protected int id;
@XmlAttribute(name = "specifiers")
protected String specifiers;
@XmlAttribute(name = "extended_specifiers")
protected String extendedSpecifiers;
/**
* Gets the value of the outcome property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the outcome property.
*
*
* For example, to add a new item, do as follows:
*
* getOutcome().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UFBetSettlementMarket.UFOutcome }
*
*
*/
public List getOutcome() {
if (outcome == null) {
outcome = new ArrayList();
}
return this.outcome;
}
/**
* Gets the value of the voidReason property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getVoidReason() {
return voidReason;
}
/**
* Sets the value of the voidReason property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setVoidReason(Integer value) {
this.voidReason = value;
}
/**
* Gets the value of the result property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResult() {
return result;
}
/**
* Sets the value of the result property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResult(String value) {
this.result = value;
}
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
/**
* Gets the value of the specifiers property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpecifiers() {
return specifiers;
}
/**
* Sets the value of the specifiers property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpecifiers(String value) {
this.specifiers = value;
}
/**
* Gets the value of the extendedSpecifiers property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExtendedSpecifiers() {
return extendedSpecifiers;
}
/**
* Sets the value of the extendedSpecifiers property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExtendedSpecifiers(String value) {
this.extendedSpecifiers = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" use="required" type="{}outcomeId" />
* <attribute name="result" use="required" type="{}result" />
* <attribute name="void_factor" type="{}voidFactor" />
* <attribute name="dead_heat_factor" type="{http://www.w3.org/2001/XMLSchema}double" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class UFOutcome
implements UnmarshalledMessage
{
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "result", required = true)
protected UFResult result;
@XmlAttribute(name = "void_factor")
protected UFVoidFactor voidFactor;
@XmlAttribute(name = "dead_heat_factor")
protected Double deadHeatFactor;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the result property.
*
* @return
* possible object is
* {@link UFResult }
*
*/
public UFResult getResult() {
return result;
}
/**
* Sets the value of the result property.
*
* @param value
* allowed object is
* {@link UFResult }
*
*/
public void setResult(UFResult value) {
this.result = value;
}
/**
* Gets the value of the voidFactor property.
*
* @return
* possible object is
* {@link UFVoidFactor }
*
*/
public UFVoidFactor getVoidFactor() {
return voidFactor;
}
/**
* Sets the value of the voidFactor property.
*
* @param value
* allowed object is
* {@link UFVoidFactor }
*
*/
public void setVoidFactor(UFVoidFactor value) {
this.voidFactor = value;
}
/**
* Gets the value of the deadHeatFactor property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getDeadHeatFactor() {
return deadHeatFactor;
}
/**
* Sets the value of the deadHeatFactor property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setDeadHeatFactor(Double value) {
this.deadHeatFactor = value;
}
}
}