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

com.sportradar.uf.sportsapi.datamodel.VariantMappings 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 variant_mappings complex type. * *

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

 * <complexType name="variant_mappings">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="mapping" maxOccurs="unbounded">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="mapping_outcome" maxOccurs="unbounded" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="outcome_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="product_outcome_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="product_outcome_name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *                 <attribute name="product_id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *                 <attribute name="product_ids" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="sport_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="market_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="sov_template" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="valid_for" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="product_market_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "variant_mappings", namespace = "", propOrder = { "mapping" }) public class VariantMappings { @XmlElement(required = true) protected List mapping; /** * Gets the value of the mapping 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 mapping property. * *

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

     *    getMapping().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VariantMappings.Mapping } * * */ public List getMapping() { if (mapping == null) { mapping = new ArrayList(); } return this.mapping; } /** *

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">
     *       <sequence>
     *         <element name="mapping_outcome" maxOccurs="unbounded" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="outcome_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="product_outcome_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="product_outcome_name" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *       <attribute name="product_id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     *       <attribute name="product_ids" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="sport_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="market_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="sov_template" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="valid_for" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="product_market_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "mappingOutcome" }) public static class Mapping { @XmlElement(name = "mapping_outcome", namespace = "") protected List mappingOutcome; @XmlAttribute(name = "product_id", required = true) protected int productId; @XmlAttribute(name = "product_ids", required = true) protected String productIds; @XmlAttribute(name = "sport_id", required = true) protected String sportId; @XmlAttribute(name = "market_id", required = true) protected String marketId; @XmlAttribute(name = "sov_template") protected String sovTemplate; @XmlAttribute(name = "valid_for") protected String validFor; @XmlAttribute(name = "product_market_id", required = true) protected String productMarketId; /** * Gets the value of the mappingOutcome 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 mappingOutcome property. * *

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

         *    getMappingOutcome().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VariantMappings.Mapping.MappingOutcome } * * */ public List getMappingOutcome() { if (mappingOutcome == null) { mappingOutcome = new ArrayList(); } return this.mappingOutcome; } /** * Gets the value of the productId property. * */ public int getProductId() { return productId; } /** * Sets the value of the productId property. * */ public void setProductId(int value) { this.productId = value; } /** * Gets the value of the productIds property. * * @return * possible object is * {@link String } * */ public String getProductIds() { return productIds; } /** * Sets the value of the productIds property. * * @param value * allowed object is * {@link String } * */ public void setProductIds(String value) { this.productIds = value; } /** * Gets the value of the sportId property. * * @return * possible object is * {@link String } * */ public String getSportId() { return sportId; } /** * Sets the value of the sportId property. * * @param value * allowed object is * {@link String } * */ public void setSportId(String value) { this.sportId = value; } /** * Gets the value of the marketId property. * * @return * possible object is * {@link String } * */ public String getMarketId() { return marketId; } /** * Sets the value of the marketId property. * * @param value * allowed object is * {@link String } * */ public void setMarketId(String value) { this.marketId = value; } /** * Gets the value of the sovTemplate property. * * @return * possible object is * {@link String } * */ public String getSovTemplate() { return sovTemplate; } /** * Sets the value of the sovTemplate property. * * @param value * allowed object is * {@link String } * */ public void setSovTemplate(String value) { this.sovTemplate = value; } /** * Gets the value of the validFor property. * * @return * possible object is * {@link String } * */ public String getValidFor() { return validFor; } /** * Sets the value of the validFor property. * * @param value * allowed object is * {@link String } * */ public void setValidFor(String value) { this.validFor = value; } /** * Gets the value of the productMarketId property. * * @return * possible object is * {@link String } * */ public String getProductMarketId() { return productMarketId; } /** * Sets the value of the productMarketId property. * * @param value * allowed object is * {@link String } * */ public void setProductMarketId(String value) { this.productMarketId = value; } /** *

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="outcome_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="product_outcome_id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="product_outcome_name" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class MappingOutcome { @XmlAttribute(name = "outcome_id", required = true) protected String outcomeId; @XmlAttribute(name = "product_outcome_id", required = true) protected String productOutcomeId; @XmlAttribute(name = "product_outcome_name") protected String productOutcomeName; /** * Gets the value of the outcomeId property. * * @return * possible object is * {@link String } * */ public String getOutcomeId() { return outcomeId; } /** * Sets the value of the outcomeId property. * * @param value * allowed object is * {@link String } * */ public void setOutcomeId(String value) { this.outcomeId = value; } /** * Gets the value of the productOutcomeId property. * * @return * possible object is * {@link String } * */ public String getProductOutcomeId() { return productOutcomeId; } /** * Sets the value of the productOutcomeId property. * * @param value * allowed object is * {@link String } * */ public void setProductOutcomeId(String value) { this.productOutcomeId = value; } /** * Gets the value of the productOutcomeName property. * * @return * possible object is * {@link String } * */ public String getProductOutcomeName() { return productOutcomeName; } /** * Sets the value of the productOutcomeName property. * * @param value * allowed object is * {@link String } * */ public void setProductOutcomeName(String value) { this.productOutcomeName = value; } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy