com.sportradar.uf.sportsapi.datamodel.SAPIPeriodScore 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.XmlType;
/**
* Java class for periodScore complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="periodScore">
* <complexContent>
* <extension base="{http://schemas.sportradar.com/sportsapi/v1/unified}periodScoreBase">
* <attribute name="home_score" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="away_score" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="match_status_code" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "periodScore")
public class SAPIPeriodScore
extends SAPIPeriodScoreBase
{
@XmlAttribute(name = "home_score", required = true)
protected double homeScore;
@XmlAttribute(name = "away_score", required = true)
protected double awayScore;
@XmlAttribute(name = "match_status_code", required = true)
protected int matchStatusCode;
/**
* Gets the value of the homeScore property.
*
*/
public double getHomeScore() {
return homeScore;
}
/**
* Sets the value of the homeScore property.
*
*/
public void setHomeScore(double value) {
this.homeScore = value;
}
/**
* Gets the value of the awayScore property.
*
*/
public double getAwayScore() {
return awayScore;
}
/**
* Sets the value of the awayScore property.
*
*/
public void setAwayScore(double value) {
this.awayScore = value;
}
/**
* Gets the value of the matchStatusCode property.
*
*/
public int getMatchStatusCode() {
return matchStatusCode;
}
/**
* Sets the value of the matchStatusCode property.
*
*/
public void setMatchStatusCode(int value) {
this.matchStatusCode = value;
}
}