| Total Complexity | 9 |
| Total Lines | 100 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class DeleteByExampleResult |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var sObject |
||
| 9 | */ |
||
| 10 | protected $entity = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var Error[] |
||
| 14 | */ |
||
| 15 | protected $errors = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | protected $rowCount = null; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var boolean |
||
| 24 | */ |
||
| 25 | protected $success = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param boolean $success |
||
| 29 | */ |
||
| 30 | public function __construct($success = null) |
||
| 31 | { |
||
| 32 | $this->success = $success; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return sObject |
||
| 37 | */ |
||
| 38 | public function getEntity() |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param sObject $entity |
||
| 45 | * @return \SForce\Wsdl\DeleteByExampleResult |
||
| 46 | */ |
||
| 47 | public function setEntity($entity) |
||
| 48 | { |
||
| 49 | $this->entity = $entity; |
||
| 50 | return $this; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return Error[] |
||
| 55 | */ |
||
| 56 | public function getErrors() |
||
| 57 | { |
||
| 58 | return $this->errors; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param Error[] $errors |
||
| 63 | * @return \SForce\Wsdl\DeleteByExampleResult |
||
| 64 | */ |
||
| 65 | public function setErrors(array $errors = null) |
||
| 66 | { |
||
| 67 | $this->errors = $errors; |
||
| 68 | return $this; |
||
| 69 | } |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return int |
||
| 73 | */ |
||
| 74 | public function getRowCount() |
||
| 77 | } |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param int $rowCount |
||
| 81 | * @return \SForce\Wsdl\DeleteByExampleResult |
||
| 82 | */ |
||
| 83 | public function setRowCount($rowCount) |
||
| 84 | { |
||
| 85 | $this->rowCount = $rowCount; |
||
| 86 | return $this; |
||
| 87 | } |
||
| 88 | |||
| 89 | /** |
||
| 90 | * @return boolean |
||
| 91 | */ |
||
| 92 | public function getSuccess() |
||
| 93 | { |
||
| 94 | return $this->success; |
||
| 95 | } |
||
| 96 | |||
| 97 | /** |
||
| 98 | * @param boolean $success |
||
| 99 | * @return \SForce\Wsdl\DeleteByExampleResult |
||
| 100 | */ |
||
| 101 | public function setSuccess($success) |
||
| 105 | } |
||
| 106 | } |
||
| 107 |