com.sportradar.uf.sportsapi.datamodel.SAPITeamStatistics 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 teamStatistics complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="teamStatistics">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="statistics">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="corner_kicks" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="yellow_cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="yellow_red_cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="red_cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </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" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "teamStatistics", propOrder = {
"statistics"
})
public class SAPITeamStatistics {
@XmlElement(required = true)
protected SAPITeamStatistics.SAPIStatistics statistics;
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "name", required = true)
protected String name;
/**
* Gets the value of the statistics property.
*
* @return
* possible object is
* {@link SAPITeamStatistics.SAPIStatistics }
*
*/
public SAPITeamStatistics.SAPIStatistics getStatistics() {
return statistics;
}
/**
* Sets the value of the statistics property.
*
* @param value
* allowed object is
* {@link SAPITeamStatistics.SAPIStatistics }
*
*/
public void setStatistics(SAPITeamStatistics.SAPIStatistics value) {
this.statistics = 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="cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="corner_kicks" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="yellow_cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="yellow_red_cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="red_cards" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class SAPIStatistics {
@XmlAttribute(name = "cards")
protected String cards;
@XmlAttribute(name = "corner_kicks")
protected String cornerKicks;
@XmlAttribute(name = "yellow_cards")
protected String yellowCards;
@XmlAttribute(name = "yellow_red_cards")
protected String yellowRedCards;
@XmlAttribute(name = "red_cards")
protected String redCards;
/**
* Gets the value of the cards property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCards() {
return cards;
}
/**
* Sets the value of the cards property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCards(String value) {
this.cards = value;
}
/**
* Gets the value of the cornerKicks property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCornerKicks() {
return cornerKicks;
}
/**
* Sets the value of the cornerKicks property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCornerKicks(String value) {
this.cornerKicks = value;
}
/**
* Gets the value of the yellowCards property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getYellowCards() {
return yellowCards;
}
/**
* Sets the value of the yellowCards property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setYellowCards(String value) {
this.yellowCards = value;
}
/**
* Gets the value of the yellowRedCards property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getYellowRedCards() {
return yellowRedCards;
}
/**
* Sets the value of the yellowRedCards property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setYellowRedCards(String value) {
this.yellowRedCards = value;
}
/**
* Gets the value of the redCards property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRedCards() {
return redCards;
}
/**
* Sets the value of the redCards property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRedCards(String value) {
this.redCards = value;
}
}
}