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

com.sportradar.uf.sportsapi.datamodel.SAPICoverageInfo 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.XmlType;


/**
 * 

Java class for coverageInfo complex type. * *

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

 * <complexType name="coverageInfo">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="coverage" type="{http://schemas.sportradar.com/sportsapi/v1/unified}coverage" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="live_coverage" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="covered_from" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "coverageInfo", propOrder = { "coverage" }) public class SAPICoverageInfo { protected List coverage; @XmlAttribute(name = "level", required = true) protected String level; @XmlAttribute(name = "live_coverage", required = true) protected boolean liveCoverage; @XmlAttribute(name = "covered_from") protected String coveredFrom; /** * Gets the value of the coverage 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 coverage property. * *

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

     *    getCoverage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SAPICoverage } * * */ public List getCoverage() { if (coverage == null) { coverage = new ArrayList(); } return this.coverage; } /** * Gets the value of the level property. * * @return * possible object is * {@link String } * */ public String getLevel() { return level; } /** * Sets the value of the level property. * * @param value * allowed object is * {@link String } * */ public void setLevel(String value) { this.level = value; } /** * Gets the value of the liveCoverage property. * */ public boolean isLiveCoverage() { return liveCoverage; } /** * Sets the value of the liveCoverage property. * */ public void setLiveCoverage(boolean value) { this.liveCoverage = value; } /** * Gets the value of the coveredFrom property. * * @return * possible object is * {@link String } * */ public String getCoveredFrom() { return coveredFrom; } /** * Sets the value of the coveredFrom property. * * @param value * allowed object is * {@link String } * */ public void setCoveredFrom(String value) { this.coveredFrom = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy