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

com.sportradar.uf.sportsapi.datamodel.DescMatchStatus 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 desc_match_status complex type. * *

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

 * <complexType name="desc_match_status">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="sports" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="sport" maxOccurs="unbounded" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *                 <attribute name="all" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
 *       <attribute name="description" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="period_number" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "desc_match_status", namespace = "", propOrder = { "sports" }) public class DescMatchStatus { protected DescMatchStatus.Sports sports; @XmlAttribute(name = "id", required = true) protected long id; @XmlAttribute(name = "description", required = true) protected String description; @XmlAttribute(name = "period_number") protected Integer periodNumber; /** * Gets the value of the sports property. * * @return * possible object is * {@link DescMatchStatus.Sports } * */ public DescMatchStatus.Sports getSports() { return sports; } /** * Sets the value of the sports property. * * @param value * allowed object is * {@link DescMatchStatus.Sports } * */ public void setSports(DescMatchStatus.Sports value) { this.sports = value; } /** * Gets the value of the id property. * */ public long getId() { return id; } /** * Sets the value of the id property. * */ public void setId(long value) { this.id = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the periodNumber property. * * @return * possible object is * {@link Integer } * */ public Integer getPeriodNumber() { return periodNumber; } /** * Sets the value of the periodNumber property. * * @param value * allowed object is * {@link Integer } * */ public void setPeriodNumber(Integer value) { this.periodNumber = 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="sport" maxOccurs="unbounded" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *       <attribute name="all" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sport" }) public static class Sports { @XmlElement(namespace = "") protected List sport; @XmlAttribute(name = "all") protected Boolean all; /** * Gets the value of the sport 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 sport property. * *

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

         *    getSport().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescMatchStatus.Sports.Sport } * * */ public List getSport() { if (sport == null) { sport = new ArrayList(); } return this.sport; } /** * Gets the value of the all property. * * @return * possible object is * {@link Boolean } * */ public boolean isAll() { if (all == null) { return false; } else { return all; } } /** * Sets the value of the all property. * * @param value * allowed object is * {@link Boolean } * */ public void setAll(Boolean value) { this.all = 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" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Sport { @XmlAttribute(name = "id") protected String id; /** * 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; } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy