xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for ActivityDurationPropertyBase StructType
* @subpackage Structs
*/
abstract class ActivityDurationPropertyBase extends Entity
{
/**
* The EstCreditHours
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableDouble
*/
public $EstCreditHours;
/**
* The EstDuration_Days
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableInt32
*/
public $EstDuration_Days;
/**
* The EstDuration_Hours
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableInt32
*/
public $EstDuration_Hours;
/**
* The EstDuration_Minutes
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableInt32
*/
public $EstDuration_Minutes;
/**
* The EstDuration_Seconds
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableInt32
*/
public $EstDuration_Seconds;
/**
* The Id
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Id;
/**
* Constructor method for ActivityDurationPropertyBase
* @uses ActivityDurationPropertyBase::setEstCreditHours()
* @uses ActivityDurationPropertyBase::setEstDuration_Days()
* @uses ActivityDurationPropertyBase::setEstDuration_Hours()
* @uses ActivityDurationPropertyBase::setEstDuration_Minutes()
* @uses ActivityDurationPropertyBase::setEstDuration_Seconds()
* @uses ActivityDurationPropertyBase::setId()
* @param NullableDouble $estCreditHours
* @param NullableInt32 $estDuration_Days
* @param NullableInt32 $estDuration_Hours
* @param NullableInt32 $estDuration_Minutes
* @param NullableInt32 $estDuration_Seconds
* @param string $id
*/
public function __construct(NullableDouble $estCreditHours = null, NullableInt32 $estDuration_Days = null, NullableInt32 $estDuration_Hours = null, NullableInt32 $estDuration_Minutes = null, NullableInt32 $estDuration_Seconds = null, $id = null)
{
$this
->setEstCreditHours($estCreditHours)
->setEstDuration_Days($estDuration_Days)
->setEstDuration_Hours($estDuration_Hours)
->setEstDuration_Minutes($estDuration_Minutes)
->setEstDuration_Seconds($estDuration_Seconds)
->setId($id);
}
/**
* Get EstCreditHours value
* @return NullableDouble
*/
public function getEstCreditHours()
{
return $this->EstCreditHours;
}
/**
* Set EstCreditHours value
* @param NullableDouble $estCreditHours
* @return ActivityDurationPropertyBase
*/
public function setEstCreditHours(NullableDouble $estCreditHours = null)
{
$this->EstCreditHours = $estCreditHours;
return $this;
}
/**
* Get EstDuration_Days value
* @return NullableInt32
*/
public function getEstDuration_Days()
{
return $this->EstDuration_Days;
}
/**
* Set EstDuration_Days value
* @param NullableInt32 $estDuration_Days
* @return ActivityDurationPropertyBase
*/
public function setEstDuration_Days(NullableInt32 $estDuration_Days = null)
{
$this->EstDuration_Days = $estDuration_Days;
return $this;
}
/**
* Get EstDuration_Hours value
* @return NullableInt32
*/
public function getEstDuration_Hours()
{
return $this->EstDuration_Hours;
}
/**
* Set EstDuration_Hours value
* @param NullableInt32 $estDuration_Hours
* @return ActivityDurationPropertyBase
*/
public function setEstDuration_Hours(NullableInt32 $estDuration_Hours = null)
{
$this->EstDuration_Hours = $estDuration_Hours;
return $this;
}
/**
* Get EstDuration_Minutes value
* @return NullableInt32
*/
public function getEstDuration_Minutes()
{
return $this->EstDuration_Minutes;
}
/**
* Set EstDuration_Minutes value
* @param NullableInt32 $estDuration_Minutes
* @return ActivityDurationPropertyBase
*/
public function setEstDuration_Minutes(NullableInt32 $estDuration_Minutes = null)
{
$this->EstDuration_Minutes = $estDuration_Minutes;
return $this;
}
/**
* Get EstDuration_Seconds value
* @return NullableInt32
*/
public function getEstDuration_Seconds()
{
return $this->EstDuration_Seconds;
}
/**
* Set EstDuration_Seconds value
* @param NullableInt32 $estDuration_Seconds
* @return ActivityDurationPropertyBase
*/
public function setEstDuration_Seconds(NullableInt32 $estDuration_Seconds = null)
{
$this->EstDuration_Seconds = $estDuration_Seconds;
return $this;
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return ActivityDurationPropertyBase
*/
public function setId($id = null)
{
// validation for constraint: string
if (!is_null($id) && !is_string($id)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
}
$this->Id = $id;
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 ActivityDurationPropertyBase
*/
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