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

com.sportradar.uf.datamodel.UFOddsChangeMarket 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.XmlType;
import com.sportradar.unifiedodds.sdk.oddsentities.UnmarshalledMessage;


/**
 * 

Java class for oddsChangeMarket complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="oddsChangeMarket">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="market_metadata" type="{}marketMetadata" minOccurs="0"/>
 *         <element name="outcome" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="id" use="required" type="{}outcomeId" />
 *                 <attribute name="odds" type="{http://www.w3.org/2001/XMLSchema}double" />
 *                 <attribute name="probabilities" type="{http://www.w3.org/2001/XMLSchema}double" />
 *                 <attribute name="active" type="{}outcomeActive" />
 *                 <attribute name="team" type="{}teamType" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{}marketAttributes"/>
 *       <attribute name="favourite" type="{}favouriteType" />
 *       <attribute name="status" type="{}marketStatus" />
 *       <attribute name="cashout_status" type="{}cashoutStatus" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "oddsChangeMarket", propOrder = { "marketMetadata", "outcome" }) public class UFOddsChangeMarket implements UnmarshalledMessage { @XmlElement(name = "market_metadata") protected UFMarketMetadata marketMetadata; protected List outcome; @XmlAttribute(name = "favourite") protected UFFavourite favourite; @XmlAttribute(name = "status") protected UFMarketStatus status; @XmlAttribute(name = "cashout_status") protected Integer cashoutStatus; @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 marketMetadata property. * * @return * possible object is * {@link UFMarketMetadata } * */ public UFMarketMetadata getMarketMetadata() { return marketMetadata; } /** * Sets the value of the marketMetadata property. * * @param value * allowed object is * {@link UFMarketMetadata } * */ public void setMarketMetadata(UFMarketMetadata value) { this.marketMetadata = value; } /** * 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 UFOddsChangeMarket.UFOutcome } * * */ public List getOutcome() { if (outcome == null) { outcome = new ArrayList(); } return this.outcome; } /** * Gets the value of the favourite property. * * @return * possible object is * {@link UFFavourite } * */ public UFFavourite getFavourite() { return favourite; } /** * Sets the value of the favourite property. * * @param value * allowed object is * {@link UFFavourite } * */ public void setFavourite(UFFavourite value) { this.favourite = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link UFMarketStatus } * */ public UFMarketStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link UFMarketStatus } * */ public void setStatus(UFMarketStatus value) { this.status = value; } /** * Gets the value of the cashoutStatus property. * * @return * possible object is * {@link Integer } * */ public Integer getCashoutStatus() { return cashoutStatus; } /** * Sets the value of the cashoutStatus property. * * @param value * allowed object is * {@link Integer } * */ public void setCashoutStatus(Integer value) { this.cashoutStatus = 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="odds" type="{http://www.w3.org/2001/XMLSchema}double" />
     *       <attribute name="probabilities" type="{http://www.w3.org/2001/XMLSchema}double" />
     *       <attribute name="active" type="{}outcomeActive" />
     *       <attribute name="team" type="{}teamType" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class UFOutcome implements UnmarshalledMessage { @XmlAttribute(name = "id", required = true) protected String id; @XmlAttribute(name = "odds") protected Double odds; @XmlAttribute(name = "probabilities") protected Double probabilities; @XmlAttribute(name = "active") protected UFOutcomeActive active; @XmlAttribute(name = "team") protected Integer team; /** * 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 odds property. * * @return * possible object is * {@link Double } * */ public Double getOdds() { return odds; } /** * Sets the value of the odds property. * * @param value * allowed object is * {@link Double } * */ public void setOdds(Double value) { this.odds = value; } /** * Gets the value of the probabilities property. * * @return * possible object is * {@link Double } * */ public Double getProbabilities() { return probabilities; } /** * Sets the value of the probabilities property. * * @param value * allowed object is * {@link Double } * */ public void setProbabilities(Double value) { this.probabilities = value; } /** * Gets the value of the active property. * * @return * possible object is * {@link UFOutcomeActive } * */ public UFOutcomeActive getActive() { return active; } /** * Sets the value of the active property. * * @param value * allowed object is * {@link UFOutcomeActive } * */ public void setActive(UFOutcomeActive value) { this.active = value; } /** * Gets the value of the team property. * * @return * possible object is * {@link Integer } * */ public Integer getTeam() { return team; } /** * Sets the value of the team property. * * @param value * allowed object is * {@link Integer } * */ public void setTeam(Integer value) { this.team = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy