
package com.android.sdklib.repository.generated.common.v1;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.android.repository.impl.generated.v1.TypeDetails;
import com.android.sdklib.repository.meta.DetailsTypes;


/**
 * DO NOT EDIT
 * This file was generated by xjc from sdk-common-01.xsd. Any changes will be lost upon recompilation of the schema.
 * See the schema file for instructions on running xjc.
 * 
 * 
 *                 Abstract subclass of type-details adding elements to specify the android version
 *                 a package corresponds to.
 *             
 * 
 * <p>Java class for apiDetailsType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="apiDetailsType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{http://schemas.android.com/repository/android/common/01}typeDetails"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="api-level" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
 *         &lt;element name="codename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "apiDetailsType", propOrder = {
    "apiLevel",
    "codename"
})
@SuppressWarnings({
    "override",
    "unchecked"
})
public abstract class ApiDetailsType
    extends TypeDetails
  implements DetailsTypes.ApiDetailsType
{

    @XmlElement(name = "api-level")
    protected int apiLevel;
    protected String codename;

    /**
     * Gets the value of the apiLevel property.
     * 
     */
    public int getApiLevel() {
        return apiLevel;
    }

    /**
     * Sets the value of the apiLevel property.
     * 
     */
    public void setApiLevel(int value) {
        this.apiLevel = value;
    }

    /**
     * Gets the value of the codename property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCodename() {
        return codename;
    }

    /**
     * Sets the value of the codename property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCodename(String value) {
        this.codename = value;
    }

}
