*
*
Status: string
* Timestamp: string
*
*
*/
class FBAInventoryServiceMWS_Model_GetServiceStatusResult extends FBAInventoryServiceMWS_Model {
public function __construct($data = null)
{
$this->_fields = array (
'Status' => array('FieldValue' => null, 'FieldType' => 'string'),
'Timestamp' => array('FieldValue' => null, 'FieldType' => 'string'),
);
parent::__construct($data);
}
/**
* Get the value of the Status property.
*
* @return String Status.
*/
public function getStatus()
{
return $this->_fields['Status']['FieldValue'];
}
/**
* Set the value of the Status property.
*
* @param string status
* @return this instance
*/
public function setStatus($value)
{
$this->_fields['Status']['FieldValue'] = $value;
return $this;
}
/**
* Check to see if Status is set.
*
* @return true if Status is set.
*/
public function isSetStatus()
{
return !is_null($this->_fields['Status']['FieldValue']);
}
/**
* Set the value of Status, return this.
*
* @param status
* The new value to set.
*
* @return This instance.
*/
public function withStatus($value)
{
$this->setStatus($value);
return $this;
}
/**
* Get the value of the Timestamp property.
*
* @return XMLGregorianCalendar Timestamp.
*/
public function getTimestamp()
{
return $this->_fields['Timestamp']['FieldValue'];
}
/**
* Set the value of the Timestamp property.
*
* @param string timestamp
* @return this instance
*/
public function setTimestamp($value)
{
$this->_fields['Timestamp']['FieldValue'] = $value;
return $this;
}
/**
* Check to see if Timestamp is set.
*
* @return true if Timestamp is set.
*/
public function isSetTimestamp()
{
return !is_null($this->_fields['Timestamp']['FieldValue']);
}
/**
* Set the value of Timestamp, return this.
*
* @param timestamp
* The new value to set.
*
* @return This instance.
*/
public function withTimestamp($value)
{
$this->setTimestamp($value);
return $this;
}
}