com.sportradar.uf.sportsapi.datamodel.SAPIPlayerExtendedWithTeams 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 playerExtendedWithTeams complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="playerExtendedWithTeams">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="teams" type="{http://schemas.sportradar.com/sportsapi/v1/unified}playerTeams" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://schemas.sportradar.com/sportsapi/v1/unified}playerUrn" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="nickname" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="full_name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="date_of_birth" type="{http://schemas.sportradar.com/sportsapi/v1/unified}birthDate" />
* <attribute name="nationality" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="weight" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="jersey_number" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="gender" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "playerExtendedWithTeams", propOrder = {
"teams"
})
public class SAPIPlayerExtendedWithTeams {
protected SAPIPlayerTeams teams;
@XmlAttribute(name = "id", required = true)
protected String id;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "nickname")
protected String nickname;
@XmlAttribute(name = "full_name")
protected String fullName;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "date_of_birth")
protected String dateOfBirth;
@XmlAttribute(name = "nationality")
protected String nationality;
@XmlAttribute(name = "height")
protected Integer height;
@XmlAttribute(name = "weight")
protected Integer weight;
@XmlAttribute(name = "jersey_number")
protected Integer jerseyNumber;
@XmlAttribute(name = "gender")
protected String gender;
/**
* Gets the value of the teams property.
*
* @return
* possible object is
* {@link SAPIPlayerTeams }
*
*/
public SAPIPlayerTeams getTeams() {
return teams;
}
/**
* Sets the value of the teams property.
*
* @param value
* allowed object is
* {@link SAPIPlayerTeams }
*
*/
public void setTeams(SAPIPlayerTeams value) {
this.teams = 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;
}
/**
* Gets the value of the nickname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNickname() {
return nickname;
}
/**
* Sets the value of the nickname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNickname(String value) {
this.nickname = value;
}
/**
* Gets the value of the fullName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFullName() {
return fullName;
}
/**
* Sets the value of the fullName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFullName(String value) {
this.fullName = 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 dateOfBirth property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDateOfBirth() {
return dateOfBirth;
}
/**
* Sets the value of the dateOfBirth property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDateOfBirth(String value) {
this.dateOfBirth = value;
}
/**
* Gets the value of the nationality property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNationality() {
return nationality;
}
/**
* Sets the value of the nationality property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNationality(String value) {
this.nationality = value;
}
/**
* Gets the value of the height property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setHeight(Integer value) {
this.height = value;
}
/**
* Gets the value of the weight property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getWeight() {
return weight;
}
/**
* Sets the value of the weight property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setWeight(Integer value) {
this.weight = value;
}
/**
* Gets the value of the jerseyNumber property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getJerseyNumber() {
return jerseyNumber;
}
/**
* Sets the value of the jerseyNumber property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setJerseyNumber(Integer value) {
this.jerseyNumber = value;
}
/**
* Gets the value of the gender property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGender() {
return gender;
}
/**
* Sets the value of the gender property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGender(String value) {
this.gender = value;
}
}