com.sportradar.uf.sportsapi.datamodel.SAPITeam 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for team complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="team">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="reference_ids" type="{http://schemas.sportradar.com/sportsapi/v1/unified}competitorReferenceIds" minOccurs="0"/>
* <element name="players" type="{http://schemas.sportradar.com/sportsapi/v1/unified}playerExtendedList" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://schemas.sportradar.com/sportsapi/v1/unified}unifiedCompetitorUrn" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="abbreviation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="country_code" type="{http://schemas.sportradar.com/sportsapi/v1/unified}countryCode" />
* <attribute name="virtual" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "team", propOrder = {
"referenceIds",
"players"
})
@XmlSeeAlso({
SAPITeamExtended.class,
SAPITeamCompetitor.class,
SAPIRaceTeam.class,
SAPIRaceDriver.class
})
public class SAPITeam {
@XmlElement(name = "reference_ids")
protected SAPICompetitorReferenceIds referenceIds;
protected SAPIPlayerExtendedList players;
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "abbreviation", required = true)
protected String abbreviation;
@XmlAttribute(name = "country")
protected String country;
@XmlAttribute(name = "country_code")
protected String countryCode;
@XmlAttribute(name = "virtual")
protected Boolean virtual;
/**
* Gets the value of the referenceIds property.
*
* @return
* possible object is
* {@link SAPICompetitorReferenceIds }
*
*/
public SAPICompetitorReferenceIds getReferenceIds() {
return referenceIds;
}
/**
* Sets the value of the referenceIds property.
*
* @param value
* allowed object is
* {@link SAPICompetitorReferenceIds }
*
*/
public void setReferenceIds(SAPICompetitorReferenceIds value) {
this.referenceIds = value;
}
/**
* Gets the value of the players property.
*
* @return
* possible object is
* {@link SAPIPlayerExtendedList }
*
*/
public SAPIPlayerExtendedList getPlayers() {
return players;
}
/**
* Sets the value of the players property.
*
* @param value
* allowed object is
* {@link SAPIPlayerExtendedList }
*
*/
public void setPlayers(SAPIPlayerExtendedList value) {
this.players = 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 abbreviation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAbbreviation() {
return abbreviation;
}
/**
* Sets the value of the abbreviation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAbbreviation(String value) {
this.abbreviation = value;
}
/**
* Gets the value of the country property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountry() {
return country;
}
/**
* Sets the value of the country property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountry(String value) {
this.country = value;
}
/**
* Gets the value of the countryCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountryCode() {
return countryCode;
}
/**
* Sets the value of the countryCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountryCode(String value) {
this.countryCode = value;
}
/**
* Gets the value of the virtual property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isVirtual() {
return virtual;
}
/**
* Sets the value of the virtual property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVirtual(Boolean value) {
this.virtual = value;
}
}