<?php

namespace Sabre\PassengerDetailsRQ\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for File Structs
 * @subpackage Structs
 */
class File extends AbstractStructBase
{
    /**
     * The _
     * @var string
     */
    public $_;
    /**
     * The ProductCode
     * Meta informations extracted from the WSDL
     * - documentation: "ProductCode" is used to return the product code.
     * - use: optional
     * @var string
     */
    public $ProductCode;
    /**
     * The RPH
     * Meta informations extracted from the WSDL
     * - documentation: "RPH" is used as a reference place holder.
     * - use: optional
     * @var string
     */
    public $RPH;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var string
     */
    public $Id;
    /**
     * The Representation
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $Representation;
    /**
     * The URL
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $URL;
    /**
     * The type
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var string
     */
    public $type;
    /**
     * The coding
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var string
     */
    public $coding;
    /**
     * Constructor method for File
     * @uses File::set_()
     * @uses File::setProductCode()
     * @uses File::setRPH()
     * @uses File::setId()
     * @uses File::setRepresentation()
     * @uses File::setURL()
     * @uses File::setType()
     * @uses File::setCoding()
     * @param string $_
     * @param string $productCode
     * @param string $rPH
     * @param string $id
     * @param string $representation
     * @param string $uRL
     * @param string $type
     * @param string $coding
     */
    public function __construct($_ = null, $productCode = null, $rPH = null, $id = null, $representation = null, $uRL = null, $type = null, $coding = null)
    {
        $this
            ->set_($_)
            ->setProductCode($productCode)
            ->setRPH($rPH)
            ->setId($id)
            ->setRepresentation($representation)
            ->setURL($uRL)
            ->setType($type)
            ->setCoding($coding);
    }
    /**
     * Get _ value
     * @return string|null
     */
    public function get_()
    {
        return $this->_;
    }
    /**
     * Set _ value
     * @param string $_
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function set_($_ = null)
    {
        $this->_ = $_;
        return $this;
    }
    /**
     * Get ProductCode value
     * @return string|null
     */
    public function getProductCode()
    {
        return $this->ProductCode;
    }
    /**
     * Set ProductCode value
     * @param string $productCode
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setProductCode($productCode = null)
    {
        $this->ProductCode = $productCode;
        return $this;
    }
    /**
     * Get RPH value
     * @return string|null
     */
    public function getRPH()
    {
        return $this->RPH;
    }
    /**
     * Set RPH value
     * @param string $rPH
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setRPH($rPH = null)
    {
        $this->RPH = $rPH;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this->Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setId($id = null)
    {
        $this->Id = $id;
        return $this;
    }
    /**
     * Get Representation value
     * @return string|null
     */
    public function getRepresentation()
    {
        return $this->Representation;
    }
    /**
     * Set Representation value
     * @param string $representation
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setRepresentation($representation = null)
    {
        $this->Representation = $representation;
        return $this;
    }
    /**
     * Get URL value
     * @return string|null
     */
    public function getURL()
    {
        return $this->URL;
    }
    /**
     * Set URL value
     * @param string $uRL
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setURL($uRL = null)
    {
        $this->URL = $uRL;
        return $this;
    }
    /**
     * Get type value
     * @return string|null
     */
    public function getType()
    {
        return $this->type;
    }
    /**
     * Set type value
     * @param string $type
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setType($type = null)
    {
        $this->type = $type;
        return $this;
    }
    /**
     * Get coding value
     * @return string|null
     */
    public function getCoding()
    {
        return $this->coding;
    }
    /**
     * Set coding value
     * @param string $coding
     * @return \Sabre\PassengerDetailsRQ\Structs\File
     */
    public function setCoding($coding = null)
    {
        $this->coding = $coding;
        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 \Sabre\PassengerDetailsRQ\Structs\File
     */
    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__;
    }
}
