<?php

namespace dgsoft\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for FlightCharacteristic StructType
 * @package Dg
 * @subpackage Structs
 */
class DgFlightCharacteristic extends AbstractStructBase
{
    /**
     * The InFlightServices
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \dgsoft\ArrayType\DgArrayOfInFlightService
     */
    public $InFlightServices;
    /**
     * Constructor method for FlightCharacteristic
     * @uses DgFlightCharacteristic::setInFlightServices()
     * @param \dgsoft\ArrayType\DgArrayOfInFlightService $inFlightServices
     */
    public function __construct(\dgsoft\ArrayType\DgArrayOfInFlightService $inFlightServices = null)
    {
        $this
            ->setInFlightServices($inFlightServices);
    }
    /**
     * Get InFlightServices value
     * @return \dgsoft\ArrayType\DgArrayOfInFlightService|null
     */
    public function getInFlightServices()
    {
        return $this->InFlightServices;
    }
    /**
     * Set InFlightServices value
     * @param \dgsoft\ArrayType\DgArrayOfInFlightService $inFlightServices
     * @return \dgsoft\StructType\DgFlightCharacteristic
     */
    public function setInFlightServices(\dgsoft\ArrayType\DgArrayOfInFlightService $inFlightServices = null)
    {
        $this->InFlightServices = $inFlightServices;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \dgsoft\StructType\DgFlightCharacteristic
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
