xxxxxxxxxx
namespace Sabre\TravelItineraryRead\Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for Diagnostics Structs
* Meta informations extracted from the WSDL
* - type: Diagnostics
* @subpackage Structs
*/
class Diagnostics extends AbstractStructBase
{
/**
* The Level
* Meta informations extracted from the WSDL
* - documentation: Describes the level of diagnostic data requested or provided.
* - minOccurs: 0
* @var string
*/
public $Level;
/**
* The Data
* Meta informations extracted from the WSDL
* - documentation: Block of diagnostic data included in request or returned in the response. | Same as STL Text.Long - A field text characters and no other constraints.
* - minOccurs: 0
* - maxLength: 4096
* - minLength: 0
* @var string
*/
public $Data;
/**
* The Diagnostic
* Meta informations extracted from the WSDL
* - documentation: Diagnostic data. Must be defined in a differrent namespace as the header.
* - minOccurs: 0
* @var \Sabre\TravelItineraryRead\Structs\DiagnosticResults
*/
public $Diagnostic;
/**
* Constructor method for Diagnostics
* @uses Diagnostics::setLevel()
* @uses Diagnostics::setData()
* @uses Diagnostics::setDiagnostic()
* @param string $level
* @param string $data
* @param \Sabre\TravelItineraryRead\Structs\DiagnosticResults $diagnostic
*/
public function __construct($level = null, $data = null, \Sabre\TravelItineraryRead\Structs\DiagnosticResults $diagnostic = null)
{
$this
->setLevel($level)
->setData($data)
->setDiagnostic($diagnostic);
}
/**
* Get Level value
* @return string|null
*/
public function getLevel()
{
return $this->Level;
}
/**
* Set Level value
* @uses \Sabre\TravelItineraryRead\Enums\DiagnosticLevels::valueIsValid()
* @uses \Sabre\TravelItineraryRead\Enums\DiagnosticLevels::getValidValues()
* @throws \InvalidArgumentException
* @param string $level
* @return \Sabre\TravelItineraryRead\Structs\Diagnostics
*/
public function setLevel($level = null)
{
$this->Level = $level;
return $this;
}
/**
* Get Data value
* @return string|null
*/
public function getData()
{
return $this->Data;
}
/**
* Set Data value
* @param string $data
* @return \Sabre\TravelItineraryRead\Structs\Diagnostics
*/
public function setData($data = null)
{
$this->Data = $data;
return $this;
}
/**
* Get Diagnostic value
* @return \Sabre\TravelItineraryRead\Structs\DiagnosticResults|null
*/
public function getDiagnostic()
{
return $this->Diagnostic;
}
/**
* Set Diagnostic value
* @param \Sabre\TravelItineraryRead\Structs\DiagnosticResults $diagnostic
* @return \Sabre\TravelItineraryRead\Structs\Diagnostics
*/
public function setDiagnostic(\Sabre\TravelItineraryRead\Structs\DiagnosticResults $diagnostic = null)
{
$this->Diagnostic = $diagnostic;
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\TravelItineraryRead\Structs\Diagnostics
*/
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__;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO