com.sportradar.uf.sportsapi.datamodel.SAPIStageResult 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.XmlType;
/**
* Java class for stageResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="stageResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="competitor" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" use="required" type="{http://schemas.sportradar.com/sportsapi/v1/unified}unifiedCompetitorUrn" />
* <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="points" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="wc_points" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="time_ranking" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status_comment" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="sprint" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="sprint_ranking" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="climber" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="climber_ranking" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="grid" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "stageResult", propOrder = {
"competitor"
})
public class SAPIStageResult {
@XmlElement(required = true)
protected List competitor;
/**
* Gets the value of the competitor 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 competitor property.
*
*
* For example, to add a new item, do as follows:
*
* getCompetitor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SAPIStageResult.SAPICompetitor }
*
*
*/
public List getCompetitor() {
if (competitor == null) {
competitor = new ArrayList();
}
return this.competitor;
}
/**
* 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="id" use="required" type="{http://schemas.sportradar.com/sportsapi/v1/unified}unifiedCompetitorUrn" />
* <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="points" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="wc_points" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="time_ranking" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status_comment" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="sprint" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="sprint_ranking" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="climber" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="climber_ranking" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="grid" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class SAPICompetitor {
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "position")
protected Integer position;
@XmlAttribute(name = "points")
protected Double points;
@XmlAttribute(name = "wc_points")
protected Double wcPoints;
@XmlAttribute(name = "time")
protected String time;
@XmlAttribute(name = "time_ranking")
protected Integer timeRanking;
@XmlAttribute(name = "status")
protected String status;
@XmlAttribute(name = "status_comment")
protected String statusComment;
@XmlAttribute(name = "sprint")
protected Double sprint;
@XmlAttribute(name = "sprint_ranking")
protected Integer sprintRanking;
@XmlAttribute(name = "climber")
protected Double climber;
@XmlAttribute(name = "climber_ranking")
protected Integer climberRanking;
@XmlAttribute(name = "grid")
protected Integer grid;
/**
* 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 position property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPosition() {
return position;
}
/**
* Sets the value of the position property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPosition(Integer value) {
this.position = value;
}
/**
* Gets the value of the points property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getPoints() {
return points;
}
/**
* Sets the value of the points property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setPoints(Double value) {
this.points = value;
}
/**
* Gets the value of the wcPoints property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getWcPoints() {
return wcPoints;
}
/**
* Sets the value of the wcPoints property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setWcPoints(Double value) {
this.wcPoints = value;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTime(String value) {
this.time = value;
}
/**
* Gets the value of the timeRanking property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getTimeRanking() {
return timeRanking;
}
/**
* Sets the value of the timeRanking property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setTimeRanking(Integer value) {
this.timeRanking = 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 statusComment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatusComment() {
return statusComment;
}
/**
* Sets the value of the statusComment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatusComment(String value) {
this.statusComment = value;
}
/**
* Gets the value of the sprint property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getSprint() {
return sprint;
}
/**
* Sets the value of the sprint property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setSprint(Double value) {
this.sprint = value;
}
/**
* Gets the value of the sprintRanking property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getSprintRanking() {
return sprintRanking;
}
/**
* Sets the value of the sprintRanking property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setSprintRanking(Integer value) {
this.sprintRanking = value;
}
/**
* Gets the value of the climber property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getClimber() {
return climber;
}
/**
* Sets the value of the climber property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setClimber(Double value) {
this.climber = value;
}
/**
* Gets the value of the climberRanking property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getClimberRanking() {
return climberRanking;
}
/**
* Sets the value of the climberRanking property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setClimberRanking(Integer value) {
this.climberRanking = value;
}
/**
* Gets the value of the grid property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getGrid() {
return grid;
}
/**
* Sets the value of the grid property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setGrid(Integer value) {
this.grid = value;
}
}
}