web/lib/Zend/Service/WindowsAzure/Management/OperationStatusInstance.php
changeset 808 6b6c2214f778
child 1230 68c69c656a2c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/Zend/Service/WindowsAzure/Management/OperationStatusInstance.php	Thu Mar 21 19:52:38 2013 +0100
@@ -0,0 +1,60 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category   Zend
+ * @package    Zend_Service_WindowsAzure
+ * @subpackage Management
+ * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license    http://framework.zend.com/license/new-bsd     New BSD License
+ * @version    $Id$
+ */
+
+/**
+ * @see Zend_Service_WindowsAzure_Management_ServiceEntityAbstract
+ */
+require_once 'Zend/Service/WindowsAzure/Management/ServiceEntityAbstract.php';
+
+/**
+ * @category   Zend
+ * @package    Zend_Service_WindowsAzure
+ * @subpackage Management
+ * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license    http://framework.zend.com/license/new-bsd     New BSD License
+ * 
+ * @property string $Id              The request ID of the asynchronous request.
+ * @property string $Status          The status of the asynchronous request. Possible values include InProgress, Succeeded, or Failed.
+ * @property string $ErrorCode	     The management service error code returned if the asynchronous request failed. 
+ * @property string $ErrorMessage    The management service error message returned if the asynchronous request failed. 
+ */
+class Zend_Service_WindowsAzure_Management_OperationStatusInstance
+	extends Zend_Service_WindowsAzure_Management_ServiceEntityAbstract
+{    
+    /**
+     * Constructor
+     * 
+     * @param string $id              The request ID of the asynchronous request.
+     * @param string $status          The status of the asynchronous request. Possible values include InProgress, Succeeded, or Failed.
+     * @param string $errorCode	      The management service error code returned if the asynchronous request failed. 
+     * @param string $errorMessage    The management service error message returned if the asynchronous request failed.
+	 */
+    public function __construct($id, $status, $errorCode, $errorMessage) 
+    {	        
+        $this->_data = array(
+            'id'              => $id,
+            'status'          => $status,
+            'errorcode'       => $errorCode,
+            'errormessage'    => $errorMessage     
+        );
+    }
+}