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

com.sportradar.uf.sportsapi.datamodel.SAPITournament 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for tournament complex type. * *

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

 * <complexType name="tournament">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="tournament_length" type="{http://schemas.sportradar.com/sportsapi/v1/unified}tournamentLength" minOccurs="0"/>
 *         <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"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://schemas.sportradar.com/sportsapi/v1/unified}unifiedTournamentUrn" />
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="exhibition_games" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="scheduled" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       <attribute name="scheduled_end" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tournament", propOrder = { "tournamentLength", "sport", "category" }) @XmlSeeAlso({ SAPITournamentExtended.class }) public class SAPITournament { @XmlElement(name = "tournament_length") protected SAPITournamentLength tournamentLength; @XmlElement(required = true) protected SAPISport sport; protected SAPICategory category; @XmlAttribute(name = "id", required = true) protected String id; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "exhibition_games") protected Boolean exhibitionGames; @XmlAttribute(name = "scheduled") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar scheduled; @XmlAttribute(name = "scheduled_end") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar scheduledEnd; /** * Gets the value of the tournamentLength property. * * @return * possible object is * {@link SAPITournamentLength } * */ public SAPITournamentLength getTournamentLength() { return tournamentLength; } /** * Sets the value of the tournamentLength property. * * @param value * allowed object is * {@link SAPITournamentLength } * */ public void setTournamentLength(SAPITournamentLength value) { this.tournamentLength = value; } /** * 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 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; } /** * Gets the value of the exhibitionGames property. * * @return * possible object is * {@link Boolean } * */ public Boolean isExhibitionGames() { return exhibitionGames; } /** * Sets the value of the exhibitionGames property. * * @param value * allowed object is * {@link Boolean } * */ public void setExhibitionGames(Boolean value) { this.exhibitionGames = value; } /** * Gets the value of the scheduled property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getScheduled() { return scheduled; } /** * Sets the value of the scheduled property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setScheduled(XMLGregorianCalendar value) { this.scheduled = value; } /** * Gets the value of the scheduledEnd property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getScheduledEnd() { return scheduledEnd; } /** * Sets the value of the scheduledEnd property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setScheduledEnd(XMLGregorianCalendar value) { this.scheduledEnd = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy