com.sportradar.uf.sportsapi.datamodel.SAPISportEventStatusBase 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for sportEventStatusBase complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="sportEventStatusBase">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="clock" type="{http://schemas.sportradar.com/sportsapi/v1/unified}clock" maxOccurs="unbounded" minOccurs="0"/>
* <element name="period_scores" type="{http://schemas.sportradar.com/sportsapi/v1/unified}periodScores" minOccurs="0"/>
* </sequence>
* <attribute name="status" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="match_status" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="winner_id" type="{http://schemas.sportradar.com/sportsapi/v1/unified}competitorUrn" />
* <attribute name="winning_reason" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="decided_by_fed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="period" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sportEventStatusBase", propOrder = {
"clock",
"periodScores"
})
@XmlSeeAlso({
SAPICommonSportEventStatus.class,
SAPISportEventStatus.class
})
public class SAPISportEventStatusBase {
protected List clock;
@XmlElement(name = "period_scores")
protected SAPIPeriodScores periodScores;
@XmlAttribute(name = "status", required = true)
protected String status;
@XmlAttribute(name = "match_status")
protected String matchStatus;
@XmlAttribute(name = "winner_id")
protected String winnerId;
@XmlAttribute(name = "winning_reason")
protected String winningReason;
@XmlAttribute(name = "decided_by_fed")
protected Boolean decidedByFed;
@XmlAttribute(name = "period")
protected Integer period;
/**
* Gets the value of the clock 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 clock property.
*
*
* For example, to add a new item, do as follows:
*
* getClock().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SAPIClock }
*
*
*/
public List getClock() {
if (clock == null) {
clock = new ArrayList();
}
return this.clock;
}
/**
* Gets the value of the periodScores property.
*
* @return
* possible object is
* {@link SAPIPeriodScores }
*
*/
public SAPIPeriodScores getPeriodScores() {
return periodScores;
}
/**
* Sets the value of the periodScores property.
*
* @param value
* allowed object is
* {@link SAPIPeriodScores }
*
*/
public void setPeriodScores(SAPIPeriodScores value) {
this.periodScores = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the matchStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMatchStatus() {
return matchStatus;
}
/**
* Sets the value of the matchStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMatchStatus(String value) {
this.matchStatus = value;
}
/**
* Gets the value of the winnerId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWinnerId() {
return winnerId;
}
/**
* Sets the value of the winnerId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWinnerId(String value) {
this.winnerId = value;
}
/**
* Gets the value of the winningReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWinningReason() {
return winningReason;
}
/**
* Sets the value of the winningReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWinningReason(String value) {
this.winningReason = value;
}
/**
* Gets the value of the decidedByFed property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDecidedByFed() {
return decidedByFed;
}
/**
* Sets the value of the decidedByFed property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDecidedByFed(Boolean value) {
this.decidedByFed = value;
}
/**
* Gets the value of the period property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPeriod() {
return period;
}
/**
* Sets the value of the period property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPeriod(Integer value) {
this.period = value;
}
}