// Path: src/main/java/com/github/pabloo99/xmlsoccer/model/xml/GetAllLeaguesResultXML.java
// @XmlAccessorType(XmlAccessType.FIELD)
// @XmlType(name = "", propOrder = {
//         "league",
//         "accountInformation"
// })
// @XmlRootElement(name = "XMLSOCCER.COM")
// @Data
// public class GetAllLeaguesResultXML {
// 
//     @XmlElement(name = "League")
//     protected List<League> league;
//     @XmlElement(name = "AccountInformation", required = true)
//     protected String accountInformation;
// 
//     public List<League> getLeague() {
//         return Optional.ofNullable(this.league).
//                 orElse(Collections.emptyList());
//     }
// 
//     @XmlAccessorType(XmlAccessType.FIELD)
//     @XmlType(name = "", propOrder = {
//             "id",
//             "name",
//             "country",
//             "historicalData",
//             "fixtures",
//             "livescore",
//             "numberOfMatches",
//             "latestMatch"
//     })
//     @Data
//     public static class League {
// 
//         @XmlElement(name = "Id")
//         protected int id;
//         @XmlElement(name = "Name", required = true)
//         protected String name;
//         @XmlElement(name = "Country", required = true)
//         protected String country;
//         @XmlElement(name = "Historical_Data", required = true)
//         protected String historicalData;
//         @XmlElement(name = "Fixtures", required = true)
//         protected String fixtures;
//         @XmlElement(name = "Livescore", required = true)
//         protected String livescore;
//         @XmlElement(name = "NumberOfMatches")
//         protected int numberOfMatches;
//         @XmlElement(name = "LatestMatch", required = true)
//         @XmlSchemaType(name = "dateTime")
//         protected Date latestMatch;
//     }
// }


import com.github.pabloo99.xmlsoccer.model.xml.GetAllLeaguesResultXML;
import javax.xml.bind.annotation.*;

package com.github.pabloo99.xmlsoccer.webservice;



@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "getAllLeaguesResult"
})
@XmlRootElement(name = "GetAllLeaguesResponse")
public class GetAllLeaguesResponse {

    @XmlElement(name = "GetAllLeaguesResult")
    protected GetAllLeaguesResponse.GetAllLeaguesResult getAllLeaguesResult;

    /**
     * Gets the value of the getAllLeaguesResult property.
     * 
     * @return
     *     possible object is
     *     {@link GetAllLeaguesResponse.GetAllLeaguesResult }
     *     
     */
    public GetAllLeaguesResponse.GetAllLeaguesResult getGetAllLeaguesResult() {
        return getAllLeaguesResult;
    }

    /**
     * Sets the value of the getAllLeaguesResult property.
     * 
     * @param value
     *     allowed object is
     *     {@link GetAllLeaguesResponse.GetAllLeaguesResult }
     *     
     */
    public void setGetAllLeaguesResult(GetAllLeaguesResponse.GetAllLeaguesResult value) {
        this.getAllLeaguesResult = value;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "content"
    })

   // @XmlRootElement(name = "League")
   // @XmlSeeAlso(GetAllLeaguesResultXML.class)
    public static class GetAllLeaguesResult {

        //@XmlMixed
        //@XmlAnyElement(lax = true)
// Path: src/main/java/com/github/pabloo99/xmlsoccer/model/xml/GetAllLeaguesResultXML.java
// @XmlAccessorType(XmlAccessType.FIELD)
// @XmlType(name = "", propOrder = {
//         "league",
//         "accountInformation"
// })
// @XmlRootElement(name = "XMLSOCCER.COM")
// @Data
// public class GetAllLeaguesResultXML {
// 
//     @XmlElement(name = "League")
//     protected List<League> league;
//     @XmlElement(name = "AccountInformation", required = true)
//     protected String accountInformation;
// 
//     public List<League> getLeague() {
//         return Optional.ofNullable(this.league).
//                 orElse(Collections.emptyList());
//     }
// 
//     @XmlAccessorType(XmlAccessType.FIELD)
//     @XmlType(name = "", propOrder = {
//             "id",
//             "name",
//             "country",
//             "historicalData",
//             "fixtures",
//             "livescore",
//             "numberOfMatches",
//             "latestMatch"
//     })
//     @Data
//     public static class League {
// 
//         @XmlElement(name = "Id")
//         protected int id;
//         @XmlElement(name = "Name", required = true)
//         protected String name;
//         @XmlElement(name = "Country", required = true)
//         protected String country;
//         @XmlElement(name = "Historical_Data", required = true)
//         protected String historicalData;
//         @XmlElement(name = "Fixtures", required = true)
//         protected String fixtures;
//         @XmlElement(name = "Livescore", required = true)
//         protected String livescore;
//         @XmlElement(name = "NumberOfMatches")
//         protected int numberOfMatches;
//         @XmlElement(name = "LatestMatch", required = true)
//         @XmlSchemaType(name = "dateTime")
//         protected Date latestMatch;
//     }
// }


// Path: src/main/java/com/github/pabloo99/xmlsoccer/webservice/GetAllLeaguesResponse.java
import com.github.pabloo99.xmlsoccer.model.xml.GetAllLeaguesResultXML;
import javax.xml.bind.annotation.*;


package com.github.pabloo99.xmlsoccer.webservice;



@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "getAllLeaguesResult"
})
@XmlRootElement(name = "GetAllLeaguesResponse")
public class GetAllLeaguesResponse {

    @XmlElement(name = "GetAllLeaguesResult")
    protected GetAllLeaguesResponse.GetAllLeaguesResult getAllLeaguesResult;

    /**
     * Gets the value of the getAllLeaguesResult property.
     * 
     * @return
     *     possible object is
     *     {@link GetAllLeaguesResponse.GetAllLeaguesResult }
     *     
     */
    public GetAllLeaguesResponse.GetAllLeaguesResult getGetAllLeaguesResult() {
        return getAllLeaguesResult;
    }

    /**
     * Sets the value of the getAllLeaguesResult property.
     * 
     * @param value
     *     allowed object is
     *     {@link GetAllLeaguesResponse.GetAllLeaguesResult }
     *     
     */
    public void setGetAllLeaguesResult(GetAllLeaguesResponse.GetAllLeaguesResult value) {
        this.getAllLeaguesResult = value;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "content"
    })

   // @XmlRootElement(name = "League")
   // @XmlSeeAlso(GetAllLeaguesResultXML.class)
    public static class GetAllLeaguesResult {

        //@XmlMixed
        //@XmlAnyElement(lax = true)
        @XmlElementRef(name="XMLSOCCER.COM", type=GetAllLeaguesResultXML.class)