com.sportradar.uf.sportsapi.datamodel.SAPIDrawResult 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 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;
/**
* Java class for draw_result complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="draw_result">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="draws">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="draw" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="chronological" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "draw_result", propOrder = {
"draws"
})
public class SAPIDrawResult {
@XmlElement(required = true)
protected SAPIDrawResult.SAPIDraws draws;
/**
* Gets the value of the draws property.
*
* @return
* possible object is
* {@link SAPIDrawResult.SAPIDraws }
*
*/
public SAPIDrawResult.SAPIDraws getDraws() {
return draws;
}
/**
* Sets the value of the draws property.
*
* @param value
* allowed object is
* {@link SAPIDrawResult.SAPIDraws }
*
*/
public void setDraws(SAPIDrawResult.SAPIDraws value) {
this.draws = 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="draw" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="chronological" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"draw"
})
public static class SAPIDraws {
@XmlElement(required = true)
protected List draw;
@XmlAttribute(name = "chronological")
protected Boolean chronological;
/**
* Gets the value of the draw 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 draw property.
*
*
* For example, to add a new item, do as follows:
*
* getDraw().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SAPIDrawResult.SAPIDraws.SAPIDraw }
*
*
*/
public List getDraw() {
if (draw == null) {
draw = new ArrayList();
}
return this.draw;
}
/**
* Gets the value of the chronological property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isChronological() {
return chronological;
}
/**
* Sets the value of the chronological property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setChronological(Boolean value) {
this.chronological = 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="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class SAPIDraw {
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "value")
protected Integer 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;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setValue(Integer value) {
this.value = value;
}
}
}
}