com.sportradar.uf.sportsapi.datamodel.SAPILottery 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.sportsapi.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.XmlType;
/**
* Java class for lottery complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="lottery">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="sport" type="{http://schemas.sportradar.com/sportsapi/v1/unified}sport"/>
* <element name="category" type="{http://schemas.sportradar.com/sportsapi/v1/unified}category" minOccurs="0"/>
* <element name="draw_info">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="draw_type" type="{http://schemas.sportradar.com/sportsapi/v1/unified}drawType" />
* <attribute name="time_type" type="{http://schemas.sportradar.com/sportsapi/v1/unified}timeType" />
* <attribute name="game_type" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="bonus_info">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="bonus_balls" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="bonus_drum" type="{http://schemas.sportradar.com/sportsapi/v1/unified}bonusDrumType" />
* <attribute name="bonus_range" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "lottery", propOrder = {
"sport",
"category",
"drawInfo",
"bonusInfo"
})
public class SAPILottery {
@XmlElement(required = true)
protected SAPISport sport;
protected SAPICategory category;
@XmlElement(name = "draw_info", required = true)
protected SAPILottery.SAPIDrawInfo drawInfo;
@XmlElement(name = "bonus_info", required = true)
protected SAPILottery.SAPIBonusInfo bonusInfo;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "name")
protected String name;
/**
* Gets the value of the sport property.
*
* @return
* possible object is
* {@link SAPISport }
*
*/
public SAPISport getSport() {
return sport;
}
/**
* Sets the value of the sport property.
*
* @param value
* allowed object is
* {@link SAPISport }
*
*/
public void setSport(SAPISport value) {
this.sport = value;
}
/**
* Gets the value of the category property.
*
* @return
* possible object is
* {@link SAPICategory }
*
*/
public SAPICategory getCategory() {
return category;
}
/**
* Sets the value of the category property.
*
* @param value
* allowed object is
* {@link SAPICategory }
*
*/
public void setCategory(SAPICategory value) {
this.category = value;
}
/**
* Gets the value of the drawInfo property.
*
* @return
* possible object is
* {@link SAPILottery.SAPIDrawInfo }
*
*/
public SAPILottery.SAPIDrawInfo getDrawInfo() {
return drawInfo;
}
/**
* Sets the value of the drawInfo property.
*
* @param value
* allowed object is
* {@link SAPILottery.SAPIDrawInfo }
*
*/
public void setDrawInfo(SAPILottery.SAPIDrawInfo value) {
this.drawInfo = value;
}
/**
* Gets the value of the bonusInfo property.
*
* @return
* possible object is
* {@link SAPILottery.SAPIBonusInfo }
*
*/
public SAPILottery.SAPIBonusInfo getBonusInfo() {
return bonusInfo;
}
/**
* Sets the value of the bonusInfo property.
*
* @param value
* allowed object is
* {@link SAPILottery.SAPIBonusInfo }
*
*/
public void setBonusInfo(SAPILottery.SAPIBonusInfo value) {
this.bonusInfo = value;
}
/**
* 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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = 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="bonus_balls" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="bonus_drum" type="{http://schemas.sportradar.com/sportsapi/v1/unified}bonusDrumType" />
* <attribute name="bonus_range" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class SAPIBonusInfo {
@XmlAttribute(name = "bonus_balls")
protected Integer bonusBalls;
@XmlAttribute(name = "bonus_drum")
protected SAPIBonusDrumType bonusDrum;
@XmlAttribute(name = "bonus_range")
protected String bonusRange;
/**
* Gets the value of the bonusBalls property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getBonusBalls() {
return bonusBalls;
}
/**
* Sets the value of the bonusBalls property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setBonusBalls(Integer value) {
this.bonusBalls = value;
}
/**
* Gets the value of the bonusDrum property.
*
* @return
* possible object is
* {@link SAPIBonusDrumType }
*
*/
public SAPIBonusDrumType getBonusDrum() {
return bonusDrum;
}
/**
* Sets the value of the bonusDrum property.
*
* @param value
* allowed object is
* {@link SAPIBonusDrumType }
*
*/
public void setBonusDrum(SAPIBonusDrumType value) {
this.bonusDrum = value;
}
/**
* Gets the value of the bonusRange property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBonusRange() {
return bonusRange;
}
/**
* Sets the value of the bonusRange property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBonusRange(String value) {
this.bonusRange = 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="draw_type" type="{http://schemas.sportradar.com/sportsapi/v1/unified}drawType" />
* <attribute name="time_type" type="{http://schemas.sportradar.com/sportsapi/v1/unified}timeType" />
* <attribute name="game_type" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class SAPIDrawInfo {
@XmlAttribute(name = "draw_type")
protected SAPIDrawType drawType;
@XmlAttribute(name = "time_type")
protected SAPITimeType timeType;
@XmlAttribute(name = "game_type")
protected String gameType;
/**
* Gets the value of the drawType property.
*
* @return
* possible object is
* {@link SAPIDrawType }
*
*/
public SAPIDrawType getDrawType() {
return drawType;
}
/**
* Sets the value of the drawType property.
*
* @param value
* allowed object is
* {@link SAPIDrawType }
*
*/
public void setDrawType(SAPIDrawType value) {
this.drawType = value;
}
/**
* Gets the value of the timeType property.
*
* @return
* possible object is
* {@link SAPITimeType }
*
*/
public SAPITimeType getTimeType() {
return timeType;
}
/**
* Sets the value of the timeType property.
*
* @param value
* allowed object is
* {@link SAPITimeType }
*
*/
public void setTimeType(SAPITimeType value) {
this.timeType = value;
}
/**
* Gets the value of the gameType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGameType() {
return gameType;
}
/**
* Sets the value of the gameType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGameType(String value) {
this.gameType = value;
}
}
}