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

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


/**
 * 

Java class for basicEvent complex type. * *

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

 * <complexType name="basicEvent">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="goal_scorer" type="{http://schemas.sportradar.com/sportsapi/v1/unified}eventPlayer" minOccurs="0"/>
 *         <element name="player" type="{http://schemas.sportradar.com/sportsapi/v1/unified}eventPlayer" minOccurs="0"/>
 *         <element name="assist" type="{http://schemas.sportradar.com/sportsapi/v1/unified}eventPlayerAssist" maxOccurs="2" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="time" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       <attribute name="period_name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="match_time" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="match_clock" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="team" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="x" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="y" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="home_score" type="{http://www.w3.org/2001/XMLSchema}double" />
 *       <attribute name="away_score" type="{http://www.w3.org/2001/XMLSchema}double" />
 *       <attribute name="period" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="stoppage_time" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="points" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="match_status_code" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "basicEvent", propOrder = { "goalScorer", "player", "assist" }) public class SAPIBasicEvent { @XmlElement(name = "goal_scorer") protected SAPIEventPlayer goalScorer; protected SAPIEventPlayer player; protected List assist; @XmlAttribute(name = "id", required = true) protected int id; @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "time", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar time; @XmlAttribute(name = "period_name") protected String periodName; @XmlAttribute(name = "match_time") protected Integer matchTime; @XmlAttribute(name = "match_clock") protected String matchClock; @XmlAttribute(name = "team") protected String team; @XmlAttribute(name = "x") protected Integer x; @XmlAttribute(name = "y") protected Integer y; @XmlAttribute(name = "home_score") protected Double homeScore; @XmlAttribute(name = "away_score") protected Double awayScore; @XmlAttribute(name = "period") protected String period; @XmlAttribute(name = "stoppage_time") protected String stoppageTime; @XmlAttribute(name = "value") protected String value; @XmlAttribute(name = "points") protected String points; @XmlAttribute(name = "match_status_code") protected Integer matchStatusCode; /** * Gets the value of the goalScorer property. * * @return * possible object is * {@link SAPIEventPlayer } * */ public SAPIEventPlayer getGoalScorer() { return goalScorer; } /** * Sets the value of the goalScorer property. * * @param value * allowed object is * {@link SAPIEventPlayer } * */ public void setGoalScorer(SAPIEventPlayer value) { this.goalScorer = value; } /** * Gets the value of the player property. * * @return * possible object is * {@link SAPIEventPlayer } * */ public SAPIEventPlayer getPlayer() { return player; } /** * Sets the value of the player property. * * @param value * allowed object is * {@link SAPIEventPlayer } * */ public void setPlayer(SAPIEventPlayer value) { this.player = value; } /** * Gets the value of the assist 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 assist property. * *

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

     *    getAssist().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SAPIEventPlayerAssist } * * */ public List getAssist() { if (assist == null) { assist = new ArrayList(); } return this.assist; } /** * Gets the value of the id property. * */ public int getId() { return id; } /** * Sets the value of the id property. * */ public void setId(int value) { this.id = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTime(XMLGregorianCalendar value) { this.time = value; } /** * Gets the value of the periodName property. * * @return * possible object is * {@link String } * */ public String getPeriodName() { return periodName; } /** * Sets the value of the periodName property. * * @param value * allowed object is * {@link String } * */ public void setPeriodName(String value) { this.periodName = value; } /** * Gets the value of the matchTime property. * * @return * possible object is * {@link Integer } * */ public Integer getMatchTime() { return matchTime; } /** * Sets the value of the matchTime property. * * @param value * allowed object is * {@link Integer } * */ public void setMatchTime(Integer value) { this.matchTime = value; } /** * Gets the value of the matchClock property. * * @return * possible object is * {@link String } * */ public String getMatchClock() { return matchClock; } /** * Sets the value of the matchClock property. * * @param value * allowed object is * {@link String } * */ public void setMatchClock(String value) { this.matchClock = value; } /** * Gets the value of the team property. * * @return * possible object is * {@link String } * */ public String getTeam() { return team; } /** * Sets the value of the team property. * * @param value * allowed object is * {@link String } * */ public void setTeam(String value) { this.team = value; } /** * Gets the value of the x property. * * @return * possible object is * {@link Integer } * */ public Integer getX() { return x; } /** * Sets the value of the x property. * * @param value * allowed object is * {@link Integer } * */ public void setX(Integer value) { this.x = value; } /** * Gets the value of the y property. * * @return * possible object is * {@link Integer } * */ public Integer getY() { return y; } /** * Sets the value of the y property. * * @param value * allowed object is * {@link Integer } * */ public void setY(Integer value) { this.y = value; } /** * Gets the value of the homeScore property. * * @return * possible object is * {@link Double } * */ public Double getHomeScore() { return homeScore; } /** * Sets the value of the homeScore property. * * @param value * allowed object is * {@link Double } * */ public void setHomeScore(Double value) { this.homeScore = value; } /** * Gets the value of the awayScore property. * * @return * possible object is * {@link Double } * */ public Double getAwayScore() { return awayScore; } /** * Sets the value of the awayScore property. * * @param value * allowed object is * {@link Double } * */ public void setAwayScore(Double value) { this.awayScore = value; } /** * Gets the value of the period property. * * @return * possible object is * {@link String } * */ public String getPeriod() { return period; } /** * Sets the value of the period property. * * @param value * allowed object is * {@link String } * */ public void setPeriod(String value) { this.period = value; } /** * Gets the value of the stoppageTime property. * * @return * possible object is * {@link String } * */ public String getStoppageTime() { return stoppageTime; } /** * Sets the value of the stoppageTime property. * * @param value * allowed object is * {@link String } * */ public void setStoppageTime(String value) { this.stoppageTime = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the points property. * * @return * possible object is * {@link String } * */ public String getPoints() { return points; } /** * Sets the value of the points property. * * @param value * allowed object is * {@link String } * */ public void setPoints(String value) { this.points = value; } /** * Gets the value of the matchStatusCode property. * * @return * possible object is * {@link Integer } * */ public Integer getMatchStatusCode() { return matchStatusCode; } /** * Sets the value of the matchStatusCode property. * * @param value * allowed object is * {@link Integer } * */ public void setMatchStatusCode(Integer value) { this.matchStatusCode = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy