MicrosoftAzureStorageBlobModelsBlock

Holds information about blob block.

Defined (1)

The class is defined in the following location(s).

/lib/Azure/MicrosoftAzureStorage/Blob/Models/Block.php  
  1. class Block 
  2. /** 
  3. * @var string 
  4. */ 
  5. private $_blockId; 
  6.  
  7. /** 
  8. * @var string 
  9. */ 
  10. private $_type; 
  11.  
  12. public function __construct($blockId = '', $type = '') 
  13. $this->_blockId = $blockId; 
  14. $this->_type = $type; 
  15.  
  16. /** 
  17. * Sets the blockId. 
  18. * @param string $blockId The id of the block. 
  19. * @return none 
  20. */ 
  21. public function setBlockId($blockId) 
  22. $this->_blockId = $blockId; 
  23.  
  24. /** 
  25. * Gets the blockId. 
  26. * @return string 
  27. */ 
  28. public function getBlockId() 
  29. return $this->_blockId; 
  30.  
  31. /** 
  32. * Sets the type. 
  33. * @param string $type The type of the block. 
  34. * @return none 
  35. */ 
  36. public function setType($type) 
  37. $this->_type = $type; 
  38.  
  39. /** 
  40. * Gets the type. 
  41. * @return string 
  42. */ 
  43. public function getType() 
  44. return $this->_type;