<?php

namespace Sabre\QueuePlace\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for TrackingID Structs
 * Meta informations extracted from the WSDL
 * - documentation: Tracking Identifier is an identifier intended for use to a set of related items and provide an optional sequence number for the items.
 * - maxLength: 255
 * - minLength: 1
 * @subpackage Structs
 */
class TrackingID extends AbstractStructBase
{
    /**
     * The _
     * Meta informations extracted from the WSDL
     * - maxLength: 255
     * - minLength: 1
     * @var string
     */
    public $_;
    /**
     * The seq
     * @var int
     */
    public $seq;
    /**
     * Constructor method for TrackingID
     * @uses TrackingID::set_()
     * @uses TrackingID::setSeq()
     * @param string $_
     * @param int $seq
     */
    public function __construct($_ = null, $seq = null)
    {
        $this
            ->set_($_)
            ->setSeq($seq);
    }
    /**
     * Get _ value
     * @return string|null
     */
    public function get_()
    {
        return $this->_;
    }
    /**
     * Set _ value
     * @param string $_
     * @return \Sabre\QueuePlace\Structs\TrackingID
     */
    public function set_($_ = null)
    {
        $this->_ = $_;
        return $this;
    }
    /**
     * Get seq value
     * @return int|null
     */
    public function getSeq()
    {
        return $this->seq;
    }
    /**
     * Set seq value
     * @param int $seq
     * @return \Sabre\QueuePlace\Structs\TrackingID
     */
    public function setSeq($seq = null)
    {
        $this->seq = $seq;
        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\QueuePlace\Structs\TrackingID
     */
    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__;
    }
}
