All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sportradar.uf.datamodel.UFBetSettlement 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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.sportradar.unifiedodds.sdk.oddsentities.UnmarshalledMessage;


/**
 * 

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">
 *       <sequence>
 *         <element name="outcomes">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="market" type="{}betSettlementMarket" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{}messageAttributes"/>
 *       <attribute name="certainty" use="required" type="{}certaintyLevel" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "outcomes" }) @XmlRootElement(name = "bet_settlement") public class UFBetSettlement implements UnmarshalledMessage { @XmlElement(required = true) protected UFBetSettlement.UFOutcomes outcomes; @XmlAttribute(name = "certainty", required = true) protected int certainty; @XmlAttribute(name = "product", required = true) protected int product; @XmlAttribute(name = "event_id", required = true) protected String eventId; @XmlAttribute(name = "timestamp", required = true) protected long timestamp; @XmlAttribute(name = "request_id") protected Long requestId; /** * Gets the value of the outcomes property. * * @return * possible object is * {@link UFBetSettlement.UFOutcomes } * */ public UFBetSettlement.UFOutcomes getOutcomes() { return outcomes; } /** * Sets the value of the outcomes property. * * @param value * allowed object is * {@link UFBetSettlement.UFOutcomes } * */ public void setOutcomes(UFBetSettlement.UFOutcomes value) { this.outcomes = value; } /** * Gets the value of the certainty property. * */ public int getCertainty() { return certainty; } /** * Sets the value of the certainty property. * */ public void setCertainty(int value) { this.certainty = value; } /** * Gets the value of the product property. * */ public int getProduct() { return product; } /** * Sets the value of the product property. * */ public void setProduct(int value) { this.product = value; } /** * Gets the value of the eventId property. * * @return * possible object is * {@link String } * */ public String getEventId() { return eventId; } /** * Sets the value of the eventId property. * * @param value * allowed object is * {@link String } * */ public void setEventId(String value) { this.eventId = value; } /** * Gets the value of the timestamp property. * */ public long getTimestamp() { return timestamp; } /** * Sets the value of the timestamp property. * */ public void setTimestamp(long value) { this.timestamp = value; } /** * Gets the value of the requestId property. * * @return * possible object is * {@link Long } * */ public Long getRequestId() { return requestId; } /** * Sets the value of the requestId property. * * @param value * allowed object is * {@link Long } * */ public void setRequestId(Long value) { this.requestId = 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">
     *       <sequence>
     *         <element name="market" type="{}betSettlementMarket" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "market" }) public static class UFOutcomes implements UnmarshalledMessage { @XmlElement(required = true) protected List market; /** * Gets the value of the market 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 market property. * *

* For example, to add a new item, do as follows: *

         *    getMarket().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link UFBetSettlementMarket } * * */ public List getMarket() { if (market == null) { market = new ArrayList(); } return this.market; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy