
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_offerpricerq_v1;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * Total segment travel time preferences.
 * 
 * &lt;p&gt;Java class for SegmentDurationCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="SegmentDurationCriteriaType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
 *       &amp;lt;sequence&amp;gt;
 *         &amp;lt;element name="MaximumTimeMeasure" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}MeasureType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PrefLevelCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}PrefLevelCodeType" minOccurs="0"/&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *     &amp;lt;/restriction&amp;gt;
 *   &amp;lt;/complexContent&amp;gt;
 * &amp;lt;/complexType&amp;gt;
 * &lt;/pre&gt;
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SegmentDurationCriteriaType", propOrder = {
    "maximumTimeMeasure",
    "prefLevelCode"
})
public class SegmentDurationCriteriaType {

    @XmlElement(name = "MaximumTimeMeasure")
    protected MeasureType maximumTimeMeasure;
    @XmlElement(name = "PrefLevelCode")
    @XmlSchemaType(name = "string")
    protected PrefLevelCodeContentType prefLevelCode;

    /**
     * Gets the value of the maximumTimeMeasure property.
     * 
     * @return
     *     possible object is
     *     {@link MeasureType }
     *     
     */
    public MeasureType getMaximumTimeMeasure() {
        return maximumTimeMeasure;
    }

    /**
     * Sets the value of the maximumTimeMeasure property.
     * 
     * @param value
     *     allowed object is
     *     {@link MeasureType }
     *     
     */
    public void setMaximumTimeMeasure(MeasureType value) {
        this.maximumTimeMeasure = value;
    }

    /**
     * Gets the value of the prefLevelCode property.
     * 
     * @return
     *     possible object is
     *     {@link PrefLevelCodeContentType }
     *     
     */
    public PrefLevelCodeContentType getPrefLevelCode() {
        return prefLevelCode;
    }

    /**
     * Sets the value of the prefLevelCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link PrefLevelCodeContentType }
     *     
     */
    public void setPrefLevelCode(PrefLevelCodeContentType value) {
        this.prefLevelCode = value;
    }

}
