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

com.sportradar.uf.datamodel.UFOddsChange 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="sport_event_status" type="{}sportEventStatus" minOccurs="0"/>
 *         <element name="odds_generation_properties" type="{}oddsGenerationProperties" minOccurs="0"/>
 *         <element name="odds" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="market" type="{}oddsChangeMarket" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute name="betting_status" type="{http://www.w3.org/2001/XMLSchema}int" />
 *                 <attribute name="betstop_reason" type="{http://www.w3.org/2001/XMLSchema}int" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{}messageAttributes"/>
 *       <attribute name="odds_change_reason" type="{}oddsChangeReason" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sportEventStatus", "oddsGenerationProperties", "odds" }) @XmlRootElement(name = "odds_change") public class UFOddsChange implements UnmarshalledMessage { @XmlElement(name = "sport_event_status") protected UFSportEventStatus sportEventStatus; @XmlElement(name = "odds_generation_properties") protected UFOddsGenerationProperties oddsGenerationProperties; protected UFOddsChange.UFOdds odds; @XmlAttribute(name = "odds_change_reason") protected UFOddsChangeReason oddsChangeReason; @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 sportEventStatus property. * * @return * possible object is * {@link UFSportEventStatus } * */ public UFSportEventStatus getSportEventStatus() { return sportEventStatus; } /** * Sets the value of the sportEventStatus property. * * @param value * allowed object is * {@link UFSportEventStatus } * */ public void setSportEventStatus(UFSportEventStatus value) { this.sportEventStatus = value; } /** * Gets the value of the oddsGenerationProperties property. * * @return * possible object is * {@link UFOddsGenerationProperties } * */ public UFOddsGenerationProperties getOddsGenerationProperties() { return oddsGenerationProperties; } /** * Sets the value of the oddsGenerationProperties property. * * @param value * allowed object is * {@link UFOddsGenerationProperties } * */ public void setOddsGenerationProperties(UFOddsGenerationProperties value) { this.oddsGenerationProperties = value; } /** * Gets the value of the odds property. * * @return * possible object is * {@link UFOddsChange.UFOdds } * */ public UFOddsChange.UFOdds getOdds() { return odds; } /** * Sets the value of the odds property. * * @param value * allowed object is * {@link UFOddsChange.UFOdds } * */ public void setOdds(UFOddsChange.UFOdds value) { this.odds = value; } /** * Gets the value of the oddsChangeReason property. * * @return * possible object is * {@link UFOddsChangeReason } * */ public UFOddsChangeReason getOddsChangeReason() { return oddsChangeReason; } /** * Sets the value of the oddsChangeReason property. * * @param value * allowed object is * {@link UFOddsChangeReason } * */ public void setOddsChangeReason(UFOddsChangeReason value) { this.oddsChangeReason = 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="{}oddsChangeMarket" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attribute name="betting_status" type="{http://www.w3.org/2001/XMLSchema}int" />
     *       <attribute name="betstop_reason" type="{http://www.w3.org/2001/XMLSchema}int" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "market" }) public static class UFOdds implements UnmarshalledMessage { protected List market; @XmlAttribute(name = "betting_status") protected Integer bettingStatus; @XmlAttribute(name = "betstop_reason") protected Integer betstopReason; /** * 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 UFOddsChangeMarket } * * */ public List getMarket() { if (market == null) { market = new ArrayList(); } return this.market; } /** * Gets the value of the bettingStatus property. * * @return * possible object is * {@link Integer } * */ public Integer getBettingStatus() { return bettingStatus; } /** * Sets the value of the bettingStatus property. * * @param value * allowed object is * {@link Integer } * */ public void setBettingStatus(Integer value) { this.bettingStatus = value; } /** * Gets the value of the betstopReason property. * * @return * possible object is * {@link Integer } * */ public Integer getBetstopReason() { return betstopReason; } /** * Sets the value of the betstopReason property. * * @param value * allowed object is * {@link Integer } * */ public void setBetstopReason(Integer value) { this.betstopReason = value; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy