| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class ProcessWorkitemRequest extends ProcessRequest |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $action = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var ID |
||
| 14 | */ |
||
| 15 | protected $workitemId = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $action |
||
| 19 | * @param ID $workitemId |
||
| 20 | */ |
||
| 21 | public function __construct($action = null, $workitemId = null) |
||
| 22 | { |
||
| 23 | parent::__construct(); |
||
| 24 | $this->action = $action; |
||
| 25 | $this->workitemId = $workitemId; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getAction() |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $action |
||
| 38 | * @return \SForce\Wsdl\ProcessWorkitemRequest |
||
| 39 | */ |
||
| 40 | public function setAction($action) |
||
| 41 | { |
||
| 42 | $this->action = $action; |
||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return ID |
||
| 48 | */ |
||
| 49 | public function getWorkitemId() |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param ID $workitemId |
||
| 56 | * @return \SForce\Wsdl\ProcessWorkitemRequest |
||
| 57 | */ |
||
| 58 | public function setWorkitemId($workitemId) |
||
| 62 | } |
||
| 63 | } |
||
| 64 |